|
@@ -159,7 +159,6 @@ func (m *Front) AjaxReq() error {
|
|
}
|
|
}
|
|
if _, ok := existKeyMap[keysArray[i]]; !ok {
|
|
if _, ok := existKeyMap[keysArray[i]]; !ok {
|
|
saveKey = append(saveKey, bson.M{"key": []string{keysArray[i]}, "notkey": []string{}, "from": 1})
|
|
saveKey = append(saveKey, bson.M{"key": []string{keysArray[i]}, "notkey": []string{}, "from": 1})
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
positionType := util.Int64All(m.GetSession("positionType"))
|
|
positionType := util.Int64All(m.GetSession("positionType"))
|
|
@@ -169,7 +168,6 @@ func (m *Front) AjaxReq() error {
|
|
if len(a_key) >= 10 {
|
|
if len(a_key) >= 10 {
|
|
flag = "o"
|
|
flag = "o"
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
if positionType == 0 {
|
|
if positionType == 0 {
|
|
ok = mongodb.UpdateById("user", userid,
|
|
ok = mongodb.UpdateById("user", userid,
|
|
bson.M{
|
|
bson.M{
|