feat(2227-permissionQuery): 接口定义调整
This commit is contained in:
parent
4e784d2fad
commit
599fd9ddaf
@ -3,6 +3,8 @@ package cn.axzo.tyr.client.feign;
|
|||||||
import cn.axzo.framework.domain.web.result.ApiResult;
|
import cn.axzo.framework.domain.web.result.ApiResult;
|
||||||
import cn.axzo.tyr.client.model.req.NavTreeReq;
|
import cn.axzo.tyr.client.model.req.NavTreeReq;
|
||||||
import cn.axzo.tyr.client.model.res.NavTreeResp;
|
import cn.axzo.tyr.client.model.res.NavTreeResp;
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
@ -15,8 +17,10 @@ import java.util.List;
|
|||||||
* @author: ZhanSiHu
|
* @author: ZhanSiHu
|
||||||
* @date: 2024/4/7 16:18
|
* @date: 2024/4/7 16:18
|
||||||
*/
|
*/
|
||||||
|
@FeignClient(name = "tyr", url = "${axzo.service.tyr:http://tyr:8080}")
|
||||||
public interface PermissionQueryApi {
|
public interface PermissionQueryApi {
|
||||||
|
|
||||||
/** 返回导航菜单页面 **/
|
/** 返回导航菜单页面 **/
|
||||||
|
@PostMapping(value = "/api/v3/permission/query/getNavTree")
|
||||||
ApiResult<List<NavTreeResp>> getNavTree(@RequestBody @Valid NavTreeReq req);
|
ApiResult<List<NavTreeResp>> getNavTree(@RequestBody @Valid NavTreeReq req);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user