更新任务接口调用
This commit is contained in:
parent
e1776f0966
commit
8603bd6e76
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user