岛主接口

This commit is contained in:
杨号敬 2025-01-04 15:48:47 +08:00
parent f8b808833d
commit abadd636a3
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class Auctioncertificate: MonoBehaviour
{ "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" }
}; };
} }
public async Task<certificateResponse> Island() public async Task<certificateResponse> certificates()
{ {
string response = await myWeb.SendRequest(myWeb.URL + "/api/island/cert_list", "GET", "{}", CreateHeaders()); string response = await myWeb.SendRequest(myWeb.URL + "/api/island/cert_list", "GET", "{}", CreateHeaders());
Debug.Log("µºÖ÷Ö¤Êé" + response); Debug.Log("µºÖ÷Ö¤Êé" + response);

View File

@ -364,7 +364,7 @@ public class Scene_main_jiekou :MonoBehaviour
/// <returns></returns> /// <returns></returns>
public async Task<certificateResponse> AuctionCertificate() public async Task<certificateResponse> AuctionCertificate()
{ {
return await auctioncertificate.certificate(); return await auctioncertificate.certificates();
} }
/// <summary> /// <summary>
/// µºÖ÷¾ºÅÄ /// µºÖ÷¾ºÅÄ