添加Store.OperatorPhone2

门店搜索支持电话号码
This commit is contained in:
gazebo
2019-10-08 14:18:44 +08:00
parent 55aeeacc40
commit 34506d08a9
5 changed files with 32 additions and 19 deletions

View File

@@ -47,6 +47,8 @@ func (r *RoleInfo) GetFullName() (fullRoleName string) {
}
if r.StoreID > 0 {
strList = append(strList, StoreRolePrefix, utils.Int2Str(r.StoreID))
} else if r.StoreID != 0 {
strList = append(strList, StoreRolePrefix, "")
}
fullRoleName = strings.Join(strList, RoleNameSep)
return fullRoleName