- 创建或更新京西门店,注册用户时,自动根据门店的tel1,tel2添加门店老板角色

This commit is contained in:
gazebo
2019-09-05 16:57:28 +08:00
parent c98745ce59
commit f5ec608a1c
5 changed files with 54 additions and 34 deletions

View File

@@ -273,7 +273,7 @@ func DeleteConfig(ctx *jxcontext.Context, key, configType string) (err error) {
}
}
errList.AddErr(err)
storeList, err2 := dao.GetStoreList4Role(db, key)
storeList, err2 := dao.GetStoreList(db, nil, nil, key)
if err = err2; err == nil && len(storeList) > 0 {
storeIDs := make([]int, len(storeList))
for k, v := range storeList {