- 微信端改价强制异步
This commit is contained in:
@@ -171,7 +171,7 @@ var (
|
|||||||
asyncOpMobileMap = map[string]int{
|
asyncOpMobileMap = map[string]int{
|
||||||
"18982250714": 1, // 老赵
|
"18982250714": 1, // 老赵
|
||||||
"18180948107": 1, // 徐
|
"18180948107": 1, // 徐
|
||||||
"13684045763": 1, // 周
|
// "13684045763": 1, // 周
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -711,7 +711,7 @@ func asyncStoreSkuOpFilter(ctx *jxcontext.Context, isAsync bool) bool {
|
|||||||
authType := ctx.GetLoginInfo().GetAuthType()
|
authType := ctx.GetLoginInfo().GetAuthType()
|
||||||
if authType == weixin.AuthTypeMini || authType == weixin.AuthTypeMP {
|
if authType == weixin.AuthTypeMini || authType == weixin.AuthTypeMP {
|
||||||
userMobile, _ := ctx.GetMobileAndUserID()
|
userMobile, _ := ctx.GetMobileAndUserID()
|
||||||
isAsync = asyncOpMobileMap[userMobile] == 1
|
isAsync = asyncOpMobileMap[userMobile] == 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return isAsync
|
return isAsync
|
||||||
|
|||||||
Reference in New Issue
Block a user