修改打包问题,暂时关闭zlm的定时任务
This commit is contained in:
parent
e7bb22e126
commit
79cd4f89f1
|
@ -87,7 +87,7 @@ public class ZlmServiceImpl implements ZlmService, ApplicationRunner {
|
||||||
serverCache.putLoad(item);
|
serverCache.putLoad(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Scheduled(cron = "*/10 * * * * ?")
|
// @Scheduled(cron = "*/10 * * * * ?")
|
||||||
public void heartbeat1() {
|
public void heartbeat1() {
|
||||||
log.debug("开始心跳检查...");
|
log.debug("开始心跳检查...");
|
||||||
ServerItem item = serverCache.getLoad();
|
ServerItem item = serverCache.getLoad();
|
||||||
|
|
19
web/pom.xml
19
web/pom.xml
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
<artifactId>web</artifactId>
|
<artifactId>web</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
|
@ -35,4 +36,20 @@
|
||||||
<!-- <version>1.0.0-SNAPSHOT</version>-->
|
<!-- <version>1.0.0-SNAPSHOT</version>-->
|
||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>repackage</goal> <!-- 构建 fat jar -->
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class DefectController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "查询缺陷记录列表", httpMethod = "GET")
|
@ApiOperation(value = "查询缺陷记录列表", httpMethod = "GET")
|
||||||
@GetMapping("/page")
|
@GetMapping("/list")
|
||||||
public Result<List<DefectResp>> list(@RequestBody DefectListReq req) {
|
public Result<List<DefectResp>> list(@RequestBody DefectListReq req) {
|
||||||
return Result.ok(defectService.list(req));
|
return Result.ok(defectService.list(req));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue