BatchMessagingRemote.java
4.32 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.dto.activityreport.ScrmActivityReportLogDTO;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.activityreport.ActivityReportLogSearchRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmessaging.BatchMessagingMerchantRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmessaging.BatchMessagingQueryRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmessaging.BatchMessagingRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.batchmessaging.BatchMessagingUserRpcRequest;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmessaging.BatchMessagingGroupResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmessaging.BatchMessagingMerchantResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmessaging.BatchMessagingRecordOfSendResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmessaging.BatchMessagingRecordResponse;
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;
import java.util.List;
/**
* @Description
* @author chizw
* @create 2022/9/19 16:14
* @version ver.1.0.0
*/
@ApiService(value = "企微高级群发任务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "BatchMessagingRemote", owner = "chizw")
public interface BatchMessagingRemote {
@ApiMethod("企微高级群发任务创建")
@ApiResponse("创建结果")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "企微高级群发任务创建参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> createBatchMessagingTask(BatchMessagingRpcRequest rpcRequest);
@ApiMethod("查看预计群发人数")
@ApiResponse("群发人数")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "企微高级群发查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Integer> getEstimateCustomerCount(BatchMessagingRpcRequest rpcRequest);
@ApiMethod("企微高级群发查询创建门店")
@ApiResponse("门店列表")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "企微高级群发查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<BatchMessagingMerchantResponse>> findBatchMessagingMerchantList(BatchMessagingMerchantRpcRequest rpcRequest);
@ApiMethod("企微高级群发查询群发记录")
@ApiResponse("群发记录")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "企微高级群发查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<BatchMessagingRecordResponse>> queryBatchMessaging(BatchMessagingQueryRpcRequest rpcRequest);
@ApiMethod("企微高级群发查询群发发送记录")
@ApiResponse("群发发送记录")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "企微高级群发查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<BatchMessagingRecordOfSendResponse>> queryBatchMessagingOfSend(BatchMessagingQueryRpcRequest rpcRequest);
@ApiMethod("获取企微群列表")
@ApiResponse("企微群列表")
@ApiParams({@ApiParam(name = "BatchMessagingRpcRequest", notes = "获取企微群列表查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<BatchMessagingGroupResponse>> getBatchMessagingGroupList(BatchMessagingUserRpcRequest rpcRequest);
@ApiMethod("群发记录停止发送")
@ApiResponse("停止结果")
@ApiParams({@ApiParam(name = "msgId", notes = "群发记录停止发送参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> stopBatchMessagingSend(Integer msgId);
@ApiMethod("查询喜报战报推送日志分页列表")
@ApiResponse("日志分页列表")
@ApiParams({@ApiParam(name = "request", notes = "请求参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<ScrmActivityReportLogDTO>> getActivityReportLogPage(ActivityReportLogSearchRpcRequest request);
}