latest 排序
This commit is contained in:
parent
24647a7af7
commit
a9d61c3116
@ -186,7 +186,7 @@ public function checkAndCharge($out_trade_no, Balance $balance)
|
||||
|
||||
|
||||
public function transactions() {
|
||||
$transactions = Transaction::thisUser()->simplePaginate(30);
|
||||
$transactions = Transaction::thisUser()->latest()->simplePaginate(30);
|
||||
|
||||
return $this->success($transactions);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user