|
@@ -391,7 +391,7 @@ class MemberService extends BaseService
|
|
|
|
|
|
|
|
$info = $this->model->with(['parent','profile'])
|
|
$info = $this->model->with(['parent','profile'])
|
|
|
->where(['id' => $userId, 'mark' => 1])
|
|
->where(['id' => $userId, 'mark' => 1])
|
|
|
- ->select(['id', 'nickname', 'avatar', 'code', 'member_level', 'beans', 'vip', 'profit', 'balance', 'view_ads', 'ads_beans', 'mobile', 'parent_id', 'email', 'username', 'status'])
|
|
|
|
|
|
|
+ ->select(['id', 'nickname', 'avatar', 'code', 'member_level','stars', 'beans', 'vip', 'profit', 'balance', 'view_ads', 'ads_beans', 'mobile', 'parent_id', 'email', 'username', 'status'])
|
|
|
->first();
|
|
->first();
|
|
|
$info = $info ? $info->toArray() : [];
|
|
$info = $info ? $info->toArray() : [];
|
|
|
if (empty($info)) {
|
|
if (empty($info)) {
|