打包修复不导入第三方依赖

pull/254/head
xjs 3 years ago
parent fe8f41044a
commit 5a170fcd36

@ -103,7 +103,7 @@
<span>文案</span> <span>文案</span>
</div> </div>
<div v-for="copyWriting in copyWritingList" :key="copyWriting.id" class="top_content" <div v-for="copyWriting in copyWritingList" :key="copyWriting.id" class="top_content"
style="color: #bfcbd9;"> style="color: #f8ac59;">
<el-tooltip effect="light" :content="copyWriting.content+' ——— '+copyWriting.type" placement="top" <el-tooltip effect="light" :content="copyWriting.content+' ——— '+copyWriting.type" placement="top"
:enterable="false"> :enterable="false">
<span>{{ copyWriting.content }} <span style="color: #bfcbc5">{{ copyWriting.type }}</span></span> <span>{{ copyWriting.content }} <span style="color: #bfcbc5">{{ copyWriting.type }}</span></span>
@ -182,7 +182,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="5"> <el-row :gutter="5">
<el-col :span="12"> <el-col :span="8">
<div> <div>
<el-card class="box-card" :body-style="{padding:'3px'}" shadow="hover"> <el-card class="box-card" :body-style="{padding:'3px'}" shadow="hover">
<div slot="header" style="font-size: 18px;color: #BD2828;font-weight: 800;padding: 0"> <div slot="header" style="font-size: 18px;color: #BD2828;font-weight: 800;padding: 0">
@ -195,7 +195,7 @@
</el-card> </el-card>
</div> </div>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="8">
<div> <div>
<el-card class="box-card" :body-style="{padding:'3px'}" shadow="hover"> <el-card class="box-card" :body-style="{padding:'3px'}" shadow="hover">
<div slot="header" style="font-size: 18px;color: #3d8610;font-weight: 800;padding: 0"> <div slot="header" style="font-size: 18px;color: #3d8610;font-weight: 800;padding: 0">
@ -210,6 +210,21 @@
</el-card> </el-card>
</div> </div>
</el-col> </el-col>
<el-col :span="8">
<div>
<el-card class="box-card" :body-style="{padding:'3px'}" shadow="hover">
<div slot="header" style="font-size: 18px;color: #004d8c;font-weight: 800;padding: 0">
<span>最新军事新闻</span>
</div>
<div v-for="militaryNews in militaryNewsList" :key="militaryNews.title" class="top_content"
style="color: #a95812;">
<span @click="toLookNews(militaryNews.url)" style="cursor: pointer">{{
militaryNews.title
}}</span>
</div>
</el-card>
</div>
</el-col>
</el-row> </el-row>
<el-row :gutter="5"> <el-row :gutter="5">
@ -310,6 +325,9 @@ export default {
internalNewsList: [], internalNewsList: [],
internationalNewsList: [], internationalNewsList: [],
militaryNewsList: [],
beautyPictureList1: [], beautyPictureList1: [],
beautyPictureList2: [], beautyPictureList2: [],
beautyPictureList3: [], beautyPictureList3: [],
@ -346,6 +364,7 @@ export default {
this.englishWordTableData = res.data.englishWord this.englishWordTableData = res.data.englishWord
this.internalNewsList = res.data.news.internal this.internalNewsList = res.data.news.internal
this.internationalNewsList = res.data.news.international this.internationalNewsList = res.data.news.international
this.militaryNewsList = res.data.news.military
this.beautyPictureList1 = res.data.beautyPicture.one this.beautyPictureList1 = res.data.beautyPicture.one
this.beautyPictureList2 = res.data.beautyPicture.two this.beautyPictureList2 = res.data.beautyPicture.two
this.beautyPictureList3 = res.data.beautyPicture.three this.beautyPictureList3 = res.data.beautyPicture.three

@ -23,7 +23,6 @@
<module>xjs-business-log</module> <module>xjs-business-log</module>
<module>xjs-business-statistics</module> <module>xjs-business-statistics</module>
<module>xjs-business-webmagic</module> <module>xjs-business-webmagic</module>
<module>xjs-business-blog</module>
<module>xjs-project-srb</module> <module>xjs-project-srb</module>
<module>xjs-project-mall</module> <module>xjs-project-mall</module>
<module>xjs-business-workflow</module> <module>xjs-business-workflow</module>

@ -1,27 +0,0 @@
<?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-business</artifactId>
<groupId>com.xjs</groupId>
<version>3.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>业务模块-博客模块</name>
<artifactId>xjs-business-blog</artifactId>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.xjs</groupId>
<artifactId>xjs-business-common</artifactId>
</dependency>
</dependencies>
</project>

@ -1,22 +0,0 @@
package com.xjs;
import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
*
* @author xiejs
* @since 2022-01-27
*/
@SpringBootApplication
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
public class XjsBlogApp {
public static void main(String[] args) {
SpringApplication.run(XjsBlogApp.class, args);
}
}

@ -1,8 +0,0 @@
Spring Boot Version: ${spring-boot.version}
Spring Application Name: ${spring.application.name}
____ ___ ____. _________ _____.___._____.___.________ _________
\ \/ / | |/ _____/ \__ | |\__ | |\______ \ / _____/
\ / | |\_____ \ ______ / | | / | | | | \ \_____ \
/ \/\__| |/ \ /_____/ \____ | \____ | | ` \/ \
/___/\ \________/_______ / / ______| / ______|/_______ /_______ /
\_/ \/ \/ \/ \/ \/

@ -1,31 +0,0 @@
# Tomcat
server:
port: 9907
# Spring
spring:
application:
# 应用名称
name: xjs-blog
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
#配置组
group: xjs
#命名空间
namespace: xjs-666

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 日志存放路径 -->
<property name="log.path" value="logs/xjs-blog"/>
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
<!-- 控制台输出 -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统日志输出 -->
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/info.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/info.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>60</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>INFO</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/error.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/error.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>60</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>ERROR</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- 系统模块日志级别控制 -->
<logger name="com.xjs" level="info" />
<!--打印feign DEBUG日志-->
<logger name="com.xjs.common.client" level="debug"/>
<!-- Spring日志级别控制 -->
<logger name="org.springframework" level="warn" />
<root level="info">
<appender-ref ref="console" />
</root>
<!--系统操作日志-->
<root level="info">
<appender-ref ref="file_info" />
<appender-ref ref="file_error" />
</root>
</configuration>

@ -1,16 +0,0 @@
<?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>xjs-business-blog</id>
<classpath>
<dir name="D:/Dev/IdeaPerject/GitHub/RuoYi-Cloud/xjs-business/xjs-business-blog/target/classes">
</dir>
</classpath>
</application>

@ -19,5 +19,22 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>

@ -25,4 +25,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -41,5 +41,22 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -25,4 +25,20 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -92,10 +92,10 @@ public class TopSearchServiceImpl implements TopSearchService {
Map<String, List> listHashMap = new HashMap<>(); Map<String, List> listHashMap = new HashMap<>();
listHashMap.put("allnetworkList", future1.get()); listHashMap.put("allnetworkList", future1.get());
listHashMap.put("wechatList", future2.get()); listHashMap.put("weiboList", future2.get());
listHashMap.put("baiduList", future3.get()); listHashMap.put("douyinList", future3.get());
listHashMap.put("weiboList", future4.get()); listHashMap.put("wechatList", future4.get());
listHashMap.put("douyinList", future5.get()); listHashMap.put("baiduList", future5.get());
return listHashMap; return listHashMap;
} }

@ -24,4 +24,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -10,7 +10,19 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<name>业务模块-预警模块</name> <name>业务模块-预警模块</name>
<build> <build>
<finalName>${project.artifactId}</finalName>
<plugins> <plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -22,6 +34,7 @@
</plugins> </plugins>
</build> </build>
<artifactId>xjs-business-warning</artifactId> <artifactId>xjs-business-warning</artifactId>
<properties> <properties>

@ -40,4 +40,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -89,9 +89,17 @@ public class SinaNewsServiceImpl extends ServiceImpl<SinaNewsMapper, SinaNews> i
internationalWrapper.last("limit 5"); internationalWrapper.last("limit 5");
List<SinaNews> internationalList = super.list(internationalWrapper); List<SinaNews> internationalList = super.list(internationalWrapper);
LambdaQueryWrapper<SinaNews> militaryWrapper = new LambdaQueryWrapper<>();
militaryWrapper.select(SinaNews::getTitle, SinaNews::getUrl);
militaryWrapper.eq(SinaNews::getCategory, "军事");
militaryWrapper.orderByDesc(SinaNews::getCreateTime);
militaryWrapper.last("limit 5");
List<SinaNews> militaryList = super.list(militaryWrapper);
return MapUtil.builder() return MapUtil.builder()
.put("internal", internalList) .put("internal", internalList)
.put("international", internationalList) .put("international", internationalList)
.put("military", militaryList)
.build(); .build();
} }

@ -44,4 +44,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -17,4 +17,21 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -17,4 +17,21 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -18,4 +18,20 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -18,4 +18,20 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -18,4 +18,20 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -30,4 +30,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -35,4 +35,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

@ -18,4 +18,21 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -31,4 +31,21 @@
</dependencies> </dependencies>
</project> <build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

Loading…
Cancel
Save