|
|
@@ -877,14 +877,14 @@ class StoreOrderController
|
|
|
// 检查是否有该门店的未审核或已通过的编辑申请
|
|
|
$existingRecord = $recordServices->checkExistingRecord($uid, $storeId);
|
|
|
|
|
|
- if ($existingRecord) {
|
|
|
+ if ($existingRecord&&$existingRecord['status']==1) {
|
|
|
return app('json')->fail('该门店有编辑申请正在审核中,请勿重复提交');
|
|
|
}
|
|
|
} else {
|
|
|
// 新建门店申请,检查是否有未审核或已通过的新建申请
|
|
|
$existingRecord = $recordServices->checkExistingRecord($uid, 0);
|
|
|
|
|
|
- if ($existingRecord) {
|
|
|
+ if ($existingRecord&&$existingRecord['status']==1) {
|
|
|
return app('json')->fail('您已有新建门店的申请记录,请勿重复提交');
|
|
|
}
|
|
|
}
|