Explorar o código

修改b端接口:验证网站搭建;

FengR hai 4 meses
pai
achega
747b90ce63
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -1755,7 +1755,7 @@ class WebsiteService implements WebsiteServiceInterface
         //     $missingTypes[] = "列表型底部导航";
         // }
         if (!in_array(0, $foot_type) ) {
-            $missingTypes[] = "单页(详情)";
+            $missingTypes = "单页(详情)";
         } 
         if (!empty($missingTypes)) {
             $errorMessage = "请先添加" . $missingTypes . "!";