Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
b2918c63
Commit
b2918c63
authored
Oct 23, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into release
parents
174c94f7
6e2d477d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
31 deletions
+28
-31
docker-compose-dev.yml
docker-compose-dev.yml
+8
-8
20240826.sql
sql/v2.1/20240826.sql
+1
-4
application-dev.yaml
yudao-server/src/main/resources/application-dev.yaml
+5
-5
application-local.yaml
yudao-server/src/main/resources/application-local.yaml
+12
-12
application-test.yaml
yudao-server/src/main/resources/application-test.yaml
+1
-1
application.yaml
yudao-server/src/main/resources/application.yaml
+1
-1
No files found.
docker-compose-dev.yml
View file @
b2918c63
version
:
'
3'
version
:
'
3'
services
:
services
:
dev-api-jiedao
:
api-jd-dev
:
image
:
harbor.
jiedao.com/dev-api-jiedao
:latest
image
:
harbor.
com/api-jd-dev
:latest
container_name
:
dev-api-jiedao
container_name
:
api-jd-dev
ports
:
ports
:
-
"
8001:9001"
-
"
8001:9001"
environment
:
environment
:
env
:
dev
env
:
dev
volumes
:
volumes
:
-
'
/etc/localtime:/etc/localtime'
-
'
/etc/localtime:/etc/localtime'
-
'
/data/
docker/apps/jiedao
/dev/api/logs/operator:/logs'
-
'
/data/
apps/jd
/dev/api/logs/operator:/logs'
-
'
/data/
docker/apps/jiedao
/dev/static:/app/static'
-
'
/data/
apps/jd
/dev/static:/app/static'
-
'
/data/
docker/apps/jiedao
/dev/fonts/zh:/usr/share/fonts/zh'
-
'
/data/
apps/jd
/dev/fonts/zh:/usr/share/fonts/zh'
restart
:
always
restart
:
always
ulimits
:
ulimits
:
nproc
:
65535
nproc
:
65535
...
@@ -24,9 +24,9 @@ services:
...
@@ -24,9 +24,9 @@ services:
cpus
:
'
4'
cpus
:
'
4'
memory
:
4G
memory
:
4G
networks
:
networks
:
app-
net
:
net
:
ipv4_address
:
10.10.0.60
ipv4_address
:
10.10.0.60
networks
:
networks
:
app-
net
:
net
:
external
:
true
external
:
true
sql/v2.1/20240826.sql
View file @
b2918c63
-- 这里是补充脚本,生产环境已存在
-- 添加新字段
-- 添加新字段
alter
table
`ecw_customer`
add
column
`no_consignee`
bit
(
1
)
NOT
NULL
DEFAULT
b
'0'
COMMENT
'控货无收货人'
;
alter
table
`ecw_customer`
add
column
`no_consignee`
bit
(
1
)
NOT
NULL
DEFAULT
b
'0'
COMMENT
'控货无收货人'
;
alter
table
`ecw_customer`
add
column
`default_pay`
bit
(
1
)
NOT
NULL
DEFAULT
b
'0'
COMMENT
'是否默认付款'
;
alter
table
`ecw_customer`
add
column
`default_pay`
bit
(
1
)
NOT
NULL
DEFAULT
b
'0'
COMMENT
'是否默认付款'
;
-- 添加新字段
-- 添加新字段
alter
table
`ecw_warehouse`
add
column
`rent_free_days`
int
DEFAULT
NULL
COMMENT
'仓库免租期'
;
alter
table
`ecw_warehouse`
add
column
`rent_free_days`
int
DEFAULT
NULL
COMMENT
'仓库免租期'
;
alter
table
`ecw_warehouse`
add
column
`lock_recipient_days`
int
DEFAULT
NULL
COMMENT
'锁定收货人天数'
;
alter
table
`ecw_warehouse`
add
column
`lock_recipient_days`
int
DEFAULT
NULL
COMMENT
'锁定收货人天数'
;
yudao-server/src/main/resources/application-dev.yaml
View file @
b2918c63
...
@@ -49,18 +49,18 @@ spring:
...
@@ -49,18 +49,18 @@ spring:
url
:
jdbc:mysql://172.16.0.3:3306/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE&connectTimeout=60000
url
:
jdbc:mysql://172.16.0.3:3306/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE&connectTimeout=60000
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
jiedao
username
:
jiedao
password
:
J
I
edao2024
password
:
J
i
edao2024
slave
:
# 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改
slave
:
# 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改
name
:
jiedao
name
:
jiedao
url
:
jdbc:mysql://172.16.0.3:3306/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE&connectTimeout=60000
url
:
jdbc:mysql://172.16.0.3:3306/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE&connectTimeout=60000
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
jiedao
username
:
jiedao
password
:
J
I
edao2024
password
:
J
i
edao2024
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis
:
redis
:
host
:
172.16.0.3
# 地址
host
:
172.16.0.3
# 地址
port
:
2291
# 端口
port
:
6379
# 端口
database
:
0
# 数据库索引
database
:
0
# 数据库索引
password
:
Redis2024
password
:
Redis2024
timeout
:
60s
timeout
:
60s
...
@@ -68,8 +68,8 @@ spring:
...
@@ -68,8 +68,8 @@ spring:
redis-limiter
:
redis-limiter
:
redis-host
:
172.16.0.3
# redis server IP 默认值:127.0.0.1
redis-host
:
172.16.0.3
# redis server IP 默认值:127.0.0.1
redis-port
:
2291
# redis service 端口 默认值:6379
redis-port
:
6379
# redis service 端口 默认值:6379
redis-db
:
0
# redis service 数据库 默认值:6379
redis-db
:
4
# redis service 数据库 默认值:6379
redis-password
:
Redis2024
# redis 访问密码 默认值:null
redis-password
:
Redis2024
# redis 访问密码 默认值:null
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
...
...
yudao-server/src/main/resources/application-local.yaml
View file @
b2918c63
...
@@ -47,32 +47,32 @@ spring:
...
@@ -47,32 +47,32 @@ spring:
master
:
master
:
name
:
jiedao
name
:
jiedao
# name: ruoyi-vue-pro-flowable
# name: ruoyi-vue-pro-flowable
url
:
jdbc:mysql://
localhost:3306
/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
url
:
jdbc:mysql://
117.72.42.41:2290
/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
username
:
jiedao
password
:
123456
password
:
Jiedao2024
slave
:
# 模拟从库,可根据自己需要修改
slave
:
# 模拟从库,可根据自己需要修改
name
:
jiedao
name
:
jiedao
# name: ruoyi-vue-pro-flowable
# name: ruoyi-vue-pro-flowable
url
:
jdbc:mysql://
localhost:3306
/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
url
:
jdbc:mysql://
117.72.42.41:2290
/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
username
:
jiedao
password
:
123456
password
:
Jiedao2024
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis
:
redis
:
host
:
localhost
# 地址
host
:
117.72.42.41
# 地址
port
:
6379
# 端口
port
:
2291
# 端口
#password: mmc@gogo123
password
:
Redis2024
database
:
0
# 数据库索引
database
:
0
# 数据库索引
timeout
:
60s
timeout
:
60s
connect-timeout
:
60s
connect-timeout
:
60s
redis-limiter
:
redis-limiter
:
redis-host
:
1
27.0.0.
1
# redis server IP 默认值:127.0.0.1
redis-host
:
1
17.72.42.4
1
# redis server IP 默认值:127.0.0.1
redis-port
:
6379
# redis service 端口 默认值:6379
redis-port
:
2291
# redis service 端口 默认值:6379
redis-db
:
4
# redis service 数据库 默认值:6379
redis-db
:
4
# redis service 数据库 默认值:6379
redis-password
:
mmc@gogo123
# redis 访问密码 默认值:null
redis-password
:
Redis2024
# redis 访问密码 默认值:null
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
redis-pool-min-idle
:
10
# redis 连接池最小空闲连接数 默认值: 10
redis-pool-min-idle
:
10
# redis 连接池最小空闲连接数 默认值: 10
...
...
yudao-server/src/main/resources/application-test.yaml
View file @
b2918c63
...
@@ -66,7 +66,7 @@ spring:
...
@@ -66,7 +66,7 @@ spring:
redis-limiter
:
redis-limiter
:
redis-host
:
172.16.0.3
# redis server IP 默认值:127.0.0.1
redis-host
:
172.16.0.3
# redis server IP 默认值:127.0.0.1
redis-port
:
6379
# redis service 端口 默认值:6379
redis-port
:
6379
# redis service 端口 默认值:6379
redis-db
:
1
# redis service 数据库 默认值:6379
redis-db
:
5
# redis service 数据库 默认值:6379
redis-password
:
Redis2024
# redis 访问密码 默认值:null
redis-password
:
Redis2024
# redis 访问密码 默认值:null
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
...
...
yudao-server/src/main/resources/application.yaml
View file @
b2918c63
...
@@ -2,7 +2,7 @@ spring:
...
@@ -2,7 +2,7 @@ spring:
application
:
application
:
name
:
yudao-admin-server
name
:
yudao-admin-server
profiles
:
profiles
:
active
:
dev
active
:
local
mvc
:
mvc
:
static-path-pattern
:
/**
static-path-pattern
:
/**
web
:
web
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment