|
@@ -0,0 +1,28 @@
|
|
|
|
|
+"""
|
|
|
|
|
+user - mobile user views
|
|
|
|
|
+auther: tanlie
|
|
|
|
|
+date: 2026/8/30
|
|
|
|
|
+"""
|
|
|
|
|
+from fastapi import APIRouter
|
|
|
|
|
+
|
|
|
|
|
+user = APIRouter(prefix="/dgapi/mobile/user", tags=["mobile user"])
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@user.get("/login/captcha", summary="获取验证码")
|
|
|
|
|
+def get_captcha():
|
|
|
|
|
+ return {"message": "get captcha"}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@user.post("/login", summary="登录")
|
|
|
|
|
+def login():
|
|
|
|
|
+ return {"message": "login"}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@user.post("/logout", summary="登出")
|
|
|
|
|
+def logout():
|
|
|
|
|
+ return {"message": "logout"}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@user.get("/wish-summary", summary="心愿单摘要")
|
|
|
|
|
+def wish_summary():
|
|
|
|
|
+ return "心愿单"
|