mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 15:43:27 +08:00
【修复】修复可能存在一个用户多个微信号绑定一个手机号码,导致openid不同而支付提示【下单账号与支付账号不一致,请核实后再支付】的问题。
This commit is contained in:
@@ -121,8 +121,15 @@ namespace CoreCms.Net.Services
|
||||
return jm;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(_user.OpenId) && _user.OpenId != user.openid)
|
||||
{
|
||||
openId = _user.OpenId;
|
||||
}
|
||||
else
|
||||
{
|
||||
openId = user.openid;
|
||||
}
|
||||
|
||||
openId = user.openid;
|
||||
}
|
||||
|
||||
var notifyUrl = config.notifyUrl.EndsWith("/") ? config.notifyUrl + "m-" + config.appId : config.notifyUrl + "/m-" + config.appId;
|
||||
|
||||
Reference in New Issue
Block a user