j-spring-mvc-session-sqlite3
v1.0.5
Published
1. zhice teamson company development this module and all right reserved! 2. attention ! just suport the j-spring framework.
Downloads
1
Readme
j-spring-mvc-session-sqlite3
intruoduce
- zhice teamson company development this module and all right reserved!
- attention ! just suport the j-spring framework.
install
npm instlal j-spring-mvc-session-sqlite3
usage
1.set the configuration file
file path: ${Project}/resource/app-dev.yaml
basic config:
j-spring:
log:
state: on
level: info
j-spring-mvc-session-sqlite3:
state: on //optional
secret: '234fgsfdg234' //optional
maxAge: 60000 //optional
2. load email module at launch.
const {JSpringMvcSessionSqlite3Scaner} = require("j-spring-mvc-session-sqlite3")
new SpringBoot({
rootPath:__dirname,
srcList:["./demo"],
moduleList:[JSpringMvcSessionSqlite3Scaner]
}).start();
3. call in the spring container!
//@SpringBoot
class Application {
//just copy the code of next line is done!
//@Autowired
jSpringMvcSessionSqlite3;
async main(){
this.jSpringMvcSessionSqlite3.say();
}
}