Skip to content

Commit

Permalink
⬆️ upgrade blade
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Apr 4, 2018
1 parent 8032700 commit 050291d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sqlite.version>3.21.0.1</sqlite.version>
<blade-mvc.version>2.0.7-R2</blade-mvc.version>
<blade-mvc.version>2.0.7-R3</blade-mvc.version>
<anima.version>0.0.7</anima.version>
<blade-tpl.verion>0.1.2</blade-tpl.verion>
<blade-validator>0.0.2</blade-validator>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tale/controller/IndexController.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class IndexController extends BaseController {
* @return
*/
@GetRoute
public String index(Request request, @Param(defaultValue = "12") Integer limit) {
public String index(Request request, @Param(defaultValue = "12") int limit) {
return this.index(request, 1, limit);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tale/init/TaleConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class TaleConst {
public static Boolean INSTALLED = false;
public static Boolean ENABLED_CDN = true;
public static Environment BCONF = null;

/**
* 最大页码
*/
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/tale/service/SiteService.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.tale.utils.MapCache;
import com.tale.utils.TaleUtils;
import com.tale.utils.ZipUtils;

import io.github.biezhi.anima.enums.OrderBy;
import io.github.biezhi.anima.page.Page;

Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/app.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app.name=Tale (\u584c\u4e86)
app.name=Tale
#app.max-file-size=20480
app.devMode=true
mvc.view.404=/comm/error_404.html
Expand All @@ -8,4 +8,5 @@ app.support_163_music=true
app.support_gist=true

com.blade.logger.org.sql2o=debug
com.blade.logger.com.blade.server.netty.StaticFileHandler=warn
com.blade.logger.dir=./logs

0 comments on commit 050291d

Please sign in to comment.