提交 7337336a 编写于 作者: sq3536's avatar sq3536

路径

上级 0cbcaef6
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
private initTree(){ private initTree(){
const _this = this; const _this = this;
// get全部菜单和权限的请求路径 // get全部菜单和权限的请求路径
const url = `uaa/sys_role/custom/getallMenuAndPermission`; const url = `sys_permissions/getallMenuAndPermission`;
this.$http.get(url).then((response: any)=>{ this.$http.get(url).then((response: any)=>{
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: response.message }); this.$Notice.error({ title: '错误', desc: response.message });
......
...@@ -19,7 +19,7 @@ public class UAACoreResource { ...@@ -19,7 +19,7 @@ public class UAACoreResource {
* *
* @return * @return
*/ */
@GetMapping(value = "/uaa/sys_role/custom/getallMenuAndPermission") @GetMapping(value = "/sys_permissions/getallMenuAndPermission")
public ResponseEntity<JSONArray> getAllPermission() { public ResponseEntity<JSONArray> getAllPermission() {
JSONArray treeNode = new JSONArray(); JSONArray treeNode = new JSONArray();
// 获取菜单 // 获取菜单
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册