刹那的菜鸟

博客园 首页 新随笔 联系 管理
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页

2020年2月19日 #

摘要: 1、数据文件被改动变成带bom 解决办法: 用其他编辑器 重新编辑 去掉bom 阅读全文
posted @ 2020-02-19 20:38 刹那的菜鸟 阅读(812) 评论(0) 推荐(0) 编辑

2020年1月22日 #

摘要: asp.net core 默认输出的json数据首字母会改成小写,考虑可能是为了前端js的书写习惯,毕竟js 操作大小写敏感。 在Startup类的ConfigureServices()方法中进行配置,DefaultContractResolver() 原样输出,返回的 json 与后台定义一致 阅读全文
posted @ 2020-01-22 14:38 刹那的菜鸟 阅读(1357) 评论(0) 推荐(0) 编辑

2020年1月20日 #

摘要: 区块链: 区块链是一个信息技术领域的术语。从本质上讲,它是一个共享数据库,存储于其中的数据或信息,具有“不可伪造”“全程留痕”“可以追溯”“公开透明”“集体维护”等特征。基于这些特征,区块链技术奠定了坚实的“信任“基础,创造了可靠的“合作”机制,具有广阔的运用前景。 2019年1月10日,国家互联网 阅读全文
posted @ 2020-01-20 15:18 刹那的菜鸟 阅读(257) 评论(0) 推荐(0) 编辑

2020年1月15日 #

摘要: 1、最好统一小写转化,不然很容易出现访问不到文件, 造成404 阅读全文
posted @ 2020-01-15 14:57 刹那的菜鸟 阅读(950) 评论(1) 推荐(0) 编辑

2020年1月10日 #

摘要: 正确办法 要将小于号进行转义 <view @tap="submitCart" :data-disabled="cartData.Amount<cartData.DeliveTotalFee?'1':''" :class="'submit ' + (cartData.Amount<cartData.D 阅读全文
posted @ 2020-01-10 14:34 刹那的菜鸟 阅读(1372) 评论(0) 推荐(0) 编辑

2020年1月9日 #

摘要: 1、vue文件的 script 内 方式一:var config1 = require("../../utils/config.js"); 方式二:/*import md5 from "@/common/SDK/md5.min.js"; */ 调用: config1.sss(); config.js 阅读全文
posted @ 2020-01-09 16:08 刹那的菜鸟 阅读(28367) 评论(0) 推荐(0) 编辑

2019年12月23日 #

摘要: //创建配置根对象 var configurationRoot = builder1.Build(); //读取到ioc IOptions<SuperAppsettings> setting 依赖注入 services.Configure<SuperAppsettings>(configuratio 阅读全文
posted @ 2019-12-23 16:17 刹那的菜鸟 阅读(559) 评论(0) 推荐(0) 编辑

摘要: 参考官方:https://docs.autofac.org/en/latest/integration/aspnetcore.html#startup-class 有一些变动,现在暂时还没用net core3 做项目 在Startup类中(在所有版本的ASP.NET Core中基本相同),然后使用C 阅读全文
posted @ 2019-12-23 11:43 刹那的菜鸟 阅读(1661) 评论(1) 推荐(0) 编辑

摘要: 举例:http://localhost:5000/?sss=sdf&fdd=123 1、设置或获取整个 URL 为字符串 window.location.href 值: http://localhost:5000/?sss=sdf&fdd=123 2、设置或获取 URL 的协议部分 window.l 阅读全文
posted @ 2019-12-23 10:40 刹那的菜鸟 阅读(583) 评论(0) 推荐(0) 编辑

2019年12月12日 #

摘要: https://github.com/restsharp/RestSharp postman 生成的访问代码; 好用! Features Assemblies for .NET 4.5.2 and .NET Standard 2.0 Easy installation using NuGet for 阅读全文
posted @ 2019-12-12 10:28 刹那的菜鸟 阅读(708) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页