admin/src/SimpleAdmin.Api/appsettings.Development.json
xiaolipro dd1318bc00
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
feat:对接fake oss
2026-09-22 16:59:33 +08:00

151 lines
4.1 KiB
JSON

{
"UseLocalConfigs": false,
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Information"
}
},
"ConnectionStrings": {
"Default": "Server=127.0.0.1;Port=3306;Database=oms;Uid=root;Pwd=你的密码;CharSet=utf8mb4;"
},
"App": {
"Urls": ["http://localhost:5281"],
"CorsOrigins": [
"http://localhost:5173",
"http://localhost:5281",
"https://oms.nanafa.com",
"http://oms.nanafa.com"
],
"SendStartupNotification": false
},
"Jwt": {
"SecretKey": "local-dev-secret-key-change-me",
"Issuer": "SimpleAdmin.Api",
"Audience": "SimpleAdmin.Api",
"ExpiryInMinutes": "480",
"RefreshExpiryInDays": "7",
"ClockSkewMinutes": "5"
},
"JwtSettings": {
"SecretKey": "local-dev-secret-key-change-me",
"Issuer": "SimpleAdmin.Api",
"Audience": "SimpleAdmin.Api",
"ExpiryInMinutes": "480",
"RefreshExpiryInDays": "7",
"ClockSkewMinutes": "5"
},
"FeiShuNotice": {
"Webhook": "https://example.com/webhook",
"EnableFeiShuExceptionSubscribe": false
},
"Redis": {
"Host": "127.0.0.1:6379",
"Password": "",
"Database": 0,
"MaxPoolSize": 50,
"MinPoolSize": 1,
"IdleTimeout": 20000,
"ConnectTimeout": 5000
},
"WeChat": {
"Mp": {
"AppId": "wxfffea62e089ee15f",
"Secret": "379f51a89419dc36fbb9167feef6f89a",
"Token": "c6ca74013df823c0e1da0feaaaf8bf66",
"EncodingAesKey": "",
"OAuthRedirectBase": "https://oms.nanafa.com",
"FollowUrl": ""
}
},
"ObjectStorage": {
"Provider": "Local",
"KeyPrefix": "",
"SignUrlsByDefault": true,
"DefaultSignedUrlExpiresSeconds": 3600,
"DefaultUploadExpiresSeconds": 600,
"Local": {
"BasePath": "wwwroot",
"BaseUrl": ""
},
"TencentCos": {
"SecretId": "",
"SecretKey": "",
"Region": "ap-guangzhou",
"Bucket": "your-bucket-1250000000",
"BaseUrl": "",
"SignUrls": true,
"UseHttps": true,
"DurationSecond": 600
}
},
"FileManagement": {
"SignUrlsByDefault": true,
"DefaultSignedUrlExpiresSeconds": 3600,
"DefaultMaxSizeBytes": 20971520,
"DefaultStorageSource": "default"
},
"Oms": {
"TrackService": {
"Enabled": true,
"BaseUrl": "http://api.nanafa.com/track",
"AppKey": "W2606001",
"AppSecret": "ziK8UzlQ39m3kdL346XEBg8nljY8os52",
"TimeoutSeconds": 30
},
"Itfx": {
"BaseUrl": "http://api.nanafa.com/itfx",
"TimeoutSeconds": 30,
"Customs9610StandardCode": "customs9610Declare",
"Customs9610ManifestStandardCode": "customs9610Manifest",
"Customs9610DeclarationFormStandardCode": "customs9610DeclarationForm"
},
"PlatformShop": {
"FrontendBaseUrl": "http://localhost:5173",
"Lazada": {
"AppKey": "123631",
"AppSecret": "7vBz2EaD6rIupeGEfwrgkabsTNsXt2ix",
"AuthorizeUrl": "https://auth.lazada.com/oauth/authorize",
"AccessTokenUrl": "https://auth.lazada.com/rest"
},
"Shopee": {
"PartnerId": 2004112,
"PartnerKey": "2f385d7ea38b087d5d71f7292e06a09c9f19022ca6c3f60ec0110a8214ef7d65",
"HostUrl": "https://openplatform.shopee.cn",
"HostAuthUrl": "https://partner.shopeemobile.com"
},
"Tiktok": {
"AppKey": "6hc64lc6vl312",
"AppSecret": "5a691a96ee6d844534769bab5c21de1f848fb678",
"HostAuth": "https://auth.tiktok-shops.com",
"HostApi": "https://open-api.tiktokglobalshop.com"
},
"Temu": {
"AppKey": "4ebbc9190ae410443d65b4c2faca981f",
"AppSecret": "4782d2d827276688bf4758bed55dbdd4bbe79a79",
"HostAuthUrl": "https://openapi-b-us.temu.com/openapi/router"
}
}
},
"RabbitMQ": {
"Connections": {
"Default": {
"HostName": "127.0.0.1",
"Port": 5672,
"UserName": "oms",
"Password": "oms123"
}
},
"EventBus": {
"QueueName": "nanafa.oms",
"RetryCount": 5
}
},
"OrderBatch": {
"RabbitMq": {
"Enabled": false
}
}
}