Skip to content

Commit 7c30a52

Browse files
committed
chore: 升级核心库版本到 0.2.0-RC2
1 parent 5048bd8 commit 7c30a52

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<dependency>
4848
<groupId>io.github.talelin</groupId>
4949
<artifactId>lin-cms-spring-boot-starter</artifactId>
50-
<version>0.2.0-RC1</version>
50+
<version>0.2.0-RC2</version>
5151
</dependency>
5252

5353
<dependency>

src/main/java/io/github/talelin/latticy/module/file/AbstractUploader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
* @author pedro@TaleLin
1616
* @author Juzi@TaleLin
17+
* @author colorful@TaleLin
1718
*/
1819
public abstract class AbstractUploader implements Uploader {
1920

@@ -124,7 +125,7 @@ protected void checkFileMap(MultiValueMap<String, MultipartFile> fileMap) {
124125
}
125126
int nums = getFileProperties().getNums();
126127
if (fileMap.size() > nums) {
127-
throw new FileTooManyException(10180, "too many files, amount of files must less than" + nums);
128+
throw new FileTooManyException(10121);
128129
}
129130
}
130131

0 commit comments

Comments
 (0)