头像加上时间戳

This commit is contained in:
aikai 2024-04-19 17:47:29 +08:00
parent 819c09d5f0
commit babd3f858a

View File

@ -96,7 +96,7 @@ public class UserProfileController {
}
String name = getLoginUserId() + "_avatar.jpg";
String avatar = userService.updateUserAvatar(getLoginUserId(), name, file.getInputStream());
return success(avatar);
return success(avatar + "?timestamp=" + System.currentTimeMillis());
}
@RequestMapping(value = "/getSignImgPath",