1.对服务器考虑 这个生成二维码的活应该交给前端来做 不然对服务器压力挺大的
2.可以用jquery.qrcode.js这个软件来做 挺简单的
3.http://jeromeetienne.github.io/query-qrcode
4.网站貌似失效了
@Bean
public BestPayService bestPayService(){
WxPayConfig wxPayConfig = new WxPayConfig();
//公众号ID
wxPayConfig.setAppId("wxd898fcb01713c658");
//商户ID
wxPayConfig.setMchId("1483469312");
//商户密钥 密钥就不透露拉
wxPayConfig.setMchKey("6");
//notifyUrl配置
wxPayConfig.setNotifyUrl("http://lzl-mall.natapp1.cc/pay/notify");
//http://lzl-mall.natapp1.cc
BestPayServiceImpl bestPayService = new BestPayServiceImpl();
bestPayService.setWxPayConfig(wxPayConfig);
return bestPayService;