Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64441ebe34 | |||
| 63a1c69072 |
@@ -583,9 +583,9 @@ class CustomerController
|
||||
$contacts = Util::getParam($request, 'contacts'); //联系人
|
||||
|
||||
|
||||
if (Util::isEmpty($user_sn)) {
|
||||
return Util::fail([], '用户sn不能为空');
|
||||
}
|
||||
// if (Util::isEmpty($user_sn)) {
|
||||
// return Util::fail([], '用户sn不能为空');
|
||||
// }
|
||||
if (Util::isEmpty($sn)) {
|
||||
return Util::fail([], '客户sn不能为空');
|
||||
}
|
||||
@@ -616,6 +616,7 @@ class CustomerController
|
||||
if ($res) {
|
||||
return Util::success($res, trans('success'));
|
||||
} else {
|
||||
log::info('collect fail',[$res,$request->all()]);
|
||||
return Util::fail($res, trans('fail'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user