Browse Source

redis密码

lizhen_gitee 7 months ago
parent
commit
d5cfac6004
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Userwallet.php

+ 1 - 1
application/api/controller/Userwallet.php

@@ -31,7 +31,7 @@ class Userwallet extends Api
             $where['change_value'] = ['lt',0];
         }
         $list = Db::name('user_score_log')->field('id,before,change_value,remain,remark,createtime')
-            ->where($where)->autopage()->select();
+            ->where($where)->autopage()->order('id desc')->select();
 
         if(!empty($list)){
             foreach($list as $key => &$val){