Browse Source

微调整

lizhen_gitee 1 year ago
parent
commit
3fd0602f54

+ 2 - 0
application/api/controller/Index.php

@@ -52,6 +52,7 @@ class Index extends Api
             'user.gender',
             'user.birthday',
             'user.is_active',
+            'user.bio',
 
             'wallet.vip_endtime',
             'active.requesttime',
@@ -108,6 +109,7 @@ class Index extends Api
             'user.gender',
             'user.birthday',
             'user.is_active',
+            'user.bio',
 
             'wallet.vip_endtime',
             'active.requesttime',

+ 2 - 0
application/api/controller/Notify.php

@@ -111,6 +111,7 @@ class Notify extends Api
 //        $this->recharge(1,10000,'',1);
     }
 
+    //已搬走,后台提现审核通过的方法
     //普通邀请关系,提现
     /*public function takecash($user_id,$gold,$table,$table_id){
         //精确小数点
@@ -135,6 +136,7 @@ class Notify extends Api
         return true;
     }*/
 
+    //已搬走,lavarel,alltools类
     //四大收益,视频,音频,私聊,礼物
     public function shouyi($user_id,$gold,$table,$table_id){
         //精确小数点

+ 2 - 1
application/api/controller/Pay.php

@@ -109,7 +109,8 @@ class Pay extends Api
         $rc_id     = input_post('rc_id',0);
         $pay_type  = input_post('pay_type','wechat');
         $platform  = 'app';
-        $freemoney = input_post('freemoney',0);
+//        $freemoney = input_post('freemoney',0);
+        $freemoney = 0;
         $uid = $this->auth->id;
 
         if(!$rc_id && !$freemoney){

+ 2 - 2
application/api/controller/User.php

@@ -309,9 +309,9 @@ class User extends Api
     public function profile()
     {
         $field_array = [
-            'avatar','nickname','birthday','gender','introcode',
+            'avatar','nickname','birthday','gender',
             'audio_bio','photo_images','video_bio',
-            'height','weight','provincename','cityname','bio',
+            'height','weight','bio',
             'marital_id','job_id','wages_id','suqiu_id','tag_ids','hobby_ids',
             'hide_is_finishinfo',
             'open_match_video','open_match_audio','match_video_price','match_audio_price','match_typing_price'