diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 20217f76..7e96018a 100755 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -395,6 +395,9 @@ class Auth extends BaseController $data['mer_info']['type_code'] = $merType['type_code']; $data['mer_info']['type_name'] = $merType['type_name']; $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['focus_num'] = app()->make(RelevanceRepository::class)->getUserFocus($user->uid, 1, 1, 1);