Browse Source

Merge branch '20250522_diywebfr'

15313670163 1 day ago
parent
commit
96e306efc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -908,7 +908,7 @@ class PublicRpcService implements PublicRpcServiceInterface
             return Result::error("此皮肤不存在!", 0);
         }
         $web_template = WebsiteTemplateInfo::where('template_id', $template['template_id'])->first();
-        if (empty($web_template)) {
+        if (!empty($web_template)) {
             return Result::error("此皮肤已被绑定网站,不可删除", 0);
         }
         if ($template->type == 1) {