摘要: 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 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 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)
摘要: public static class ExtensionDateTime { public static string ToCustomString(this DateTime dt, bool isDefalut = false) { return isDefalut ? new DateTime(1900, 1, 1).ToString("yyyy-MM-dd HH:mm:ss") : d... 阅读全文
posted @ 2016-07-20 20:02 FH1004322 阅读(146) 评论(0) 推荐(0)
摘要: 源码地址: https://github.com/ServiceStack/ServiceStack.Redis 安装包 阅读全文
posted @ 2016-07-12 11:49 FH1004322 阅读(173) 评论(0) 推荐(0)