浏览代码

用户资料修改

lizhen_gitee 10 月之前
父节点
当前提交
2748405678
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/api/controller/Usercenter.php

+ 1 - 0
application/api/controller/Usercenter.php

@@ -108,6 +108,7 @@ class Usercenter extends Api
 
         //登录用户的金币余额
         $userinfo['my_goldtotal'] = model('wallet')->getWallettotal($this->auth->id);
+        $userinfo['my_wallet'] = Db::name('user_wallet')->field(['audio_sec','video_sec','typing_times'])->where('user_id',$this->auth->id)->find();
 
         //是否客服
         $userinfo['is_kefu'] = 0;