feat: no need login refactor with member and chatApps page

This commit is contained in:
RockYang
2024-03-19 18:59:02 +08:00
parent 58e44b7d12
commit ca83f139f7
5 changed files with 258 additions and 217 deletions

View File

@@ -213,6 +213,7 @@ func needLogin(c *gin.Context) bool {
c.Request.URL.Path == "/api/sd/imgWall" ||
c.Request.URL.Path == "/api/sd/client" ||
c.Request.URL.Path == "/api/config/get" ||
c.Request.URL.Path == "/api/product/list" ||
strings.HasPrefix(c.Request.URL.Path, "/api/test") ||
strings.HasPrefix(c.Request.URL.Path, "/api/function/") ||
strings.HasPrefix(c.Request.URL.Path, "/api/sms/") ||