diff --git a/RuralPowerCompetition_yizheng1/Assets/Plugin/SGUnitySDK.dll b/RuralPowerCompetition_yizheng1/Assets/Plugin/SGUnitySDK.dll index 968ee5d2..5cf43cff 100644 Binary files a/RuralPowerCompetition_yizheng1/Assets/Plugin/SGUnitySDK.dll and b/RuralPowerCompetition_yizheng1/Assets/Plugin/SGUnitySDK.dll differ diff --git a/RuralPowerCompetition_yizheng1/Assets/Zion/Scripts/CXX/MyManage.cs b/RuralPowerCompetition_yizheng1/Assets/Zion/Scripts/CXX/MyManage.cs index daa939ae..34147fa2 100644 --- a/RuralPowerCompetition_yizheng1/Assets/Zion/Scripts/CXX/MyManage.cs +++ b/RuralPowerCompetition_yizheng1/Assets/Zion/Scripts/CXX/MyManage.cs @@ -39,8 +39,8 @@ public class MyManage : MonoBehaviour //³υΚΌ»― #if UNITY_EDITOR - SGStartParamsService.GetInstance().setMode("eyJtb2RlIjo1LCJwbGFuTG9jYWxQYXRoIjoiRDpcXFVzZXJGaWxlc1xc5Yac55S156ue6LWb5a+55o6lXFzmoYjkvoszLnppcCIsInByYWN0aXNlSWQiOiI1NCIsInN0dVVzZXJJZCI6IjI5OSIsImFwcElkIjoiNjciLCJleGFtSWQiOiItMSIsInRlYWNocGxhbklkIjoiMyIsImNvdXJzZUlkIjoiLTEifQ=="); - SGStartParamsService.GetInstance().setToken("fb2efb8f-99d4-42b4-81e5-728b9b6c78e1"); + SGStartParamsService.GetInstance().setMode("eyJtb2RlIjo1LCJwbGFuTG9jYWxQYXRoIjoiRDpcXFVzZXJGaWxlc1xc5Yac55S156ue6LWb5a+55o6lXFzmoYjkvoszLnppcCIsInByYWN0aXNlSWQiOiI4Iiwic3R1VXNlcklkIjoiNzM0IiwiYXBwSWQiOiIyIiwiZXhhbUlkIjoiLTEiLCJ0ZWFjaHBsYW5JZCI6IjMiLCJjb3Vyc2VJZCI6Ii0xIn0="); + SGStartParamsService.GetInstance().setToken("fad75ba1-541f-4d59-8366-fa5667abd615"); #endif SGUConfig config = new SGUConfig(); SGUSdk.GetInstance().InitSDK(config); @@ -138,7 +138,7 @@ public class MyManage : MonoBehaviour //try { HttpPractiseService getPractiseInfo = new HttpPractiseService(); - ResponObject responObject = getPractiseInfo.StartPractise(startMode.practiseId, userData.id, DateTime.Now.ToString()); + ResponObject responObject = getPractiseInfo.StartPractise(startMode.practiseId, userData.id); if(responObject.code=="0") { string data = responObject.data.ToString(); @@ -190,7 +190,7 @@ public class MyManage : MonoBehaviour public void GetEndPractise() { HttpPractiseService getPractiseInfo = new HttpPractiseService(); - ResponObject responObject = getPractiseInfo.EndPractise(startMode.practiseId, userData.id, DateTime.Now.ToString()); + ResponObject responObject = getPractiseInfo.EndPractise(startMode.practiseId, userData.id); if (responObject.code == "0") { string data = responObject.data.ToString();