|
|
@ -147,7 +147,7 @@ public class WxMsgController { |
|
|
|
"特意为您奉上" + |
|
|
|
"特意为您奉上" + |
|
|
|
"<a href='" + CommonSysConst.getSysConfig().getHsgDomainName() + "/hsgH5'>5张优惠券</a>" + |
|
|
|
"<a href='" + CommonSysConst.getSysConfig().getHsgDomainName() + "/hsgH5'>5张优惠券</a>" + |
|
|
|
",放在您的"+ |
|
|
|
",放在您的"+ |
|
|
|
"<a href='" + CommonSysConst.getSysConfig().getHsgDomainName() + "/hsgH5'>我的优惠券</a>"+ |
|
|
|
"<a href='" + CommonSysConst.getSysConfig().getHsgDomainName() + "/hsgH5'>优惠券</a>"+ |
|
|
|
"里面,记得及时使用哦[爱心][爱心][爱心]\n\n" + |
|
|
|
"里面,记得及时使用哦[爱心][爱心][爱心]\n\n" + |
|
|
|
"【如遇任何问题请致电客服:400-678-0738】" |
|
|
|
"【如遇任何问题请致电客服:400-678-0738】" |
|
|
|
; |
|
|
|
; |
|
|
@ -217,9 +217,12 @@ public class WxMsgController { |
|
|
|
@RequestMapping(value = "/createQrcode", method = RequestMethod.GET) |
|
|
|
@RequestMapping(value = "/createQrcode", method = RequestMethod.GET) |
|
|
|
@ResponseBody |
|
|
|
@ResponseBody |
|
|
|
@ApiOperation(value = "创建生成二维码") |
|
|
|
@ApiOperation(value = "创建生成二维码") |
|
|
|
public ResponseData createQrcode(@RequestParam(name = "sceneId", required = false) String sceneId) { |
|
|
|
public ResponseData createQrcode(@RequestParam(name = "type", required = false) String type, |
|
|
|
|
|
|
|
@RequestParam(name = "code", required = false) String code) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String sceneId = "type=" + type + "&code=" + code; |
|
|
|
|
|
|
|
|
|
|
|
String ticket = weChatQrcodeUtils.qrCodeCreateLastTicket(sceneId).getTicket(); |
|
|
|
String ticket = weChatQrcodeUtils.qrCodeCreateLastTicket(sceneId).getTicket(); |
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success(weChatQrcodeUtils.qrCodePictureUrl(ticket)); |
|
|
|
return ResponseMsgUtil.success(weChatQrcodeUtils.qrCodePictureUrl(ticket)); |
|
|
|