update:uplog
This commit is contained in:
@@ -55,10 +55,11 @@ public class CustomServerMgr : ICustomServerMgr
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
// Debug.Log("CustomServerPost url:" + url);
|
Debug.Log("client.BaseAddress.AbsoluteUri:" + client.BaseAddress.AbsoluteUri);
|
||||||
// Debug.Log("CustomServerPost bodyString:" + bodyString);
|
Debug.Log("CustomServerPost url:" + url);
|
||||||
//#endif
|
Debug.Log("CustomServerPost bodyString:" + bodyString);
|
||||||
|
#endif
|
||||||
var content = new StringContent(bodyString, Encoding.UTF8, "application/json");
|
var content = new StringContent(bodyString, Encoding.UTF8, "application/json");
|
||||||
var response = await client.PostAsync(url, content);
|
var response = await client.PostAsync(url, content);
|
||||||
string result = await response.Content.ReadAsStringAsync();
|
string result = await response.Content.ReadAsStringAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user