$this->mall_id,'user_id' => $this->user['id'],'status' => StatusEnum::ENABLED]); $user_level = UserLevel::getUserLevelOne(['mall_id' => $this->mall_id,'level' => $this->user['level']],[],true); $return = [ 'nickname' => $this->user['nickname'], 'username' => $this->user['username'], 'avatar_url' => $this->user['avatar_url'], 'mobile' => $this->user['mobile'], 'level_name' => $user_level['name'] ?: MallSetting::getDefaultLevelName($this->mall_id), 'settle_commission' => $boss->commission, 'total_commission' => $boss->total_commission, 'frozen_commission' => 0 ]; return $this->success('success',$return); }catch(Exception $e){ return $this->error($e->getMessage()); } } }