🍉 refactor(HttpRemote): 移除 HttpRemotes 配置中的 HttpBin项
This commit is contained in:
parent
f566543d90
commit
9ba1effcab
@ -9,20 +9,6 @@
|
||||
"Account": "",
|
||||
"Password": ""
|
||||
},
|
||||
"HttpBin": { // 获取Ip
|
||||
"EnabledLog": true,
|
||||
"UseCookies": false,
|
||||
"EnabledProxy": false,
|
||||
"HttpName": "HTTP_BIN",
|
||||
"BaseAddress": "http://httpbin.org/ip",
|
||||
"Headers": {
|
||||
"Connection": "Keep-Alive",
|
||||
"Sec-Fetch-Mode": "cors",
|
||||
"Sec-Fetch-Site": "same-origin",
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
|
||||
},
|
||||
"Timeout": 5
|
||||
},
|
||||
"WorkWeixin": { // 企业微信
|
||||
"EnabledLog": true,
|
||||
"UseCookies": false,
|
||||
|
||||
@ -13,11 +13,6 @@ namespace Admin.NET.Application;
|
||||
/// </summary>
|
||||
public sealed class HttpRemotesOptions : IConfigurableOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取Ip地址接口
|
||||
/// </summary>
|
||||
public HttpRemoteItem HttpBin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 企业微信接口配置
|
||||
/// </summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user