modify: auth 配置

This commit is contained in:
2026-07-23 17:46:30 +08:00
parent 8a20a14123
commit 2e2a492a8d
5 changed files with 56 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
[POST]
cacheable = false
auth_required = true
summary = "更新用户资料"
docstring = "更新当前用户的基本资料信息(全名、邮箱、头像、手机号)"
params = ["user_id: str", "full_name: str", "email: str", "avatar_url: str", "phone: str"]
[POST.response_model]
result = {type = "str", required = true}
message = {type = "str", required = true}
timestamp = {type = "float", required = false}