添加测试环境地址
This commit is contained in:
parent
163c306dbd
commit
6b8d25efe0
|
|
@ -405,7 +405,14 @@ public partial class Temp_SplitQuestion : System.Web.UI.Page
|
||||||
{
|
{
|
||||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
|
||||||
string url = "http://192.168.2.9:6500/";
|
string url = "http://192.168.2.9:6500/";
|
||||||
if (Request.Url.Host.ToLower().Contains("23544.com"))
|
|
||||||
|
if (Request.Url.Host.ToLower().Contains("w.23544.com"))
|
||||||
|
{
|
||||||
|
// 测试地址
|
||||||
|
url = "http://mka.w.23544.com:8880/";
|
||||||
|
bearer = token;
|
||||||
|
}
|
||||||
|
else if (Request.Url.Host.ToLower().Contains("23544.com"))
|
||||||
{
|
{
|
||||||
// 正式地址
|
// 正式地址
|
||||||
url = "https://mk-api.23544.com/ad/";
|
url = "https://mk-api.23544.com/ad/";
|
||||||
|
|
@ -441,7 +448,13 @@ public partial class Temp_SplitQuestion : System.Web.UI.Page
|
||||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
|
||||||
// 测试地址
|
// 测试地址
|
||||||
string url = "http://192.168.2.9:6500/";
|
string url = "http://192.168.2.9:6500/";
|
||||||
if (Request.Url.Host.ToLower().Contains("23544.com"))
|
if (Request.Url.Host.ToLower().Contains("w.23544.com"))
|
||||||
|
{
|
||||||
|
// 测试地址
|
||||||
|
url = "http://mka.w.23544.com:8880/";
|
||||||
|
bearer = token;
|
||||||
|
}
|
||||||
|
else if (Request.Url.Host.ToLower().Contains("23544.com"))
|
||||||
{
|
{
|
||||||
// 正式地址
|
// 正式地址
|
||||||
url = "https://mk-api.23544.com/ad/";
|
url = "https://mk-api.23544.com/ad/";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue