多完成条件校验

This commit is contained in:
wh_zcy 2023-05-24 14:58:22 +08:00
parent ee517f963e
commit 4297d7200f

View File

@ -219,6 +219,8 @@ type (
IRtask interface {
// 条件校验
CheckCondi(uid string, condiId int32) (code pb.ErrorCode)
// 多条件校验
CheckCondis(uid string, condiIds ...int32) (condIds []int32)
// 远程任务条件校验
RemoteCheckCondi(uid string, condiId int32, rsp *pb.DBRtaskRecord) error
// 删除任务条件数据