Skip to content

BaseWxPayServiceImpl.java中签名方法写死为MD5方式 #888

Closed
@alcoholwang

Description

@alcoholwang

主要有2种形式:

  1. 直接写死MD5方式

例如BaseWxPayServiceImpl.java的357行,生成JSAPI签名时采用MD5。但是如果之前的prepay使用的是HMAC-SHA256的话,会导致微信内支付显示签名错误。

  1. 另外一种是调用SignUtils.createSign方法时,好几处第二个参数signType都传了null,实际最终就等于使用了MD5模式。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions