OA tag fields modify

This commit is contained in:
Gordon
2022-03-31 11:43:14 +08:00
parent 60418276bd
commit 5639c985df
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ func (d *DataBases) SetTag(userID, tagID, newName string, increaseUserIDList []s
}
}
tag.UserList = append(tag.UserList, increaseUserIDList...)
tag.UserList = utils.RemoveUserIDRepByMap(tag.UserList)
tag.UserList = utils.RemoveRepeatedStringInList(tag.UserList)
for _, v := range reduceUserIDList {
for i2, v2 := range tag.UserList {
if v == v2 {