|
@@ -23,7 +23,7 @@ func (this *LeadGeneration) GetDate() {
|
|
|
userId := qutil.ObjToString(this.GetSession("userId"))
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
//根据判断用户是否是7天内注册的新用户
|
|
|
- isNewUser := mongodb.StringTOBsonId("userId").Timestamp().After(time.Now().AddDate(0, 0, -7))
|
|
|
+ isNewUser := mongodb.StringTOBsonId(userId).Timestamp().After(time.Now().AddDate(0, 0, -7))
|
|
|
keyWords := this.GetString("keyWords")
|
|
|
t, _ := this.GetInt("dType")
|
|
|
rData := map[string]interface{}{}
|