- set parentid = -1 when create weixins.
This commit is contained in:
@@ -73,6 +73,7 @@ func BindMobile2Store(mobile string, storeID int) (num int64, err error) {
|
||||
if err == nil {
|
||||
num, err = dao.UpdateEntity(db, user, "JxStoreID")
|
||||
} else {
|
||||
user.ParentID = -1
|
||||
if err = createUserAndSetOpenIDNull(db, user); err == nil {
|
||||
num = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user