draft
This commit is contained in:
45
backend/configs/config.local.yaml
Normal file
45
backend/configs/config.local.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
server:
|
||||
port: 8081
|
||||
read_timeout: 30s
|
||||
write_timeout: 30s
|
||||
|
||||
database:
|
||||
dsn: "root:root123@tcp(127.0.0.1:3306)/pay_bridge?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai"
|
||||
max_open_conns: 10
|
||||
max_idle_conns: 5
|
||||
conn_max_lifetime: 1h
|
||||
|
||||
redis:
|
||||
addr: "127.0.0.1:6379"
|
||||
password: ""
|
||||
db: 0
|
||||
pool_size: 10
|
||||
|
||||
security:
|
||||
field_encrypt_key: "0123456789abcdef0123456789abcdef"
|
||||
app_secret_salt: "pay-bridge-salt"
|
||||
|
||||
jwt:
|
||||
secret: "pay-bridge-admin-jwt-secret-key"
|
||||
expire_hours: 24
|
||||
|
||||
notify:
|
||||
poller_interval: 5s
|
||||
poller_batch: 100
|
||||
http_timeout: 10s
|
||||
|
||||
reconciliation:
|
||||
cron: "0 2 * * *"
|
||||
bill_retry_times: 3
|
||||
|
||||
merchant:
|
||||
status_check_cron: "0 9 * * *"
|
||||
|
||||
log:
|
||||
level: "debug"
|
||||
format: "text"
|
||||
|
||||
channels:
|
||||
heepay:
|
||||
pay_url: "http://openapi.heepaydev.com/gateway"
|
||||
merchant_url: "http://openapi.heepaydev.com/v1/customer/gateway"
|
||||
Reference in New Issue
Block a user