上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: 转载:http://blog.csdn.net/bingkingboy/article/details/50160221 作用: addEventListener()与removeEventListener()用于处理指定和删除事件处理程序操作。 它们都接受3个参数:事件名、事件处理的函数和布尔值。 阅读全文
posted @ 2017-10-10 16:04 叨叨的蜗牛 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: location.href='ping.html#chen=陈建平‘ 取锚点值 location.hash 结果是:#chen=陈建平 location.href='ping.html?chen=陈建平‘ 取?后面的值 location.href.search() 结果是:?chen=陈建平 再用s 阅读全文
posted @ 2017-09-27 11:34 叨叨的蜗牛 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 显示时间 阅读全文
posted @ 2017-09-21 14:12 叨叨的蜗牛 阅读(1131) 评论(0) 推荐(0) 编辑
摘要: 查询时注意 查询字段传值参数类型,尽量和数据库字段类型一致。 数据量越大查询问题会越严重,到几十万的数据时,类型一致和不一致会是千倍差距 阅读全文
posted @ 2017-07-08 14:23 叨叨的蜗牛 阅读(341) 评论(0) 推荐(0) 编辑
摘要: function actions(){ return ArrayHelper::merge(parent::actions(), [ 'checkCourseAccess' => 'common\actions\CheckCourseAccessAction' ]); } function behaviors(... 阅读全文
posted @ 2017-07-05 14:55 叨叨的蜗牛 阅读(1721) 评论(0) 推荐(0) 编辑
摘要: 转载,原文链接:http://blog.csdn.net/b_h_l/article/details/17266849 阅读全文
posted @ 2017-06-28 09:02 叨叨的蜗牛 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 转载:来源: <http://www.cnblogs.com/needrunning/p/3939312.html> yii2 框架定义的约束 public $builtInValidators = [ 'boolean' => 'yii\validators\BooleanValidator', 阅读全文
posted @ 2017-06-27 10:19 叨叨的蜗牛 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 支付宝或者微信支付的异步通知无法通知到地址问题 先看看你得通知地址是否是需要登录状态才能访问 阅读全文
posted @ 2017-06-20 16:17 叨叨的蜗牛 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 转载 原文链接:http://www.cnblogs.com/lhm166/articles/5789489.html 我们需要将价格保留两位小数比如12元需要表示为¥12.00,这时就需要使用number_format函数,使用方法为number_format(12,2),如果需要四舍五入,可以使 阅读全文
posted @ 2017-06-15 16:32 叨叨的蜗牛 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.csdn.net/u010841622/article/details/72777498 问题:阿里云服务器,专有网络,web设置完毕,在服务器中localhost能够访问,并且关闭防火墙,但是使用公网ip无法访问。 解决:找到本实例安全组,配置规则,按照要求填入8 阅读全文
posted @ 2017-06-07 16:21 叨叨的蜗牛 阅读(762) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页