Commit b04e2710 authored by liqin's avatar liqin 💬

bug fixed

parent 85a44ed0
......@@ -22,6 +22,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.springframework.context.annotation.Scope;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
......@@ -43,6 +44,7 @@ import java.util.*;
@RestController
@RequestMapping("/file")
@Api(tags = {"文件上传接口"})
@Scope("prototype")
public class FileUploadController extends BaseController {
private static final String[] IMAGE_TYPE = new String[]{"JPG", "JPEG", "PNG", "BMP", "WBMP"};
......
......@@ -27,8 +27,8 @@ mybatis-plus.configuration.log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
########################################################
###FastDFS
########################################################
fdfs.so-timeout=1501
fdfs.connect-timeout=601
fdfs.so-timeout=3000
fdfs.connect-timeout=1000
fdfs.thumb-image.width=150
fdfs.thumb-image.height=150
fdfs.tracker-list[0]=192.168.110.85:22122
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment