// InfoUser #region InfoUser public static void SendLoginOTP(string otp, string token) { SLoginOTP data = new SLoginOTP { otp = otp, token = token, }; WebServiceController.Instance.SendRequest(WebServiceCode.Code.LoginOTP, data, HTTPMethods.Post); }
// InfoUser #region InfoUser public static void SendLoginOTP(string otp, string token) { string dID = UnityEngine.SystemInfo.deviceUniqueIdentifier; SLoginOTP data = new SLoginOTP { otp = otp, token = token, deviceID = dID, signature = MD5Helper.Encrypt(string.Format("begin--{0}#{1}--end", otp, dID)) }; WebServiceController.Instance.SendRequest(WebServiceCode.Code.LoginOTP, data, HTTPMethods.Post); }