BatchMomentRemote.java
2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmoment.BatchMomentCreateRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmoment.BatchMomentQueryRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmoment.BatchMomentStaffRecordQueryRpcRequest;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmoment.BatchMomentRpcResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmoment.BatchMomentStaffRecordRpcResponse;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
/**
* @author yelq
* @version:
* @ClassName 朋友圈群发任务
* @description:
* @createTime 2022/09/16 17:09
*/
@ApiService(value = "朋友圈群发任务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "BatchMomentRemote", owner = "yelq")
public interface BatchMomentRemote {
@ApiMethod("朋友圈群发任务创建")
@ApiResponse("创建结果")
@ApiParams({@ApiParam(name = "BatchMomentCreateRpcRequest", notes = "朋友圈群发任务创建参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> batchMomentSave(BatchMomentCreateRpcRequest rpcRequest);
@ApiMethod("朋友圈群发任务多条件分页查询")
@ApiResponse("查询结果")
@ApiParams({@ApiParam(name = "pagination", notes = "朋友圈群发任务多条件分页查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<BatchMomentRpcResponse>> batchMomentConditionPage(RpcPagination<BatchMomentQueryRpcRequest> pagination);
@ApiMethod("发送记录分页查询")
@ApiResponse("查询结果")
@ApiParams({@ApiParam(name = "pagination", notes = "发送记录分页查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<BatchMomentStaffRecordRpcResponse>> batchMomentStaffRecordPage(RpcPagination<BatchMomentStaffRecordQueryRpcRequest> pagination);
@ApiMethod("停止发送朋友圈")
@ApiResponse("停止结果")
@ApiParams({@ApiParam(name = "momentId", notes = "停止发送朋友圈参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> stopBatchMomentSend(Integer momentId);
}