Browse Source

充值统计:列表倒序

liuzejian 1 year ago
parent
commit
a50f1fbf87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Statistic/Http/Controllers/ChargeTJController.php

+ 1 - 1
modules/Statistic/Http/Controllers/ChargeTJController.php

@@ -44,7 +44,7 @@ class ChargeTJController extends CatchController
                 return $query->where('miniprogram_id', $miniprogramId);
             })->when($puserId, function ($query, $puserId){
                 return $query->where('puser_id', $puserId);
-            });
+            })->orderBy('id', 'desc');
     }
 
     // 充值明细