22 lines
585 B
Go
22 lines
585 B
Go
package v1
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type RefreshTokenReq struct {
|
|
g.Meta `path:"/refreshToken" method:"GET" tags:"UserInfo" summary:"刷新Token"`
|
|
}
|
|
|
|
type ResetPasswordReq struct {
|
|
g.Meta `path:"/resetPassword" method:"POST" tags:"UserInfo" summary:"重置密码"`
|
|
OldPassword string `json:"OldPassword"`
|
|
NewPassword string `json:"newPassword"`
|
|
ConfirmPassword string `json:"confirmPassword"`
|
|
}
|
|
|
|
type CardRechargeReq struct {
|
|
g.Meta `path:"/card/recharge" method:"POST" tags:"UserInfo" summary:"卡密充值"`
|
|
Card string `json:"card"`
|
|
}
|