Explorar o código

Merge branch '20250522_diywebfr'

15313670163 hai 1 día
pai
achega
f2dd010e50
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

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