上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: /// <summary> /// post请求 /// 请求方法的编码格式:application/x‐www‐form‐urlencoded /// </summary> /// <param name="url"></param> /// <param name="data"></param> 阅读全文
posted @ 2021-04-24 17:24 罕 阅读(420) 评论(0) 推荐(0)
摘要: 报错信息: “/”应用程序中的服务器错误。 未能加载文件或程序集“Newtonsoft.Json”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040) 未改之前 <dependentAssembly> <assemblyIdentity n 阅读全文
posted @ 2021-04-23 15:32 罕 阅读(344) 评论(0) 推荐(0)
摘要: 链接 https://item.taobao.com/item.htm?id=602127257823&ali_refid=a3_430673_1006:1106128557:N:emtiAWsF8%2Bzhhxaiwzc0Aw%3D%3D:381f1a75e1721adb3df1ab1c2c1e8 阅读全文
posted @ 2021-03-13 11:15 罕 阅读(771) 评论(0) 推荐(0)
摘要: 使用场景,自定义参数进行post 提交跳转 参考于:https://blog.csdn.net/xxmeng2012/article/details/51489072/ 使用参考文章方法,报警告 Form submission canceled because the form is not con 阅读全文
posted @ 2021-03-08 18:09 罕 阅读(1625) 评论(0) 推荐(0)
摘要: public static string HttpPostFrom(string url, string data) { string htmlAll = ""; try { string SendMessageAddress = url;//请求链接 HttpWebRequest request 阅读全文
posted @ 2021-03-03 16:20 罕 阅读(11860) 评论(1) 推荐(1)
摘要: var express = $("#num").val() var reg = new RegExp(/^[0-9a-zA-Z]*$/g); if (!reg.test(express)) { layer.alert("单号只能录入数字与字母", { icon: 2 }); return false 阅读全文
posted @ 2021-02-22 14:13 罕 阅读(708) 评论(0) 推荐(0)
摘要: window.open("/order/export?ids=" + ids + "&type=" + type + "&clientid=" + clientId + "&areaid=" + area ); 将get 请求改为表单post请求 var data = "ids=" + ids + 阅读全文
posted @ 2021-02-02 15:35 罕 阅读(628) 评论(0) 推荐(0)
摘要: .NET 4.0 using (WebClient wc = new WebClient()) { ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; var data = wc.DownloadData(url); 阅读全文
posted @ 2021-01-29 15:34 罕 阅读(505) 评论(0) 推荐(0)
摘要: 今天突然就微信支付就调不起来了,而且我找了一个相同代码的项目,查看了他的微信支付,并没有异常。奇怪之余,进入微信交流社区搜索相关问题,没想到遇到同样问题的。从他们的交流间的到解决办法。如下: 原来: private static string sendPost2(string URL, string 阅读全文
posted @ 2021-01-15 14:25 罕 阅读(653) 评论(0) 推荐(0)
摘要: js 判断字符串是否为空 //判断字符是否为空的方法 function isEmpty(obj){ if(typeof obj == "undefined" || obj == null || obj == ""){ return true; }else{ return false; } } 使用: 阅读全文
posted @ 2020-12-16 18:20 罕 阅读(7495) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 10 下一页