微信红包
This commit is contained in:
parent
442d51a364
commit
5e2e300333
|
|
@ -66,9 +66,9 @@ func buildWx(wx *Wechat) (*transfer.Transfer, error) {
|
|||
return nil, fmt.Errorf("商户ID[%s]获取目的地址有误[%v]", wx.MchID, err)
|
||||
}
|
||||
|
||||
filePath := fmt.Sprintf("%s/cert/%s", dir, wx.MchID)
|
||||
filePath := fmt.Sprintf("%s/cert/wechat/%s", dir, wx.MchID)
|
||||
if !helper.FileExists(filePath) {
|
||||
panic(fmt.Sprintf("商户ID[%s]微信密钥证书信息不存在,请联系技术人员处理", wx.MchID))
|
||||
return nil, fmt.Errorf("商户ID[%s]微信密钥证书信息不存在[%s],请联系技术人员处理", wx.MchID, filePath)
|
||||
}
|
||||
|
||||
cc, err := utils.CreateMchConfig(
|
||||
|
|
|
|||
Loading…
Reference in New Issue