package com.dsh.course.feignClient.app;
|
|
import com.dsh.guns.modular.system.model.TOpenCity;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/5/4 12:07
|
*/
|
@FeignClient("mb-cloud-app")
|
public interface OpenCityClinet {
|
|
|
/**
|
* 保存地理围栏到mongodb
|
* @param tOpenCity
|
*/
|
@PostMapping("/base/openCity/saveMongodb")
|
void saveMongodb(TOpenCity tOpenCity);
|
|
|
/**
|
* 删除数据
|
* @param openCityId
|
*/
|
@PostMapping("/base/openCity/delMongodb")
|
void delMongodb(Integer openCityId);
|
}
|