头像加上时间戳
This commit is contained in:
parent
819c09d5f0
commit
babd3f858a
@ -96,7 +96,7 @@ public class UserProfileController {
|
|||||||
}
|
}
|
||||||
String name = getLoginUserId() + "_avatar.jpg";
|
String name = getLoginUserId() + "_avatar.jpg";
|
||||||
String avatar = userService.updateUserAvatar(getLoginUserId(), name, file.getInputStream());
|
String avatar = userService.updateUserAvatar(getLoginUserId(), name, file.getInputStream());
|
||||||
return success(avatar);
|
return success(avatar + "?timestamp=" + System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/getSignImgPath",
|
@RequestMapping(value = "/getSignImgPath",
|
||||||
|
Loading…
Reference in New Issue
Block a user