岛主证书
This commit is contained in:
parent
72677d8179
commit
9b97faadee
File diff suppressed because it is too large
Load Diff
@ -24,15 +24,16 @@ public class Auctioncertificate: MonoBehaviour
|
||||
{
|
||||
string response = await myWeb.SendRequest(myWeb.URL + "/api/island/cert_list", "GET", "{}", CreateHeaders());
|
||||
Debug.Log("µºÖ÷Ö¤Êé" + response);
|
||||
|
||||
certificateResponse certificate = JsonConvert.DeserializeObject<certificateResponse>(response);
|
||||
//Debug.Log(teamInfo.Data.Info.Nickname);
|
||||
return certificate;
|
||||
}
|
||||
}
|
||||
|
||||
public class certificateResponse
|
||||
public class certificateResponse: myResponse
|
||||
{
|
||||
public certificateData Data { get; set; }
|
||||
public List<certificateData> Data { get; set; }
|
||||
}
|
||||
public class certificateData
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ public class Auctioninformation: MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public class AuctionResponse
|
||||
public class AuctionResponse: myResponse
|
||||
{
|
||||
public AuctionData Data { get; set; }
|
||||
}
|
||||
|
@ -35,12 +35,12 @@ public class Islandbody
|
||||
{
|
||||
public int count;
|
||||
}
|
||||
public class IslandResponse
|
||||
public class IslandResponse:myResponse
|
||||
{
|
||||
public IslandData Data { get; set; }
|
||||
}
|
||||
public class IslandData
|
||||
{
|
||||
public int balance { get; set; }
|
||||
public int invest_total { get; set; }
|
||||
public float balance { get; set; }
|
||||
public float invest_total { get; set; }
|
||||
}
|
@ -26,7 +26,7 @@ public class capitalbalance : MonoBehaviour
|
||||
string response = await myWeb.SendRequest(myWeb.URL + "/api/capital/balance", "GET", "{}", CreateHeaders());
|
||||
Debug.Log("资产数据" + response);
|
||||
CapitalbalanceIndefo capitalbalanceInfo = JsonConvert.DeserializeObject<CapitalbalanceIndefo>(response);
|
||||
Debug.Log("======" + capitalbalanceInfo.data.water);
|
||||
// Debug.Log("======" + capitalbalanceInfo.data.water);
|
||||
return capitalbalanceInfo;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user