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