package net.northking.cctp.device.bus.feign;

import io.swagger.annotations.ApiOperation;
import net.northking.cctp.common.feign.FeignCctpConfig;
import net.northking.cctp.common.http.ResultWrapper;
import net.northking.cctp.device.bus.feign.dto.UserInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "cctp-platform", path = "/cctp-platform", contextId = "platform-pub", configuration = {FeignCctpConfig.class})
public interface PlatformFeign {

    @ApiOperation(value = "查询真机运维用户")
    @GetMapping(value = "/pub/query/deviceManageUsers")
    public ResultWrapper<List<UserInfoDto>> deviceManageUsers();

}
