Commit a6d66f1b by 墨竹

feat:二维码时间延长

parent d73a9950
...@@ -539,8 +539,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -539,8 +539,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
if (friendSettingType.equals(FriendSettingTypeEnum.TEXT_AND_QRCODE.getCode())) { if (friendSettingType.equals(FriendSettingTypeEnum.TEXT_AND_QRCODE.getCode())) {
//带参数的公众号二维码 //带参数的公众号二维码
String sceneStr = "QWHY_" + relationKey + "_" + clerkId; String sceneStr = "QWHY_" + relationKey + "_" + clerkId;
//7天失效 //30天失效
QRcodeDTO qRcodePic = imageService.getQRcodePic(enterpriseId, sceneStr, 604800); QRcodeDTO qRcodePic = imageService.getQRcodePic(enterpriseId, sceneStr, 2592000);
log.info("参数的公众号二维码返回:{}",JSON.toJSONString(qRcodePic)); log.info("参数的公众号二维码返回:{}",JSON.toJSONString(qRcodePic));
if (qRcodePic != null) { if (qRcodePic != null) {
String downloadUrl = qRcodePic.getPicUploadResDTO().downloadUrl; String downloadUrl = qRcodePic.getPicUploadResDTO().downloadUrl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment