必须强制做的任务

This commit is contained in:
meixiongfeng 2023-07-05 10:24:42 +08:00
parent 7e07a0828f
commit 19cfefc98a

View File

@ -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(),