分配离职客户

This commit is contained in:
2025-08-18 16:54:24 +08:00
parent 7aa717b93e
commit 3ba830259a
2 changed files with 12 additions and 12 deletions
@@ -216,9 +216,6 @@ class CustomerController extends BaseController
{
try {
$param = $request->all();
if (empty($param['id'])) {
return $this->error('id'.trans('not_null'));
}
if (empty($param['corp_id'])) {
return $this->error('corp_id'.trans('not_null'));
}
@@ -228,7 +225,7 @@ class CustomerController extends BaseController
$result = (new CustomerService())->allocation($param);
return $this->success();
return $this->success($result,'成功分配'.$result['userCount'].'位离职用户的'.$result['customerCount'].'位客户');
} catch (\Throwable $th) {
return $this->error($th->getMessage());
}