1
This commit is contained in:
parent
90f7596e96
commit
f1817da7fc
5
server/wheelserver/router/inapp_shop/enter.go
Normal file
5
server/wheelserver/router/inapp_shop/enter.go
Normal file
@ -0,0 +1,5 @@
|
||||
package inapp_shop
|
||||
|
||||
type RouterGroup struct {
|
||||
InAppShopRouter
|
||||
}
|
16
server/wheelserver/router/inapp_shop/inapp_shop.go
Normal file
16
server/wheelserver/router/inapp_shop/inapp_shop.go
Normal file
@ -0,0 +1,16 @@
|
||||
package inapp_shop
|
||||
|
||||
import (
|
||||
"f5"
|
||||
"main/middleware"
|
||||
"main/api/v1"
|
||||
)
|
||||
|
||||
type InAppShopRouter struct{}
|
||||
|
||||
func (this *InAppShopRouter) InitRouter() {
|
||||
api := v1.ApiGroupApp.InAppShopApiGroup
|
||||
f5.GetApp().GetGinEngine().POST("/api/v1/activity/roll_dice",
|
||||
middleware.JwtAuth,
|
||||
api.InAppShopApi.Purchase)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user