1
This commit is contained in:
parent
934586638b
commit
4710749f3a
@ -174,6 +174,9 @@ func (this *RechargeApi) Buy(c *gin.Context) {
|
||||
})
|
||||
}
|
||||
|
||||
func (this *RechargeApi) BuyWithEmail(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (ea *RechargeApi) RechargeQuery(c *gin.Context) {
|
||||
account := strings.ToLower(c.Param("account_address"))
|
||||
netId := q5.ToInt64(c.Param("net_id"))
|
||||
|
@ -13,4 +13,5 @@ func (er *RechargeRouter) InitRouter() {
|
||||
f5.GetApp().GetGinEngine().POST("/api/recharge/history/:net_id/:account_address", api.RechargeApi.RechargeQuery)
|
||||
f5.GetApp().GetGinEngine().GET("/api/recharge/goods", api.RechargeApi.RechargeList)
|
||||
f5.GetApp().GetGinEngine().POST("/api/recharge/buy", middleware.JwtAuth, api.RechargeApi.Buy)
|
||||
f5.GetApp().GetGinEngine().POST("/api/recharge/buy_with_email", middleware.JwtAuth, api.RechargeApi.BuyWithEmail)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user