|
@@ -1391,7 +1391,7 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
if($website_template_info['status'] == 2){
|
|
|
return Result::error('网站已应用,不可再次修改!');
|
|
|
}
|
|
|
- $template = Template::where('id', $data['template_id'])->first();
|
|
|
+ $template = Template::where('template_id', $data['template_id'])->first();
|
|
|
if(empty($template)){
|
|
|
return Result::error('未查询到皮肤!');
|
|
|
}
|