Commit 0298791d authored by chenweijian's avatar chenweijian

cp

parent 6311f9d6
......@@ -31,7 +31,7 @@ func CpInviteCancelInit() {
model := domain.CreateModelNil()
// 获取超过24小时没被处理的cp邀请
//inviteList, err := cp_m.GetCpInviteByTime(model, time.Now().AddDate(0, 0, -1)) cwj----
inviteList, err := cp_m.GetCpInviteByTime(model, time.Now().Add(time.Minute*10)) // cwj----
inviteList, err := cp_m.GetCpInviteByTime(model, time.Now().Add(-time.Minute*10)) // cwj----
if err != nil {
model.Log.Errorf("CpInviteCancelInit err:%v", err)
return
......@@ -62,7 +62,7 @@ func CpInviteCancelInit() {
// 获取超过24小时没被处理的cp解除申请
//cancelList, err := cp_m.GetCpCancelByTime(model, time.Now().AddDate(0, 0, -1)) cwj----
cancelList, err := cp_m.GetCpCancelByTime(model, time.Now().Add(time.Minute*10)) // cwj----
cancelList, err := cp_m.GetCpCancelByTime(model, time.Now().Add(-time.Minute*10)) // cwj----
if err != nil {
model.Log.Errorf("CpInviteCancelInit err:%v", err)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment