- 微信端改价强制异步

This commit is contained in:
gazebo
2019-09-19 11:20:55 +08:00
parent dbd99797aa
commit a9c7be1027

View File

@@ -171,7 +171,7 @@ var (
asyncOpMobileMap = map[string]int{
"18982250714": 1, // 老赵
"18180948107": 1, // 徐
"13684045763": 1, // 周
// "13684045763": 1, // 周
}
)
@@ -711,7 +711,7 @@ func asyncStoreSkuOpFilter(ctx *jxcontext.Context, isAsync bool) bool {
authType := ctx.GetLoginInfo().GetAuthType()
if authType == weixin.AuthTypeMini || authType == weixin.AuthTypeMP {
userMobile, _ := ctx.GetMobileAndUserID()
isAsync = asyncOpMobileMap[userMobile] == 1
isAsync = asyncOpMobileMap[userMobile] == 0
}
}
return isAsync