天天产品分类
This commit is contained in:
@@ -202,6 +202,7 @@ namespace Hncore.Pass.Vpn.Service
|
||||
{"max_conn",connCount.ToString() },
|
||||
{"paytype",package },
|
||||
{"paynum",buyCount },
|
||||
{"product_id",accountType.ToString() },
|
||||
{"mobile","13073735878" },
|
||||
{"mark","api" },
|
||||
};
|
||||
@@ -212,10 +213,6 @@ namespace Hncore.Pass.Vpn.Service
|
||||
var content = await resp.Content.ReadAsStringAsync();
|
||||
JObject jo = (JObject)JsonConvert.DeserializeObject(content);
|
||||
var status = jo["status"].ToString();
|
||||
Console.WriteLine("==============================tiantian==========================================================");
|
||||
Console.WriteLine(jo);
|
||||
Console.WriteLine(status);
|
||||
Console.WriteLine("========================================================================================");
|
||||
if (status =="200")
|
||||
{
|
||||
var retAccount=jo["data"].ToArray().FirstOrDefault();
|
||||
@@ -337,9 +334,6 @@ namespace Hncore.Pass.Vpn.Service
|
||||
JObject jo = (JObject)JsonConvert.DeserializeObject(content);
|
||||
var status = jo["status"].ToString();
|
||||
|
||||
Console.WriteLine("====================================================");
|
||||
Console.WriteLine(jo);
|
||||
Console.WriteLine("====================================================");
|
||||
if (status == "200")
|
||||
{
|
||||
var data = jo["data"];
|
||||
|
||||
Reference in New Issue
Block a user