20 lines
406 B
Go
20 lines
406 B
Go
package v1
|
|
|
|
import "github.com/gogf/gf/v2/frame/g"
|
|
|
|
type LoginReq struct {
|
|
g.Meta `path:"/user_center" tags:"登录" method:"post" summary:"用户登录接口"`
|
|
}
|
|
|
|
type LoginRes struct {
|
|
g.Meta `mime:"application/json"`
|
|
}
|
|
|
|
type LogoutReq struct {
|
|
g.Meta `path:"/logout" tags:"退出登录" method:"post" summary:"用户退出登录接口"`
|
|
}
|
|
|
|
type LogoutRes struct {
|
|
g.Meta `mime:"application/json"`
|
|
}
|
