Browse Source

广告主id 倒序

liuzejian 1 year ago
parent
commit
b3c0869243
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Callback/Http/Controllers/JuliangAccountController.php

+ 1 - 1
modules/Callback/Http/Controllers/JuliangAccountController.php

@@ -25,7 +25,7 @@ class JuliangAccountController extends CatchController
                 return $query->where('adv_account_id' , $advAccountId);
             })->when($advAccountName, function ($query, $advAccountName) {
                 return $query->where('adv_account_name', 'like', '%'. $advAccountName. '%');
-            })
+            })->orderBy('id', 'desc')
             ->paginate($request->input('limit', 30));
     }