Browse Source

修改获取搭建的网站模板

15313670163 5 tháng trước cách đây
mục cha
commit
241536df5a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/JsonRpc/WebsiteService.php

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -1439,6 +1439,7 @@ class WebsiteService implements WebsiteServiceInterface
         }
         // return Result::success($result);
         $result['template_img'] = $template_img;
+        $result['page_type'] = $page_type;
         // 查找 $template 在 $templates 数组中的索引
         // $index = array_search($template['template_id'],  array_column($data['templates'], 'id'));