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.
DSWMS/Vue.Net/VOL.WebApi/appsettings.json

175 lines
12 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.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"VirtualPath": {
"StaticFile": "H:\\Web\\BeefStatic", //配置的虚拟目录文件所在路径
"FolderName": "/Static" //访问时此路径时的别名
},
"AppUrls": {},
"Connection": {
"DBType": "MsSql", //MySql/MsSql/PgSql //数据库类型如果使用的是sqlserver此处应设置为MsSql
//sqlserver连接字符串
//"DbConnectionString": "Data Source=127.0.0.1;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=192.168.2.151,11433;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=47.105.53.126,12356;Initial Catalog=DSWMS_Dev;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//虚拟机1开发库
"DbConnectionString": "Data Source=60.209.125.238,52314;Initial Catalog=shippingweb1;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=60.209.125.238,26600;Initial Catalog=ShippingWeb_DJZ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//销售演示库
//"DbConnectionString": "Data Source=60.209.125.238,52314;Initial Catalog=ShippingWeb1;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//裕龙
//"DbConnectionString": "Data Source=123.234.180.6,11435;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//fest菲尔斯特
//"DbConnectionString": "Data Source=43.137.41.66,11435;Initial Catalog=ShippingWeb_FEST0306;Persist Security Info=True;User ID=sa;Password=Fest998877;Connect Timeout=500;",
//青岛五通
//"DbConnectionString": "Data Source=47.104.148.25,12356;Initial Catalog=ShippingWeb_QDWTSJ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=47.104.148.25,12356;Initial Catalog=ShippingWeb_QDWTSJ_20211201;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//华港通运
//"DbConnectionString": "Data Source=118.190.210.123,62356;Initial Catalog=ShippingWeb_QDHGTY;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//连云港中鹏
//"DbConnectionString": "Data Source=192.168.31.86,1435;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//腾讯云服务器
//"DbConnectionString": "Data Source=101.42.137.214,11435;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//ddlucky连接
//"DbConnectionString": "Data Source=119.165.238.236,11433;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=ddlucky.vicp.net,11433;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"DbConnectionString": "Data Source=101.42.137.214,11433;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//虎鲸正式库
//"DbConnectionString": "Data Source=47.105.193.36,11435;Initial Catalog=SHIPPINGWEB_JNHJ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//虎鲸测试库
//"DbConnectionString": "Data Source=47.105.193.36,11435;Initial Catalog=SHIPPINGWEB_JNHJ_TEST;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//公司公网映射点47.104.102.13
//"DbConnectionString": "Data Source=47.104.102.13,11435;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//泰泽
//"DbConnectionString": "Data Source=47.104.158.21,1433;Initial Catalog=ShippingWeb_QDTZ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//嘉里物流
//"DbConnectionString": "Data Source=36.112.133.3,53076;Initial Catalog=ShippingWeb_JLWL;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//金港
//"DbConnectionString": "Data Source=47.104.253.169,62356;Initial Catalog=ShippingWeb_JGZHWL;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//mysql连接字符串(升级EFCore3.1到时已将mysql连接字符串修改,2019-12-20)
// "DbConnectionString": " Data Source=127.0.0.1;Database=netcoredev;User ID=root;Password=123456;allowPublicKeyRetrieval=true;pooling=true;CharSet=utf8;port=3306;sslmode=none;",
//PgSql连接字符串
//"DbConnectionString": "Host=132.232.2.109;Port=5432;User id=postgres;password=jxx_abcd;Database=netcoredev;",
//"RedisConnectionString": "127.0.0.1,Password=123456,SyncTimeout=15000", //redis连接字符串(最好加密)
//"UseRedis": "false" //是否使用redis如果不使用默认使用Memory内置缓存
//RemoteServer
//"RemoteServer": "Data Source=127.0.0.1;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;",
//"RemoteServer": "Data Source=60.209.125.238,26600;Initial Catalog=ShippingWeb_DJZ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=36.112.133.3,11435;Initial Catalog=ShippingWeb_JLWL;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=123.234.180.6,11435;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=124.70.137.93,11435;Initial Catalog=ShippingWeb_FEST0306;Persist Security Info=True;User ID=sa;Password=Fest998877;Connect Timeout=500;"
//"RemoteServer": "Data Source=124.70.137.93,11435;Initial Catalog=ShippingWeb_FEST_TEST_0329;Persist Security Info=True;User ID=sa;Password=Fest998877;Connect Timeout=500;"
//"RemoteServer": "Data Source=123.234.225.158,11435;Initial Catalog=DSWMS;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=47.104.148.25,12356;Initial Catalog=ShippingWeb_QDWTSJ;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=119.23.249.201,12356;Initial Catalog=ShippingWeb_CHJY;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//"RemoteServer": "Data Source=60.209.125.238,52314;Initial Catalog=ShippingWeb1;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
"RemoteServer": "Data Source=47.104.253.169,62356;Initial Catalog=ShippingWeb_JGZHWL;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
//连云港中鹏
//"RemoteServer": "Data Source=192.168.31.86,1435;Initial Catalog=dongshengdata;Persist Security Info=True;User ID=sa;Password=Ds20040201;Connect Timeout=500;"
},
"CompanySetting": {
//"COMPANYNAME": "WUTONG",//五通世纪
//"COMPANYNAME": "FEST",//菲尔斯特
//"COMPANYNAME": "YULONG",//裕龙
//"COMPANYNAME": "ZHONGPENG",//连云港中鹏
//"COMPANYNAME": "JLWL",//嘉里物流
//"COMPANYNAME": "HUAGANG", //华港通运
"COMPANYNAME": "JGWL", //青岛金港物流
"CanOutMore": "true", //出库执行时允许超量出库
"NegativeStockFee": "true", //负数库存在完全出清前是否参与计算
"FEEInDay": "true", //仓储费按日精确到分;
"INDOStep": 1, //取值1或3。代表入库执行需要执行几步确认
"INPLANAudit": "false",
//五牛的key和id
"WUNIUKey": "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAj4Tj5YW4LN7VGYcXMjpYNgsNcu1NMwKK LeeNwnoZpmZfAfBG2+eYNeYuEFhTmWNAPvULQOxLM0h3PvAbpW3mNhKMWHPKOh6PkcaibFiet4Uv pTGUfr+wQbcMai/RmDxLGt5fhzdbs+qAa8UgAMa5OU3a+q9AjpBd0XSFvHMxurrfWoZolmxuBN2s YF8CDBtHDGLeldqP1/d6uTMdkvbz09PwXgmFfK/C5OOAbAgZXJv1evHwE22HJbGe7iNvpfeYpLKV 0VCPftvcWX86BK+ACSc97teNwDge4cl5vlUbUm+1czfmjnTOnuJfAc5gB46Y0zgvqyFIAY5QIyi8 ImyfDZWtE1YEhHGaiDrwO5azLJnVvRYTI24cDZnvi8upAqZ5zMbUNt6siCO8G8P/kyQvJqNBOlRA 4mqduGLure1/ti0zIcBeu2KHYHBSAjC22qdJYeqk63Sw9Ia+FUKmhNj7dgbveHmsTh2xY0VbT/nH XxUcBRcpEuDRUpMxSfANoeJu1AiPvqcXL+IBiQmNq4JKJrjxaL0qQFBJ41UHtukTRlJu853zwbiX LI0vRAuoaGrfeYmYwqNgRHYD1PbbJHrgq4yh23d0RJ+KKLpnlfmbTU4vGiFpGYWvRUm/CzrD1Yjy niF5qHdB/0mLDeIqwIjebDwuGugZNeILAvPkCiJM1MkCAwEAAQ==",
"WUNIUappId": "ae4dd0cfcae93f7b62a182db349f69e5",
"BILLBSNONAME": "提单号",
"STORAGEBSNONAME": "箱号"
//菲尔斯特测试appId = "3e2c673756975a95baaabbd468d953e3";
},
"Secret": { //秘钥配置
"JWT": "BB3647441FFA4B5DB4E64A29B53CE525", //JWT
"Audience": "vol.core",
"Issuer": "vol.core.owner",
"User": "C5ABA9E202D94C43A3CA66002BF77FAF", //
"DB": "3F8B7B38AD3D484A89ACA513CBD79F36",
"Redis": "E6D90DDBC70C4F4EA3C312B6FCB473C8"
},
//================跨域请求 (CORS)配置(2019-12-20新增)
//================.netcore3.1必须配置此属性,多个url用豆号隔开,url为vue站点的地址可以将发布后的地址也同时配置上
"CorsUrls": "http://0.0.0.0:8100,http://localhost:8100,http://localhost:5173,http://localhost:8100/,http://localhost:10200,http://127.0.0.1:8100,http://192.168.0.100:8100,http://192.168.2.235:8100",
//泰泽
//"CorsUrls": "http://0.0.0.0:8100,http://localhost:8100,http://127.0.0.1:8100,http://119.23.249.201:8100",
//青岛五通
//"CorsUrls": "http://0.0.0.0:8100,http://localhost:8100,http://127.0.0.1:8100,http://47.104.148.25:8100",
/**/
//"CorsUrls": "http://0.0.0.0:8100,http://localhost:8100,http://127.0.0.1:8100,http://192.168.31.86:8100",
"ExpMinutes": "600", //JWT有效期(分钟=默认120),
"CreateMember": { //对表插入数据时,需要记录创建人/创建时间/创建日期,配置UserIdField/UserNameField/DateField分别为对应数据库的创建人CreateID,创建人Creator,创建时间CreateDate字段(新建数据时,由框架默认完成给这几个字段赋值,字段区分大小写)或可手动调用T.SetCreateDefaultVal()完成设置创建人/创建时间/创建日期
//如果表的主键是GUID界面查询时默认会用到DateField对应的实体(数据库)字段进行排序
"UserIdField": "CreateID",
"UserNameField": "Creator",
"DateField": "CreateDate"
//"UserIdField": "CREATOR",
//"UserNameField": "Creator",
//"DateField": "CREATETIME"
},
"ModifyMember": { //修改同上
"UserIdField": "ModifyID",
"UserNameField": "Modifier",
"DateField": "ModifyDate"
//"UserIdField": "OP",
//"UserNameField": "Modifier",
//"DateField": "OPTIME"
}, //演示系统过滤Action只有超级管理员才能操作其他用户只有只读权限
"GlobalFilter": {
"Message": "演示环境,当前帐号没有开启此功能权限",
"Enable": "false", //开启Action过滤
"Actions": [
"Update",
"Del",
"DelDetail",
"Add",
"SavePermission",
"Save",
"CreatePage",
"CreateVuePage",
"CreateEntityModel",
"SaveEidt",
"CreateServices",
"Import",
"Upload",
"Audit",
"PushStatus",
"ModifyPwd"
]
}
}