소스 검색

修改获取搭建的网站模板

15313670163 5 달 전
부모
커밋
241536df5a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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'));