Compare commits

..

No commits in common. "ea382b1aa111714e612843f59b52741773a3610b" and "9dbbcc98dd575a8926c891d79fa5b55989e75337" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ namespace WGShare.API.Controllers.Frontend
var imgStr = Convert.ToBase64String(imageArr); var imgStr = Convert.ToBase64String(imageArr);
imgStr = QrCodeOptimizerHelper.CompressImage(imgStr, 50); imgStr = QrCodeOptimizerHelper.CompressImage(imgStr, 50);
RedisHelper.Instance.Set(RedisKeyConstant.WxMiniProgram.GetRoomQrCode(roomNum, env), imgStr, TimeSpan.FromDays(1)); RedisHelper.Instance.Set(RedisKeyConstant.WxMiniProgram.GetRoomQrCode(roomNum, env), imgStr, TimeSpan.FromMinutes(10));
return imgStr; return imgStr;
} }
else if (contentType != null && contentType.Contains("json")) else if (contentType != null && contentType.Contains("json"))