CommonRemote.java
2.13 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
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.AddEntmicroLinkRequest;
import cn.com.glsx.entmicro.model.request.customer.CustomerExcelInputRpcRequest;
import cn.com.glsx.entmicro.model.response.customer.CustomerFollowRpcResponse;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import java.util.List;
/**
* @author LiChongyuan
* @version 1.0.0
* @ClassName
* @description:
* @createTime 2021/12/23 星期四
*/
@ApiService(value = "客户公共服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "CommonRemote", owner = "LiChongyuan")
public interface CommonRemote {
@ApiMethod("回调修改客户手机号")
@ApiParams({@ApiParam(name = "request", notes = "客户搜索条件", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("回调结果")
RpcResponse<Boolean> remarkExternalContact(Integer customerId, String remarkMobiles, Integer merchantId);
@ApiMethod("导入excel备注客户手机号")
@ApiParams({@ApiParam(name = "url", notes = "导入excel备注客户手机号", dataType = ApiParam.DataTypeEnum.STRING, required = true)})
@ApiResponse("回调结果")
RpcResponse<Boolean> exportExcelRemarkExternalContact(CustomerExcelInputRpcRequest request);
@ApiMethod("批量oneId查客户和客户跟进人信息")
@ApiResponse("批量oneId查客户和客户跟进人信息")
@ApiParams({@ApiParam(name = "oneIdList", notes = "oneIdList", dataType = ApiParam.DataTypeEnum.ARRAY, required = true),
@ApiParam(name = "merchantId", notes = "商户号", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<List<CustomerFollowRpcResponse>> getCustomerFollowList(List<String> oneIdList, Integer merchantId);
@ApiMethod("获取加微url")
@ApiParams({@ApiParam(name = "addEntmicroLinkRequest", notes = "获取加微url", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
@ApiResponse("获取加微url")
RpcResponse<String> getMiniProgramUrl(AddEntmicroLinkRequest addEntmicroLinkRequest);
}