修改用户信息返回
This commit is contained in:
parent
99f136d5b1
commit
3971af747a
@ -395,6 +395,9 @@ class Auth extends BaseController
|
|||||||
$data['mer_info']['type_code'] = $merType['type_code'];
|
$data['mer_info']['type_code'] = $merType['type_code'];
|
||||||
$data['mer_info']['type_name'] = $merType['type_name'];
|
$data['mer_info']['type_name'] = $merType['type_name'];
|
||||||
$data['mer_info']['setting_status'] = 0;
|
$data['mer_info']['setting_status'] = 0;
|
||||||
|
if (!empty($mer_arr['mer_avatar']) && !empty($mer_arr['mer_banner']) && !empty($mer_arr['mer_address']) && !empty($mer_arr['mer_info'])) {
|
||||||
|
$data['mer_info']['setting_status'] = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$data['fan_num'] = app()->make(RelevanceRepository::class)->getUserFans($user->uid, 1, 1, 1);
|
$data['fan_num'] = app()->make(RelevanceRepository::class)->getUserFans($user->uid, 1, 1, 1);
|
||||||
$data['focus_num'] = app()->make(RelevanceRepository::class)->getUserFocus($user->uid, 1, 1, 1);
|
$data['focus_num'] = app()->make(RelevanceRepository::class)->getUserFocus($user->uid, 1, 1, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user