摘要: public class MdFiveHashingHelper { /// /// 使用utf8编码将字符串散列 /// /// 要散列的字符串 /// 散列后的字符串 public string HashString(string sourceString) { ... 阅读全文
posted @ 2016-07-27 16:36 FH1004322 阅读(219) 评论(0) 推荐(0)
摘要: public class WriteLogHelper { private static object Locksrf2ImOb = new object(); public string FileName = System.Configuration.ConfigurationManager.AppSettings["UserImg_filePath"]... 阅读全文
posted @ 2016-07-27 16:35 FH1004322 阅读(188) 评论(0) 推荐(0)
摘要: public class JsonHelper { public JsonHelper() { } /// /// 把json字符串转成对象 /// /// 对象 /// json字符串 public static T Deserialize(string data) ... 阅读全文
posted @ 2016-07-27 16:34 FH1004322 阅读(178) 评论(0) 推荐(0)
摘要: public static class ConfigHelper { /// /// 签名KEY /// public static string sign_key = System.Configuration.ConfigurationManager.AppSettings["sign_key"] ?? ""; ... 阅读全文
posted @ 2016-07-27 16:34 FH1004322 阅读(152) 评论(0) 推荐(0)
摘要: public static class ImageHelper { /// /// 读图片 /// /// /// public static string ImgToBase64String(string filepath) { try ... 阅读全文
posted @ 2016-07-27 16:32 FH1004322 阅读(223) 评论(0) 推荐(0)
摘要: public class Biz_UploadImageBase { protected moto_imgDAL dal = new moto_imgDAL(); #region MethodHelper /// /// 返回客户端错误 /// /// /// ... 阅读全文
posted @ 2016-07-27 16:28 FH1004322 阅读(201) 评论(0) 推荐(0)
摘要: public class Biz_UploadImage : Biz_UploadImageBase { /// /// 上传图片接口 /// /// /// public dataresult UploadImageInterface(Stream uploadImageData... 阅读全文
posted @ 2016-07-27 16:27 FH1004322 阅读(362) 评论(0) 推荐(0)
摘要: IUploadImageService.cs UploadImageService.svc 阅读全文
posted @ 2016-07-27 16:25 FH1004322 阅读(273) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-07-27 16:16 FH1004322 阅读(147) 评论(0) 推荐(0)
摘要: 几个用到的数据类 JsonUploadImageData PackagingPathEntity 阅读全文
posted @ 2016-07-27 10:26 FH1004322 阅读(141) 评论(0) 推荐(0)