05 2021 档案

摘要:RestFul Api 规范(URL,HTTP,版本,状态码,返回值,请求条件等规范) get (select) :从服务器取出资源(一项或多项) post (Create) :在服务器新建一个资源 put (update) :在服务器更新资源(客户端提供改变后的完整资源) patch(update 阅读全文
posted @ 2021-05-22 08:34 LuoCore 阅读(61) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/yzw675628706/article/details/115347180 其他没有试,这个是对我目前的使用有效 layui.layer.open({ type: 2, title:'百度页面', area: '300px', shade:0.5, co 阅读全文
posted @ 2021-05-21 17:51 LuoCore 阅读(2905) 评论(0) 推荐(0) 编辑
摘要:在子页面定义一个方法, 子页面 function child(obj) { } 父级页面 var iframe = window[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method(); 阅读全文
posted @ 2021-05-19 22:21 LuoCore 阅读(937) 评论(0) 推荐(0) 编辑
摘要:$.ajax({ //请求方式 type: "POST", //请求地址 url: "/", //数据,json字符串 data: { }, //请求成功 success: function (result) { if (result.status) { //比如说你请求接口后需要手动的更新表格中的 阅读全文
posted @ 2021-05-19 14:12 LuoCore 阅读(1054) 评论(0) 推荐(0) 编辑
摘要:An unhandled exception occurred while processing the request. InvalidOperationException: No authenticationScheme was specified, and there was no Defau 阅读全文
posted @ 2021-05-19 13:45 LuoCore 阅读(1088) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_44927883/article/details/106360358$("td[data-field='fieldHtmlType']") 阅读全文
posted @ 2021-05-18 17:50 LuoCore 阅读(280) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_30566111/article/details/99483605 var html = "<select id=\"formBasicEmail\" class=\"form - control\"><option>73: Australi 阅读全文
posted @ 2021-05-18 15:03 LuoCore 阅读(232) 评论(0) 推荐(0) 编辑
摘要:http://web.yeekit.com/ 阅读全文
posted @ 2021-05-17 13:10 LuoCore 阅读(289) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u012857153/article/details/61922729 相信一定有很多跟我一样刚入前端的小菜,会在前辈的代码中看到 单竖杠(|)参考文章http://www.111cn.net/wy/js-ajax/100673.htm这里介绍(|)的作用 阅读全文
posted @ 2021-05-17 10:24 LuoCore 阅读(724) 评论(0) 推荐(0) 编辑
摘要:<!--导入数据操作层--><div class="layui-form-item"> <div class="layui-form-label">导入操作</div> <div class="layui-form-block"> <div class="layui-upload-drag" sty 阅读全文
posted @ 2021-05-17 09:29 LuoCore 阅读(617) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/honeycandys/article/details/80679913 function changeDateFormat(val) { if (val != null) { var date = new Date(parseInt(val.replac 阅读全文
posted @ 2021-05-14 16:26 LuoCore 阅读(488) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jhuang-com/p/10476365.html 删除数据的一行,一般有两种方法,一个是splice,一个是delete; splice:删除了数组后,数组的长度会自动变化。用法:arr.splice(2,1)——2是数组的下标值,1 代表输出一行 阅读全文
posted @ 2021-05-14 00:33 LuoCore 阅读(1192) 评论(0) 推荐(0) 编辑
摘要:环境:.net core + layui 场景:上传文件的时候需要先弹出一个层选择对应的条件传到上传方法里面做逻辑,发现layui.upload上传一次之后在不刷新页面的前提下不会执行choose方法了; 问题原理:个人理解是upload.render方法执行一次之后,第二次之后没有把elem指定的 阅读全文
posted @ 2021-05-14 00:15 LuoCore 阅读(480) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/lyn1772671980/article/details/79093459 let obj = { 'a':'aa', 'b':'bb', 'c':'cc', 'd':'dd' };for(let i in obj){ console.log(i); / 阅读全文
posted @ 2021-05-13 18:21 LuoCore 阅读(2057) 评论(0) 推荐(0) 编辑
摘要:Type enumType = typeof(Domain.Models.Entitys.PermissionEntity.PermissionTypeEnum); Array values = Enum.GetValues(enumType); if (values.Length > 0) { f 阅读全文
posted @ 2021-05-12 10:07 LuoCore 阅读(436) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 生成设置范围内的Double的随机数 /// eg:_random.NextDouble(1.5, 2.5) /// </summary> /// <param name="random">Random</param> /// <param name="miniD 阅读全文
posted @ 2021-05-11 15:48 LuoCore 阅读(1482) 评论(0) 推荐(0) 编辑
摘要:private static Dictionary<string, string> ParseToDictionary(string str) { Dictionary<string, string> result = new Dictionary<string, string>(); var pa 阅读全文
posted @ 2021-05-08 10:38 LuoCore 阅读(890) 评论(0) 推荐(0) 编辑
摘要:string respDataJson = "A=&B=2&C=asdfasdf"; string respDataJson = "A=&B=2&C=asdfasdf"; var dddddd= StringToObject<ResponseModel>(respDataJson); public 阅读全文
posted @ 2021-05-08 10:36 LuoCore 阅读(323) 评论(0) 推荐(1) 编辑
摘要:https://www.cnblogs.com/tianma3798/p/8807906.html 感谢这位大哥的代码提示 微软官网的这个示例正的是该换了,一点用处没看出来 https://docs.microsoft.com/zh-cn/dotnet/api/system.security.cry 阅读全文
posted @ 2021-05-05 18:08 LuoCore 阅读(1552) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?> <qrylist><order orderid="1234567890"></order> <order orderid="1234567891"></order> <order orderid="1234567892"> 阅读全文
posted @ 2021-05-05 15:06 LuoCore 阅读(257) 评论(0) 推荐(1) 编辑
摘要:https://www.cnblogs.com/Sheldon180621/p/14498646.html 方法一、引用*.wsdl文件 WebService服务端会提供wsdl文件,客户端通过该文件生成.cs文件以及生成.dll PS:注意若是服务端只提供了URL,那可以通过在URL后面加上“?w 阅读全文
posted @ 2021-05-04 11:30 LuoCore 阅读(3473) 评论(0) 推荐(1) 编辑
摘要:现在的前端请求。真的是百花齐放,但是老古董ajax 还是挺好用的,主要是简单的 $.ajax({ type: "Post", url: "", data: { xxxx: data.xxx }, dataType: "json", success: function (data) { if (dat 阅读全文
posted @ 2021-05-03 15:41 LuoCore 阅读(60) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示