Explorar el Código

Merge branch '20250522_diywebfr'

15313670163 hace 1 día
padre
commit
f2dd010e50
Se han modificado 1 ficheros con 1 adiciones y 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);
         }