Skip to content

Commit

Permalink
fix ql api
Browse files Browse the repository at this point in the history
  • Loading branch information
Zy143L committed Jan 2, 2022
1 parent 83e0cfc commit 992ffdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

### 更新 · 摘要
--
- **2022年1月2日 14:41:20**
- **修正因青龙更换API导致的无法登录问题**
---
**2021年12月31日 12:43:03**
- **修复账号失效无法正常检测问题**
Expand Down
4 changes: 2 additions & 2 deletions wskey.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
except:
logger.info("无推送文件")

ver = 1231
ver = 10102


# 登录青龙 返回值 token
def get_qltoken(username, password):
logger.info("Token失效, 新登陆\n")
url = "http://127.0.0.1:{0}/api/login".format(port)
url = "http://127.0.0.1:{0}/api/user/login".format(port)
payload = {
'username': username,
'password': password
Expand Down

0 comments on commit 992ffdb

Please sign in to comment.