Skip to content

Commit

Permalink
feat: improve webui (#221)
Browse files Browse the repository at this point in the history
* feat: improve web ui

* feat: log json msg of gewechat

* feat: update webui status text

* refactor: add check online function

* feat: update qrcode image after restarting

* feat: switch image and control area

* feat: update web name

* feat: update webui theme

* feat: add logout button

* feat: logout confirm

* feat: restart confirm

* chore: delete unused comment of web ui

* feat: add refresh login status button

* feat: update button name and status text

* feat: finish logout
  • Loading branch information
hanfangyuan4396 authored Jan 24, 2025
1 parent c05109f commit 9250c50
Show file tree
Hide file tree
Showing 2 changed files with 524 additions and 39 deletions.
5 changes: 3 additions & 2 deletions channel/gewechat/gewechat_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ def GET(self):

def POST(self):
channel = GeWeChatChannel()
data = json.loads(web.data())
logger.debug("[gewechat] receive data: {}".format(data))
web_data = web.data()
logger.debug("[gewechat] receive data: {}".format(web_data))
data = json.loads(web_data)

# gewechat服务发送的回调测试消息
if isinstance(data, dict) and 'testMsg' in data and 'token' in data:
Expand Down
Loading

0 comments on commit 9250c50

Please sign in to comment.