mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-12 14:00:43 +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"
|
workList[u.uid].status = "pending"
|
||||||
r = mr("pass", uid=u.uid, msg=f"{u.account}处理中, 到/check查询处理进度")
|
r = mr("pass", uid=u.uid, msg=f"{u.account}处理中, 到/check查询处理进度")
|
||||||
return r
|
return r
|
||||||
# -----router-----
|
# 传入账号密码,启动登录线程
|
||||||
|
@app.route("/loginPassword", methods=["POST"])
|
||||||
|
async def login():
|
||||||
|
await loginPassword()
|
||||||
# 传入账号密码,启动登录线程
|
# 传入账号密码,启动登录线程
|
||||||
@app.route("/loginPassword", methods=["POST"])
|
@app.route("/loginPassword", methods=["POST"])
|
||||||
async def loginPassword():
|
async def loginPassword():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user