puzhibing
2023-06-13 7860e5cb6db60aeb82c640651998f8294635df5b
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
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);
}