chengf
2025-08-06 953784a75298482567418ef3058525f4a115750b
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
30
31
32
33
package com.java110.intf.common;
 
import com.java110.config.feign.FeignConfiguration;
import com.java110.dto.area.AreaDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
 
import java.util.List;
 
/**
 * 查询地区信息
 */
@FeignClient(name = "common-service", configuration = {FeignConfiguration.class})
@RequestMapping("/areaApi")
public interface IAreaInnerServiceSMO {
 
    /**
     * <p>查询地区</p>
     *
     * @return AreaDto 对象数据
     */
    @RequestMapping(value = "/getArea", method = RequestMethod.POST)
    public List<AreaDto> getArea(@RequestBody AreaDto areaDto);
 
    @RequestMapping(value = "/getProvCityArea", method = RequestMethod.POST)
    public List<AreaDto> getProvCityArea(@RequestBody AreaDto areaDto);
 
    @RequestMapping(value = "/getWholeArea", method = RequestMethod.POST)
    public List<AreaDto> getWholeArea(@RequestBody AreaDto areaDto);
 
}