Introduction
business logic layer
example
const Service = require('ee-core').Service;
/**
* example
* @class
*/
class ExampleService extends Service {
constructor(ctx) {
super(ctx);
}
/**
* test
*/
async test (args) {
let obj = {
status:'ok',
params: args
}
return obj;
}
}
module.exports = ExampleService;