|
@@ -18,10 +18,7 @@ import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@RequestMapping("replacementInstrumentActivity")
|
|
|
@Api(tags = "乐器置换调查问卷")
|
|
@@ -43,7 +40,7 @@ public class ReplacementInstrumentActivityController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "新版新增调查问卷")
|
|
|
@PostMapping("/apply")
|
|
|
- public Object apply(ReplacementInstrumentActivityDto replacementInstrumentActivityDto) {
|
|
|
+ public Object apply(@RequestBody ReplacementInstrumentActivityDto replacementInstrumentActivityDto) {
|
|
|
return succeed(replacementInstrumentActivityService.apply(replacementInstrumentActivityDto));
|
|
|
}
|
|
|
|