新增图标

This commit is contained in:
wanggeng888 2021-05-08 11:33:40 +08:00
parent 3706152447
commit 3babff60fd
7 changed files with 9 additions and 3 deletions

View File

@ -98,6 +98,9 @@ public class RouteHandler extends BaseHandler implements ApplicationEventPublish
if (r.getPath().startsWith(ISystemConst.ROOT_PATH_PREFIX)) {
return Mono.error(new ParamsException("根路径不能配置通配符"));
}
if (r.getPath().startsWith(ISystemConst.ADMIN_ROUTER_PREFIX)) {
return Mono.error(new ParamsException("根路径不能以/wg/*开头"));
}
route.setTitle(r.getTitle());
route.setSummary(r.getSummary());
route.setPath(r.getPath());

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -7,8 +7,10 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="icon" href="assets/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="assets/layui-v2.6.4/layui/css/layui.css"/>
<link rel="stylesheet" href="assets/layui-v2.6.4/layui/css/admin.css"/>
<link rel="stylesheet" href="assets/layui-v2.6.4/layui/css/admin.css"/>
</head>
<body>
<div class="layui-app">

View File

@ -7,6 +7,7 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="icon" href="assets/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="assets/layui-v2.6.4/layui/css/layui.css"/>
<link rel="stylesheet" href="assets/layui-v2.6.4/layui/css/admin.css"/>
<script>

View File

@ -127,7 +127,7 @@
return rowData;
}
},
{field: 'testPath', width: 200, title: '测试接口', align: 'center', sort: true,
{field: 'testPath', width: 100, title: '测试接口', align: 'center', sort: true,
templet: function (row) {
var rowData = row[this.field];
if (typeof (rowData) === 'undefined' || rowData == null || rowData == '') {

View File

@ -38,7 +38,7 @@
<input type="text" name="path" class="layui-input" lay-verify="required|path" placeholder="请输入映射路径">
<div class="layui-form-mid layui-word-aux">
直接访问网关的路径<br/>
支持通配符p1/**表示p1后的人和路径都匹配<br/>
支持通配符,如:/p1/**表示p1后的人和路径都匹配<br/>
路径中的变量用{}包含,如:/p2/{pq1}/{pq2}
</div>
</div>

View File

@ -38,7 +38,7 @@
<input type="text" name="path" class="layui-input" lay-verify="required|path" placeholder="请输入映射路径">
<div class="layui-form-mid layui-word-aux">
直接访问网关的路径<br/>
支持通配符p1/**表示p1后的人和路径都匹配<br/>
支持通配符,如:/p1/**表示p1后的人和路径都匹配<br/>
路径中的变量用{}包含,如:/p2/{pq1}/{pq2}
</div>
</div>