Authored by 邱骏

替换http图片地址为https

... ... @@ -48,7 +48,8 @@ const redbagPage = async(req, res, next) => {
for (let i = 0; i < result.data.length; i++) {
let imageURL = result.data[i].rewardImageUrl;
result.data[i].rewardImageUrl = imageURL.split('?')[0] + '?imageView2/2/w/186/h/170/q/60';
result.data[i].rewardImageUrl = imageURL.split('?')[0].replace('http:', 'https:') +
'?imageView2/2/w/186/h/170/q/60';
}
return result;
}).catch(() => {
... ...