新增任务排行榜接口、用户绑定游戏人生账号接口定义

This commit is contained in:
2025-06-09 10:25:24 +08:00
parent e07b3dd0e1
commit 5ead851b99
2 changed files with 32 additions and 0 deletions

View File

@ -58,3 +58,20 @@ type GetPhoneCodeReq struct {
type GetPhoneCodeRes struct {
Success bool `json:"success" dc:"是否成功"`
}
type GetGameLifeBondReq struct {
g.Meta `path:"/user/getGameLifeBond" method:"post" tags:"User" summary:"获取GameLife绑定情况"`
}
type GetGameLifeBondRes struct {
}
type BundleGameLifeReq struct {
g.Meta `path:"/user/bindGameLife" method:"post" tags:"User" summary:"绑定GameLife账号"`
}
type BundleGameLifeRes struct {
Url string `json:"url" dc:"绑定游戏人生的 h5 页面 url"`
}
type UnbundleGameLifeReq struct {
g.Meta `path:"/user/unbindGameLife" method:"post" tags:"User" summary:"解绑GameLife账号"`
}
type UnbundleGameLifeRes struct {
Url string `json:"url" dc:"解绑游戏人生的 h5 页面 url"`
}