Browse Source

Merge branch '20250522_diywebfr'

15313670163 1 ngày trước cách đây
mục cha
commit
9d2d468425
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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('未查询到模版!');
         }