template.dart 563 B

12345678910111213141516171819202122
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'base.dart';
  3. abstract class ITemplateManager implements IManager {
  4. /// 获取系统模板设置
  5. Future<SyncSettingsDTO?> syncSetting(SyncSettingRequest request);
  6. Future<TemplateDTO?> getTemplateDetail(GetTemplateRequest request);
  7. /// 系统模板写进内存
  8. Future<bool?> saveTemplate();
  9. /// 查询模板
  10. Future<String?> readTemplate(String code);
  11. /// 查询模板
  12. Future<String?> readTemplateRelation(String key);
  13. ///根据Key获取模板
  14. Future<String> getTemplateByKey(String key);
  15. }