fix: enable customer authentication middleware in router setup

This commit is contained in:
wood911010 committed 2026-02-05 13:50:19 +08:00
1 parent 33881795c5
commit 01b27fdde6
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ func SetupRouter() *gin.Engine {
// 需要认证的接口
cuAuth := cuGroup.Group("")
//cuAuth.Use(middleware.CustomerAuth())
cuAuth.Use(middleware.CustomerAuth())
{
// 用户个人资料
cuAuth.GET("/profile", cuProfileHandler.GetCuUserProfile)