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
{
$storeid = request()->header()['storeid'];
$info = StoreInfoModel::detail($storeid);
return $this->renderSuccess($info);
$info = StoreInfoModel::detail(intval($storeid));
return $this->renderSuccess(compact('info'));
}
/**

Loading…
Cancel
Save