fix: 修改包名,模块名。
This commit is contained in:
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-auth/target
|
cd ../intc-auth/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-auth.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-auth.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-gateway/target
|
cd ../intc-gateway/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-gateway.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-gateway.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-modules/ruoyi-file/target
|
cd ../intc-modules/intc-file/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-modules-file.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-modules-file.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-modules/ruoyi-gen/target
|
cd ../intc-modules/intc-gen/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-modules-gen.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-modules-gen.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-modules/ruoyi-job/target
|
cd ../intc-modules/intc-job/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-modules-job.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-modules-job.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-modules/ruoyi-system/target
|
cd ../intc-modules/intc-system/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-modules-system.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-modules-system.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -4,11 +4,11 @@ echo [
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
cd ../ruoyi-visual/ruoyi-monitor/target
|
cd ../intc-visual/intc-monitor/target
|
||||||
|
|
||||||
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar ruoyi-visual-monitor.jar
|
java -Dfile.encoding=utf-8 %JAVA_OPTS% -jar intc-visual-monitor.jar
|
||||||
|
|
||||||
cd bin
|
cd bin
|
||||||
pause
|
pause
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# 复制项目的文件到对应docker路径,便于一键生成镜像。
|
|
||||||
usage() {
|
|
||||||
echo "Usage: sh copy.sh"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# copy sql
|
|
||||||
echo "begin copy sql "
|
|
||||||
cp ../sql/ry_20220814.sql ./mysql/db
|
|
||||||
cp ../sql/ry_config_20220510.sql ./mysql/db
|
|
||||||
|
|
||||||
# copy html
|
|
||||||
echo "begin copy html "
|
|
||||||
cp -r ../ruoyi-ui/dist/** ./nginx/html/dist
|
|
||||||
|
|
||||||
|
|
||||||
# copy jar
|
|
||||||
echo "begin copy ruoyi-gateway "
|
|
||||||
cp ../ruoyi-gateway/target/ruoyi-gateway.jar ./ruoyi/gateway/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-auth "
|
|
||||||
cp ../ruoyi-auth/target/ruoyi-auth.jar ./ruoyi/auth/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-visual "
|
|
||||||
cp ../ruoyi-visual/ruoyi-monitor/target/ruoyi-visual-monitor.jar ./ruoyi/visual/monitor/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-modules-system "
|
|
||||||
cp ../ruoyi-modules/ruoyi-system/target/ruoyi-modules-system.jar ./ruoyi/modules/system/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-modules-file "
|
|
||||||
cp ../ruoyi-modules/ruoyi-file/target/ruoyi-modules-file.jar ./ruoyi/modules/file/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-modules-job "
|
|
||||||
cp ../ruoyi-modules/ruoyi-job/target/ruoyi-modules-job.jar ./ruoyi/modules/job/jar
|
|
||||||
|
|
||||||
echo "begin copy ruoyi-modules-gen "
|
|
||||||
cp ../ruoyi-modules/ruoyi-gen/target/ruoyi-modules-gen.jar ./ruoyi/modules/gen/jar
|
|
||||||
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# 使用说明,用来提示输入参数
|
|
||||||
usage() {
|
|
||||||
echo "Usage: sh 执行脚本.sh [port|base|modules|stop|rm]"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# 开启所需端口
|
|
||||||
port(){
|
|
||||||
firewall-cmd --add-port=80/tcp --permanent
|
|
||||||
firewall-cmd --add-port=8080/tcp --permanent
|
|
||||||
firewall-cmd --add-port=8848/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9848/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9849/tcp --permanent
|
|
||||||
firewall-cmd --add-port=6379/tcp --permanent
|
|
||||||
firewall-cmd --add-port=3306/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9100/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9200/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9201/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9202/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9203/tcp --permanent
|
|
||||||
firewall-cmd --add-port=9300/tcp --permanent
|
|
||||||
service firewalld restart
|
|
||||||
}
|
|
||||||
|
|
||||||
# 启动基础环境(必须)
|
|
||||||
base(){
|
|
||||||
docker-compose up -d ruoyi-mysql ruoyi-redis ruoyi-nacos
|
|
||||||
}
|
|
||||||
|
|
||||||
# 启动程序模块(必须)
|
|
||||||
modules(){
|
|
||||||
docker-compose up -d ruoyi-nginx ruoyi-gateway ruoyi-auth ruoyi-modules-system
|
|
||||||
}
|
|
||||||
|
|
||||||
# 关闭所有环境/模块
|
|
||||||
stop(){
|
|
||||||
docker-compose stop
|
|
||||||
}
|
|
||||||
|
|
||||||
# 删除所有环境/模块
|
|
||||||
rm(){
|
|
||||||
docker-compose rm
|
|
||||||
}
|
|
||||||
|
|
||||||
# 根据输入参数,选择执行对应方法,不输入则执行使用说明
|
|
||||||
case "$1" in
|
|
||||||
"port")
|
|
||||||
port
|
|
||||||
;;
|
|
||||||
"base")
|
|
||||||
base
|
|
||||||
;;
|
|
||||||
"modules")
|
|
||||||
modules
|
|
||||||
;;
|
|
||||||
"stop")
|
|
||||||
stop
|
|
||||||
;;
|
|
||||||
"rm")
|
|
||||||
rm
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
usage
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,140 +0,0 @@
|
|||||||
version : '3.8'
|
|
||||||
services:
|
|
||||||
ruoyi-nacos:
|
|
||||||
container_name: ruoyi-nacos
|
|
||||||
image: nacos/nacos-server
|
|
||||||
build:
|
|
||||||
context: ./nacos
|
|
||||||
environment:
|
|
||||||
- MODE=standalone
|
|
||||||
volumes:
|
|
||||||
- ./nacos/logs/:/home/nacos/logs
|
|
||||||
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
|
||||||
ports:
|
|
||||||
- "8848:8848"
|
|
||||||
- "9848:9848"
|
|
||||||
- "9849:9849"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-mysql
|
|
||||||
ruoyi-mysql:
|
|
||||||
container_name: ruoyi-mysql
|
|
||||||
image: mysql:5.7
|
|
||||||
build:
|
|
||||||
context: ./mysql
|
|
||||||
ports:
|
|
||||||
- "3306:3306"
|
|
||||||
volumes:
|
|
||||||
- ./mysql/conf:/etc/mysql/conf.d
|
|
||||||
- ./mysql/logs:/logs
|
|
||||||
- ./mysql/data:/var/lib/mysql
|
|
||||||
command: [
|
|
||||||
'mysqld',
|
|
||||||
'--innodb-buffer-pool-size=80M',
|
|
||||||
'--character-set-server=utf8mb4',
|
|
||||||
'--collation-server=utf8mb4_unicode_ci',
|
|
||||||
'--default-time-zone=+8:00',
|
|
||||||
'--lower-case-table-names=1'
|
|
||||||
]
|
|
||||||
environment:
|
|
||||||
MYSQL_DATABASE: 'ry-cloud'
|
|
||||||
MYSQL_ROOT_PASSWORD: password
|
|
||||||
ruoyi-redis:
|
|
||||||
container_name: ruoyi-redis
|
|
||||||
image: redis
|
|
||||||
build:
|
|
||||||
context: ./redis
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
volumes:
|
|
||||||
- ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf
|
|
||||||
- ./redis/data:/data
|
|
||||||
command: redis-server /home/ruoyi/redis/redis.conf
|
|
||||||
ruoyi-nginx:
|
|
||||||
container_name: ruoyi-nginx
|
|
||||||
image: nginx
|
|
||||||
build:
|
|
||||||
context: ./nginx
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
volumes:
|
|
||||||
- ./nginx/html/dist:/home/ruoyi/projects/ruoyi-ui
|
|
||||||
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
|
||||||
- ./nginx/logs:/var/log/nginx
|
|
||||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-gateway
|
|
||||||
links:
|
|
||||||
- ruoyi-gateway
|
|
||||||
ruoyi-gateway:
|
|
||||||
container_name: ruoyi-gateway
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/gateway
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "8080:8080"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-redis
|
|
||||||
links:
|
|
||||||
- ruoyi-redis
|
|
||||||
ruoyi-auth:
|
|
||||||
container_name: ruoyi-auth
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/auth
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9200:9200"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-redis
|
|
||||||
links:
|
|
||||||
- ruoyi-redis
|
|
||||||
ruoyi-modules-system:
|
|
||||||
container_name: ruoyi-modules-system
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/modules/system
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9201:9201"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-redis
|
|
||||||
- ruoyi-mysql
|
|
||||||
links:
|
|
||||||
- ruoyi-redis
|
|
||||||
- ruoyi-mysql
|
|
||||||
ruoyi-modules-gen:
|
|
||||||
container_name: ruoyi-modules-gen
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/modules/gen
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9202:9202"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-mysql
|
|
||||||
links:
|
|
||||||
- ruoyi-mysql
|
|
||||||
ruoyi-modules-job:
|
|
||||||
container_name: ruoyi-modules-job
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/modules/job
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9203:9203"
|
|
||||||
depends_on:
|
|
||||||
- ruoyi-mysql
|
|
||||||
links:
|
|
||||||
- ruoyi-mysql
|
|
||||||
ruoyi-modules-file:
|
|
||||||
container_name: ruoyi-modules-file
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/modules/file
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9300:9300"
|
|
||||||
volumes:
|
|
||||||
- ./ruoyi/uploadPath:/home/ruoyi/uploadPath
|
|
||||||
ruoyi-visual-monitor:
|
|
||||||
container_name: ruoyi-visual-monitor
|
|
||||||
build:
|
|
||||||
context: ./ruoyi/visual/monitor
|
|
||||||
dockerfile: dockerfile
|
|
||||||
ports:
|
|
||||||
- "9100:9100"
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-auth.jar /home/ruoyi/ruoyi-auth.jar
|
|
||||||
# 启动认证服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-auth.jar"]
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f auth
|
|
||||||
docker rmi auth:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/auth
|
|
||||||
docker build -t auth:1.0.0 .
|
|
||||||
docker run -di --name auth -p 9200:9200 auth:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f gateway
|
|
||||||
docker rmi gateway:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/gateway
|
|
||||||
docker build -t gateway:1.0.0 .
|
|
||||||
docker run -di --name gateway -p 8288:8080 gateway:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f nginxh5
|
|
||||||
docker rmi nginxh5:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/nginxH5
|
|
||||||
docker build -t nginxh5:1.0.0 .
|
|
||||||
docker run -di --name nginxh5 -p 82:80 nginxh5:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f invest
|
|
||||||
docker rmi invest:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/invest
|
|
||||||
docker build -t invest:1.0.0 .
|
|
||||||
docker run -di --name invest -p 9218:9218 -v /usr/share/fonts:/usr/share/fonts invest:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f investtest
|
|
||||||
docker rmi investtest:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/investtest
|
|
||||||
docker build -t investtest:1.0.0 .
|
|
||||||
docker run -di --name investtest -p 9219:9219 -v /usr/share/fonts:/usr/share/fonts investtest:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f job
|
|
||||||
docker rmi job:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/job
|
|
||||||
docker build -t job:1.0.0 .
|
|
||||||
docker run -di --name job -p 9203:9203 job:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f system
|
|
||||||
docker rmi system:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/system
|
|
||||||
docker build -t system:1.0.0 .
|
|
||||||
docker run -di --name system -p 9201:9201 system:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f nginx
|
|
||||||
docker rmi nginx:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/nginx
|
|
||||||
docker build -t nginx:1.0.0 .
|
|
||||||
docker run -di --name nginx -p 81:80 nginx:1.0.0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker rm -f nginxtest
|
|
||||||
docker rmi nginxtest:1.0.0
|
|
||||||
|
|
||||||
cd /mnt/data/invest/nginxtest
|
|
||||||
docker build -t nginxtest:1.0.0 .
|
|
||||||
docker run -di --name nginxtest -p 88:80 nginxtest:1.0.0
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-gateway.jar /home/ruoyi/ruoyi-gateway.jar
|
|
||||||
# 启动网关服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-gateway.jar"]
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER tianyongbao
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/intc
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/intc
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/intc
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/intc-invest.jar /home/intc/intc-invest.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","intc-invest.jar"]
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER tianyongbao
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/intc
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/intc
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/intc
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/intc-invest-test.jar /home/intc/intc-invest-test.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","intc-invest-test.jar"]
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-job.jar /home/ruoyi/ruoyi-modules-job.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-job.jar"]
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
worker_processes 1;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
sendfile on;
|
|
||||||
keepalive_timeout 65;
|
|
||||||
client_max_body_size 20m;
|
|
||||||
server_tokens off;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name localhost;
|
|
||||||
add_header Referrer-Policy "no-referrer";
|
|
||||||
|
|
||||||
location /stub_status {
|
|
||||||
stub_status on;
|
|
||||||
access_log off;
|
|
||||||
allow 192.168.0.177;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root /home/ruoyi/projects/ruoyi-ui;
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
location /fileUrl/ {
|
|
||||||
rewrite ^/fileUrl/(.*) /$1 break;
|
|
||||||
proxy_pass http://203.0.105.106:9000;
|
|
||||||
}
|
|
||||||
location /prod-api/{
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header REMOTE-HOST $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_pass http://203.0.105.106:8288/;
|
|
||||||
}
|
|
||||||
location /bimapi/ {
|
|
||||||
rewrite ^/bimapi/(.*) /$1 break;
|
|
||||||
proxy_pass http://140.249.24.92:3101;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM nginx:1.23.3
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
|
||||||
# 复制html文件到路径
|
|
||||||
COPY ./html/dist /home/ruoyi/projects/ruoyi-ui
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
worker_processes 1;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
sendfile on;
|
|
||||||
keepalive_timeout 65;
|
|
||||||
client_max_body_size 20m;
|
|
||||||
server_tokens off;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name localhost;
|
|
||||||
add_header Referrer-Policy "no-referrer";
|
|
||||||
|
|
||||||
location /stub_status {
|
|
||||||
stub_status on;
|
|
||||||
access_log off;
|
|
||||||
allow 192.168.0.177;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root /home/ruoyi/projects/ruoyi-h5;
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
location /fileUrl/ {
|
|
||||||
rewrite ^/fileUrl/(.*) /$1 break;
|
|
||||||
proxy_pass http://203.0.105.106:9000;
|
|
||||||
}
|
|
||||||
location /prod-api/{
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header REMOTE-HOST $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_pass http://203.0.105.106:8288/;
|
|
||||||
}
|
|
||||||
location /bimapi/ {
|
|
||||||
rewrite ^/bimapi/(.*) /$1 break;
|
|
||||||
proxy_pass http://140.249.24.92:3101;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM nginx:1.23.3
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi/projects/ruoyi-h5
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi/projects/ruoyi-h5
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi/projects/ruoyi-h5
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
|
||||||
# 复制html文件到路径
|
|
||||||
COPY ./html/dist /home/ruoyi/projects/ruoyi-h5
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
worker_processes 1;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
sendfile on;
|
|
||||||
keepalive_timeout 65;
|
|
||||||
client_max_body_size 20m;
|
|
||||||
server_tokens off;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name localhost;
|
|
||||||
add_header Referrer-Policy "no-referrer";
|
|
||||||
|
|
||||||
location /stub_status {
|
|
||||||
stub_status on;
|
|
||||||
access_log off;
|
|
||||||
allow 192.168.0.177;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root /home/ruoyi/projects/ruoyi-ui;
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
location /fileUrl/ {
|
|
||||||
rewrite ^/fileUrl/(.*) /$1 break;
|
|
||||||
proxy_pass http://203.0.105.106:9000;
|
|
||||||
}
|
|
||||||
location /prod-api/{
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header REMOTE-HOST $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_pass http://203.0.105.106:8288/;
|
|
||||||
}
|
|
||||||
location /bimapi/ {
|
|
||||||
rewrite ^/bimapi/(.*) /$1 break;
|
|
||||||
proxy_pass http://140.249.24.92:3101;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM nginx:1.23.3
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
|
||||||
# 复制html文件到路径
|
|
||||||
COPY ./html/dist /home/ruoyi/projects/ruoyi-ui
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
# 设置时区 容器内是UTC时区 改为按照宿主机时区运行
|
|
||||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-system.jar /home/ruoyi/ruoyi-modules-system.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-system.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>sqlĿ¼<EFBFBD>µ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>нű<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD>Զ<EFBFBD>ִ<EFBFBD>С<EFBFBD>
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM mysql:5.7
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 执行sql脚本
|
|
||||||
ADD ./db/*.sql /docker-entrypoint-initdb.d/
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
spring.datasource.platform=mysql
|
|
||||||
db.num=1
|
|
||||||
db.url.0=jdbc:mysql://ruoyi-mysql:3306/ry-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
|
|
||||||
db.user=root
|
|
||||||
db.password=password
|
|
||||||
|
|
||||||
nacos.naming.empty-service.auto-clean=true
|
|
||||||
nacos.naming.empty-service.clean.initial-delay-ms=50000
|
|
||||||
nacos.naming.empty-service.clean.period-time-ms=30000
|
|
||||||
|
|
||||||
management.endpoints.web.exposure.include=*
|
|
||||||
|
|
||||||
management.metrics.export.elastic.enabled=false
|
|
||||||
management.metrics.export.influx.enabled=false
|
|
||||||
|
|
||||||
server.tomcat.accesslog.enabled=true
|
|
||||||
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i %{Request-Source}i
|
|
||||||
|
|
||||||
server.tomcat.basedir=/home/ruoyi/nacos/tomcat/logs
|
|
||||||
|
|
||||||
nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-ui/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**
|
|
||||||
|
|
||||||
nacos.core.auth.system.type=nacos
|
|
||||||
nacos.core.auth.enabled=false
|
|
||||||
nacos.core.auth.default.token.expire.seconds=18000
|
|
||||||
nacos.core.auth.default.token.secret.key=SecretKey012345678901234567890123456789012345678901234567890123456789
|
|
||||||
nacos.core.auth.caching.enabled=true
|
|
||||||
nacos.core.auth.enable.userAgentAuthWhite=false
|
|
||||||
nacos.core.auth.server.identity.key=serverIdentity
|
|
||||||
nacos.core.auth.server.identity.value=security
|
|
||||||
|
|
||||||
nacos.istio.mcp.server.enabled=false
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM nacos/nacos-server
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/application.properties /home/nacos/conf/application.properties
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,36 +0,0 @@
|
|||||||
worker_processes 1;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
sendfile on;
|
|
||||||
keepalive_timeout 65;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name localhost;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root /home/ruoyi/projects/ruoyi-ui;
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /prod-api/{
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header REMOTE-HOST $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_pass http://ruoyi-gateway:8080/;
|
|
||||||
}
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}# requirepass 123456
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM nginx
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi/projects/ruoyi-ui
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
|
||||||
# 复制html文件到路径
|
|
||||||
COPY ./html/dist /home/ruoyi/projects/ruoyi-ui
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
# requirepass 123456
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM redis
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi/redis
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi/redis
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi/redis
|
|
||||||
# 复制conf文件到路径
|
|
||||||
COPY ./conf/redis.conf /home/ruoyi/redis/redis.conf
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-auth.jar /home/ruoyi/ruoyi-auth.jar
|
|
||||||
# 启动认证服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-auth.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-gateway.jar /home/ruoyi/ruoyi-gateway.jar
|
|
||||||
# 启动网关服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-gateway.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-file.jar /home/ruoyi/ruoyi-modules-file.jar
|
|
||||||
# 启动文件服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-file.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-gen.jar /home/ruoyi/ruoyi-modules-gen.jar
|
|
||||||
# 启动代码生成服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-gen.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-job.jar /home/ruoyi/ruoyi-modules-job.jar
|
|
||||||
# 启动定时任务服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-job.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD>Ŷ<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-modules-system.jar /home/ruoyi/ruoyi-modules-system.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-modules-system.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# 基础镜像
|
|
||||||
FROM openjdk:8-jre
|
|
||||||
# author
|
|
||||||
MAINTAINER ruoyi
|
|
||||||
|
|
||||||
# 挂载目录
|
|
||||||
VOLUME /home/ruoyi
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir -p /home/ruoyi
|
|
||||||
# 指定路径
|
|
||||||
WORKDIR /home/ruoyi
|
|
||||||
# 复制jar文件到路径
|
|
||||||
COPY ./jar/ruoyi-visual-monitor.jar /home/ruoyi/ruoyi-visual-monitor.jar
|
|
||||||
# 启动系统服务
|
|
||||||
ENTRYPOINT ["java","-jar","ruoyi-visual-monitor.jar"]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<EFBFBD><EFBFBD><EFBFBD>ż<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>jar<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>docker<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>á<EFBFBD>
|
|
||||||
@@ -3,24 +3,24 @@
|
|||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-api</artifactId>
|
<artifactId>intc-api</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-api-invest</artifactId>
|
<artifactId>intc-api-invest</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-api-invest
|
intc-api-invest
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- RuoYi Common Core-->
|
<!-- RuoYi Common Core-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-common-core</artifactId>
|
<artifactId>intc-common-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.ruoyi.api.invest;
|
package com.intc.api.invest;
|
||||||
|
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||||||
*
|
*
|
||||||
* @author YaphetS
|
* @author YaphetS
|
||||||
*/
|
*/
|
||||||
@FeignClient(contextId = "remoteInvestProdService", value = ServiceNameConstants.INTC_INVEST_PROD, fallbackFactory = com.ruoyi.api.invest.factory.RemoteInvestProdFallbackFactory.class)
|
@FeignClient(contextId = "remoteInvestProdService", value = ServiceNameConstants.INTC_INVEST_PROD, fallbackFactory = com.intc.api.invest.factory.RemoteInvestProdFallbackFactory.class)
|
||||||
public interface RemoteInvestProdService
|
public interface RemoteInvestProdService
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
package com.ruoyi.api.invest;
|
package com.intc.api.invest;
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*
|
*
|
||||||
* @author YaphetS
|
* @author YaphetS
|
||||||
*/
|
*/
|
||||||
@FeignClient(contextId = "remoteInvestService", value = ServiceNameConstants.INTC_INVEST, fallbackFactory = com.ruoyi.api.invest.factory.RemoteInvestFallbackFactory.class)
|
@FeignClient(contextId = "remoteInvestService", value = ServiceNameConstants.INTC_INVEST, fallbackFactory = com.intc.api.invest.factory.RemoteInvestFallbackFactory.class)
|
||||||
public interface RemoteInvestService
|
public interface RemoteInvestService
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.ruoyi.api.invest.factory;
|
package com.intc.api.invest.factory;
|
||||||
|
|
||||||
import com.ruoyi.api.invest.RemoteInvestService;
|
import com.intc.api.invest.RemoteInvestService;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
|
|||||||
@Component
|
@Component
|
||||||
public class RemoteInvestFallbackFactory implements FallbackFactory<RemoteInvestService>
|
public class RemoteInvestFallbackFactory implements FallbackFactory<RemoteInvestService>
|
||||||
{
|
{
|
||||||
private static final Logger log = LoggerFactory.getLogger(com.ruoyi.api.invest.factory.RemoteInvestFallbackFactory.class);
|
private static final Logger log = LoggerFactory.getLogger(com.intc.api.invest.factory.RemoteInvestFallbackFactory.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RemoteInvestService create(Throwable throwable)
|
public RemoteInvestService create(Throwable throwable)
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.ruoyi.api.invest.factory;
|
package com.intc.api.invest.factory;
|
||||||
|
|
||||||
import com.ruoyi.api.invest.RemoteInvestProdService;
|
import com.intc.api.invest.RemoteInvestProdService;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
com.intc.api.invest.factory.RemoteInvestFallbackFactory
|
||||||
|
com.intc.api.invest.factory.RemoteInvestProdFallbackFactory
|
||||||
@@ -3,24 +3,24 @@
|
|||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-api</artifactId>
|
<artifactId>intc-api</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-api-system</artifactId>
|
<artifactId>intc-api-system</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-api-system系统接口模块
|
intc-api-system系统接口模块
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- RuoYi Common Core-->
|
<!-- RuoYi Common Core-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-common-core</artifactId>
|
<artifactId>intc-common-core</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
package com.ruoyi.system.api;
|
package com.intc.system.api;
|
||||||
|
|
||||||
import com.ruoyi.common.core.constant.SecurityConstants;
|
import com.intc.common.core.constant.SecurityConstants;
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.domain.SysDictData;
|
import com.intc.system.api.domain.SysDictData;
|
||||||
import com.ruoyi.system.api.factory.RemoteDictFallbackFactory;
|
import com.intc.system.api.factory.RemoteDictFallbackFactory;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api;
|
package com.intc.system.api;
|
||||||
|
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.http.MediaType;
|
import org.springframework.http.MediaType;
|
||||||
@@ -6,10 +6,10 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.RequestPart;
|
import org.springframework.web.bind.annotation.RequestPart;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.domain.SysFile;
|
import com.intc.system.api.domain.SysFile;
|
||||||
import com.ruoyi.system.api.factory.RemoteFileFallbackFactory;
|
import com.intc.system.api.factory.RemoteFileFallbackFactory;
|
||||||
import feign.Response;
|
import feign.Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
package com.ruoyi.system.api;
|
package com.intc.system.api;
|
||||||
|
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestHeader;
|
import org.springframework.web.bind.annotation.RequestHeader;
|
||||||
import com.ruoyi.common.core.constant.SecurityConstants;
|
import com.intc.common.core.constant.SecurityConstants;
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.domain.SysLogininfor;
|
import com.intc.system.api.domain.SysLogininfor;
|
||||||
import com.ruoyi.system.api.domain.SysOperLog;
|
import com.intc.system.api.domain.SysOperLog;
|
||||||
import com.ruoyi.system.api.factory.RemoteLogFallbackFactory;
|
import com.intc.system.api.factory.RemoteLogFallbackFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 日志服务
|
* 日志服务
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api;
|
package com.intc.system.api;
|
||||||
|
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@@ -6,12 +6,12 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestHeader;
|
import org.springframework.web.bind.annotation.RequestHeader;
|
||||||
import com.ruoyi.common.core.constant.SecurityConstants;
|
import com.intc.common.core.constant.SecurityConstants;
|
||||||
import com.ruoyi.common.core.constant.ServiceNameConstants;
|
import com.intc.common.core.constant.ServiceNameConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
|
import com.intc.system.api.factory.RemoteUserFallbackFactory;
|
||||||
import com.ruoyi.system.api.model.LoginUser;
|
import com.intc.system.api.model.LoginUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户服务
|
* 用户服务
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 部门表 sys_dept
|
* 部门表 sys_dept
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.constant.UserConstants;
|
import com.intc.common.core.constant.UserConstants;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典数据表 sys_dict_data
|
* 字典数据表 sys_dict_data
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.Pattern;
|
import javax.validation.constraints.Pattern;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典类型表 sys_dict_type
|
* 字典类型表 sys_dict_type
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统访问记录表 sys_logininfor
|
* 系统访问记录表 sys_logininfor
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 操作日志记录表 oper_log
|
* 操作日志记录表 oper_log
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
@@ -6,9 +6,9 @@ import javax.validation.constraints.NotNull;
|
|||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 角色表 sys_role
|
* 角色表 sys_role
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
package com.ruoyi.system.api.domain;
|
package com.intc.system.api.domain;
|
||||||
|
|
||||||
import com.ruoyi.common.core.annotation.Excel;
|
import com.intc.common.core.annotation.Excel;
|
||||||
import com.ruoyi.common.core.annotation.Excel.ColumnType;
|
import com.intc.common.core.annotation.Excel.ColumnType;
|
||||||
import com.ruoyi.common.core.annotation.Excel.Type;
|
import com.intc.common.core.annotation.Excel.Type;
|
||||||
import com.ruoyi.common.core.annotation.Excels;
|
import com.intc.common.core.annotation.Excels;
|
||||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import com.intc.common.core.web.domain.BaseEntity;
|
||||||
import com.ruoyi.common.core.xss.Xss;
|
import com.intc.common.core.xss.Xss;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
package com.ruoyi.system.api.factory;
|
package com.intc.system.api.factory;
|
||||||
|
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.RemoteDictService;
|
import com.intc.system.api.RemoteDictService;
|
||||||
import com.ruoyi.system.api.RemoteUserService;
|
import com.intc.system.api.RemoteUserService;
|
||||||
import com.ruoyi.system.api.domain.SysDictData;
|
import com.intc.system.api.domain.SysDictData;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
import com.ruoyi.system.api.model.LoginUser;
|
import com.intc.system.api.model.LoginUser;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.system.api.factory;
|
package com.intc.system.api.factory;
|
||||||
|
|
||||||
import feign.Response;
|
import feign.Response;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@@ -6,9 +6,9 @@ import org.slf4j.LoggerFactory;
|
|||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.RemoteFileService;
|
import com.intc.system.api.RemoteFileService;
|
||||||
import com.ruoyi.system.api.domain.SysFile;
|
import com.intc.system.api.domain.SysFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文件服务降级处理
|
* 文件服务降级处理
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
package com.ruoyi.system.api.factory;
|
package com.intc.system.api.factory;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.RemoteLogService;
|
import com.intc.system.api.RemoteLogService;
|
||||||
import com.ruoyi.system.api.domain.SysLogininfor;
|
import com.intc.system.api.domain.SysLogininfor;
|
||||||
import com.ruoyi.system.api.domain.SysOperLog;
|
import com.intc.system.api.domain.SysOperLog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 日志服务降级处理
|
* 日志服务降级处理
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
package com.ruoyi.system.api.factory;
|
package com.intc.system.api.factory;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.system.api.RemoteUserService;
|
import com.intc.system.api.RemoteUserService;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
import com.ruoyi.system.api.model.LoginUser;
|
import com.intc.system.api.model.LoginUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户服务降级处理
|
* 用户服务降级处理
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.ruoyi.system.api.model;
|
package com.intc.system.api.model;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户信息
|
* 用户信息
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
com.intc.system.api.factory.RemoteUserFallbackFactory
|
||||||
|
com.intc.system.api.factory.RemoteLogFallbackFactory
|
||||||
|
com.intc.system.api.factory.RemoteFileFallbackFactory
|
||||||
|
com.intc.system.api.factory.RemoteDictFallbackFactory
|
||||||
@@ -2,21 +2,21 @@
|
|||||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi</artifactId>
|
<artifactId>intc</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>ruoyi-api-system</module>
|
<module>intc-api-system</module>
|
||||||
<module>ruoyi-api-invest</module>
|
<module>intc-api-invest</module>
|
||||||
</modules>
|
</modules>
|
||||||
<artifactId>ruoyi-api</artifactId>
|
<artifactId>intc-api</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-api系统接口
|
intc-api系统接口
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@@ -2,16 +2,16 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi</artifactId>
|
<artifactId>intc</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-auth</artifactId>
|
<artifactId>intc-auth</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-auth认证授权中心
|
intc-auth认证授权中心
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -55,8 +55,8 @@
|
|||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
<!-- RuoYi Common Security-->
|
<!-- RuoYi Common Security-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-common-security</artifactId>
|
<artifactId>intc-common-security</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
package com.ruoyi.auth;
|
package com.intc.auth;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||||
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
|
import com.intc.common.security.annotation.EnableRyFeignClients;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 认证授权中心
|
* 认证授权中心
|
||||||
@@ -12,11 +12,11 @@ import com.ruoyi.common.security.annotation.EnableRyFeignClients;
|
|||||||
*/
|
*/
|
||||||
@EnableRyFeignClients
|
@EnableRyFeignClients
|
||||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
||||||
public class RuoYiAuthApplication
|
public class IntcAuthApplication
|
||||||
{
|
{
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
SpringApplication.run(RuoYiAuthApplication.class, args);
|
SpringApplication.run(IntcAuthApplication.class, args);
|
||||||
System.out.println("(♥◠‿◠)ノ゙ 认证授权中心启动成功 ლ(´ڡ`ლ)゙ \n" +
|
System.out.println("(♥◠‿◠)ノ゙ 认证授权中心启动成功 ლ(´ڡ`ლ)゙ \n" +
|
||||||
" .-------. ____ __ \n" +
|
" .-------. ____ __ \n" +
|
||||||
" | _ _ \\ \\ \\ / / \n" +
|
" | _ _ \\ \\ \\ / / \n" +
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
package com.ruoyi.auth.config;
|
package com.intc.auth.config;
|
||||||
|
|
||||||
//import com.ruoyi.common.core.utils.StringUtils;
|
//import com.intc.common.core.utils.StringUtils;
|
||||||
//import org.springframework.beans.factory.annotation.Autowired;
|
//import org.springframework.beans.factory.annotation.Autowired;
|
||||||
//import org.springframework.context.annotation.Bean;
|
//import org.springframework.context.annotation.Bean;
|
||||||
//import org.springframework.context.annotation.Configuration;
|
//import org.springframework.context.annotation.Configuration;
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
package com.ruoyi.auth.controller;
|
package com.intc.auth.controller;
|
||||||
|
|
||||||
import com.ruoyi.auth.form.LoginBody;
|
import com.intc.auth.form.LoginBody;
|
||||||
import com.ruoyi.auth.form.RegisterBody;
|
import com.intc.auth.form.RegisterBody;
|
||||||
import com.ruoyi.auth.service.SysLoginService;
|
import com.intc.auth.service.SysLoginService;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.common.core.utils.JwtUtils;
|
import com.intc.common.core.utils.JwtUtils;
|
||||||
import com.ruoyi.common.core.utils.StringUtils;
|
import com.intc.common.core.utils.StringUtils;
|
||||||
import com.ruoyi.common.security.auth.AuthUtil;
|
import com.intc.common.security.auth.AuthUtil;
|
||||||
import com.ruoyi.common.security.service.TokenService;
|
import com.intc.common.security.service.TokenService;
|
||||||
import com.ruoyi.common.security.utils.SecurityUtils;
|
import com.intc.common.security.utils.SecurityUtils;
|
||||||
import com.ruoyi.system.api.model.LoginUser;
|
import com.intc.system.api.model.LoginUser;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.auth.form;
|
package com.intc.auth.form;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户登录对象
|
* 用户登录对象
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.auth.form;
|
package com.intc.auth.form;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户注册对象
|
* 用户注册对象
|
||||||
@@ -1,22 +1,22 @@
|
|||||||
package com.ruoyi.auth.service;
|
package com.intc.auth.service;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import com.ruoyi.common.core.constant.CacheConstants;
|
import com.intc.common.core.constant.CacheConstants;
|
||||||
import com.ruoyi.common.core.constant.Constants;
|
import com.intc.common.core.constant.Constants;
|
||||||
import com.ruoyi.common.core.constant.SecurityConstants;
|
import com.intc.common.core.constant.SecurityConstants;
|
||||||
import com.ruoyi.common.core.constant.UserConstants;
|
import com.intc.common.core.constant.UserConstants;
|
||||||
import com.ruoyi.common.core.domain.R;
|
import com.intc.common.core.domain.R;
|
||||||
import com.ruoyi.common.core.enums.UserStatus;
|
import com.intc.common.core.enums.UserStatus;
|
||||||
import com.ruoyi.common.core.exception.ServiceException;
|
import com.intc.common.core.exception.ServiceException;
|
||||||
import com.ruoyi.common.core.text.Convert;
|
import com.intc.common.core.text.Convert;
|
||||||
import com.ruoyi.common.core.utils.StringUtils;
|
import com.intc.common.core.utils.StringUtils;
|
||||||
import com.ruoyi.common.core.utils.ip.IpUtils;
|
import com.intc.common.core.utils.ip.IpUtils;
|
||||||
import com.ruoyi.common.redis.service.RedisService;
|
import com.intc.common.redis.service.RedisService;
|
||||||
import com.ruoyi.common.security.utils.SecurityUtils;
|
import com.intc.common.security.utils.SecurityUtils;
|
||||||
import com.ruoyi.system.api.RemoteUserService;
|
import com.intc.system.api.RemoteUserService;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
import com.ruoyi.system.api.model.LoginUser;
|
import com.intc.system.api.model.LoginUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 登录校验方法
|
* 登录校验方法
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
package com.ruoyi.auth.service;
|
package com.intc.auth.service;
|
||||||
|
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import com.ruoyi.common.core.constant.CacheConstants;
|
import com.intc.common.core.constant.CacheConstants;
|
||||||
import com.ruoyi.common.core.constant.Constants;
|
import com.intc.common.core.constant.Constants;
|
||||||
import com.ruoyi.common.core.exception.ServiceException;
|
import com.intc.common.core.exception.ServiceException;
|
||||||
import com.ruoyi.common.redis.service.RedisService;
|
import com.intc.common.redis.service.RedisService;
|
||||||
import com.ruoyi.common.security.utils.SecurityUtils;
|
import com.intc.common.security.utils.SecurityUtils;
|
||||||
import com.ruoyi.system.api.domain.SysUser;
|
import com.intc.system.api.domain.SysUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 登录密码方法
|
* 登录密码方法
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
package com.ruoyi.auth.service;
|
package com.intc.auth.service;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import com.ruoyi.common.core.constant.Constants;
|
import com.intc.common.core.constant.Constants;
|
||||||
import com.ruoyi.common.core.constant.SecurityConstants;
|
import com.intc.common.core.constant.SecurityConstants;
|
||||||
import com.ruoyi.common.core.utils.StringUtils;
|
import com.intc.common.core.utils.StringUtils;
|
||||||
import com.ruoyi.common.core.utils.ip.IpUtils;
|
import com.intc.common.core.utils.ip.IpUtils;
|
||||||
import com.ruoyi.system.api.RemoteLogService;
|
import com.intc.system.api.RemoteLogService;
|
||||||
import com.ruoyi.system.api.domain.SysLogininfor;
|
import com.intc.system.api.domain.SysLogininfor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 记录日志方法
|
* 记录日志方法
|
||||||
@@ -6,20 +6,20 @@ server:
|
|||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: ruoyi-auth
|
name: intc-auth
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: dev
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
namespace: 6ff354f8-471d-46ef-bd30-b81588a009cd
|
namespace: intc
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.126.95.100:8858
|
server-addr: 101.126.95.100:8858
|
||||||
group: intc
|
group: intc
|
||||||
ip: 154.8.147.51
|
ip: 154.8.147.51
|
||||||
config:
|
config:
|
||||||
namespace: 6ff354f8-471d-46ef-bd30-b81588a009cd
|
namespace: intc
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.126.95.100:8858
|
server-addr: 101.126.95.100:8858
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
@@ -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/ruoyi-job" />
|
<property name="log.path" value="logs/intc-auth" />
|
||||||
<!-- 日志输出格式 -->
|
<!-- 日志输出格式 -->
|
||||||
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<!-- 系统模块日志级别控制 -->
|
<!-- 系统模块日志级别控制 -->
|
||||||
<logger name="com.ruoyi" level="info" />
|
<logger name="com.intc" level="info" />
|
||||||
<!-- Spring日志级别控制 -->
|
<!-- Spring日志级别控制 -->
|
||||||
<logger name="org.springframework" level="warn" />
|
<logger name="org.springframework" level="warn" />
|
||||||
|
|
||||||
@@ -3,16 +3,16 @@
|
|||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.intc</groupId>
|
||||||
<artifactId>ruoyi-common</artifactId>
|
<artifactId>intc-common</artifactId>
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-common-core</artifactId>
|
<artifactId>intc-common-core</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-common-core核心模块
|
intc-common-core核心模块
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.common.core.annotation;
|
package com.intc.common.core.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@@ -7,7 +7,7 @@ import java.lang.annotation.Target;
|
|||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
||||||
import org.apache.poi.ss.usermodel.IndexedColors;
|
import org.apache.poi.ss.usermodel.IndexedColors;
|
||||||
import com.ruoyi.common.core.utils.poi.ExcelHandlerAdapter;
|
import com.intc.common.core.utils.poi.ExcelHandlerAdapter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自定义导出Excel数据注解
|
* 自定义导出Excel数据注解
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.common.core.annotation;
|
package com.intc.common.core.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user