|
@@ -18,6 +18,7 @@ import (
|
|
|
"app.yhyue.com/moapp/message/handler/activity"
|
|
|
"app.yhyue.com/moapp/message/model"
|
|
|
. "app.yhyue.com/moapp/message/rpc"
|
|
|
+ mrpc "app.yhyue.com/moapp/message/rpc"
|
|
|
. "bp.jydev.jianyu360.cn/BaseService/pushpkg/p"
|
|
|
|
|
|
"github.com/gogf/gf/v2/util/gconv"
|
|
@@ -269,8 +270,7 @@ func (this *Task) ConfirmChallenge() {
|
|
|
dayLater := time.Now().Add(time.Duration(config.TaskConf.TaskDayTime-1) * time.Hour * 24)
|
|
|
endTime := time.Date(dayLater.Year(), dayLater.Month(), dayLater.Day(), 23, 59, 59, 0, time.Local)
|
|
|
if db.Tidb.Update("integral_task", map[string]interface{}{
|
|
|
- "position_id": positionId,
|
|
|
- "user_id": baseUserId,
|
|
|
+ "user_id": baseUserId,
|
|
|
}, map[string]interface{}{
|
|
|
"end_time": endTime.Format(date.Date_Full_Layout),
|
|
|
}) {
|