mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-12 13:52:13 +08:00
Update api.py
This commit is contained in:
parent
b99c4a7b5c
commit
d2a425251b
5
api.py
5
api.py
@ -95,7 +95,10 @@ async def loginPhone():
|
||||
workList[u.uid].status = "pending"
|
||||
r = mr("pass", uid=u.uid, msg=f"{u.account}处理中, 到/check查询处理进度")
|
||||
return r
|
||||
# -----router-----
|
||||
# 传入账号密码,启动登录线程
|
||||
@app.route("/loginPassword", methods=["POST"])
|
||||
async def login():
|
||||
await loginPassword()
|
||||
# 传入账号密码,启动登录线程
|
||||
@app.route("/loginPassword", methods=["POST"])
|
||||
async def loginPassword():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user