Browse Source

用户详情接口增加级别字段

wufeng 2 years ago
parent
commit
434d591cb6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/admin/controller/User.php

+ 2 - 0
app/admin/controller/User.php

@@ -222,6 +222,8 @@ class User extends Base
         $userCommon = new CommonUser();
         $rs = json_decode($userCommon->GetUserInfo(['id' => $this->uid]), true);
 
+        $rs['data']['level'] = $this->level;
+
         return json_show($rs['code'], $rs['message'], $rs['data']);
 
     }