From 19cfefc98af1e683f12bf463a735c23e07757c2d Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 5 Jul 2023 10:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=85=E9=A1=BB=E5=BC=BA=E5=88=B6=E5=81=9A?= =?UTF-8?q?=E7=9A=84=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/caravan/api_gotocity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),