摘要: List<Model> list = HttpPost<List<Model>>(" ", paramModel); if (list != null && list.Count > 0) { DataTable tblDatas = new DataTable("Datas"); DataColu 阅读全文
posted @ 2019-09-24 17:47 Mr.Alpha 阅读(471) 评论(0) 推荐(0) 编辑
摘要: var file1 = Request.HttpContext.Request.Form.Files["file"]; using (Stream fs = file1.OpenReadStream()) { if (file1.FileName.EndsWith(".xls")) { workbo 阅读全文
posted @ 2019-09-24 17:38 Mr.Alpha 阅读(184) 评论(0) 推荐(0) 编辑
摘要: public class RedisManager { private static IConnectionMultiplexer _connMultiplexer; private static string ConnectionName; public static Dictionary<str 阅读全文
posted @ 2019-09-24 17:30 Mr.Alpha 阅读(296) 评论(0) 推荐(0) 编辑
摘要: public class CsredisConfig : RedisHelper { public static Dictionary<string, RedisConfig> RedisConfigs; public CsredisConfig() { RedisConfigs = new Dic 阅读全文
posted @ 2019-09-24 17:29 Mr.Alpha 阅读(470) 评论(0) 推荐(0) 编辑
摘要: public class QRCodePoster { int qrX = 350; int qrY = 480; int qrWidth = 170; int qrHeight = 170; int fontX = 350; int fontY = 670; int fontSize = 50; 阅读全文
posted @ 2019-09-24 17:22 Mr.Alpha 阅读(352) 评论(0) 推荐(0) 编辑