This commit is contained in:
aozhiwei 2024-08-16 16:34:27 +08:00
parent 36ba28614a
commit 6c6a5943a0
2 changed files with 5 additions and 1 deletions

View File

@ -86,5 +86,9 @@
{
"switch_name": "openChipSlot",
"switch_desc": "22-芯片槽位开启开关"
},
{
"switch_name": "bigEventBoxOpen",
"switch_desc": "23-打开大事件宝箱"
}
]

View File

@ -11,7 +11,7 @@ type RechargeRouter struct{}
func (er *RechargeRouter) InitRouter() {
api := v1.ApiGroupApp.RechargeApiGroup
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().GET("/api/recharge/goods", middleware.JwtAuth, 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)
}