- zhice teamson company development this module and all right reserved!
- attention ! just suport the spring-ioc framework.
npm instlal zc-platform-api-service
{
"msg":"hello world"
}
const {SpringBoot} = require("spring-ioc")
const {ZcPlatformApiServiceScaner} = require("zc-platform-api-service")
new SpringBoot({
srcList:["./app"],
moduleList:[ZcPlatformApiServiceScaner]
}).run();
//@SpringBoot
class Application {
//just copy the code of next line is done!
//@Autowired
ZcPlatformApiService;
async main(){
this.ZcPlatformApiService.say();
}
}