PersonalMain-Golang/api/request/authApi.go

21 lines
409 B
Go
Raw Normal View History

2023-12-24 15:17:21 +08:00
package request
import (
"github.com/gogf/gf/v2/frame/g"
)
type RegisterReq struct {
g.Meta `path:"/register" tags:"注册" method:"get" summary:"注册账号"`
Username string `json:"username"`
}
type RegisterRes struct {
g.Meta `mime:"application/json" example:"string"`
Output string `json:"output"`
Code int `json:"code"`
Message string `json:"message"`
Data any `json:"data"`
}