Skip to content

Commit

Permalink
Update 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pooneyy committed Feb 2, 2024
1 parent af5f3bc commit 5627a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ python index.py
### 更新日志

```
1.3.1 (2024.02.02) 修复:修复了无法登录的问题
1.3 (2024.01.25) 修复:
1、修复了表格显示错误;
2、修复了其他错误。
Expand Down
4 changes: 2 additions & 2 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import sys
import requests

VERSION = '1.3' # 2024.01.25
VERSION = '1.3.1' # 2024.02.02
CONFIG_VERSION = 2
HOST = "https://api.suanleme.cn/api/v1"

Expand Down Expand Up @@ -73,7 +73,7 @@ def sendMsg(config, msg):
def login(config):
url = f"{HOST}/user/token"
payload={
'username': config['suanleme_username'],
'account': config['suanleme_username'],
'password': config['suanleme_password'],
}
response = requests.post(url, data=payload)
Expand Down

0 comments on commit 5627a24

Please sign in to comment.