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.
21 lines
719 B
21 lines
719 B
|
1 year ago
|
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)
|
||
|
|
}
|