|
|
@@ -86,6 +86,7 @@ public class Login : SingletonBaseMono<Login>
|
|
|
string jsonValue = JsonConvert.SerializeObject(arrays);
|
|
|
SaveLog("·¢Ëͳɼ¨");
|
|
|
SaveLog("·¢Ëͳɼ¨Êý¾Ý" + jsonValue);
|
|
|
+ Debug.Log(jsonValue);
|
|
|
StartCoroutine(SendListCoroutine(jsonValue));
|
|
|
}
|
|
|
public IEnumerator SendListCoroutine(string jsonValue)
|
|
|
@@ -178,7 +179,10 @@ public class Login : SingletonBaseMono<Login>
|
|
|
using (var hmac = new HMACSHA256(keyBytes))
|
|
|
{
|
|
|
var hash = hmac.ComputeHash(messageBytes);
|
|
|
- return Convert.ToBase64String(hash);
|
|
|
+ string code = Convert.ToBase64String(hash);
|
|
|
+ code = Regex.Replace(code, "\\+", "-");
|
|
|
+ Debug.Log(code);
|
|
|
+ return code;
|
|
|
}
|
|
|
}
|
|
|
|