lqmac 7 months ago
commit 40b0587c75
  1. 4
      app/api/controller/Store.php

@ -113,8 +113,8 @@ class Store extends Controller
public function getStoreInfo(): Json public function getStoreInfo(): Json
{ {
$storeid = request()->header()['storeid']; $storeid = request()->header()['storeid'];
$info = StoreInfoModel::detail($storeid); $info = StoreInfoModel::detail(intval($storeid));
return $this->renderSuccess($info); return $this->renderSuccess(compact('info'));
} }
/** /**

Loading…
Cancel
Save