|
@@ -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));
|
|
|
}
|
|
|
|