Browse Source

Merge branch 'feature/pool243_report_disclaimer' into debug

xyxie 6 months ago
parent
commit
a829402977
1 changed files with 2 additions and 3 deletions
  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)
 }