课程、文章审核
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package org.xyzh.api.news.resource;
|
||||
|
||||
import org.xyzh.common.core.domain.ResultDomain;
|
||||
|
||||
/**
|
||||
* @description 资源审核服务接口
|
||||
* @filename ResourceAuditService.java
|
||||
* @author yslg
|
||||
*/
|
||||
public interface ResourceAuditService {
|
||||
|
||||
/**
|
||||
* 文本内容审核
|
||||
* @param text 待审核文本
|
||||
* @return ResultDomain<Boolean> 审核结果(true 表示通过)
|
||||
*/
|
||||
ResultDomain<Boolean> auditText(String text);
|
||||
|
||||
/**
|
||||
* 根据文件ID进行审核(fileId 对应 tb_sys_file.id)
|
||||
* @param fileId 文件ID
|
||||
* @return ResultDomain<Boolean> 审核结果(true 表示通过)
|
||||
*/
|
||||
ResultDomain<Boolean> auditByFileId(String fileId);
|
||||
}
|
||||
Reference in New Issue
Block a user