2018年4月23日

微信小程序支付

摘要: 不废话直接上代码 先来微信SDK class WeixinPay{ protected $appid =""; //小程序APPID protected $mch_id =""; //商户号 protected $Key = ""; //商户秘钥 protected $openid; //用户ope 阅读全文

posted @ 2018-04-23 14:26 xingzhukang 阅读(296) 评论(0) 推荐(0) 编辑

2018年3月13日

js去重合并

摘要: 1.去重 for(var q = 0;q<jsonArr.length;q++){ for(var e=0;e<jsonArr[q].data.length;e++){ var matchCode = jsonArr[q].data[e]; var chua = jsonArr[q].jsonObj 阅读全文

posted @ 2018-03-13 20:42 xingzhukang 阅读(1108) 评论(0) 推荐(0) 编辑

2017年5月25日

javaweb get跟post 乱码解决

摘要: get中把tomact中的servel.xml 中 content 加上 URIEncoding="UTF-8"跟 useBodyEncodingForURL="true" post传中文 String name = new String((request.getParameter("name")) 阅读全文

posted @ 2017-05-25 11:43 xingzhukang 阅读(131) 评论(0) 推荐(0) 编辑

JavaWeb开发环境搭建Eclipse配置Tomcat

摘要: 转载请标明出处:http://blog.csdn.net/wu_wxc/article/details/48651251本文出自【吴孝城的CSDN博客】 工具: Eclipse官网下载:http://www.eclipse.org/downloads/ Apache Tomcat下载: http:/ 阅读全文

posted @ 2017-05-25 11:39 xingzhukang 阅读(470) 评论(0) 推荐(0) 编辑

2016年11月28日

memcache

摘要: 1.安装 1. 下载memcache的windows稳定版,解压放某个盘下面,比如在D:/memcached 2. 下载对应 PHP版本的 memache.dll 2. 在终端(也即cmd命令界面)下输入 ‘D:/memcached/memcached.exe -d install’ 安装ZnB平坦 阅读全文

posted @ 2016-11-28 14:40 xingzhukang 阅读(131) 评论(0) 推荐(0) 编辑

2016年6月28日

php 无限极分类

摘要: http://www.jb51.net/article/38771.htm 地址 直接看 嘿嘿,在这就不写了 阅读全文

posted @ 2016-06-28 17:52 xingzhukang 阅读(119) 评论(0) 推荐(0) 编辑

2016年5月13日

js自动加载html文件

摘要: 利用js的方法自动加载html文件,就可以不用前端框架了,例如 iframe <script>$(document).ready(function(){$("#top-header").load("top.html"); }) </script> <div id="top-header"> 阅读全文

posted @ 2016-05-13 12:16 xingzhukang 阅读(3855) 评论(0) 推荐(0) 编辑

2016年4月27日

php const和define区别及使用方法

摘要: const和define区别使用 来自http://blog.sina.com.cn/s/blog_6c971aa30101ah0p.html 阅读全文

posted @ 2016-04-27 11:14 xingzhukang 阅读(367) 评论(0) 推荐(0) 编辑

php memcache或是memcached 来实现消息队列

摘要: php memcache 消息队列 来自http://www.php100.com/html/php/lei/2013/0905/5388.html 阅读全文

posted @ 2016-04-27 11:08 xingzhukang 阅读(1480) 评论(0) 推荐(0) 编辑

2016年4月22日

Linux 配置以及安装memcache

摘要: Linux 安装及配置memcache 阅读全文

posted @ 2016-04-22 21:52 xingzhukang 阅读(686) 评论(0) 推荐(0) 编辑

导航