tyc-server/app/user/cmd/api/desc/auth/auth.api
liangzai d09e7a08cf feat(user): 实现基础用户系统
- 实现用户手机验证码、密码登录功能,支持 JWT 认证
- 实现用户注册功能
- 实现jwt中获取用户信息
2024-11-03 19:06:09 +08:00

17 lines
311 B
Plaintext

syntax = "v1"
info (
title: "认证服务"
desc: "认证服务"
author: "Liangzai"
email: "2440983361@qq.com"
)
type (
sendSmsReq {
Mobile string `json:"mobile" validate:"required,mobile"`
ActionType string `json:"actionType" validate:"required,oneof=loginCode registerCode QueryCode"`
}
)