摘要: 正则 阅读全文
posted @ 2019-09-23 10:45 ly丶乐 阅读(346) 评论(0) 推荐(0) 编辑
摘要: #region 以下代码为保存图片时,设置压缩质量 Image iSource = Image.FromStream(file.InputStream);//HttpPostedFile转Image long[] qy = new long[1]; qy[0] =... 阅读全文
posted @ 2019-04-10 15:58 ly丶乐 阅读(1232) 评论(0) 推荐(1) 编辑
摘要: public GetFloorBuildingResult GetFloorBuilding([FromBody]GetFloorBuildingModels model) { string dd = model.Fatherid; string serviceAddress = "http://public.data.test.... 阅读全文
posted @ 2019-03-29 15:05 ly丶乐 阅读(1620) 评论(0) 推荐(0) 编辑
摘要: $(function () { $(document).mousemove(function (e) { if (!!this.move) { var posix = !document.move_target ? { 'x': 0, 'y': 0 } : document.move_target.posix, ca... 阅读全文
posted @ 2019-01-07 18:03 ly丶乐 阅读(463) 评论(0) 推荐(0) 编辑
摘要: //将获取到的json格式数据转换成对应的实体类 JsonSerializer serializer = new JsonSerializer(); StringReader sr = new StringReader(“json”); object o = serializer.Deserializ... 阅读全文
posted @ 2018-12-14 15:14 ly丶乐 阅读(1469) 评论(0) 推荐(0) 编辑
摘要: //创建队列 private static ConcurrentQueue _Concurrenplayrecord_count { get; set; } //实现队列 _Concurrenplayrecord_count = new ConcurrentQueue(); //进队列 ad_playrecord_count prcModel = new ad_playrecord_count... 阅读全文
posted @ 2018-12-14 15:04 ly丶乐 阅读(1249) 评论(0) 推荐(0) 编辑
摘要: Google protobuf 阅读全文
posted @ 2018-12-11 17:43 ly丶乐 阅读(4021) 评论(0) 推荐(0) 编辑
摘要: 今天遇到了一个很蛋疼的问题,新增了两个表,但是向表添加数据时,报错 System.Data.Entity.Infrastructure.DbUpdateException 而且,下面的详情里面是对象名 'dbo.BdjpResponseInfoes' 无效。明明我的表名没后面那个S!!!反正找了很久 阅读全文
posted @ 2018-12-07 14:42 ly丶乐 阅读(921) 评论(0) 推荐(0) 编辑
摘要: 今天遇到一个蛋蛋疼的问题,本地CSS和JS引用无问题,部署服务器之后出现500错误 在服务器IIS上处理了半天都无效,最后瞎点到mime类型的时候报错,想想有可能是这里出了问题,经排查 是webconfig中加了这一段,当初是为了在mime中加入MP4类型自己在config中配置了,没想到出现当前错 阅读全文
posted @ 2018-11-06 14:22 ly丶乐 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 记录下https://blog.csdn.net/xiaoguidangjiajia/article/details/52371354 这个博客写的很详细,谢谢 阅读全文
posted @ 2018-09-12 10:47 ly丶乐 阅读(81) 评论(0) 推荐(0) 编辑