1
This commit is contained in:
@@ -498,10 +498,6 @@ func GetStoreList4User(ctx *jxcontext.Context, mobileNum, userID string) (storeL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(storeIDs) == model.NO && len(shortRoleNameList) == model.NO {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
storeList, err = dao.GetStoreListByMobileOrStoreIDs(dao.GetDB(), mobileNum, shortRoleNameList, storeIDs)
|
storeList, err = dao.GetStoreListByMobileOrStoreIDs(dao.GetDB(), mobileNum, shortRoleNameList, storeIDs)
|
||||||
|
|
||||||
return storeList, err
|
return storeList, err
|
||||||
|
|||||||
Reference in New Issue
Block a user