|
|
@@ -6,10 +6,7 @@ import org.springblade.core.tool.api.R;
|
|
|
import org.springblade.los.ftp.dto.ApiRequest;
|
|
|
import org.springblade.los.ftp.service.CyFtpService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
/**
|
|
|
@@ -29,7 +26,7 @@ public class ApiCyCtnrController {
|
|
|
*/
|
|
|
@SneakyThrows
|
|
|
@ApiIgnore
|
|
|
- @RequestMapping(value = "/cyctnrItem", method = RequestMethod.POST, produces = "application/form-data;charset=UTF-8")
|
|
|
+ @PostMapping("/cyctnrItem")
|
|
|
public R cyctnrItem(@RequestBody ApiRequest apiRequest) {
|
|
|
return cyFtpService.cyctnrItem(apiRequest);
|
|
|
}
|