diff --git a/meng_yao/Assets/script/scene_Main/Islandownerbidding/Auctioncertificate.cs b/meng_yao/Assets/script/scene_Main/Islandownerbidding/Auctioncertificate.cs index 3654bb2a..5fedd7ee 100644 --- a/meng_yao/Assets/script/scene_Main/Islandownerbidding/Auctioncertificate.cs +++ b/meng_yao/Assets/script/scene_Main/Islandownerbidding/Auctioncertificate.cs @@ -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\"}" } }; } - public async Task Island() + public async Task certificates() { string response = await myWeb.SendRequest(myWeb.URL + "/api/island/cert_list", "GET", "{}", CreateHeaders()); Debug.Log("µºÖ÷Ö¤Êé" + response); diff --git a/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs b/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs index f9ef440e..69ec4eb5 100644 --- a/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs +++ b/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs @@ -364,7 +364,7 @@ public class Scene_main_jiekou :MonoBehaviour /// public async Task AuctionCertificate() { - return await auctioncertificate.certificate(); + return await auctioncertificate.certificates(); } /// /// µºÖ÷¾ºÅÄ