You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BookingHeChuan/Myshipping.Web.Core/applicationconfig.json

149 lines
6.6 KiB
JSON

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
//如果前端不代理的话又是axios请求的话需要添加以下代码
"CorsAccessorSettings": {
"WithExposedHeaders": [ "Content-Disposition", "access-token", "x-access-token", "need-modify-password" ]
},
//动态api配置
//"DynamicApiControllerSettings": {
// "DefaultRoutePrefix": "api666" //默认路由前缀默认api但是如果action上面写死route的话 就无效了特性的优先级最高
//},
"SystemSettings": {
"SuperAdminViewAllData": false, //超管是否可以查看所有租户的数据
"IsGlobalRequestLog": true //是否开启全局请求日志
},
"AppSettings": {
"InjectSpecificationDocument": true //是否开启swagger
},
"SpecificationDocumentSettings": {
"DocumentTitle": "Myshipping",
"DocExpansionState": "None",
"GroupOpenApiInfos": [
{
"Group": "Default",
"Title": "大简云平台",
"Description": "",
"Version": "1.0.0"
},
{
"Group": "FlowCenter",
"Title": "流程中心",
"Description": "流程中心模块或插件。<br/>作者By MonsterUncle,QQ295228902",
"Version": "1.0.0"
},
{
"Group": "Application",
"Title": "业务模块",
"Description": "独立业务模块",
"Version": "1.0.0"
}
]
},
"JWTSettings": {
"ValidateIssuerSigningKey": true, // 是否验证密钥bool 类型默认true
"IssuerSigningKey": "deeb4dec026c4938a0ed52708140750c4894aae7915946fd92820795203df26f", // 密钥string 类型必须是复杂密钥长度大于16
"ValidateIssuer": true, // 是否验证签发方bool 类型默认true
"ValidIssuer": "myshipping", // 签发方string 类型
"ValidateAudience": true, // 是否验证签收方bool 类型默认true
"ValidAudience": "myshipping", // 签收方string 类型
"ValidateLifetime": true, // 是否验证过期时间bool 类型默认true建议true
"ExpiredTime": 120, // 过期时间long 类型单位分钟默认20分钟
"ClockSkew": 30, // 过期时间容错值long 类型单位秒默认5秒
"RefreshTokenExpired": 1
},
"EncryptKey": {
"AES": "072B13C9AD5644C5B914DFE66F4B5D11",
"DES": "072B13C9"
},
"Cache": {
"CacheType": "RedisCache", // RedisCache
"RedisConnectionString": "60.209.125.238:36379,password=,defaultDatabase=11"
},
"SnowId": {
"WorkerId": "1" // 取值范围0~63,默认1
},
"OAuth": {
"Wechat": {
"app_id": "wx2959fdd3abc05362",
"app_key": "829f65b2be0652bcd50ea8cb820fd7fa",
"redirect_uri": "http://127.0.0.1:56868/oauth/wechatcallback",
"scope": "snsapi_userinfo"
}
},
"UploadFile": {
// 阿里云OSS配置
"Aliyun": {
"path": "Myshipping/Upload",
"maxSize": 1048576,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.presentationml.presentation" ]
},
// 头像
"Avatar": {
"path": "Upload/Avatar",
"maxSize": 1048576,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif" ]
},
// 文档
"Document": {
"path": "Upload/Document",
"maxSize": 1048576,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.presentationml.presentation" ]
},
// 商店
"Shop": {
"path": "Upload/Shop",
"maxSize": 1048576,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif" ]
},
// 富文本
"Editor": {
"path": "Upload/Editor",
"maxSize": 1048576,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif" ]
},
// 默认
"Default": {
"path": "Upload/Default",
"maxSize": 41943040,
"contentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.presentationml.presentation" ]
}
},
"RulesEngineUrl": "http://60.209.125.238:35210/api/RulesEngineManage/ExcuteWorkFlow",
"BookingOrderMQUri": "amqp://djy_booking_new:123qwe@60.209.125.238:12567/djy_booking_new",
"RulesEngineAuthKey": "clova3dXNnBldkM4bzVyUkxNcjVIS0lhUTNja2xmRVI4SDZDMkIzRURBMitKamJPb0tIRkMxemF5VlZOQ0wxUDdNeGNuTzF1NnEyOS9FS1VpeDBDZWFya0VucFR4ZE1Ca1JaUXZVb3lhdGs9",
"RulesEngineSender": "NewOceanBooking",
"RulesEngineSenderName": "新海运订舱平台",
"RulesEngineProjects": "OCEAN_BOOKING",
"RulesEngineOpinionUrl": "http://60.209.125.238:35210/api/RulesEngineUserFeedBackManage/SubmitUserFeedBack",
"RulesEngineQueryOpinionUrl": "http://60.209.125.238:35210/api/RulesEngineUserFeedBackManage/QueryUserFeedBackLog",
"FriendlyExceptionSettings": {
"HideErrorCode": true
},
"TempFile": {
"Path": "TempFiles",
"RemainHours": 2
},
"ITEMCODE": true,
"SendBookingOrderMQUri": "amqp://djy_booking_new:123qwe@60.209.125.238:40101/djy_booking_new",
"ShippingOrderCompareUrl": "http://60.209.125.238:35210/api/TaskShippingOrderCompare/ExcuteShippingOrderCompare",
"GetShippingOrderCompareUrl": "http://60.209.125.238:35210/api/TaskShippingOrderCompare/CompareResult",
"BCOrDraftUserKey": "BookingOrderPlat",
"BCOrDraftUserSecret": "228b2db5952d13291f228d441018c1b6",
"ServiceStatusOpenAuto": "0",
"DraftCompareUrl": "http://localhost:5110/api/TaskDraftCompare/ExcuteDraftCompare",
"GetDraftCompareUrl": "http://localhost:5110/api/TaskDraftCompare/DraftCompareResult",
"DraftReadUrl": "http://localhost:5110/api/TaskDraftCompare/ExcuteDraftFileRead",
"EmailTemplateFilePath": "\\EmailTemplate",
"BCCompareUrl": "http://localhost:5110/api/TaskBookingAmendmentParser/ExcuteBookingAmendmentCompare",
"MSKAPIDjyUserKey": "wu",
"MSKAPIDjyUserSecret": "123456",
"MSKAPIOPEnvironment": "TEST",
"BCReadWebApiUrl": "http://localhost:5110/api/TaskBCParser/ExcuteBCFileRead",
"BookingAmendReadWebApiUrl": "http://localhost:5110/api/TaskBookingAmendmentParser/ExcuteBookingAmendmentRead",
"SICompareUrl": "http://localhost:5110/api/TaskDraftCompare/ExcuteSISubmittedCompare",
"EmailNoticeUrl": "http://47.104.73.97:8801/mail/send",
"EmailNoticeDefaultUser": "jianghaiqing@myshipping.net",
"BookingAmendModifyWebApiUrl": "http://localhost:5110/api/TaskBookingAmendmentParser/ModifyBookingAmendmentFile",
"IsVOLTASIExport": "0",
"VOLTASIExportCarrier": "SLS,REL",
"VOLTASIExportStart": "SLS,REL"
}