|
@@ -67,6 +67,12 @@ public class UserController extends BaseController{
|
|
|
return userService.getUser(userId);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @RequestMapping(value = "/user/image/{userId}", method = RequestMethod.GET)
|
|
|
+ public ResponseVO<String> getUserImage(@PathVariable Long userId) {
|
|
|
+ return new ResponseVO<>(ServerCode.SUCCESS, userService.getUserImage(userId));
|
|
|
+ }
|
|
|
+
|
|
|
@RequestMapping(value = "/user", method = RequestMethod.GET)
|
|
|
public List<UserDTO> getUsers() {
|
|
|
return null;
|