...
|
...
|
@@ -129,6 +129,13 @@ class FormController extends WeChatBaseController |
|
|
if (!$validate->check($param)) {
|
|
|
$this->error($validate->getError());
|
|
|
}
|
|
|
$where['insurance_num'] = ['eq',$param['insurance_num']];
|
|
|
$collocation = Db::name('collocation')->where($where)->find();
|
|
|
if(!empty($collocation)){
|
|
|
$arr['code'] = 40000;
|
|
|
$arr['msg'] = "重复的保险单号";
|
|
|
return json_encode($arr);
|
|
|
}
|
|
|
$images = [];
|
|
|
if(!empty($param['imgs'])){
|
|
|
|
...
|
...
|
|