|
@@ -15,6 +15,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Api interface implementations for managing user space.
|
|
* Api interface implementations for managing user space.
|
|
|
*
|
|
*
|
|
@@ -100,4 +102,13 @@ public class UserSpaceManageController {
|
|
|
|
|
|
|
|
return new ResultBean<>(spaceService.showUserSpaceByPagination(page, userUU));
|
|
return new ResultBean<>(spaceService.showUserSpaceByPagination(page, userUU));
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @RequestMapping(method = RequestMethod.GET, path = "//searchUserFromOthers",
|
|
|
|
|
+ produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
|
|
|
|
|
+ public ResultBean<List<Userspace>> searchUserFromOthers(@RequestParam("userUU") Long userUU,
|
|
|
|
|
+ String key, String keyword) {
|
|
|
|
|
+
|
|
|
|
|
+ return new ResultBean<>(spaceService.searchSpaceFromOthers(userUU, key, keyword));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|