|
@@ -216,7 +216,7 @@ class ViolationStore extends Controller
|
|
|
$all_data['company_id'] = $admin_company_id;
|
|
$all_data['company_id'] = $admin_company_id;
|
|
|
}
|
|
}
|
|
|
$data = $ViolationStoreModel->where($map)->first();
|
|
$data = $ViolationStoreModel->where($map)->first();
|
|
|
- if ($data) return json_send(['code' => 'error', 'msg' => '营业执照记录已存在']);
|
|
|
|
|
|
|
+ if ($data) return json_send(['code' => 'error', 'msg' => '店铺信息已存在']);
|
|
|
// 写入数据表
|
|
// 写入数据表
|
|
|
$result = $ViolationStoreModel->addViolationStore($all_data);
|
|
$result = $ViolationStoreModel->addViolationStore($all_data);
|
|
|
// 如果操作失败
|
|
// 如果操作失败
|