const MainService = require('../../main'); class StationService extends MainService { constructor(ctx) { super(ctx); const _noNeedLogin = ''; const _noNeedRight = 'list'; const _noNeedLog = '*'; const _noNeedAuth = 'list'; this.systemInit(_noNeedLogin, _noNeedRight, _noNeedLog, _noNeedAuth); } async list() { // 返回结构与printTemplateService一致 const result = []; return this.success('ok', { presetTree: result, code: 200 }); } } module.exports = StationService;