فهرست منبع

代理人提现

lizhen_gitee 10 ماه پیش
والد
کامیت
d2d4fc3dc1
2فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 2 2
      application/api/controller/Match.php
  2. 4 4
      application/api/controller/Withdraw.php

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

@@ -771,10 +771,10 @@ class Match extends Api
         $lists = Db::name('user')->alias('user')->field('user.id,user.gender,user.birthday,user.avatar,user.nickname')
             ->where($map)->where($map2)->order('user.logintime desc')->limit(6)->select();
 
-        if(empty($lists)){
+        /*if(empty($lists)){
             $lists = Db::name('user')->alias('user')->field('user.id,user.gender,user.birthday,user.avatar,user.nickname')
                 ->where($map)->order('user.logintime desc')->limit(6)->select();
-        }
+        }*/
 
         if(!empty($lists)){
             foreach($lists as $key => &$val){

+ 4 - 4
application/api/controller/Withdraw.php

@@ -135,8 +135,8 @@ class Withdraw extends Api
     }
 
     //提现记录
-    /*public function withdraw_log(){
-        $list = Db::name('withdraw')->field('id,money,type,createtime')->where(['user_id'=>$this->auth->id])->autopage()->select();
+    public function withdraw_log(){
+        $list = Db::name('withdraw')->field('acount_json',true)->where(['user_id'=>$this->auth->id])->autopage()->select();
         foreach($list as $key => &$val){
             $val['remark'] = '';
 
@@ -145,11 +145,11 @@ class Withdraw extends Api
             }elseif($val['type'] == 2){
                 $val['remark'] = '银行卡提现';
             }else{
-                $val['remark'] = '微信提现';
+                //$val['remark'] = '微信提现';
             }
         }
 
         $this->success('success',$list);
-    }*/
+    }
 
 }