多环境定义

This commit is contained in:
Hinse 2022-01-07 16:23:34 +08:00
parent 52a7340b45
commit b67760b6a7
9 changed files with 17 additions and 21 deletions

View File

@ -1,10 +1,7 @@
{ {
"DetailedErrors": true, "logfile": "e:/errlog/waste.ybhdmob.com", //
"Logging": { "NirvanaConnection": "Server=123.60.2.99,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;",
"LogLevel": { "RabbitmqSetting": { //rabbitmq
"Default": "Information", "DBConnection": "Server=123.60.2.99,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;" //
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
} }
} }

View File

@ -34,8 +34,8 @@
"ClockSkew": 5, // long 5 "ClockSkew": 5, // long 5
"Algorithm": "HS256" // string SecurityAlgorithms.HmacSha256 "Algorithm": "HS256" // string SecurityAlgorithms.HmacSha256
}, },
"logfile": "e:/errlog/waste.ybhdmob.com", // "logfile": "d:/errlog/waste.ybhdmob.com", //
"NirvanaConnection": "Server=123.60.2.99,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;", "NirvanaConnection": "Server=localhost,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;",
"SZTestDevPlatSetting": { //, "SZTestDevPlatSetting": { //,
"ApiUrl": "https://bright.ljflytjl.cn:9101", "ApiUrl": "https://bright.ljflytjl.cn:9101",
"UserId": "18e76eb9-9154-4b43-bcfe-f80671ab8e79", "UserId": "18e76eb9-9154-4b43-bcfe-f80671ab8e79",
@ -55,7 +55,7 @@
"Port": 5672, "Port": 5672,
"UserName": "liuzl", "UserName": "liuzl",
"Password": "liuzl", "Password": "liuzl",
"DBConnection": "Server=123.60.2.99,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;" // "DBConnection": "Server=localhost,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;" //
}, },
"IsTask": "false", // "IsTask": "false", //
"SoftName": "巨鼎物联网数字平台", // "SoftName": "巨鼎物联网数字平台", //
@ -64,6 +64,5 @@
"Version": "1.0", // "Version": "1.0", //
"copyright": "巨鼎物联网数字平台", // "copyright": "巨鼎物联网数字平台", //
"LoginProvider": "CookieAndSession", // "LoginProvider": "CookieAndSession", //
"LoginProviderKey": "waste_loginuserkey", // "LoginProviderKey": "waste_loginuserkey" //
"APIURL": "http://waste.jt-sky.com" //
} }

View File

@ -17,8 +17,8 @@ namespace WasteConsoleTest
class Program class Program
{ {
private static WSocketClientHelp wSocketClient = null; private static WSocketClientHelp wSocketClient = null;
public static string Secret = "0eMqhAjefL0loGhH"; public static string Secret = "MbMH8rycrclA18ZH";
public static string SecretHash = "d28a95b3d5d85ef0"; public static string SecretHash = "ke3/kUj8Om9rXYYh2cnQ7QlA0f3bZyHkgDFmtMnA1N4==";
public static string SocketURL = "wss://api.device.suzhou.ljflytjl.cn/device_rpc"; public static string SocketURL = "wss://api.device.suzhou.ljflytjl.cn/device_rpc";
static async Task Main(string[] args) static async Task Main(string[] args)
{ {

View File

@ -13,9 +13,9 @@ namespace WasteConsoleTest
ClientWebSocket ws = null; ClientWebSocket ws = null;
Uri uri = null; Uri uri = null;
bool isUserClose = false;//是否最后由用户手动关闭 bool isUserClose = false;//是否最后由用户手动关闭
public static string Secret = "3R3KMr113DLvK8rE"; public static string Secret = "MbMH8rycrclA18ZH";
public static string SecretHash = "svfw5C77P+XqyEgZHrLzs45gs9RgdeXXzf6XAqA3p94="; public static string SecretHash = "ke3/kUj8Om9rXYYh2cnQ7QlA0f3bZyHkgDFmtMnA1N4=";
public static string deviceid = "08d961ee-22ae-40a6-8c14-a6b414f614a3"; public static string deviceid = "08d96e7b-a488-468d-8f54-8bf45dccb9b9";
// <summary> // <summary>
/// WebSocket状态 /// WebSocket状态

View File

@ -54,7 +54,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.0</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Administrator\.nuget\packages\" /> <SourceRoot Include="C:\Users\Administrator\.nuget\packages\" />

View File

@ -60,7 +60,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "KxR30MsrEe0B4uPY50ypQkAB7WkjYAQ2+TX/wblVFIFxljAgEcN32jo0JP5Vbzn2h3uchKlvOfnJxewST6yekQ==", "dgSpecHash": "/i1boeyhGlP73OaHsTLDU+EcpQMD5lkJaOoK1RWxq6AelMtgIgMnUAk5xh9sroJ0UEXu+aKTxIfYSAsgYCC1AA==",
"success": true, "success": true,
"projectFilePath": "H:\\liuzl_ybhdmob\\Waste\\WasteHexTest\\WasteHexTest.csproj", "projectFilePath": "H:\\liuzl_ybhdmob\\Waste\\WasteHexTest\\WasteHexTest.csproj",
"expectedPackageFiles": [], "expectedPackageFiles": [],