wechat.go 361 B

1234567891011121314151617
  1. package system
  2. import (
  3. v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
  4. "github.com/gin-gonic/gin"
  5. )
  6. type WechatRouter struct {
  7. }
  8. func (s *WechatRouter) InitWechatRouter(Router *gin.RouterGroup) {
  9. wechatRouter := Router.Group("wechat")
  10. var wechatApi = v1.ApiGroupApp.SystemApiGroup.WechatApi
  11. {
  12. wechatRouter.Any("serve", wechatApi.Req)
  13. }
  14. }