修正注释

master
RuoYi 4 years ago
parent 192f58e690
commit 4dc51fae53

@ -8,7 +8,7 @@ import io.minio.MinioClient;
/** /**
* Minio * Minio
* *
* @author ruoiy * @author ruoyi
*/ */
@Configuration @Configuration
@ConfigurationProperties(prefix = "minio") @ConfigurationProperties(prefix = "minio")

@ -40,6 +40,7 @@ public class LocalSysFileServiceImpl implements ISysFileService
* @return 访 * @return 访
* @throws Exception * @throws Exception
*/ */
@Override
public String uploadFile(MultipartFile file) throws Exception public String uploadFile(MultipartFile file) throws Exception
{ {
String name = FileUploadUtils.upload(localFilePath, file); String name = FileUploadUtils.upload(localFilePath, file);

@ -29,6 +29,7 @@ public class MinioSysFileServiceImpl implements ISysFileService
* @return 访 * @return 访
* @throws Exception * @throws Exception
*/ */
@Override
public String uploadFile(MultipartFile file) throws Exception public String uploadFile(MultipartFile file) throws Exception
{ {
String fileName = FileUploadUtils.extractFilename(file); String fileName = FileUploadUtils.extractFilename(file);

@ -54,7 +54,7 @@ public class FileUploadUtils
* *
* @param baseDir * @param baseDir
* @param file * @param file
* @param extension * @param allowedExtension
* @return * @return
* @throws FileSizeLimitExceededException * @throws FileSizeLimitExceededException
* @throws FileNameLengthLimitExceededException * @throws FileNameLengthLimitExceededException
@ -116,9 +116,8 @@ public class FileUploadUtils
* *
* *
* @param file * @param file
* @return
* @throws FileSizeLimitExceededException * @throws FileSizeLimitExceededException
* @throws InvalidExtensionException * @throws InvalidExtensionException
*/ */
public static final void assertAllowed(MultipartFile file, String[] allowedExtension) public static final void assertAllowed(MultipartFile file, String[] allowedExtension)
throws FileSizeLimitExceededException, InvalidExtensionException throws FileSizeLimitExceededException, InvalidExtensionException
@ -163,9 +162,9 @@ public class FileUploadUtils
/** /**
* MIMEMIME * MIMEMIME
* *
* @param extension * @param extension
* @param allowedExtension * @param allowedExtension
* @return * @return true/false
*/ */
public static final boolean isAllowedExtension(String extension, String[] allowedExtension) public static final boolean isAllowedExtension(String extension, String[] allowedExtension)
{ {

@ -1,9 +1,5 @@
import request from '@/utils/request' import request from '@/utils/request'
const client_id = 'web'
const client_secret = '123456'
const scope = 'server'
// 登录方法 // 登录方法
export function login(username, password, code, uuid) { export function login(username, password, code, uuid) {
return request({ return request({

@ -154,7 +154,6 @@
<li>增加分布式事务seata支持</li> <li>增加分布式事务seata支持</li>
<li>代码生成模板支持主子表</li> <li>代码生成模板支持主子表</li>
<li>表格右侧工具栏组件支持显隐列</li> <li>表格右侧工具栏组件支持显隐列</li>
<li>代码生成支持文件上传组件</li>
<li>图片组件添加预览&移除功能</li> <li>图片组件添加预览&移除功能</li>
<li>Excel注解支持Image图片导出</li> <li>Excel注解支持Image图片导出</li>
<li>操作按钮组调整为朴素按钮样式</li> <li>操作按钮组调整为朴素按钮样式</li>

Loading…
Cancel
Save