diff --git a/modules/rtask/module.go b/modules/rtask/module.go index c61617d9e..05e1091b2 100644 --- a/modules/rtask/module.go +++ b/modules/rtask/module.go @@ -187,7 +187,7 @@ func (this *ModuleRtask) getHandle(tt comm.TaskType) (condis []*rtaskCondHandle) comm.Rtype96, comm.Rtype105, comm.Rtype128, comm.Rtype130, comm.Rtype131, comm.Rtype141, comm.Rtype142, comm.Rtype143, comm.Rtype144, comm.Rtype145, comm.Rtype146, comm.Rtype147, comm.Rtype149, comm.Rtype153, comm.Rtype154, comm.Rtype155, comm.Rtype156, - comm.Rtype186: + comm.Rtype171, comm.Rtype186: condi := &rtaskCondHandle{ condId: v.Id, find: this.modelRtaskRecord.lessEqualFirstParam, diff --git a/modules/task/api_activereceive.go b/modules/task/api_activereceive.go index a4df5b9eb..4473ea115 100644 --- a/modules/task/api_activereceive.go +++ b/modules/task/api_activereceive.go @@ -7,7 +7,7 @@ import ( cfg "go_dreamfactory/sys/configure/structs" ) -//活跃度领取 +// 活跃度领取 func (this *apiComp) ActiveReceiveCheck(session comm.IUserSession, req *pb.TaskActiveReceiveReq) (code pb.ErrorCode) { if req.Id == 0 { code = pb.ErrorCode_TaskIdEmpty @@ -87,6 +87,7 @@ func (this *apiComp) ActiveReceive(session comm.IUserSession, req *pb.TaskActive log.Field{Key: "code", Value: code}, ) } + go this.moduleTask.ModuleRtask.TriggerTask(uid, comm.GettaskParam(comm.Rtype171, 1)) } resp := &pb.TaskActiveReceiveResp{