CommonBussiness/interface.aspx.cs
(开头部分) 16KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.IO;
using System.Text;
using System.Data;
using DAL;
namespace CommonBussiness
{
public partial class _interface : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
BindData();
#region 绑定数据
string s1 = doPostMethodToObj("https://www.playwkc.com/api/wkc.php");
string[] arr = s1.Split(',');
if (arr.Length > 5)
{
string newprice = arr[1].Split(':')[1].Replace("\"", "");
string[] arr11 = newprice.Split('.');
if (arr11[1].Length > 2)
{
ViewState["new_price1"] = arr11[0] + "." + arr11[1].Substring(0, 2);
}
else
{
ViewState["new_price1"] = newprice;
}
// ViewState["buy_price1"] = arr[2].Split(':')[1].Replace("\"", "");
//ViewState["sell_price1"] = arr[3].Split(':')[1].Replace("\"", "");
//ViewState["min_price1"] = arr[4].Split(':')[1].Replace("\"", "");
//ViewState["max_price1"] = arr[5].Split(':')[1].Replace("\"", "");
string amount = arr[6].Split(':')[1].Replace("\"", "").Replace("}", "");
string[] arr1 = amount.Split('.');
if (arr1[1].Length > 2)
{
ViewState["amount1"] = arr1[0] + "." + arr1[1].Substring(0, 2);
}
else
{
ViewState["amount1"] = amount;
}
}
//string s2 = doGetMethodToObj("https://www.xunibi.biz/api/trade/all/");
//string[] arr2 = s2.Split('{');
//if (arr2.Length > 2)
//{
// // Response.Write(arr2[2]);
// string[] arr22 = arr2[2].Split(',');
后面还有 355 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。