LiuJ 1 개월 전
부모
커밋
1334b212f2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/JsonRpc/WebsiteService.php

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -2382,6 +2382,7 @@ class WebsiteService implements WebsiteServiceInterface
     }
     public function getWebsiteNavList(array $data): array
     {
+        $data['type'] = isset($data['type']) ? $data['type'] : 1;
         $where = [];
         if (isset($data['website_id']) && !empty($data['website_id'])) {
             array_push($where, ['website_id', '=', $data['website_id']]);