package routers import ( "server/modules/web/handler" "github.com/gin-gonic/gin" ) func balance(e *gin.RouterGroup) { e.POST("/balance/recharge/order", handler.CheckRechargeOrder) e.POST("/balance/recharge/info", handler.RechargeInfo) e.POST("/balance/recharge/do", handler.PlayerRecharge) e.POST("/balance/recharge/history", handler.RechargeHistory) e.POST("/balance/withdraw/info", handler.WithdrawInfo) e.POST("/balance/withdraw/check", handler.PlayerWithdrawCheck) e.POST("/balance/withdraw/do", handler.PlayerWithdraw) e.POST("/balance/withdraw/block/do", handler.PlayerWithdrawBlock) e.POST("/balance/withdraw/history", handler.WithdrawHistory) e.POST("/balance/history", handler.BalanceHistory) }