|
@@ -317,9 +317,11 @@ func (m *Mobile) AjaxReq() error {
|
|
|
}
|
|
|
//更新数据库
|
|
|
msgset["l_modifydate"] = time.Now().Unix()
|
|
|
+
|
|
|
if mongodb.Update("user", `{"_id":"`+userId.(string)+`"}`, &map[string]interface{}{"$set": set}, false, false) {
|
|
|
flag = "y"
|
|
|
- credit_a := util.IntAll(m.GetSession("credit_a"))
|
|
|
+ /**
|
|
|
+ credit_a := util.Int64All(m.GetSession("credit_a"))
|
|
|
if !credit.AIsHasDo(credit.A_JYSCTS, credit_a) && len(mapPush) > 0 {
|
|
|
util.Try(func() {
|
|
|
//对用户进行推送
|
|
@@ -339,7 +341,9 @@ func (m *Mobile) AjaxReq() error {
|
|
|
log.Println("给用户推送出错", e)
|
|
|
})
|
|
|
}
|
|
|
+ **/
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
break
|
|
|
}
|