Merge branch 'master' into docker_package
This commit is contained in:
commit
45718e5a35
|
@ -39,9 +39,9 @@ public class FileUploadController {
|
|||
@ApiOperation("文件上传")
|
||||
@LogOperation("文件上传")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "config", value = "文件", paramType = "config", dataType = "config", required = true)
|
||||
@ApiImplicitParam(name = "file", value = "文件", paramType = "config", dataType = "config", required = true)
|
||||
})
|
||||
public Result<String> upload(@RequestParam("config") MultipartFile uploadFile,
|
||||
public Result<String> upload(@RequestParam("file") MultipartFile uploadFile,
|
||||
HttpServletRequest request) {
|
||||
logger.info("上传文件:{}", uploadFile.getOriginalFilename());
|
||||
String format = SIMPLE_DATE_FORMAT.format(new Date());
|
||||
|
|
|
@ -78,8 +78,7 @@ public class TsingtaoDataResourceService extends AbstractDataResourceService {
|
|||
|
||||
return result;
|
||||
} catch (Exception e) {
|
||||
logger.error("资源数据调用失败", e);
|
||||
e.printStackTrace();
|
||||
logger.error("青岛市资源数据调用失败!!!");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue