using System.Collections; using System.Collections.Generic; using UnityEngine; public class onlyTest : MonoBehaviour { bool isSucceed; login login = new login(); sendCode sendCode = new sendCode(); checkCode checkCode = new checkCode(); playerInfo playerInfo = new playerInfo(); checkAccount checkAccount = new checkAccount(); updatePlayerInfo updatePlayerInfo = new updatePlayerInfo(); teamInfo teamInfo = new teamInfo(); realNameAuthentication realNameAuthentication = new realNameAuthentication(); modifyTradePassword modifyTradePassword = new modifyTradePassword(); logout logout = new logout(); teamFansList teamFansList = new teamFansList(); goldDestroy goldDestroy = new goldDestroy(); cancellation cancellation = new cancellation(); register register = new register(); miningConfig miningConfig = new miningConfig(); treeInfo treeInfo = new treeInfo(); treeGetWater treeGetWater = new treeGetWater(); wateringTree wateringTree = new wateringTree(); treeTeamData treeTeamData = new treeTeamData(); treeFansList treeFansList = new treeFansList(); product_list product_List = new product_list(); productBuy productBuy = new productBuy(); createOrder createOrder = new createOrder(); orderVerification orderVerification = new orderVerification(); BillingStatistics BillingStatistics = new BillingStatistics(); incomeList incomeList = new incomeList(); noticeInfo noticeInfo = new noticeInfo(); signdata signdata = new signdata(); signsumbit signsumbit = new signsumbit(); conventionInfo conventionInfo = new conventionInfo(); capitalbalance capitalbalance = new capitalbalance(); transfersearch transfersearch = new transfersearch(); transferapply transferapply = new transferapply(); transferlist transferlist = new transferlist(); async void Start() { loginBody body = new loginBody(); body.client_id = "app"; body.username = "17015306950"; body.password = "9527123"; body.type = "code"; await login.Login(body); //await capitalbalance.CapitalbalanceInfo(); // await transfersearch.TransfersearchInfo("18821995938"); //transferapplyBody transferapplyBody = new transferapplyBody(); //transferapplyBody.uid = "8QSIO1GB7"; //transferapplyBody.trade_password = "666666"; //transferapplyBody.amount = 10; // await transferlist.transferlistInfo(1,10); //await transferapply.TransferapplyInfo(transferapplyBody); //await noticeInfo.NoticeInfo(0); // await signdata.SigndataInfo(); // signsumbitBody signsumbitBody = new signsumbitBody(); // //signsumbitBody.date = "2024-12-23"; //await signsumbit.Signsumbit(signsumbitBody); // await conventionInfo.ConventionInfo(); //await sendCode.SendCode(); //await checkCode.CheckCode(); //await checkAccount.CheckAccount(); //await playerInfo.PalyerInfo(); //await updatePlayerInfo.UpdatePlayerInfo("nickname", "°¢Á¼"); //await teamInfo.TeamInfo(); //await realNameAuthentication.RealNameAuthentication("°¢Á¼","451287369874521475"); //await modifyTradePassword.ModifyTradePassword("666666","9527123"); //logout.Logout(); //teamFansList.TeamFansList(); //isSucceed =await goldDestroy.GoldDestroy(); //isSucceed = await cancellation.Cancellation(); //iningConfigResponse response = await miningConfig.MiningConfig(0); //treeInfo.TreeInfo(); //treeGetWater.TreeGetWater(0, "string"); //TreeTeam treeTeam = await treeTeamData.TreeTeamData(); //Debug.Log("=========="+treeTeam.Data.Info.Nickname); //wateringTree.WateringTree(); //Debug.Log("========="+isSucceed); //treeFansList.TreeFansList(); //productListResponse productListResponse=await product_List.ProductList(); //Debug.Log("===========" + productListResponse.Data[1].); //productBuy.BuyProduct(1); //createOrder.CreateOrder(1,1,"1"); //orderVerification.OrderVerification(1); //BillingStatistics.billingStatistics(1); // incomeList.IncomeList(1,10,1); } // Update is called once per frame void Update() { } }