更新静态资源

This commit is contained in:
yaooo 2023-09-19 17:10:05 +08:00
parent 46b73144f8
commit fe93086939

View File

@ -178,8 +178,8 @@ class MerchantIntention extends BaseController
$merIntentionInfo = $this->repository->getWhere(['mer_intention_id' => (int)$id, 'uid' => $this->userInfo->uid, 'is_del' => 0]);
if (!$merIntentionInfo)
return app('json')->fail('数据不存在');
if ($merIntentionInfo['status']) {
return app('json')->fail('已审核数据不能修改');
if ($merIntentionInfo['status'] == 1) {
return app('json')->fail('已通过审核数据不能修改');
}
$data = $this->checkParams();
if (!systemConfig('mer_intention_open')) {