1.0.5 • Published 3 years ago

j-spring-mvc-session-sqlite3 v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

j-spring-mvc-session-sqlite3

intruoduce

  1. zhice teamson company development this module and all right reserved!
  2. 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();

	}

}