zhanwencai hai 1 ano
pai
achega
aade154dd9
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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