92 lines
2.5 KiB
JSON
92 lines
2.5 KiB
JSON
{
|
|
"App": {
|
|
"Urls": [
|
|
"http://*:5281"
|
|
]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"Default": "server=mysql.test.svc.cluster.local;database=fake_simple_admin;uid=dev;pwd=${MYSQL_ROOT_PASSWORD};charset=utf8mb4;",
|
|
"Rbac": "server=mysql.test.svc.cluster.local;database=fake_simple_admin;uid=dev;pwd=${MYSQL_ROOT_PASSWORD};charset=utf8mb4;"
|
|
},
|
|
"Redis": {
|
|
"Host": "redis.test.svc.cluster.local:6379",
|
|
"Password": "${REDIS_PASSWORD}",
|
|
"MaxPoolSize": 1000,
|
|
"Database": 0,
|
|
"Prefix": ""
|
|
},
|
|
"RabbitMQ": {
|
|
"Connections": {
|
|
"Default": {
|
|
"HostName": "rabbitmq.test.svc.cluster.local",
|
|
"Port": 5672,
|
|
"UserName": "rabbit",
|
|
"Password": "${RABBITMQ_DEFAULT_PASS}",
|
|
"DispatchConsumersAsync": true
|
|
}
|
|
},
|
|
"EventBus": {
|
|
"QueueName": "OMS.Api",
|
|
"RetryCount": 5
|
|
}
|
|
},
|
|
"OrderBatch": {
|
|
"RabbitMq": {
|
|
"Enabled": true,
|
|
"MaxRetryCount": 3
|
|
}
|
|
},
|
|
"WeChat": {
|
|
"Mp": {
|
|
"AppId": "${WECHAT_MP_APP_ID}",
|
|
"Secret": "${WECHAT_MP_SECRET}",
|
|
"Token": "${WECHAT_MP_TOKEN}",
|
|
"EncodingAesKey": "",
|
|
"OAuthRedirectBase": "https://test.ideship.com"
|
|
}
|
|
},
|
|
"ObjectStorage": {
|
|
"KeyPrefix": "admin/"
|
|
},
|
|
"Oms": {
|
|
"TrackService": {
|
|
"Enabled": true,
|
|
"BaseUrl": "https://api.test.ideship.com/track",
|
|
"AppKey": "${OMS_TRACK_APP_KEY}",
|
|
"AppSecret": "${OMS_TRACK_APP_SECRET}",
|
|
"TimeoutSeconds": 30
|
|
},
|
|
"Itfx": {
|
|
"BaseUrl": "https://api.test.ideship.com/itfx",
|
|
"TimeoutSeconds": 30
|
|
},
|
|
"PlatformShop": {
|
|
"FrontendBaseUrl": "https://test.ideship.com",
|
|
"Lazada": {
|
|
"AppKey": "${LAZADA_APP_KEY}",
|
|
"AppSecret": "${LAZADA_APP_SECRET}",
|
|
"AuthorizeUrl": "https://auth.lazada.com/oauth/authorize",
|
|
"AccessTokenUrl": "https://auth.lazada.com/rest"
|
|
},
|
|
"Shopee": {
|
|
"PartnerId": ${SHOPEE_PARTNER_ID},
|
|
"PartnerKey": "${SHOPEE_PARTNER_KEY}",
|
|
"HostUrl": "https://openplatform.shopee.cn",
|
|
"HostAuthUrl": "https://partner.shopeemobile.com"
|
|
},
|
|
"Tiktok": {
|
|
"AppKey": "${TIKTOK_APP_KEY}",
|
|
"AppSecret": "${TIKTOK_APP_SECRET}",
|
|
"HostAuth": "https://auth.tiktok-shops.com",
|
|
"HostApi": "https://open-api.tiktokglobalshop.com"
|
|
},
|
|
"Temu": {
|
|
"AppKey": "${TEMU_APP_KEY}",
|
|
"AppSecret": "${TEMU_APP_SECRET}",
|
|
"HostAuthUrl": "https://openapi-b-us.temu.com/openapi/router"
|
|
}
|
|
}
|
|
}
|
|
}
|