示例#1
0
 public static void GetCategorys(string token, int?parentCid, ResponseHandle handle)
 {
     ApiCaller.RequestParams rp = new ApiCaller.RequestParams();
     rp.data = new Dictionary <string, string>();
     rp.data.Add(Param.TOKEN, token);
     if (parentCid != null)
     {
         rp.data.Add(Param.PARENT_CID, "" + (int)parentCid);
     }
     rp.callback = handle;
     apiCaller.GetCategorys(rp);
 }