修改配置数据格式
This commit is contained in:
@@ -338,7 +338,7 @@ public final class MetaKit {
|
||||
.set("pk", _pks.toString())
|
||||
.set("title", comment)
|
||||
.set("items", _items2)
|
||||
.set("shows", _shows)
|
||||
.set("shows", shows)
|
||||
.set("filters", _filters)
|
||||
.set("edits", edits)
|
||||
.set("details", details);
|
||||
|
||||
@@ -6,6 +6,7 @@ import org.redkale.util.ResourceFactory;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.File;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/**
|
||||
* @author: liangxianyou
|
||||
@@ -19,12 +20,14 @@ public class MetaListenter implements ApplicationListener {
|
||||
|
||||
@Override
|
||||
public void preStart(Application application) {
|
||||
ResourceFactory rf = application.getResourceFactory();
|
||||
rf.inject(this);
|
||||
CompletableFuture.runAsync(()-> {
|
||||
ResourceFactory rf = application.getResourceFactory();
|
||||
rf.inject(this);
|
||||
|
||||
MetaKit.dcate = dcate;
|
||||
MetaKit.init();
|
||||
TplKit.use(true).addTpl(new File(FileKit.rootPath(), tplPath));
|
||||
MetaKit.dcate = dcate;
|
||||
MetaKit.init();
|
||||
TplKit.use(true).addTpl(new File(FileKit.rootPath(), tplPath));
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user