package com.ycl.smoke.service;
|
|
|
import com.ycl.smoke.dto.EventAddParamDto;
|
import com.ycl.smoke.dto.EventProcessParamDto;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* CityPlatformService 市平台对接服务
|
*
|
* @version V1.0
|
* @author: AI
|
* @date: 2022-09-28 15:40
|
**/
|
@FeignClient(url = "https://zhzf.zfj.lishui.gov.cn/api", name = "cityApi")
|
public interface CityPlatformService {
|
|
/**
|
* 事件上报
|
*
|
* @param paramDto
|
* @return com.ycl.remote.dto.ResultResponseDto<com.ycl.remote.dto.EventAddResponseDto>
|
* @author AI
|
* @date 2022-09-28 16:12
|
*/
|
@PostMapping("/unauthorized/external/event/add")
|
String addEvent(EventAddParamDto paramDto);
|
|
/**
|
* 事件详情
|
*
|
* @param paramDto
|
* @return com.ycl.remote.dto.ResultResponseDto<com.ycl.remote.dto.EventProcessResponseDto>
|
* @author AI
|
* @date 2022-09-28 16:12
|
*/
|
@PostMapping("/unauthorized/external/event/process")
|
String getEventProcess(EventProcessParamDto paramDto);
|
|
|
}
|