华为云处理
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>common-microservice</artifactId>
|
||||
<artifactId>${micro.sdk}</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -16,7 +16,7 @@ import java.util.List;
|
||||
* @version 1.0.0
|
||||
* @date 2022年01月05日 15:11
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.SYSTEM,path = "/area",fallbackFactory = AreaFeignClientFallbackFactory.class)
|
||||
@FeignClient(value = ServerInfo.SYSTEM, path = "/area", fallbackFactory = AreaFeignClientFallbackFactory.class, contextId = "area")
|
||||
public interface AreaFeignClient {
|
||||
|
||||
/**
|
||||
@@ -41,17 +41,16 @@ public interface AreaFeignClient {
|
||||
* 查询所有的行政区域树
|
||||
*/
|
||||
@PostMapping("/areaDeptTree")
|
||||
HttpResult<List<AreaTreeDTO>> areaDeptTree(@RequestParam("id")String id , @RequestParam("type")Integer type);
|
||||
HttpResult<List<AreaTreeDTO>> areaDeptTree(@RequestParam("id") String id, @RequestParam("type") Integer type);
|
||||
|
||||
/**
|
||||
* 根据区域id获取省份信息
|
||||
*/
|
||||
@PostMapping("/areaPro")
|
||||
HttpResult<Area> areaPro(@RequestParam("id")String id , @RequestParam("type")Integer type);
|
||||
HttpResult<Area> areaPro(@RequestParam("id") String id, @RequestParam("type") Integer type);
|
||||
|
||||
@PostMapping("/areaDeptPro")
|
||||
HttpResult<Area> areaDeptPro(@RequestParam("id")String id);
|
||||
|
||||
HttpResult<Area> areaDeptPro(@RequestParam("id") String id);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
* @version 1.0.0
|
||||
* @date 2022年01月05日 15:11
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.SYSTEM, path = "/config", fallbackFactory = ConfigFeignClientFallbackFactory.class)
|
||||
@FeignClient(value = ServerInfo.SYSTEM, path = "/config", fallbackFactory = ConfigFeignClientFallbackFactory.class,contextId = "config")
|
||||
public interface ConfigFeignClient {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.List;
|
||||
* @author cdf
|
||||
* @date 2021/6/24
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.SYSTEM, path = "/dictData", fallbackFactory = DicDataFeignClientFallbackFactory.class)
|
||||
@FeignClient(value = ServerInfo.SYSTEM, path = "/dictData", fallbackFactory = DicDataFeignClientFallbackFactory.class, contextId = "dictData")
|
||||
public interface DicDataFeignClient {
|
||||
|
||||
@GetMapping("/getDicDataById")
|
||||
@@ -58,7 +58,6 @@ public interface DicDataFeignClient {
|
||||
HttpResult<DictData> getDicDataByNameAndTypeName(@RequestParam("dicTypeName") String dicTypeName, @RequestParam("dicDataName") String dicDataName);
|
||||
|
||||
|
||||
|
||||
/***
|
||||
* 字典类型
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
/**
|
||||
* @author 徐扬
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.SYSTEM,path = "/theme",fallbackFactory = AreaFeignClientFallbackFactory.class)
|
||||
@FeignClient(value = ServerInfo.SYSTEM,path = "/theme",fallbackFactory = AreaFeignClientFallbackFactory.class,contextId = "theme")
|
||||
public interface ThemeFeignClient {
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
* @version 1.0.0
|
||||
* @date 2022年07月12日 15:20
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.SYSTEM,path = "/userLog",fallbackFactory = UserLogFeignClientFallbackFactory.class)
|
||||
@FeignClient(value = ServerInfo.SYSTEM,path = "/userLog",fallbackFactory = UserLogFeignClientFallbackFactory.class,contextId = "userLog")
|
||||
public interface UserLogFeignClient {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user