无效客户举报图文

This commit is contained in:
2025-08-18 10:27:24 +08:00
parent 2e94a17d11
commit 79cd5336c5
6 changed files with 73 additions and 1 deletions
@@ -239,6 +239,9 @@ class CustomerController extends BaseController
if (Util::isEmpty($param['id'])) {
return $this->error(trans('id_empty'));
}
if (empty($param['remark']) && empty($param['img'])) {
return $this->error('举报理由不能为空');
}
$param['user_id'] = $request->user->uid;
$param['corp_abbr'] = $request->basic_data['corp_abbr'];