Ver Fonte

Merge branch '20250522_diywebfr'

15313670163 há 1 dia atrás
pai
commit
f2dd010e50
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
         }