|
|
|
|
package routers
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
handler "server/modules/backend/handler/guser"
|
|
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func guser(e *gin.Engine) {
|
|
|
|
|
e.POST("/guser/list", handler.GetGameUserList)
|
|
|
|
|
e.POST("/guser/activeUserList", handler.ActiveUserList)
|
|
|
|
|
|
|
|
|
|
e.POST("/guser/info", handler.GetGameUserInfo)
|
|
|
|
|
e.POST("/guser/allBalance", handler.GetGameUserAllBalance)
|
|
|
|
|
e.POST("/guser/playData", handler.GetGameUserPlayData)
|
|
|
|
|
// e.POST("/guser/playDetail", handler.GetGameUserPlayDetail)
|
|
|
|
|
e.POST("/guser/rechargeHistory", handler.GetGameUserRechargeHistory)
|
|
|
|
|
e.POST("/guser/withdrawHistory", handler.GetGameUserWithdrawHistory)
|
|
|
|
|
e.POST("/guser/controlBalance", handler.GetGameUserControlBalance)
|
|
|
|
|
// e.POST("/guser/controlCardData", handler.ControlCardData)
|
|
|
|
|
e.POST("/guser/editGold", handler.EditGameUserGold)
|
|
|
|
|
e.POST("/guser/editRtp", handler.EditGameUserRtp)
|
|
|
|
|
e.POST("/guser/editStatus", handler.EditGameUserStatus)
|
|
|
|
|
e.POST("/guser/addUserTag", handler.AddUserTag)
|
|
|
|
|
e.POST("/guser/deleteUserTag", handler.AddUserTag)
|
|
|
|
|
e.POST("/guser/addUserBlackList", handler.AddUserBlackList)
|
|
|
|
|
e.POST("/guser/shareData", handler.ShareData)
|
|
|
|
|
|
|
|
|
|
// 流失用户数据接口
|
|
|
|
|
e.POST("/statistics/lostPlayerData", handler.LostPlayerData)
|
|
|
|
|
e.POST("/statistics/lostUserData", handler.LostUserData)
|
|
|
|
|
e.POST("/statistics/lostUserDetail", handler.LostUserDetail)
|
|
|
|
|
|
|
|
|
|
// 大R用户
|
|
|
|
|
e.POST("/statistics/bigRUserData", handler.BigRUserData)
|
|
|
|
|
|
|
|
|
|
// 充值排行榜
|
|
|
|
|
e.POST("/statistics/rechargeRank", handler.RechargeRank)
|
|
|
|
|
|
|
|
|
|
// 封禁用户
|
|
|
|
|
e.POST("/statistics/banUserList", handler.BanUserList)
|
|
|
|
|
}
|