必须强制做的任务
This commit is contained in:
parent
7e07a0828f
commit
19cfefc98a
@ -38,7 +38,7 @@ func (this *apiComp) GotoCity(session comm.IUserSession, req *pb.CaravanGotoCity
|
|||||||
if list.Tasktime-configure.Now().Unix() > int64(event.Eventtime) { //TODO 任务超时
|
if list.Tasktime-configure.Now().Unix() > int64(event.Eventtime) { //TODO 任务超时
|
||||||
|
|
||||||
}
|
}
|
||||||
if event.Eventtype == 1 { // 需要完成强制任务
|
if event.Mustdo == 1 { // 需要完成强制任务
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_TrollTask,
|
Code: pb.ErrorCode_TrollTask,
|
||||||
Title: pb.ErrorCode_TrollTask.ToString(),
|
Title: pb.ErrorCode_TrollTask.ToString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user