mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:53:25 +08:00
【修复】修复平台对接微信小程序及微信公众号双平台的情况下,可能导致微信发货信息数据调用错误的问题。
This commit is contained in:
@@ -170,7 +170,7 @@ namespace CoreCms.Net.RedisMQ
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var weChatUserInfo = await _weChatInfoServices.QueryByClauseAsync(p => p.userId == user.id);
|
var weChatUserInfo = await _weChatInfoServices.QueryByClauseAsync(p => p.userId == user.id && p.type == (int)GlobalEnumVars.UserAccountTypes.微信小程序);
|
||||||
if (weChatUserInfo == null)
|
if (weChatUserInfo == null)
|
||||||
{
|
{
|
||||||
NLogUtil.WriteAll(NLog.LogLevel.Error, LogType.RedisMessageQueue, "微信发货信息处理", msg + ":用户信息openId获取失败");
|
NLogUtil.WriteAll(NLog.LogLevel.Error, LogType.RedisMessageQueue, "微信发货信息处理", msg + ":用户信息openId获取失败");
|
||||||
|
|||||||
Reference in New Issue
Block a user