postman已经测通了,但是后台使用WithWechatPayAutoAuthCipher会出现:
[{error http response:[StatusCode: 401 Code: "SIGN_ERROR"
Message: Authorization不合法
Header:
- Cache-Control=[no-cache, must-revalidate]
- Request-Id=[08E4BCA0B20610AE0518A1CDEDF50120AD41288F52-270924332]
- Content-Language=[zh-CN]
- Server=[nginx]
- Date=[Sat, 18 May 2024 03:20:04 GMT]
- Connection=[keep-alive]
- Keep-Alive=[timeout=8]
- Content-Type=[application/json; charset=utf-8]
- Content-Length=[56]
- X-Content-Type-Options=[nosniff]]}]
代码部分
打印一下日志看看你实际请求出去的“Authorization”是什么