shawenguan hai 1 ano
pai
achega
5dc1878873
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Scripts/wubian/wubianNotice.js

+ 1 - 1
Scripts/wubian/wubianNotice.js

@@ -107,7 +107,7 @@ async function tryNewNotice() {
             if (createdDate.getTime() > beforeTime) {
                 let hasPushed = magicJS.data.read(`WubianNoticePushFlag#${item.hashId}`, false);
                 if (!hasPushed) {
-                    magicJS.data.read(`WubianNoticePushFlag#${item.hashId}`, true);
+                    magicJS.data.write(`WubianNoticePushFlag#${item.hashId}`, true);
                     let retDetail = await getNoticeDetail(item.hashId);
                     if (retDetail && retDetail.code == 200) {
                         await doCustomWxpusherSend(retDetail.data?.title, retDetail.data?.content);