| 12345678910111213141516171819202122232425262728 |
- 'use strict';
- const Service = require('ee-core').Service;
- /**
- * 示例服务
- * @class
- */
- class ExampleService extends Service {
- constructor(ctx) {
- super(ctx);
- }
- /**
- * test
- */
- async test (args) {
- let obj = {
- status:'ok',
- params: args
- }
- return obj;
- }
- }
- module.exports = ExampleService;
|