|
|
@ -52,7 +52,7 @@ class Store extends Controller |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 门店入驻列表 |
|
|
|
* 门店入驻列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getStoreSettleList(): array { |
|
|
|
public function settleList(): Json { |
|
|
|
$list = StoreSettle::where('store_id', '=', $this->storeId) |
|
|
|
$list = StoreSettle::where('store_id', '=', $this->storeId) |
|
|
|
->select(); |
|
|
|
->select(); |
|
|
|
return $this->renderSuccess($list->toArray()); |
|
|
|
return $this->renderSuccess($list->toArray()); |
|
|
@ -61,9 +61,9 @@ class Store extends Controller |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 门店入驻详情 |
|
|
|
* 门店入驻详情 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getStoreSettleDetail(int $id): Json |
|
|
|
public function settleDetail(int $id): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
$detail = StoreSettle::get($id); |
|
|
|
$detail = StoreSettle::get($id); |
|
|
|
return $this->renderSuccess($detail->toArray()); |
|
|
|
return $this->renderSuccess(compact('detail')); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|