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'); //联系人 $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'));
} }
} }