jquery.qrcode
http://www.cnblogs.com/xcsn/archive/2013/08/14/3258035.html
// 账号信息
String appid = PropertiesHandler.getConfigValue("APP_ID").toString(); // appId
// String appsecret = WeChatParam.APP_SECRET; // appSecret
String mch_id = PropertiesHandler.getConfigValue("MCH_ID").toString(); // 商业号
String key = PropertiesHandler.getConfigValue("API_KEY").toString(); // key
String currTime = PayCommonUtil.getCurrTime(); // 获取当前时间格式为24位
String strTime = currTime.substring(8, currTime.length()); // 截取24位的第8位然后加上长度
String strRandom = PayCommonUtil.buildRandom(4) + ""; // 产生随机数