|
@@ -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'));
|
|
|
|