|
@@ -75,7 +75,7 @@ class CmsContentTemplateRepository {
|
|
throw new HttpException(500, '城市为西安的模板不允许手动关闭');
|
|
throw new HttpException(500, '城市为西安的模板不允许手动关闭');
|
|
}
|
|
}
|
|
if ($request['is_open'] == 1 && $template_id->status == 0){
|
|
if ($request['is_open'] == 1 && $template_id->status == 0){
|
|
- throw new HttpException(500, '请先配置模板并发布之后再开启');
|
|
|
|
|
|
+ throw new HttpException(500, '请先配置内容并发布之后再开启');
|
|
}
|
|
}
|
|
|
|
|
|
$template_id->is_open = $request['is_open'];
|
|
$template_id->is_open = $request['is_open'];
|