zc-platform-api-service

1.0.5 • Public • Published

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();

	}

}

Readme

Keywords

none

Package Sidebar

Install

npm i zc-platform-api-service

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

9.01 kB

Total Files

13

Last publish

Collaborators

  • 892280082