1.0.5 • Published 2 years ago

zc-platform-api-service v1.0.5

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

zc-platform-api-service

intruoduce

  1. zhice teamson company development this module and all right reserved!
  2. attention ! just suport the spring-ioc framework.

install

npm instlal zc-platform-api-service

usage

1.set the configuration file
file path: ${Project}/resource/ZcPlatformApiService.json
basic config:
{
	"msg":"hello world"
}

2. load email module at launch.

const {SpringBoot} = require("spring-ioc")
const {ZcPlatformApiServiceScaner} = require("zc-platform-api-service")

new SpringBoot({
	srcList:["./app"],
	moduleList:[ZcPlatformApiServiceScaner]
}).run();

3. call in the spring container!

//@SpringBoot
class Application {

	//just copy the code of next line is done!
	//@Autowired
	ZcPlatformApiService;

	async main(){

		this.ZcPlatformApiService.say();

	}

}
1.0.5

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago