forked from kidgrow-microservices-platform

zxh
2020-09-01 afb0fa2343163188cdfc99a9ac90cbabce63ca82
kidgrow-business/kidgrow-filecenter/kidgrow-filecenter-server/src/main/java/com/kidgrow/filecenter/controller/FileController.java
@@ -90,8 +90,8 @@
    /**
     * byte[]上传
     */
    @PostMapping(value="byteUplaod",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE},consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    public FileInfo byteUplaod(@RequestBody String fileName,@RequestBody byte[] bytes){
    @PostMapping(value="byteUplaod")
    public FileInfo byteUplaod(@RequestParam("fileName") String fileName,@RequestBody byte[] bytes){
        if(bytes.length == 0){
            return null;
        }