From bcfb6a61d9c442994f863050a530ae83df54e8ea Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Wed, 10 Mar 2021 11:55:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=9C=8D=E7=AB=AF?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 ++ static/html/index.html | 1 + static/html/login.html | 1 + static/html/main.html | 5 ++++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index fdb108a..80497f4 100644 --- a/readme.md +++ b/readme.md @@ -294,6 +294,8 @@ location / ### 感谢赞助 +2021年03月10日 ABC 100元 + 2021年02月20日 广西***社 1000元 2021年02月19日 **辉 1000元 diff --git a/static/html/index.html b/static/html/index.html index 1ed089b..a9f15ed 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -3,6 +3,7 @@ + {{.Title}} diff --git a/static/html/login.html b/static/html/login.html index 37105d1..22344d6 100644 --- a/static/html/login.html +++ b/static/html/login.html @@ -1,6 +1,7 @@ + diff --git a/static/html/main.html b/static/html/main.html index c818733..3f07819 100644 --- a/static/html/main.html +++ b/static/html/main.html @@ -1,6 +1,7 @@ + GO语言开源客服系统-GOFLY @@ -74,7 +75,9 @@ var _this=this; window.addEventListener('message',function(e){ var redata=e.data; - console.log(redata); + if(!redata.name||!redata.body){ + return; + } notify(redata.name, { body: redata.body, icon: redata.icon