You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
162 lines
3.7 KiB
162 lines
3.7 KiB
|
1 year ago
|
package backend
|
||
|
|
|
||
|
|
import "server/modules/backend/values"
|
||
|
|
|
||
|
|
// swagger:route POST /guser/list guser idOfGUserList
|
||
|
|
// 获取游戏玩家列表
|
||
|
|
// Responses:
|
||
|
|
// 200:GetGameUserListResp
|
||
|
|
|
||
|
|
// swagger:response GetGameUserListResp
|
||
|
|
type GetGameUserListResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserListResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserList
|
||
|
|
type GetGameUserListReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserListReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/info guser idOfGUserInfo
|
||
|
|
// 获取游戏玩家信息
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserInfoResp
|
||
|
|
|
||
|
|
// swagger:response GUserInfoResp
|
||
|
|
type GUserInfoResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserInfoResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserInfo
|
||
|
|
type GUserInfoReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserInfoReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/allBalance guser idOfGUserAllBalance
|
||
|
|
// 获取游戏玩家总流水记录
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserAllBalanceResp
|
||
|
|
|
||
|
|
// swagger:response GUserAllBalanceResp
|
||
|
|
type GUserAllBalanceResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserAllBalanceResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserAllBalance
|
||
|
|
type GUserAllBalanceReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserAllBalanceReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/playData guser idOfGUserPlayData
|
||
|
|
// 获取游戏玩家牌局信息
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserPlayDataResp
|
||
|
|
|
||
|
|
// swagger:response GUserPlayDataResp
|
||
|
|
type GUserPlayDataResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserPlayDataResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserPlayData
|
||
|
|
type GUserPlayDataReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserPlayDataReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/playDetail guser idOfGUserPlayDetail
|
||
|
|
// 获取游戏玩家牌局详情
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserPlayDetailResp
|
||
|
|
|
||
|
|
// swagger:response GUserPlayDetailResp
|
||
|
|
type GUserPlayDetailResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserPlayDetailResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserPlayDetail
|
||
|
|
type GUserPlayDetailReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserPlayDetailReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/rechargeHistory guser idOfGUserRechargeHistory
|
||
|
|
// 获取游戏玩家充值订单记录
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserRechargeHistoryResp
|
||
|
|
|
||
|
|
// swagger:response GUserRechargeHistoryResp
|
||
|
|
type GUserRechargeHistoryResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserRechargeHistoryResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserRechargeHistory
|
||
|
|
type GUserRechargeHistoryReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserRechargeHistoryReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/withdrawHistory guser idOfGUserWithdrawHistory
|
||
|
|
// 获取游戏玩家退出订单记录
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserWithdrawHistoryResp
|
||
|
|
|
||
|
|
// swagger:response GUserWithdrawHistoryResp
|
||
|
|
type GUserWithdrawHistoryResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserWithdrawHistoryResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserWithdrawHistory
|
||
|
|
type GUserWithdrawHistoryReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserWithdrawHistoryReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/controlBalance guser idOfGUserControlBalance
|
||
|
|
// 获取游戏玩家控杀流水记录
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserControlBalanceResp
|
||
|
|
|
||
|
|
// swagger:response GUserControlBalanceResp
|
||
|
|
type GUserControlBalanceResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserControlBalanceResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserControlBalance
|
||
|
|
type GUserControlBalanceReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.GetGameUserControlBalanceReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/editGold guser idOfGUserEditGold
|
||
|
|
// 修改玩家金币
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserEditGoldResp
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserEditGold
|
||
|
|
type GUserEditGoldReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.EditGameUserGoldReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /guser/editStatus guser idOfGUserEditStatus
|
||
|
|
// 修改玩家状态 封禁 解封
|
||
|
|
// Responses:
|
||
|
|
// 200:GUserEditStatusResp
|
||
|
|
|
||
|
|
// swagger:parameters idOfGUserEditStatus
|
||
|
|
type GUserEditStatusReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.EditGameUserStatusReq
|
||
|
|
}
|