Explorar el Código

用户资料修改

lizhen_gitee hace 10 meses
padre
commit
2748405678
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;