audit and harden workspace
This commit is contained in:
@@ -4,10 +4,10 @@ Port: 12216
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12216
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12216
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -64,5 +64,3 @@ require (
|
||||
gorm.io/driver/mysql v1.6.0 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12206
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12206
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12206
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -64,5 +64,3 @@ require (
|
||||
gorm.io/driver/mysql v1.6.0 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12410
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12409
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12410
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12409
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12410
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -21,7 +21,7 @@ Gateway:
|
||||
Port: 12409
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -62,5 +62,3 @@ require (
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
gorm.io/gorm v1.31.2
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -8,6 +8,7 @@ import "strings"
|
||||
// 移除空格,转换为小写,确保键值的唯一性和一致性
|
||||
// 参数:
|
||||
// - key: 原始键值
|
||||
//
|
||||
// 返回:
|
||||
// - 格式化后的键值
|
||||
func FormatKey(key string) string {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
Name: {ServiceKey}
|
||||
ListenOn: 0.0.0.0:12210
|
||||
|
||||
Dsn: postgres://postgres:CHANGE_ME@47.109.77.183:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
Dsn: postgres://postgres:CHANGE_ME@127.0.0.1:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
# DB库设置例:redis://null:Weidong1214@139.159.232.50:6379/12,代表DB12
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
#
|
||||
#Etcd:
|
||||
# Hosts:
|
||||
|
||||
@@ -64,5 +64,3 @@ require (
|
||||
gorm.io/driver/mysql v1.6.0 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -5,16 +5,16 @@ Port: 16290
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
MinioOss:
|
||||
|
||||
@@ -5,16 +5,16 @@ Port: 16290
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
MinioOss:
|
||||
|
||||
@@ -5,16 +5,16 @@ Port: 16290
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
MinioOss:
|
||||
|
||||
@@ -106,5 +106,3 @@ require (
|
||||
gorm.io/driver/mysql v1.6.0 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12101
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -26,7 +26,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12101
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -26,7 +26,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12101
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -26,7 +26,7 @@ Gateway:
|
||||
Port: 12102
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -67,5 +67,3 @@ require (
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
gorm.io/gorm v1.31.2
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -7,12 +7,12 @@ Databases:
|
||||
- dm://SYSDBA:Yd@2aMwVAcJj4dA@172.21.138.165:5236?database=DAMENG&charset=utf8&parseTime=True&loc=Asia%2FShanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@ Databases:
|
||||
- dm://SYSDBA:Yd@2aMwVAcJj4dA@172.21.138.165:5236?database=DAMENG&charset=utf8&parseTime=True&loc=Asia%2FShanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,16 +4,16 @@ Port: 16289
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -70,5 +70,3 @@ require (
|
||||
gorm.io/driver/mysql v1.6.0 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 18001
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=8.137.107.29 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@8.137.107.29:19379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:19379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
@@ -16,6 +16,6 @@ OnMicroService: false
|
||||
InitRootUser: true
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
|
||||
@@ -4,16 +4,16 @@ Port: 18001
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=pgm-wz9bhqbrvu52d180.pg.rds.aliyuncs.com user=ec_dev password=CHANGE_ME dbname=factor_prod port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=ec_dev password=CHANGE_ME dbname=factor_prod port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,16 +4,16 @@ Port: 18001
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 是否启用微服务模式
|
||||
OnMicroService: false
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -79,5 +79,3 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -9,10 +9,10 @@ Gateway:
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=8.137.107.29 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@8.137.107.29:19379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:19379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -23,19 +23,19 @@ MicroService:
|
||||
# 微信设置
|
||||
WeChatConf:
|
||||
AppID: 123
|
||||
AppSecret: 123
|
||||
AppSecret: CHANGE_ME
|
||||
|
||||
# KYC认证配置
|
||||
Kyc:
|
||||
Provider: jumio
|
||||
BaseUrl: 123
|
||||
ApiSecret: 123
|
||||
ApiToken: 123
|
||||
ApiSecret: CHANGE_ME
|
||||
ApiToken: CHANGE_ME
|
||||
ApiArgs: 123
|
||||
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
Token:
|
||||
Prefix: "/token/"
|
||||
|
||||
@@ -9,10 +9,10 @@ Gateway:
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -23,24 +23,24 @@ MicroService:
|
||||
# 微信设置
|
||||
WeChatConf:
|
||||
AppID: 123
|
||||
AppSecret: 123
|
||||
AppSecret: CHANGE_ME
|
||||
|
||||
# KYC认证配置
|
||||
Kyc:
|
||||
Provider: jumio
|
||||
BaseUrl: 123
|
||||
ApiSecret: 123
|
||||
ApiToken: 123
|
||||
ApiSecret: CHANGE_ME
|
||||
ApiToken: CHANGE_ME
|
||||
ApiArgs: 123
|
||||
|
||||
# KYC认证配置
|
||||
KycConf:
|
||||
BaseUrl: 123
|
||||
ApiSecret: 123
|
||||
ApiToken: 123
|
||||
ApiSecret: CHANGE_ME
|
||||
ApiToken: CHANGE_ME
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
Token:
|
||||
Prefix: "/token/"
|
||||
|
||||
@@ -9,10 +9,10 @@ Gateway:
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -23,18 +23,18 @@ MicroService:
|
||||
# 微信设置
|
||||
WeChatConf:
|
||||
AppID: 123
|
||||
AppSecret: 123
|
||||
AppSecret: CHANGE_ME
|
||||
|
||||
# KYC认证配置
|
||||
Kyc:
|
||||
Provider: jumio
|
||||
BaseUrl: 123
|
||||
ApiSecret: 123
|
||||
ApiToken: 123
|
||||
ApiSecret: CHANGE_ME
|
||||
ApiToken: CHANGE_ME
|
||||
ApiArgs: 123
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
Token:
|
||||
Prefix: "/token/"
|
||||
|
||||
@@ -68,5 +68,3 @@ require (
|
||||
gorm.io/driver/postgres v1.6.2 // indirect
|
||||
gorm.io/gorm v1.31.2
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12208
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -51,7 +51,7 @@ Code:
|
||||
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
# Rpc:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12208
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -51,7 +51,7 @@ Code:
|
||||
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12208
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
|
||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
|
||||
|
||||
# 微服务设置
|
||||
MicroService:
|
||||
@@ -50,7 +50,7 @@ Code:
|
||||
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
|
||||
# Rpc:
|
||||
|
||||
@@ -84,5 +84,3 @@ require (
|
||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.1.0
|
||||
go.etcd.io/etcd/client/v3 v3.7.1
|
||||
)
|
||||
|
||||
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core
|
||||
|
||||
Reference in New Issue
Block a user