diff --git a/modules/caravan/api_gotocity.go b/modules/caravan/api_gotocity.go index 11787ad25..5fcd2fb27 100644 --- a/modules/caravan/api_gotocity.go +++ b/modules/caravan/api_gotocity.go @@ -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 event.Eventtype == 1 { // 需要完成强制任务 + if event.Mustdo == 1 { // 需要完成强制任务 errdata = &pb.ErrorData{ Code: pb.ErrorCode_TrollTask, Title: pb.ErrorCode_TrollTask.ToString(),