1、新增检索服务

2、优化pom文件
pull/254/head
xjs 4 years ago
parent 2b62ca8b3a
commit 7f84c9964f

@ -51,6 +51,7 @@
<oshi.version>5.7.1</oshi.version> <oshi.version>5.7.1</oshi.version>
<webmagic.version>0.7.5</webmagic.version> <webmagic.version>0.7.5</webmagic.version>
<spring-cloud-alicloud-oss.version>2.2.0.RELEASE</spring-cloud-alicloud-oss.version> <spring-cloud-alicloud-oss.version>2.2.0.RELEASE</spring-cloud-alicloud-oss.version>
<elasticsearch.version>7.2.0</elasticsearch.version>
</properties> </properties>
@ -106,6 +107,12 @@
<version>${bean-searcher.version}</version> <version>${bean-searcher.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.xjs</groupId> <groupId>com.xjs</groupId>
<artifactId>xjs-business-common</artifactId> <artifactId>xjs-business-common</artifactId>

@ -44,7 +44,7 @@
<div v-loading="loading"> <div v-loading="loading">
<el-timeline v-for="article in articleList"> <el-timeline v-for="(index,article) in articleList">
<el-timeline-item :timestamp=article.createTime placement="top"> <el-timeline-item :timestamp=article.createTime placement="top">
<el-button type="text" <el-button type="text"

@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="isSuccess != null "> and is_success = #{isSuccess}</if> <if test="isSuccess != null "> and is_success = #{isSuccess}</if>
<if test="createTime != null and endCreateTime != null"> and create_time between #{createTime} and #{endCreateTime}</if> <if test="createTime != null and endCreateTime != null"> and create_time between #{createTime} and #{endCreateTime}</if>
</where> </where>
order by id desc order by create_time desc
</select> </select>
<select id="selectApiLogById" parameterType="Long" resultMap="ApiLogResult"> <select id="selectApiLogById" parameterType="Long" resultMap="ApiLogResult">

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>xjs-project-mall</artifactId>
<groupId>com.xjs</groupId>
<version>3.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>检索服务</name>
<description>elasticsearch检索服务</description>
<artifactId>mall-search</artifactId>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
</dependency>
</dependencies>
</project>

@ -6,7 +6,7 @@ server:
spring: spring:
application: application:
# 应用名称 # 应用名称
name: xjs-mall-ware name: xjs-mall-search
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: dev

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false"> <configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 日志存放路径 --> <!-- 日志存放路径 -->
<property name="log.path" value="logs/xjs-mall/ware"/> <property name="log.path" value="logs/xjs-mall/search"/>
<!-- 日志输出格式 --> <!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This is the JRebel configuration file. It maps the running application to your IDE workspace, enabling JRebel reloading for this project.
Refer to https://manuals.jrebel.com/jrebel/standalone/config.html for more information.
-->
<application generated-by="intellij" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_3.xsd">
<id>mall-search</id>
<classpath>
<dir name="D:/Dev/IdeaPerject/GitHub/Cloud/xjs-business/xjs-project-mall/mall-search/target/classes">
</dir>
</classpath>
</application>

@ -16,6 +16,7 @@
<module>mall-member</module> <module>mall-member</module>
<module>mall-coupon</module> <module>mall-coupon</module>
<module>renren-generator</module> <module>renren-generator</module>
<module>mall-search</module>
</modules> </modules>
<packaging>pom</packaging> <packaging>pom</packaging>

Loading…
Cancel
Save