12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //using System;
- //using System.Collections.Generic;
- //using System.Linq;
- //using System.Text;
- //using LitJson;
- //using UnityEngine;
- //public class UserShowListHttp
- //{
- // private static Action succeedCallback;
- // private static Action failedCallback;
- // public static void Test()
- // {
- // Get(1, 0, null, null);
- // }
- // public static void Get(long playerId, int page, Action succeedCallback, Action failedCallback)
- // {
- // UserShowListHttp.succeedCallback = succeedCallback;
- // UserShowListHttp.failedCallback = failedCallback;
- // URLRequestData requestData = new URLRequestData();
- // requestData.Add("u", playerId);
- // requestData.Add("p", page);
- // //URLRequest.CreateURLRequest(true, HttpManager.AddShowURL, requestData,
- // // Callback, URLRequest.Method.POST);
- // URLRequest.CreateStrURLRequest(true, HttpManager.GetUserShowListURL, requestData,
- // Callback, URLRequest.Method.POST);
- // }
- // private static void Callback(JsonData data)
- // {
- // Debug.Log(data.ToJson());
- // }
- // private static void Callback(string str)
- // {
- // Debug.Log(str);
- // }
- //}
|