摘要: //把一个json字符串转换为DataTablestring user_json="{\"userName\":\"张三\"}";string userName="";DataTable dt = JsonConvert.DeserializeObject("[" + user_json+ "]")... 阅读全文
posted @ 2015-11-09 11:48 就是这么真实 阅读(524) 评论(0) 推荐(0) 编辑
摘要: composer.json "illuminate/redis":"5.6.x-dev"composer update在bootstrap/app.php中加入 $app->register(Illuminate\Redis\RedisServiceProvider::class); 阅读全文
posted @ 2018-04-20 18:27 就是这么真实 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: update table set name = replace(name,'name_','') where name like 'name_%';--替换 replace(name,'name_','') 把name中出现'name_'的全部替换为'' replace(name,'name_',' 阅读全文
posted @ 2016-07-06 09:39 就是这么真实 阅读(18186) 评论(0) 推荐(0) 编辑
摘要: dataType: •"xml": 返回 XML 文档,可用 jQuery 处理。•"html": 返回纯文本 HTML 信息;包含的 script 标签会在插入 dom 时执行。•"script": 返回纯文本 JavaScript 代码。不会自动缓存结果。除非设置了 "cache" 参数。注意: 阅读全文
posted @ 2016-04-08 14:06 就是这么真实 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 要注意的地方: 1:需要配置jsapi的域名授权(填写域名就行,不支持ip地址) 2.在php demo中WxPay.JsApiPay.php的GetOpenidFromMp设置超时$this->curl_timeout是不存在的,要进行修改: 阅读全文
posted @ 2016-04-07 16:00 就是这么真实 阅读(3963) 评论(0) 推荐(0) 编辑
摘要: 创建菜单栏需要用到http的get和post:http://www.cnblogs.com/lswbk/p/4940449.html官方自定义菜单创建接口API:http://mp.weixin.qq.com/wiki/2/88b2bf1265a707c031e51f26ca5e6512.html接... 阅读全文
posted @ 2015-11-12 15:43 就是这么真实 阅读(1619) 评论(0) 推荐(0) 编辑
摘要: 微信公众号开发官方SDK没有提供.net C#的SDK不过在网上找到了大神写号的SDK:http://weixinsdk.net/forum.php?mod=viewthread&tid=6&extra=page%3D1SDK下载:https://github.com/night-king/weix... 阅读全文
posted @ 2015-11-11 11:48 就是这么真实 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_2微信支付成功后,微信服务器端回调到/example/ResultNotifyPage.aspx页面。 ResultNotify resultNotify = new ... 阅读全文
posted @ 2015-11-11 10:59 就是这么真实 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1首先要修改/lib/HttpService.cs把Get和Post中的的设置代理服务器代码进行隐藏:修改前:WebProxy proxy = new WebProxy... 阅读全文
posted @ 2015-11-11 10:51 就是这么真实 阅读(6730) 评论(0) 推荐(0) 编辑
摘要: 第一步:首先配置WxPayConfig /* 微信公众号信息配置 * APPID:绑定支付的APPID(必须配置) * MCHID:商户号(必须配置) * KEY:商户支付密钥,参考开户邮件设置(必须配置) * APPSECRET:公众帐号se... 阅读全文
posted @ 2015-11-11 10:25 就是这么真实 阅读(5598) 评论(0) 推荐(0) 编辑
摘要: 微信扫码支付官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=6_1.net C# SDK:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=11_1介绍扫... 阅读全文
posted @ 2015-11-11 09:36 就是这么真实 阅读(1254) 评论(0) 推荐(0) 编辑