mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-08 03:00:26 +08:00
通知媒介可以设置发送频率
This commit is contained in:
@@ -82,6 +82,7 @@ func (this *MessageTaskService) FindSendingMessageTasks(ctx context.Context, req
|
||||
Type: instance.MediaType,
|
||||
},
|
||||
ParamsJSON: []byte(instance.Params),
|
||||
RateJSON: []byte(instance.Rate),
|
||||
},
|
||||
}
|
||||
} else { // 没有指定既定的接收人
|
||||
@@ -106,6 +107,7 @@ func (this *MessageTaskService) FindSendingMessageTasks(ctx context.Context, req
|
||||
Type: instance.MediaType,
|
||||
},
|
||||
ParamsJSON: []byte(instance.Params),
|
||||
RateJSON: []byte(instance.Rate),
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -350,6 +352,7 @@ func (this *MessageTaskService) ListMessageTasksWithStatus(ctx context.Context,
|
||||
Type: instance.MediaType,
|
||||
},
|
||||
ParamsJSON: []byte(instance.Params),
|
||||
RateJSON: []byte(instance.Rate),
|
||||
},
|
||||
}
|
||||
} else { // 没有指定既定的接收人
|
||||
@@ -375,6 +378,7 @@ func (this *MessageTaskService) ListMessageTasksWithStatus(ctx context.Context,
|
||||
Type: instance.MediaType,
|
||||
},
|
||||
ParamsJSON: []byte(instance.Params),
|
||||
RateJSON: []byte(instance.Rate),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user