@@ -50,7 +50,7 @@ class Agent extends Commission
|
||||
$this->error('抱歉!您的账户已被冻结,如有疑问请联系客服', $condition, 107);
|
||||
break;
|
||||
}
|
||||
$data = $this->service->agent;
|
||||
$data = \addons\shopro\service\partner\IdentityService::attachAgent($this->service->agent);
|
||||
|
||||
$this->success('分销商信息', $data);
|
||||
}
|
||||
@@ -134,6 +134,12 @@ class Agent extends Commission
|
||||
}])
|
||||
->paginate($this->request->param('list_rows', 8));
|
||||
|
||||
$data->each(function ($user) {
|
||||
if ($user->agent) {
|
||||
$user->setRelation('agent', \addons\shopro\service\partner\IdentityService::attachAgent($user->agent));
|
||||
}
|
||||
});
|
||||
|
||||
$this->success("", $data);
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户