Files

23 lines
430 B
TypeScript
Raw Permalink Normal View History

2025-10-16 20:01:57 +08:00
import { logger } from 'ee-core/log';
// effect service
class EffectService {
// hello
async hello(args: any): Promise<{ status: string; params: any }> {
let obj = {
status:'ok',
params: args
}
logger.info('EffectService obj:', obj);
return obj;
}
}
EffectService.toString = () => '[class EffectService]';
const effectService = new EffectService();
export {
EffectService,
effectService
}