zc-platform-api-service
intruoduce
- zhice teamson company development this module and all right reserved!
- 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!
class Application {
ZcPlatformApiService;
async main(){
this.ZcPlatformApiService.say();
}
}