zhanwencai 1 rok temu
rodzic
commit
aade154dd9
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      webServer/src/controller/ApiController.ts

+ 3 - 3
webServer/src/controller/ApiController.ts

@@ -1165,13 +1165,13 @@ class ApiController {
             });
         }
         
-        let notice_data = {
+        let notice_data = [{
             status : 1,
             content: content,
             content_wh:content_wh
-        }
+        }]
 
-        if(notice_data.content == ''){
+        if(notice_data[0].content == ''){
                 switch (platform) {
             case 'th':
                 notice_data = th_notice