SystemSubscribeRemote.java
6.67 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
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.subscription.*;
import cn.com.glsx.entmicro.model.response.StaffDetailResponse;
import cn.com.glsx.entmicro.model.response.subscribe.*;
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 = "ScrmSubscribeRemote", owner = "chizw")
public interface SystemSubscribeRemote {
@ApiMethod("开通订阅")
@ApiResponse("开通结果")
@ApiParams({@ApiParam(name = "request", notes = "开通订阅参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> openSubscribe(OpenSubscribeCreateRpcRequest request);
@ApiMethod("服务订阅分页列表")
@ApiResponse("服务订阅列表")
@ApiParams({@ApiParam(name = "SubscriptionQueryRpcRequest", notes = "服务订阅分页列表参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<SubscriptionViewRpcResponse>> subscribeListView(SubscriptionQueryRpcRequest rpcRequest);
@ApiMethod("生成挪车贴")
@ApiResponse("生成结果")
@ApiParams({@ApiParam(name = "OpenSubscribeRpcRequest", notes = "生成挪车贴参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> generateMoveCode(OpenSubscribeRpcRequest rpcRequest);
@ApiMethod("关联活动")
@ApiResponse("关联结果")
@ApiParams({@ApiParam(name = "CorrelateActivityRpcRequest", notes = "关联活动参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> correlateActivity(CorrelateActivityRpcRequest rpcRequest);
@ApiMethod("更改商户开通状态")
@ApiResponse("更改结果")
@ApiParams({@ApiParam(name = "CorrelateActivityRpcRequest", notes = "更改商户开通状态参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> updateSubscribeState(CorrelateActivityRpcRequest rpcRequest);
@ApiMethod("挪车贴分页查询")
@ApiResponse("挪车贴列表")
@ApiParams({@ApiParam(name = "MoveCarCodeQueryRpcRequest", notes = "挪车贴分页查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<MoveCarCodeViewRpcResponse>> moveCarCodeView(MoveCarCodeQueryRpcRequest rpcRequest);
@ApiMethod("订阅开通商户分页查询")
@ApiResponse("商户列表")
@ApiParams({@ApiParam(name = "SubscribeMerchantRpcRequest", notes = "商户分页查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<SubscribeMerchantResponse>> findSubscribeMerchantList(SubscribeMerchantRpcRequest rpcRequest);
@ApiMethod("验证开通事故车救援")
@ApiResponse("验证结果")
@ApiParams({@ApiParam(name = "merchantId", notes = "商户号", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> verifyOpenAccident(Integer merchantId);
@ApiMethod("生成救援贴")
@ApiResponse("救援贴下载url")
@ApiParams({@ApiParam(name = "merchantId", notes = "商户号", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<String> generateRescueSticker(Integer merchantId, Integer createdBy);
@ApiMethod("查询商户已订阅的活动")
@ApiResponse("已订阅的活动")
@ApiParams({@ApiParam(name = "merchantId", notes = "商户号", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<SubscribeActRpcResponse>> findActivityIdList(FindActivityIdRpcRequest rpcRequest);
@ApiMethod("配置福利官")
@ApiResponse("配置福利官")
@ApiParams({@ApiParam(name = "request", notes = "福利官信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> setWelfareMan(WelfareManUpdateRequest request);
@ApiMethod("根据商户号查询在线福利官")
@ApiResponse("根据商户号查询在线福利官")
@ApiParams({@ApiParam(name = "merchantIds", notes = "商户号", dataType = ApiParam.DataTypeEnum.LIST, required = true)})
RpcResponse<List<MerchantWelfareIdResponse>> findMerchantWelfareInfoOnline(List<Integer> merchantIds);
@ApiMethod("根据商户号集合查询福利官详情")
@ApiResponse("根据商户号集合查询福利官详情")
@ApiParams({@ApiParam(name = "merchantIds", notes = "商户号", dataType = ApiParam.DataTypeEnum.LIST, required = true)})
RpcResponse<List<MerchantWelfareIdResponse>> findMerchantWelfareInfo(List<Integer> merchantIds);
@ApiMethod("福利官id")
@ApiResponse("福利官id")
@ApiParams({@ApiParam(name = "staffId", notes = "福利官id", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<List<StaffDetailResponse>> staffBySubscribeMerchant(Integer staffId);
@ApiMethod("商户订阅的服务类型")
@ApiResponse("商户订阅的服务类型")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "rpcRequest", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<MerchantSubServeRpcResponse>> getOpenedMerchant(OpenedMerchantRpcRequest rpcRequest);
@ApiMethod("更新商户订阅")
@ApiResponse("更新商户订阅")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "rpcRequest", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> updateSubscribe(UpdateSubScribeRpcRequest rpcRequest);
@ApiMethod("查询订阅客户代运营状态")
@ApiResponse("查询订阅客户代运营状态")
@ApiParams({@ApiParam(name = "request", notes = "request", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<MerchantSubScribeRpcResponse> getMerchantSubscribeDetail(MerchantIdRpcRequest request);
@ApiMethod("分页查询已开通的商户")
@ApiResponse("分页查询已开通的商户")
@ApiParams({@ApiParam(name = "request", notes = "request", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<SubscribeServiceRpcResponse>> openedMerchantPageByType(SubscribeServiceRpcRequest request);
@ApiMethod("积分提现白名单开通商户分页查询")
@ApiResponse("商户列表")
@ApiParams({@ApiParam(name = "rpcRequest", notes = "商户分页查询参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<SubscribeMerchantResponse>> withdrawalOfPointsMerchantListRemote(SubscribeMerchantRpcRequest rpcRequest);
}