DracImConfigServiceRemote.java 1.77 KB
package cn.com.glsx.entmicro.remote;

import cn.com.glsx.entmicro.model.request.DracImConfigRequest;
import cn.com.glsx.entmicro.model.response.DracImConfigResponse;
import cn.com.glsx.entmicro.model.response.EntmicroStaffFollowResponse;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;

import java.util.List;

/**
 * @author zhouhaibao
 * @version 1.0
 * @description:
 * @date 2021/11/15 16:16
 */
@ApiService(value = "短信模板服务", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "DracImConfigServiceRemote", owner = "zhouhb")
public interface DracImConfigServiceRemote {

    /**
     * 添加引流配置
     *
     * @return
     */
    @ApiMethod("添加引流配置")
    @ApiParams({@ApiParam(name = "dracImConfigRequest", notes = "添加引流配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
    @ApiResponse("添加引流配置")
    RpcResponse<Boolean> addConfig(DracImConfigRequest dracImConfigRequest);

    /**
     * 更新引流配置
     *
     * @return
     */
    @ApiMethod("更新引流配置")
    @ApiParams({@ApiParam(name = "dracImConfigRequest", notes = "更新引流配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
    @ApiResponse("更新引流配置")
    RpcResponse<Boolean> updateConfig(DracImConfigRequest dracImConfigRequest);


    /**
     * 查询引流配置
     *
     * @return
     */
    @ApiMethod("查询引流配置")
    @ApiParams({@ApiParam(name = "dracImConfigRequest", notes = "查询引流配置", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
    @ApiResponse("查询引流配置")
    RpcResponse<List<DracImConfigResponse>> findConfig(DracImConfigRequest dracImConfigRequest);
}