From 11f44688468d7bbf127e2cb1db5132a65d9806fa Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 27 Aug 2019 14:56:21 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=86=8D=E6=AC=A1=E8=B0=83=E6=95=B4Transfe?= =?UTF-8?q?rLegacyWeixins=E7=9A=84=E8=B0=83=E7=94=A8=E6=97=B6=E6=9C=BA?= =?UTF-8?q?=EF=BC=8C=E5=9B=9E=E5=88=B0=E4=B9=8B=E5=89=8D=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E7=82=B9=E9=83=BD=E8=A6=81=E8=B0=83=E7=94=A8=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/user.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/business/jxstore/cms/user.go b/business/jxstore/cms/user.go index beedf913e..05fb5b8bc 100644 --- a/business/jxstore/cms/user.go +++ b/business/jxstore/cms/user.go @@ -121,7 +121,7 @@ func BindMobile2Store(ctx *jxcontext.Context, mobile string, storeID int) (num i } if err == nil { jxutils.HandleUserWXRemark(db, mobile, false) - // TransferLegacyWeixins(mobile) + TransferLegacyWeixins(mobile) } return num, err } @@ -156,7 +156,7 @@ func AddMobile2Mobile(ctx *jxcontext.Context, parentMobile, mobile string) (num } if err == nil { jxutils.HandleUserWXRemark(db, mobile, false) - // TransferLegacyWeixins(mobile) + TransferLegacyWeixins(mobile) } return num, err } @@ -167,10 +167,10 @@ func ChangeMobile(ctx *jxcontext.Context, curMobile, expectedMobile string) (num }, map[string]interface{}{ "Tel": curMobile, }) - // if err == nil { - // TransferLegacyWeixins(curMobile) - // TransferLegacyWeixins(expectedMobile) - // } + if err == nil { + TransferLegacyWeixins(curMobile) + TransferLegacyWeixins(expectedMobile) + } return num, err }