This commit is contained in:
aozhiwei 2024-11-27 15:20:33 +08:00
parent 90f7596e96
commit f1817da7fc
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,5 @@
package inapp_shop
type RouterGroup struct {
InAppShopRouter
}

View 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)
}