|
@@ -78,10 +78,9 @@ class Agent extends Commission
|
|
'username' => $user->username,
|
|
'username' => $user->username,
|
|
];
|
|
];
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ $data['commission'] = $this->service->user->commission ?? 0;
|
|
// 获取代理商申请信息
|
|
// 获取代理商申请信息
|
|
$applyInfo = ApplyModel::where('user_id', $this->service->user->id)
|
|
$applyInfo = ApplyModel::where('user_id', $this->service->user->id)
|
|
- ->with(['identity'])
|
|
|
|
->order('id desc')
|
|
->order('id desc')
|
|
->find();
|
|
->find();
|
|
$data['apply_info'] = $applyInfo;
|
|
$data['apply_info'] = $applyInfo;
|