收藏
回答

WithWechatPayAutoAuthCipher方法是否存在问题

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]]}] 

代码部分

回答关注问题邀请回答
收藏

1 个回答

  • Memory (私信不回复)
    Memory (私信不回复)
    05-20

    打印一下日志看看你实际请求出去的“Authorization”是什么

    05-20
    有用
    回复
登录 后发表内容