wupengfei 2 years ago
parent
commit
af0c48b51d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      application/api/controller/UserCenter.php

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

@@ -983,8 +983,7 @@ class UserCenter extends Base
                 if($select_type == 2 ) $query->whereIn('change_type','2,3');
             })->order('id desc')
             ->limit($this->off_set,$this->page_num)
-            ->buildSql();
-        var_dump($list);die();
+            ->select();
         foreach ($list as &$v){
             if ($v['pm']==1){
                 $v['change'] = '+'.$v['change'];