소스 검색

Merge branch '20250522_diywebfr'

15313670163 1 일 전
부모
커밋
9d2d468425
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/JsonRpc/PublicRpcService.php

+ 2 - 1
app/JsonRpc/PublicRpcService.php

@@ -1476,7 +1476,8 @@ class PublicRpcService implements PublicRpcServiceInterface
         if(empty($web)){
             return Result::error('未查询到网站信息!');
         }
-        $template = WebsiteTemplate::where('website_id', $data['website_id'])->first();
+        $template = WebsiteTemplate::where('website_id', $data['website_id'])
+        ->first(['website_id','template_id','page_type','template_data','canvas_data']);
         if(empty($template)){
             return Result::error('未查询到模版!');
         }