diff --git a/app/api/controller/Merchant.php b/app/api/controller/Merchant.php index ea2391c9..85310271 100644 --- a/app/api/controller/Merchant.php +++ b/app/api/controller/Merchant.php @@ -143,8 +143,8 @@ class Merchant extends Controller public function getPageStyle(): Json { // 新增记录 - $detail = StyleModel::detail(); - return $this->renderSuccess(compact('detail')); + $style = StyleModel::detail(); + return $this->renderSuccess(compact('style')); } }