This commit is contained in:
gazebo
2019-08-26 18:37:53 +08:00
parent 139d3fec0f
commit b1d7cb8f18

View File

@@ -111,6 +111,7 @@ func BindMobile2Store(ctx *jxcontext.Context, mobile string, storeID int) (num i
dao.Commit(db)
}
} else {
globals.SugarLogger.Debug(utils.Format4Output(user, false))
dao.WrapAddIDCULEntity(user, ctx.GetUserName())
user.ParentID = -1
if err = dao.CreateWeiXins(db, user); err == nil {