19 lines
398 B
Go
19 lines
398 B
Go
package mainservice
|
|
|
|
import (
|
|
"f5"
|
|
v1 "main/api/v1"
|
|
)
|
|
|
|
type MainServiceRouter struct{}
|
|
|
|
func (this *MainServiceRouter) InitRouter() {
|
|
api := v1.ApiGroupApp.MainServiceApiGroup
|
|
f5.GetApp().GetGinEngine().GET("/api/service/refresh",
|
|
api.RefreshToken)
|
|
// f5.GetApp().GetGinEngine().GET("/wx/tnotify",
|
|
// api.WxTNotify)
|
|
f5.GetApp().GetGinEngine().GET("/wx/tnotify",
|
|
api.WxNotifyPurchase)
|
|
}
|