audit and harden workspace
This commit is contained in:
@@ -4,11 +4,11 @@ Port: 12420
|
||||
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
|
||||
Debug: true
|
||||
|
||||
# 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
|
||||
|
||||
# 业务操作日志收集提交URL
|
||||
OpLog: http://api-v2.traingo.cn/oplog/v2
|
||||
@@ -25,7 +25,7 @@ Gateway:
|
||||
Port: 12419
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12420
|
||||
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/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 业务操作日志收集提交URL
|
||||
OpLog: http://api-v2.traingo.cn/oplog/v2
|
||||
@@ -24,7 +24,7 @@ Gateway:
|
||||
Port: 12419
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -4,10 +4,10 @@ Port: 12420
|
||||
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/0
|
||||
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
|
||||
|
||||
# 业务操作日志收集提交URL
|
||||
OpLog: http://api-v2.traingo.cn/oplog/v2
|
||||
@@ -24,7 +24,7 @@ Gateway:
|
||||
Port: 12419
|
||||
|
||||
# 微服务调用密钥
|
||||
SecretKey: 6ad9529688041483f458f8de11ed16ff
|
||||
SecretKey: CHANGE_ME
|
||||
|
||||
# Rpc:
|
||||
# fts:
|
||||
|
||||
@@ -59,5 +59,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
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package freight
|
||||
|
||||
import (
|
||||
"context"
|
||||
pb "bsm/full/module/ec/mall/pb"
|
||||
"context"
|
||||
"git.apinb.com/bsm-sdk/core/errcode"
|
||||
"git.apinb.com/bsm-sdk/core/service"
|
||||
"time"
|
||||
|
||||
Reference in New Issue
Block a user