摘要:
1 public class HttpServiceHelper 2 { 3 public static string Post(string xml, string url, int timeout) 4 { 5 System.GC.Collect();//垃圾回收,回收没有正常关闭的http连接 阅读全文
摘要:
1 /// <summary> 2 /// api接口帮助类 字典和json、xml 之间的相互转换 3 /// </summary> 4 public class ZhongBangApiHelper 5 { 6 public ZhongBangApiHelper() 7 { 8 9 } 10 1 阅读全文
摘要:
1、Base64转换为字符串 1 /// <summary> 2 /// base64转为字符串 3 /// </summary> 4 /// <param name="str"></param> 5 /// <returns></returns> 6 public string Base64ToS 阅读全文
摘要:
1、Json字符串转换为实体类 1 public class RegUnLock 2 { 3 /// <summary> 4 /// 医院编号 5 /// </summary> 6 public string hospitalCode { get; set; } 7 /// <summary> 8 阅读全文