update: add payment sort

This commit is contained in:
tokumeikoi
2022-09-24 02:37:02 +08:00
parent b6085fd34d
commit 8e23e74e53
5 changed files with 30 additions and 4 deletions

View File

@ -232,7 +232,9 @@ class OrderController extends Controller
'handling_fee_fixed',
'handling_fee_percent'
])
->where('enable', 1)->get();
->where('enable', 1)
->orderBy('sort', 'ASC')
->get();
return response([
'data' => $methods