fonchain-fiee/pkg/router/meeting.go

24 lines
637 B
Go
Raw Normal View History

2025-02-19 06:24:15 +00:00
package router
import (
"fmt"
"github.com/fonchain_enterprise/fonchain-main/pkg/service"
"github.com/gin-gonic/gin"
)
func MeetingRoute(r *gin.RouterGroup) {
noAuth := r.Group("")
auth := r.Group("")
//auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl))
MeetingAuth := auth.Group("meeting")
{
MeetingAuth.POST("auth-info", service.AuthInfo)
}
MeetingNoAuth := noAuth.Group("meeting")
{
MeetingNoAuth.Any("subscribe-callback", service.SubscribeCallback)
}
fmt.Println(noAuth)
}