@ -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'));
}
/**