ztt 11 months ago
parent c444c99573
commit 6870cffadc
  1. 3
      app/store/controller/Store.php

@ -54,8 +54,9 @@ class Store extends Controller
*/
public function settleList(): Json {
$list = StoreSettle::where('store_id', '=', $this->storeId)
->order('created_at','desc')
->paginate(10);
return $this->renderSuccess($list->toArray());
return $this->renderSuccess(compact('list'));
}
/**

Loading…
Cancel
Save