mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-11-30 02:38:28 +08:00
change: NbApp.setMainPackage应返回自身
This commit is contained in:
parent
1c90315e73
commit
1e0a556b32
13
ChangeLog.md
13
ChangeLog.md
@ -1,5 +1,18 @@
|
||||
# NB进化史
|
||||
|
||||
# 2.2.3 ""
|
||||
|
||||
修复shiro session默认过期时间,增强@PropDoc的可配置性
|
||||
|
||||
* 时间: 2018-07-17
|
||||
* 事件: "世界杯结束啦"
|
||||
* 曲目: [If You](https://www.youtube.com/watch?v=vUIHVpikGpI)
|
||||
* 兼容性: 兼容2.0.x/2.1.x/2.2.x
|
||||
* 变更:
|
||||
* add: 添加配置项nutz.propdoc.packages可自定义扫描@PropDoc的路径
|
||||
* fix: shiro的默认session超时设置错误
|
||||
* update: 更新tio版本号
|
||||
|
||||
# 2.2.2 "If You"
|
||||
|
||||
添加elasticsearch支持
|
||||
|
@ -509,7 +509,8 @@ public class NbApp extends Thread {
|
||||
return started;
|
||||
}
|
||||
|
||||
public void setMainPackage(String mainPackage) {
|
||||
public NbApp setMainPackage(String mainPackage) {
|
||||
getAppContext().setMainPackage(mainPackage);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user