03 2015 档案

 
微信第三方 授权方账户信息 API文档错误
摘要:获取授权方的账户信息该API用于获取授权方的公众号基本信息,包括头像、昵称、帐号类型、认证类型、微信号、原始ID和二维码图片URL。需要特别记录授权方的帐号类型,在消息及事件推送时,对于不具备客服接口的公众号,需要在5秒内立即响应;而若有客服接口,则可以选择暂时不响应,而选择后续通过客服接口来发送消... 阅读全文
posted @ 2015-03-30 23:02 毛毛虫 阅读(11869) 评论(0) 推荐(0) 编辑
复制过来的东西也不靠谱,微信公众号第三方平台的API
摘要:API:https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419318587&lang=zh_CN获取(刷新)授权公众号的令牌该API用于在授权方令... 阅读全文
posted @ 2015-03-30 22:26 毛毛虫 阅读(3013) 评论(3) 推荐(2) 编辑
微信的加解密
摘要:公众号验证验证:加密(Token, timestamp, nonce)== signature返回echostr公众号回调加密加密验证:加密(Token , timestamp, nonce 密文)==signature然后解密,解密出AppId和明文公众号第三方平台推送Ticket时:验证:加密(... 阅读全文
posted @ 2015-03-30 21:20 毛毛虫 阅读(425) 评论(0) 推荐(0) 编辑
郁闷的错误
摘要:“/”应用程序中的服务器错误。编译错误 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误消息: CS0103: 当前上下文中不存在名称“model”源错误: 阅读全文
posted @ 2015-03-29 17:50 毛毛虫 阅读(215) 评论(0) 推荐(0) 编辑
Jquery Table 操作
摘要:获取行号var rowIndex = $("#TableId").find("tr").index($("#RowId")[0]); var trHTML = "...";该行后面插入$("#TableMain tr:eq(" + rowIndex + ")").aft... 阅读全文
posted @ 2015-03-26 11:14 毛毛虫 阅读(178) 评论(0) 推荐(0) 编辑
Html获取经纬度
摘要:if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( function success(pos) {alert(pos.coords.longitude + ... 阅读全文
posted @ 2015-03-19 21:08 毛毛虫 阅读(1370) 评论(0) 推荐(0) 编辑
Mvc5 Html.EditorFor
摘要:如果对缺省的样子不满意, 可以有模板,寻寻觅觅,摸索出在Views\Shared\EditorTemplates下创建String.cshtml必须的是EditorTemplates文件夹@{ var display = ViewData.ModelMetadata.DisplayName ?... 阅读全文
posted @ 2015-03-19 17:23 毛毛虫 阅读(751) 评论(0) 推荐(0) 编辑
MVC5 烂笔头
摘要:HttpContentController:HttpContextBaseView:HttpContext.CurrentView的搜寻顺序:本文件夹、本共享、根共享等class="form-control"宽度不适100%的问题:修改Site.cssinput,select,textarea { ... 阅读全文
posted @ 2015-03-17 09:44 毛毛虫 阅读(453) 评论(0) 推荐(0) 编辑

 

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