|
@@ -1,6 +1,7 @@
|
|
|
package cn.rankin.userservice.controller;
|
|
|
|
|
|
import cn.rankin.common.utils.api.model.APIResult;
|
|
|
+import cn.rankin.data.api.user.dto.CollectionDTO;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
@@ -10,8 +11,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RequestMapping(value = "/user/collection")
|
|
|
public class CollectionController {
|
|
|
|
|
|
-// @RequestMapping(method = RequestMethod.PUT)
|
|
|
-// public APIResult<Boolean> add(@RequestBody) {
|
|
|
-//
|
|
|
-// }
|
|
|
+ @RequestMapping(method = RequestMethod.PUT)
|
|
|
+ public APIResult<Boolean> add(@RequestBody CollectionDTO collectionDTO) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|