WechatCloudControlLoginRemote.java
3.76 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
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.subscription.WelfareGroupRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.custgroup.WelfareGroupDetailRpcRequest;
import cn.com.glsx.entmicro.model.request.wechatcloudcontrol.customer.CustomerListResquest;
import cn.com.glsx.entmicro.model.request.worktool.MessageBaseModelRequest;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.custgroup.GroupCountRpcResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.custgroup.StaffWelfareGroupDetailRpcResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.custgroup.WelfareGroupRpcResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.customer.CustomerInfoResponse;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.login.CloudControQccodeResponse;
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;
@ApiService(value = "企微云控登录服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "TagRemote", owner = "fengzhi")
public interface WechatCloudControlLoginRemote {
/**
* 获取云控登录二维码
*
* @return 二维码
*/
@ApiMethod("获取云控登录二维码")
RpcResponse<CloudControQccodeResponse> getLoginQcCode();
/**
* 验证二维码是否失效
*
* @param id 二维码id
* @return
*/
@ApiMethod("验证二维码是否失效")
@ApiParam(name = "id", notes = "验证码id", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)
RpcResponse<Boolean> getQcCodeDetail(Integer id);
/**
* 非SCRM企微托管好友列表
*
* @param pagination 入参
* @return
*/
@ApiMethod("非SCRM企微托管好友列表")
@ApiParams(@ApiParam(name = "pagination", notes = "入参", dataType = ApiParam.DataTypeEnum.OBJECT, required = true))
RpcResponse<RpcPagination<CustomerInfoResponse>> getStaffFriends(RpcPagination<CustomerListResquest> pagination);
/**
* 查询员工与福利官创建的群聊数量
*
* @param rpcRequest
* @return
*/
@ApiMethod("客户活跃代运营的看板")
@ApiParam(name = "rpcRequest", notes = "rpcRequest", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
RpcResponse<GroupCountRpcResponse> selectWelfareStaticCountByStaff(WelfareGroupRpcRequest rpcRequest);
/**
* 查询员工与福利官创建的群聊数量
*
* @param rpcRequest
* @return
*/
@ApiMethod("查询员工与福利官创建的群聊详情")
@ApiParam(name = "rpcRequest", notes = "rpcRequest", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
RpcResponse<List<StaffWelfareGroupDetailRpcResponse>> selectWelfareGroupDetail(WelfareGroupRpcRequest rpcRequest);
@ApiMethod("查询员工与福利官创建的群聊详情")
@ApiResponse("查询结果")
@ApiParam(name = "request", notes = "福利官id列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
RpcResponse<List<WelfareGroupRpcResponse>> selectWelfareGroupListByStaffIdsRemote(WelfareGroupDetailRpcRequest request);
@ApiMethod("群聊id列表查询群聊详情")
@ApiResponse("查询结果")
@ApiParam(name = "request", notes = "群id列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
RpcResponse<List<WelfareGroupRpcResponse>> selectWelfareGroupListByGroupIdListRemote(WelfareGroupDetailRpcRequest request);
/**
* worktool发送消息
*
*/
@ApiMethod("worktool发送消息")
RpcResponse<Boolean> sendMessage(MessageBaseModelRequest request, String robotId);
}