http 代理链接 - 先锋续费

This commit is contained in:
“wanyongkang”
2024-02-26 11:38:54 +08:00
parent abbef158af
commit 2346378547
2 changed files with 6 additions and 10 deletions

View File

@@ -671,7 +671,7 @@
}
},
create_api_link(){
this.api_link = 'https://get.ip.juip.com/get/ip?';
this.api_link = 'http://get.ip.juip.com/get/ip?';
var regions_list = this.regions.join(",");
for (let key in this.api_link_item) {

View File

@@ -63,10 +63,6 @@ namespace Hncore.Pass.Vpn.Service
JObject jo = (JObject)JsonConvert.DeserializeObject(content);
var status = jo["code"].ToString();
Console.WriteLine("=================================================");
Console.WriteLine(jo);
Console.WriteLine("=================================================");
if (status =="0")
{
@@ -114,7 +110,6 @@ namespace Hncore.Pass.Vpn.Service
/// <returns></returns>
public override async Task<ApiResult> NewReAccount(string packageKey, string account, int connCount, int payCount = 1)
{
var password = "FyEomeyZ7P8pK3QQ5RcjVw==";
var url = "http://webapi.shenlongip.com/renewvpn?username=admin1&password="+password+"&mealId="+packageKey+"&vpnAccount="+account;
@@ -196,14 +191,15 @@ namespace Hncore.Pass.Vpn.Service
{
var trData = new OriginAccountModel
{
Id = account,
Account = account,
Pwd = jo["data"]["vpnPassword"].ToString(),
AccountType = jo["data"]["mealType"].ToString(),
Package = jo["data"]["mealType"].ToString(),
Pwd = "",
AccountType = "",
Package = "",
RegistTime = "",
EndTime = "",
RestTime = "",
ConnectCount = jo["data"]["mealTylinkspe"].ToString(),
ConnectCount = "",
Amount = "",
IsActive = "",
Remark = "",