mirror of
https://github.com/201206030/novel-plus.git
synced 2026-03-10 07:45:50 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43213adba4 | ||
|
|
f49d0dd1c0 | ||
|
|
803607350e | ||
|
|
8448e86ac5 | ||
|
|
1ad240c7f9 |
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>com.java2nb</groupId>
|
||||
<artifactId>novel-admin</artifactId>
|
||||
<version>5.2.5</version>
|
||||
<version>5.2.6</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>novel-admin</name>
|
||||
|
||||
4
novel-admin/src/main/build/scripts/novel-admin.bat
Normal file
4
novel-admin/src/main/build/scripts/novel-admin.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd /d "%~dp0.."
|
||||
java -jar -Dspring.profiles.active=prod novel-admin.jar
|
||||
pause
|
||||
@@ -5,9 +5,12 @@ JAR_NAME=$APP_NAME\.jar
|
||||
PID=$APP_NAME\.pid
|
||||
|
||||
|
||||
#使用说明,用来提示输入参数
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||
cd "$SCRIPT_DIR"/.. || exit 1
|
||||
|
||||
# 使用说明
|
||||
usage() {
|
||||
echo "Usage: ./novel-admin.sh [start|stop|restart|status]"
|
||||
echo "Usage: $0 [start|stop|restart|status]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ public interface CacheKey {
|
||||
/**
|
||||
* 首页小说设置
|
||||
*/
|
||||
String INDEX_BOOK_SETTINGS_KEY = "indexBookSettingsKey";
|
||||
String INDEX_BOOK_SETTINGS_KEY = "indexBookSettingsKey:v2";
|
||||
|
||||
/**
|
||||
* 首页新闻
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>novel</artifactId>
|
||||
<groupId>com.java2nb</groupId>
|
||||
<version>5.2.5</version>
|
||||
<version>5.2.6</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -63,6 +63,8 @@ public class RestTemplates {
|
||||
connectionManager.setDefaultMaxPerRoute(300);
|
||||
|
||||
HttpClientBuilder clientBuilder = HttpClients.custom();
|
||||
// 禁用 Cookie 管理
|
||||
clientBuilder.disableCookieManagement();
|
||||
if (Objects.nonNull(httpProxyProperties) && Boolean.TRUE.equals(httpProxyProperties.getEnabled())) {
|
||||
HttpHost proxy = new HttpHost(httpProxyProperties.getIp(), httpProxyProperties.getPort());
|
||||
clientBuilder.setProxy(proxy);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>novel</artifactId>
|
||||
<groupId>com.java2nb</groupId>
|
||||
<version>5.2.5</version>
|
||||
<version>5.2.6</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
4
novel-crawl/src/main/build/scripts/novel-crawl.bat
Normal file
4
novel-crawl/src/main/build/scripts/novel-crawl.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd /d "%~dp0.."
|
||||
java -jar -Dspring.profiles.active=prod novel-crawl.jar
|
||||
pause
|
||||
@@ -5,9 +5,12 @@ JAR_NAME=$APP_NAME\.jar
|
||||
PID=$APP_NAME\.pid
|
||||
|
||||
|
||||
#使用说明,用来提示输入参数
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||
cd "$SCRIPT_DIR"/.. || exit 1
|
||||
|
||||
# 使用说明
|
||||
usage() {
|
||||
echo "Usage: ./novel-crawl.sh [start|stop|restart|status]"
|
||||
echo "Usage: $0 [start|stop|restart|status]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>novel</artifactId>
|
||||
<groupId>com.java2nb</groupId>
|
||||
<version>5.2.5</version>
|
||||
<version>5.2.6</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
4
novel-front/src/main/build/scripts/novel-front.bat
Normal file
4
novel-front/src/main/build/scripts/novel-front.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd /d "%~dp0.."
|
||||
java -jar -Dspring.profiles.active=prod novel-front.jar
|
||||
pause
|
||||
@@ -4,10 +4,12 @@ JAR_NAME=$APP_NAME\.jar
|
||||
#PID 代表是PID文件
|
||||
PID=$APP_NAME\.pid
|
||||
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||
cd "$SCRIPT_DIR"/.. || exit 1
|
||||
|
||||
#使用说明,用来提示输入参数
|
||||
# 使用说明
|
||||
usage() {
|
||||
echo "Usage: ./novel-front.sh [start|stop|restart|status]"
|
||||
echo "Usage: $0 [start|stop|restart|status]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user