无效客户举报图文
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user