diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index 571c010ef..6de68ceae 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -507,13 +507,13 @@ func GetMyStoreListNew(ctx *jxcontext.Context, version string) (storesInfo inter if !auth2.IsV2Token(ctx.GetToken()) { return nil, model.ErrCodeTokenIsInvalid, model.ErrTokenIsInvalid } - if ctx.GetLoginType() == weixin.AuthTypeWxApp { - if configs, _ := dao.QueryConfigs(dao.GetDB(), "checkversion", model.ConfigTypeSys, ""); len(configs) > 0 { - if version == "" || configs[0].Value != version { - return nil, "", fmt.Errorf("当前APP版本过旧,数据显示有错误,请到'京西菜市'公众号下载最新版本APP!") - } - } - } + //if ctx.GetLoginType() == weixin.AuthTypeWxApp { + // if configs, _ := dao.QueryConfigs(dao.GetDB(), "checkversion", model.ConfigTypeSys, ""); len(configs) > 0 { + // if version == "" || configs[0].Value != version { + // return nil, "", fmt.Errorf("当前APP版本过旧,数据显示有错误,请到'京西菜市'公众号下载最新版本APP!") + // } + // } + //} mobile, userID := ctx.GetMobileAndUserID() if mobile == "" { return nil, "", fmt.Errorf("不能得到用户手机号")