|
@@ -2245,7 +2245,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
return Result::error("请输入正确的网站id!", 0);
|
|
return Result::error("请输入正确的网站id!", 0);
|
|
}
|
|
}
|
|
// 0:未构建 1:未应用 2:已应用
|
|
// 0:未构建 1:未应用 2:已应用
|
|
- if($result['template_status'] == 2){
|
|
|
|
|
|
+ if($result['status'] == 2){
|
|
return Result::error("此网站的模板正在应用中,暂不可编辑!", 0);
|
|
return Result::error("此网站的模板正在应用中,暂不可编辑!", 0);
|
|
}
|
|
}
|
|
|
|
|