OperationRemote.java
2.96 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
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.operation.OperationCommonRpcRequest;
import cn.com.glsx.entmicro.model.request.operation.OperationSaveRpcRequest;
import cn.com.glsx.entmicro.model.request.operation.OperationSearchRpcRequest;
import cn.com.glsx.entmicro.model.response.operation.OperationCodeRpcResponse;
import cn.com.glsx.entmicro.model.response.operation.OperationDetailRpcResponse;
import cn.com.glsx.entmicro.model.response.operation.OperationListRpcResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
/**
* 运营专家配置服务
* @author Lichongyuan
* @ClassName
* @description:
* @createTime 2021/12/23 星期四
*/
@ApiService(value = "运营专家服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "OperationRemote", owner = "lichongyuan")
public interface OperationRemote {
@ApiMethod("保存配置")
@ApiParam(name = "operationSaveRpcRequest", notes = "保存配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("保存配置")
RpcResponse<Boolean> saveOperation(OperationSaveRpcRequest operationSaveRpcRequest);
@ApiMethod("更新配置")
@ApiParam(name = "operationUpdateRpcRequest", notes = "更新配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("更新配置")
RpcResponse<Boolean> updateOperation(OperationSaveRpcRequest operationSaveRpcRequest);
@ApiMethod("删除配置")
@ApiParam(name = "operationSaveRpcRequest", notes = "删除配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("删除配置")
RpcResponse<Boolean> deleteOperation(OperationCommonRpcRequest operationCommonRpcRequest);
@ApiMethod("配置详情")
@ApiParam(name = "operationSaveRpcRequest", notes = "配置详情", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("配置详情")
RpcResponse<OperationDetailRpcResponse> getDetailOperation(OperationCommonRpcRequest operationCommonRpcRequest);
@ApiMethod("分页配置列表")
@ApiParam(name = "dictType", notes = "分页配置列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("分页配置列表")
RpcResponse<RpcPagination<OperationListRpcResponse>> getPageOperation(RpcPagination<OperationSearchRpcRequest> operationSearchRpcRequest);
@ApiMethod("获取配置活码")
@ApiParam(name = "dictType", notes = "获取配置活码", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("获取配置活码")
RpcResponse<OperationCodeRpcResponse> getOperationCode(OperationCommonRpcRequest operationCommonRpcRequest);
}