fix: fixed bug for HuPiPay qrcode generation. set field 'openid' of result struct to Any data type

This commit is contained in:
RockYang
2023-12-19 11:31:57 +08:00
parent ff76e4bd89
commit cae5c049e4
3 changed files with 9 additions and 5 deletions

View File

@@ -156,6 +156,7 @@ func authorizeMiddleware(s *AppServer, client *redis.Client) gin.HandlerFunc {
c.Request.URL.Path == "/api/mj/jobs" ||
c.Request.URL.Path == "/api/invite/hits" ||
c.Request.URL.Path == "/api/sd/jobs" ||
c.Request.URL.Path == "/api/upload" ||
strings.HasPrefix(c.Request.URL.Path, "/test/") ||
strings.HasPrefix(c.Request.URL.Path, "/api/sms/") ||
strings.HasPrefix(c.Request.URL.Path, "/api/captcha/") ||