2 Commits

Author SHA1 Message Date
18338781771 64441ebe34 1 2025-07-29 17:18:09 +08:00
18338781771 63a1c69072 1 2025-07-29 17:12:05 +08:00
+4 -3
View File
@@ -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'));
}
}