|
@@ -883,7 +883,7 @@ func (m *Front) AjaxReq() error {
|
|
} else {
|
|
} else {
|
|
if mongodb.UpdateById("user", userid,
|
|
if mongodb.UpdateById("user", userid,
|
|
bson.M{
|
|
bson.M{
|
|
- "$push": bson.M{"o_jy.a_key": bson.M{"key": keysArray, "area": []string{}, "infotype": []string{}, "notkey": []string{}, "from": 1}},
|
|
|
|
|
|
+ "$push": bson.M{"o_jy.a_key": bson.M{"key": keysArray, "notkey": []string{}, "from": 1}},
|
|
"$set": bson.M{"i_ts_guide": 1, "o_jy.l_modifydate": time.Now().Unix()},
|
|
"$set": bson.M{"i_ts_guide": 1, "o_jy.l_modifydate": time.Now().Unix()},
|
|
}) {
|
|
}) {
|
|
flag = "y"
|
|
flag = "y"
|