更新自动审核

This commit is contained in:
yaooo 2023-09-13 17:54:45 +08:00
parent 0b224701f4
commit 5fe997f320

View File

@ -1354,7 +1354,7 @@ class Auth extends BaseController
return app('json')->fail('数据不存在');
$status = $this->request->params(['status']);
$data['status'] = $status;
$data['create_mer'] = 0;
$data['create_mer'] = -1;
$data['fail_msg'] = $status == 1 ? '自动审核通过' : '自动审核拒绝';
$repository->updateStatus($id, $data);
return app('json')->success('同步成功');