init: taotie-api 项目初始化

This commit is contained in:
2026-05-16 00:14:19 +08:00
commit eb15ef4b87
33 changed files with 1746 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
package userdto
type LoginReq struct {
TenantNo string `json:"tenantNo"`
UserName string `json:"userName"`
Password string `json:"password"`
}
type LoginRes struct {
Token string `json:"token"`
}
type RegisterReq struct {
TenantName string `json:"tenantName"`
UserName string `json:"userName"`
Password string `json:"password"`
}
type RegisterRes struct {
Token string `json:"token"`
}
type GetCurrentUserInfoReq struct{}
type GetCurrentUserInfoRes struct {
UserId string `json:"userId"`
UserName string `json:"userName"`
TenantId string `json:"tenantId"`
}