更新任务接口调用

This commit is contained in:
wh_zcy 2023-06-01 14:59:06 +08:00
parent e1776f0966
commit 8603bd6e76

View File

@ -19,9 +19,9 @@ func (this *apiComp) Rtest(session comm.IUserSession, req *pb.RtaskTestReq) (cod
rsp := &pb.RtaskTestResp{Flag: true, RtaskType: req.RtaskType}
// 校验
if req.CondiId != 0 {
condIds, _, err := this.module.ModuleBuried.CheckCondition(session.GetUserId(), req.CondiId)
condIds, err := this.module.ModuleBuried.CheckCondition(session.GetUserId(), req.CondiId)
if err == nil && len(condIds) > 0 {
rsp.Flag = false
rsp.Flag = true
}
// 触发
} else if req.RtaskType != 0 && len(req.Params) > 0 {