cms.perview.service.xml 934 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <services>
  3. <service name="cmsFilePreview" desc="CMS 文件预览" title="CMS 文件预览" authorization="false" >
  4. <service name="preview" desc="预览 CMS 文件" title="预览 CMS 文件" class="space.core.apps.sys.service.CMSContentFilePreviewService" method="preview" public="true" >
  5. <verify required="cmsId, fileId" />
  6. </service>
  7. <service name="cannot_preview" desc="不能预览 CMS 文件" title="不能预览 CMS 文件" class="space.core.apps.sys.service.CMSContentFilePreviewService" method="cannotPreview" public="true" >
  8. <verify required="cmsid, cmsfileid" />
  9. </service>
  10. <service name="cannot_fileIsExist" desc="不能预览 CMS 文件" title="不能预览 CMS 文件" class="space.core.apps.sys.service.CMSContentFilePreviewService" method="fileIsExist" public="true" >
  11. <verify required="cmsid, cmsfileid" />
  12. </service>
  13. </service>
  14. </services>