win代码上传
parent
31e9e8edba
commit
544204bca5
|
|
@ -102,7 +102,7 @@
|
||||||
<warName>${project.artifactId}</warName>
|
<warName>${project.artifactId}</warName>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- YUI Compressor (CSS/JS压缩)
|
<!-- YUI Compressor (CSS/JS压缩)
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>net.alchim31.maven</groupId>
|
<groupId>net.alchim31.maven</groupId>
|
||||||
<artifactId>yuicompressor-maven-plugin</artifactId>
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ import java.util.concurrent.CompletableFuture;
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/system/radarStatus")
|
@RequestMapping("/system/radarstatus")
|
||||||
public class RadarStatusController {
|
public class RadarStatusController {
|
||||||
private static final Logger log = LoggerFactory.getLogger(RadarStatusController.class);
|
private static final Logger log = LoggerFactory.getLogger(RadarStatusController.class);
|
||||||
|
|
||||||
|
|
@ -55,7 +55,7 @@ public class RadarStatusController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ISysIdentifierService identifierService;
|
private ISysIdentifierService identifierService;
|
||||||
|
|
||||||
private String prefix = "/system/radarStatus";
|
private String prefix = "system/radarstatus";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -63,7 +63,7 @@ public class RadarStatusController {
|
||||||
*/
|
*/
|
||||||
@GetMapping()
|
@GetMapping()
|
||||||
public String button() {
|
public String button() {
|
||||||
return prefix + "/radarStatus";
|
return prefix + "/radarstatus";
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://39.104.15.118:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: 12345678
|
password: Orderfood@2022
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -37,7 +37,7 @@
|
||||||
<div th:include="include :: footer"></div>
|
<div th:include="include :: footer"></div>
|
||||||
<th:block th:include="include :: bootstrap-table-custom-view-js" />
|
<th:block th:include="include :: bootstrap-table-custom-view-js" />
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var prefix = ctx + "system/radarStatus";
|
var prefix = ctx + "system/radarstatus";
|
||||||
var datas = [[${@dict.getType('sys_normal_disable')}]];
|
var datas = [[${@dict.getType('sys_normal_disable')}]];
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
<th:block th:include="include :: header('自定义视图分页')"/>
|
<th:block th:include="include :: header('自定义视图分页')"/>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<script src="/js/vue.js"></script>
|
<script src="/js/vue.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
<script src="/js/axios.js"></script>
|
||||||
<!-- 引入样式 -->
|
<!-- 引入样式 -->
|
||||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
<!-- 引入组件库 -->
|
<!-- 引入组件库 -->
|
||||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
<script src="/js/eleindex.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div id="vm" style="padding: 24px">
|
<div id="vm" style="padding: 24px">
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
axios.post('http://localhost/system/radarStatus/list', {})
|
axios.post('http://localhost/system/radarstatus/list', {})
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.tableData = data.data.rows
|
this.tableData = data.data.rows
|
||||||
})
|
})
|
||||||
Loading…
Reference in New Issue