feature: 初始化接口 api

This commit is contained in:
zhengxinonly
2023-09-30 16:12:43 +08:00
parent ba5e2cf67b
commit bdd766d2b2
2 changed files with 19 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from flask import Blueprint
passport_api = Blueprint("passport", __name__)
@passport_api.post("/login")
def login_in():
return {"message": "登录成功", "code": 0}