DracImServiceRemote.java
5.37 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.AddEntmicroCommonRequest;
import cn.com.glsx.entmicro.model.request.DracImInfoRequest;
import cn.com.glsx.entmicro.model.request.drainage.DracImCustomerSearchPagelRequest;
import cn.com.glsx.entmicro.model.request.drainage.DracImMessageDetailRequest;
import cn.com.glsx.entmicro.model.request.drainage.MessageListRequest;
import cn.com.glsx.entmicro.model.response.DracImCustomerCollectionResponse;
import cn.com.glsx.entmicro.model.response.DracImInfoResponse;
import cn.com.glsx.entmicro.model.response.DracImMessageConResponse;
import cn.com.glsx.entmicro.model.response.ExportDracImResponse;
import cn.com.glsx.entmicro.model.response.drainage.MessageStaticResponse;
import cn.com.glsx.entmicro.model.response.drainage.MiniProgramImResponse;
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 com.github.pagehelper.Page;
/**
* @author zhouhaibao
* @version 1.0
* @description: 智能营销服务
* @date 2021/11/15 16:51
*/
@ApiService(value = "智能营销服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "DracImServiceRemote", owner = "zhouhb")
public interface DracImServiceRemote {
/**
* 查询智能营销列表
*
* @return
*/
@ApiMethod("查询智能营销列表")
@ApiParams({@ApiParam(name = "requestRpcPagination", notes = "查询智能营销列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("查询智能营销列表")
RpcResponse<RpcPagination<DracImInfoResponse>> findAllByPage(RpcPagination<DracImInfoRequest> requestRpcPagination);
/**
* 查询短信列表
*
* @return
*/
@ApiMethod("查询短信列表")
@ApiParams({@ApiParam(name = "requestRpcPagination", notes = "查询智能营销列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("查询短信列表")
RpcResponse<RpcPagination<DracImCustomerCollectionResponse>> findAllMessageByPage(RpcPagination<MessageListRequest> requestRpcPagination);
/**
* 查询智能营销详情
*
* @return
*/
@ApiMethod("查询智能营销详情")
@ApiParams({@ApiParam(name = "id", notes = "查询智能营销详情", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("查询智能营销详情")
RpcResponse<DracImInfoResponse> findById(Integer id);
/**
* 查询智能营销详情
*
* @return
*/
@ApiMethod("查询智能营销详情")
@ApiParams({@ApiParam(name = "id", notes = "查询智能营销详情", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("查询智能营销详情")
RpcResponse<MessageStaticResponse> findMessageStatic(MessageListRequest messageListRequest);
/**
* 新增智能营销
*
* @return
*/
@ApiMethod("新增智能营销")
@ApiParams({@ApiParam(name = "dracImInfoRequest", notes = "新增智能营销", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("新增智能营销")
RpcResponse<ExportDracImResponse> exportAdd(DracImInfoRequest dracImInfoRequest);
/**
* 更新智能营销
*
* @return
*/
@ApiMethod("更新智能营销")
@ApiParams({@ApiParam(name = "dracImInfoRequest", notes = "更新智能营销", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("更新智能营销")
RpcResponse<ExportDracImResponse> exportUpdate(DracImInfoRequest dracImInfoRequest);
RpcResponse<MiniProgramImResponse> findMiniProgramIm(Integer id, String phone);
/**
* 更新智能营销
*
* @return
*/
@ApiMethod("智能营销短信详情")
@ApiParams({@ApiParam(name = "dracImMessageDetailRequest", notes = "智能营销id", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("营销短信详情")
RpcResponse<DracImMessageConResponse> dracMassageDetailById(DracImMessageDetailRequest dracImMessageDetailRequest);
/**
* 智能营销-客户列表分页条件查询
*
* @return
*/
@ApiMethod("智能营销-客户列表分页条件查询")
@ApiParams({@ApiParam(name = "pagination", notes = "查询条件", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("客户列表分页")
RpcResponse<RpcPagination<DracImCustomerCollectionResponse>> dracCustomerConditionPageSearch(RpcPagination<DracImCustomerSearchPagelRequest> pagination);
/**
* 动态生成短链
*
* @return
*/
@ApiMethod("动态生成短链")
@ApiParams({@ApiParam(name = "dracImMessageDetailRequest", notes = "uuid", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("动态生成短链")
RpcResponse<String> generateURL(DracImMessageDetailRequest dracImMessageDetailRequest);
/**
* 获取业务活动的code
*
* @return
*/
@ApiMethod("获取业务活动的code")
@ApiParams({@ApiParam(name = "addEntmicroCommonRequest", notes = "活动参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("获取业务活动的code")
RpcResponse<MiniProgramImResponse> findByActivityIdAndPhone(AddEntmicroCommonRequest addEntmicroCommonRequest);
}