Explorar el Código

Merge branch 'feature/pool243_report_disclaimer' into debug

xyxie hace 6 meses
padre
commit
a829402977
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      routers/base_config.go

+ 2 - 3
routers/base_config.go

@@ -3,10 +3,9 @@ package routers
 import (
 	"github.com/gin-gonic/gin"
 	"hongze/hongze_yb/controller"
-	"hongze/hongze_yb/middleware"
 )
 
 func InitBaseConfig(r *gin.Engine) {
-	rGroup := r.Group("api/base").Use(middleware.Token())
-	rGroup.GET("/business_conf", controller.GetBusinessConf)
+	rGroupNotLogin := r.Group("api/base")
+	rGroupNotLogin.GET("/business_conf", controller.GetBusinessConf)
 }