mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-19 18:29:42 +08:00
30 lines
397 B
JavaScript
30 lines
397 B
JavaScript
'use strict';
|
|
|
|
const { Service } = require('ee-core');
|
|
|
|
/**
|
|
* framework
|
|
* @class
|
|
*/
|
|
class FrameworkService extends Service {
|
|
|
|
constructor(ctx) {
|
|
super(ctx);
|
|
}
|
|
|
|
/**
|
|
* test
|
|
*/
|
|
async test(args) {
|
|
let obj = {
|
|
status:'ok',
|
|
params: args
|
|
}
|
|
|
|
return obj;
|
|
}
|
|
|
|
}
|
|
|
|
FrameworkService.toString = () => '[class FrameworkService]';
|
|
module.exports = FrameworkService;
|