|
@@ -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('未查询到模版!');
|
|
|
}
|