Browse Source

测试环境

master
xxe 2 years ago
parent
commit
11919e4c27
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      HKCardManager/Program.cs
  2. +3
    -3
      HKCardManager/options.json

+ 1
- 1
HKCardManager/Program.cs View File

@@ -13,7 +13,7 @@ namespace HKCardManager
// To customize application configuration such as set high DPI settings or default font, // To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration. // see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize(); ApplicationConfiguration.Initialize();
#if !DEBUG
#if DEBUG
var configer = (new ConfigurationBuilder()).AddJsonFile("options.json").Build(); var configer = (new ConfigurationBuilder()).AddJsonFile("options.json").Build();
#else #else
var configer = (new ConfigurationBuilder()).AddJsonFile("options.pro.json").Build(); var configer = (new ConfigurationBuilder()).AddJsonFile("options.pro.json").Build();


+ 3
- 3
HKCardManager/options.json View File

@@ -6,8 +6,8 @@
//测试环境广告地址 //测试环境广告地址
"AdRoute": "https://bpa.black-pa.com:21528/gateAdmin?storeId=6341f7d5-2d62-4a7d-8386-3467741efcef", "AdRoute": "https://bpa.black-pa.com:21528/gateAdmin?storeId=6341f7d5-2d62-4a7d-8386-3467741efcef",
//MQ地址 内网无法访问需要用正式的MQ地址 //MQ地址 内网无法访问需要用正式的MQ地址
//"MQ": "host=10.2.1.43:15672;username=username;password=pwd",
"MQ": "host=10.2.1.43:15672;username=username;password=pwd",
//MQ正式地址 //MQ正式地址
"MQ": "host=47.108.65.220;username=root;password=pwd",
"Admin": [ 666, 888, 999 ]
//"MQ": "host=47.108.65.220;username=root;password=pwd",
"Admin": [ 6666666666666666666, 8888888888888888888, 9999999999999999999 ]
} }

Loading…
Cancel
Save