parent
665360576a
commit
14e54dee62
9 changed files with 102 additions and 26 deletions
@ -0,0 +1,24 @@ |
||||
package org.springblade.system.user.feign; |
||||
|
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @Description |
||||
* @Author ytl |
||||
* @Date 2023/2/22 0022 10:36 |
||||
*/ |
||||
@FeignClient( |
||||
value = "blade-system" |
||||
) |
||||
public interface IRoleClient { |
||||
String API_PREFIX = "/role"; |
||||
String API_PREFIX_PARENT_ROLE_IDS = API_PREFIX + "/parentRoleIds"; |
||||
|
||||
@GetMapping(API_PREFIX_PARENT_ROLE_IDS) |
||||
List<String> parentRoleIds(@RequestParam String roleids); |
||||
} |
||||
@ -1,5 +1,4 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="org.springblade.system.user.mapper.UserAppMapper"> |
||||
|
||||
</mapper> |
||||
|
||||
Loading…
Reference in new issue