mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
代码优化
This commit is contained in:
parent
20f46289da
commit
3b02362e22
@ -27,7 +27,7 @@ export const environment = {
|
|||||||
production: false,
|
production: false,
|
||||||
useHash: true,
|
useHash: true,
|
||||||
api: {
|
api: {
|
||||||
baseUrl: '/sign/',
|
baseUrl: 'http://localhost:9527/sign/',
|
||||||
refreshTokenEnabled: true,
|
refreshTokenEnabled: true,
|
||||||
refreshTokenType: 're-request'
|
refreshTokenType: 're-request'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -17,11 +17,9 @@
|
|||||||
|
|
||||||
package org.dromara.maxkey;
|
package org.dromara.maxkey;
|
||||||
|
|
||||||
import org.apache.ibatis.io.VFS;
|
|
||||||
import org.dromara.maxkey.web.InitializeContext;
|
import org.dromara.maxkey.web.InitializeContext;
|
||||||
import org.dromara.maxkey.web.ProductEnvironment;
|
import org.dromara.maxkey.web.ProductEnvironment;
|
||||||
import org.dromara.maxkey.web.WebContext;
|
import org.dromara.maxkey.web.WebContext;
|
||||||
import org.dromara.mybatis.jpa.starter.SpringBootVFS;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.mybatis.spring.annotation.MapperScan;
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@ -46,7 +44,6 @@ public class MaxKeyApplication extends SpringBootServletInitializer {
|
|||||||
_logger.info("Start MaxKey Application ...");
|
_logger.info("Start MaxKey Application ...");
|
||||||
ProductEnvironment.listEnvVars();
|
ProductEnvironment.listEnvVars();
|
||||||
|
|
||||||
VFS.addImplClass(SpringBootVFS.class);
|
|
||||||
ConfigurableApplicationContext applicationContext = SpringApplication.run(MaxKeyApplication.class, args);
|
ConfigurableApplicationContext applicationContext = SpringApplication.run(MaxKeyApplication.class, args);
|
||||||
new InitializeContext(applicationContext).init();
|
new InitializeContext(applicationContext).init();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user