parent
f2ef0c6b92
commit
1a3f292810
52
pom.xml
52
pom.xml
|
|
@ -49,6 +49,8 @@
|
||||||
<commonsNet.version>3.6</commonsNet.version>
|
<commonsNet.version>3.6</commonsNet.version>
|
||||||
<aliyunoss.version>3.14.0</aliyunoss.version>
|
<aliyunoss.version>3.14.0</aliyunoss.version>
|
||||||
<bean-searcher.version>3.5.1</bean-searcher.version>
|
<bean-searcher.version>3.5.1</bean-searcher.version>
|
||||||
|
<oshi.version>5.7.1</oshi.version>
|
||||||
|
<webmagic.version>0.7.5</webmagic.version>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
@ -56,6 +58,56 @@
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<!--///////////////////////////business///////////////////////////////-->
|
||||||
|
<!--爬虫-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>us.codecraft</groupId>
|
||||||
|
<artifactId>webmagic-core</artifactId>
|
||||||
|
<version>${webmagic.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>us.codecraft</groupId>
|
||||||
|
<artifactId>webmagic-extension</artifactId>
|
||||||
|
<version>${webmagic.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 获取系统信息 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.oshi</groupId>
|
||||||
|
<artifactId>oshi-core</artifactId>
|
||||||
|
<version>${oshi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--mp-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.baomidou</groupId>
|
||||||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
|
<version>${mybatisplus.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--工具类-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>cn.hutool</groupId>
|
||||||
|
<artifactId>hutool-all</artifactId>
|
||||||
|
<version>${hutool.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--比 MyBatis 效率快 100 倍的条件检索引擎,天生支持联表,使一行代码实现复杂列表检索成为可能!-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ejlchina</groupId>
|
||||||
|
<artifactId>bean-searcher-boot-starter</artifactId>
|
||||||
|
<version>${bean-searcher.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.xjs</groupId>
|
||||||
|
<artifactId>xjs-business-common</artifactId>
|
||||||
|
<version>${ruoyi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--////////////////////////////////////////////////////////////////////////////////////-->
|
||||||
|
|
||||||
<!-- SpringCloud 微服务 -->
|
<!-- SpringCloud 微服务 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@
|
||||||
style="width: 92%"
|
style="width: 92%"
|
||||||
v-model="searchContent"
|
v-model="searchContent"
|
||||||
@input="getAssociation()"
|
@input="getAssociation()"
|
||||||
|
@keydown.enter.n.native="toRescue"
|
||||||
|
clearable
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
:fetch-suggestions="querySearchAsync"
|
:fetch-suggestions="querySearchAsync"
|
||||||
placeholder="请输入你想要搜索的内容"></el-autocomplete>
|
placeholder="请输入你想要搜索的内容"></el-autocomplete>
|
||||||
|
|
@ -78,7 +80,7 @@ export default {
|
||||||
baiduLogo,
|
baiduLogo,
|
||||||
|
|
||||||
//百度输入框内容
|
//百度输入框内容
|
||||||
searchContent: null,
|
searchContent: '',
|
||||||
|
|
||||||
//联想词汇
|
//联想词汇
|
||||||
associationList: [],
|
associationList: [],
|
||||||
|
|
@ -192,13 +194,17 @@ export default {
|
||||||
|
|
||||||
let list = []
|
let list = []
|
||||||
|
|
||||||
|
if (restaurants === null || restaurants === undefined || restaurants === []) {
|
||||||
|
return list
|
||||||
|
}
|
||||||
|
|
||||||
restaurants.forEach(s => {
|
restaurants.forEach(s => {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
let key = "value"
|
let key = "value"
|
||||||
var value = s
|
var value = s
|
||||||
obj[key] = value
|
obj[key] = value
|
||||||
list.push(obj)
|
list.push(obj)
|
||||||
})
|
});
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -93,10 +93,11 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--/////////////////////本模块专属依赖/////////////////////////-->
|
<!--/////////////////////本模块专属依赖/////////////////////////-->
|
||||||
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
<version>${mybatisplus.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--lombok-->
|
<!--lombok-->
|
||||||
|
|
@ -115,14 +116,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.hutool</groupId>
|
<groupId>cn.hutool</groupId>
|
||||||
<artifactId>hutool-all</artifactId>
|
<artifactId>hutool-all</artifactId>
|
||||||
<version>${hutool.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--比 MyBatis 效率快 100 倍的条件检索引擎,天生支持联表,使一行代码实现复杂列表检索成为可能!-->
|
<!--比 MyBatis 效率快 100 倍的条件检索引擎,天生支持联表,使一行代码实现复杂列表检索成为可能!-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.ejlchina</groupId>
|
<groupId>com.ejlchina</groupId>
|
||||||
<artifactId>bean-searcher-boot-starter</artifactId>
|
<artifactId>bean-searcher-boot-starter</artifactId>
|
||||||
<version>${bean-searcher.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,13 +22,11 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.oshi</groupId>
|
<groupId>com.github.oshi</groupId>
|
||||||
<artifactId>oshi-core</artifactId>
|
<artifactId>oshi-core</artifactId>
|
||||||
<version>5.7.1</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* redis监控controller
|
||||||
* @author xiejs
|
* @author xiejs
|
||||||
* @since 2022-01-12
|
* @since 2022-01-12
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,9 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
/**
|
/** 业务监控控制器
|
||||||
* @author xiejs
|
* @author xiejs
|
||||||
* @desc 业务监控控制器
|
* @since 2022-01-02
|
||||||
* @create 2022-01-02
|
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("servicemonitor")
|
@RequestMapping("servicemonitor")
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- websocket -->
|
<!-- websocket -->
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xjs</groupId>
|
<groupId>com.xjs</groupId>
|
||||||
<artifactId>xjs-business-common</artifactId>
|
<artifactId>xjs-business-common</artifactId>
|
||||||
<version>3.3.0</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--爬虫-->
|
<!--爬虫-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>us.codecraft</groupId>
|
<groupId>us.codecraft</groupId>
|
||||||
<artifactId>webmagic-core</artifactId>
|
<artifactId>webmagic-core</artifactId>
|
||||||
<version>0.7.5</version>
|
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
|
|
@ -39,7 +37,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>us.codecraft</groupId>
|
<groupId>us.codecraft</groupId>
|
||||||
<artifactId>webmagic-extension</artifactId>
|
<artifactId>webmagic-extension</artifactId>
|
||||||
<version>0.7.5</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue