|
|
@ -63,7 +63,7 @@ public class HighDiscountAgentRelServiceImpl implements HighDiscountAgentRelServ |
|
|
|
String qrCodeImg = DateUtil.date2String(new Date(),highDiscountAgentRel.getId()+"yyyyMMddHHmmss") + IDGenerator.nextId(10) +".png"; |
|
|
|
String qrCodeImg = DateUtil.date2String(new Date(),highDiscountAgentRel.getId()+"yyyyMMddHHmmss") + IDGenerator.nextId(10) +".png"; |
|
|
|
|
|
|
|
|
|
|
|
// 生成二维码
|
|
|
|
// 生成二维码
|
|
|
|
String param = "https://hsgcs.dctpay.com/wx/?action=gogogo&id=" + Base64Util.encode(AESEncodeUtil.aesEncrypt(JSON.toJSONString(map))); |
|
|
|
String param = "https://hsg.dctpay.com/wx/?action=gogogo&id=" + Base64Util.encode(AESEncodeUtil.aesEncrypt(JSON.toJSONString(map))); |
|
|
|
QRCodeGenerator.generateQRCodeImage(param, 350, 350, path + folder + qrCodeImg); |
|
|
|
QRCodeGenerator.generateQRCodeImage(param, 350, 350, path + folder + qrCodeImg); |
|
|
|
code.setQrCode(qrCodeImg); |
|
|
|
code.setQrCode(qrCodeImg); |
|
|
|
highDiscountAgentCodeService.updateCode(code); |
|
|
|
highDiscountAgentCodeService.updateCode(code); |
|
|
|