|
@@ -69,8 +69,8 @@ public class UserController extends BaseController{
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/user/image/{userId}", method = RequestMethod.GET)
|
|
|
- public String getUserImage(@PathVariable Long userId) {
|
|
|
- return userService.getUserImage(userId);
|
|
|
+ public ResponseVO<String> getUserImage(@PathVariable Long userId) {
|
|
|
+ return new ResponseVO<>(ServerCode.SUCCESS, userService.getUserImage(userId));
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/user", method = RequestMethod.GET)
|