1
This commit is contained in:
@@ -790,6 +790,35 @@ public class TencentDocController extends BaseController {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询操作日志列表
|
||||
*/
|
||||
@GetMapping("/operationLogs")
|
||||
public AjaxResult getOperationLogs(com.ruoyi.jarvis.domain.TencentDocOperationLog log) {
|
||||
try {
|
||||
List<com.ruoyi.jarvis.domain.TencentDocOperationLog> list = operationLogMapper.selectLogList(log);
|
||||
return AjaxResult.success(list);
|
||||
} catch (Exception e) {
|
||||
log.error("查询操作日志失败", e);
|
||||
return AjaxResult.error("查询操作日志失败: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询最近的操作日志
|
||||
*/
|
||||
@GetMapping("/recentLogs")
|
||||
public AjaxResult getRecentLogs(@RequestParam(required = false) String fileId,
|
||||
@RequestParam(defaultValue = "50") int limit) {
|
||||
try {
|
||||
List<com.ruoyi.jarvis.domain.TencentDocOperationLog> list = operationLogMapper.selectRecentLogs(fileId, limit);
|
||||
return AjaxResult.success(list);
|
||||
} catch (Exception e) {
|
||||
log.error("查询最近操作日志失败", e);
|
||||
return AjaxResult.error("查询最近操作日志失败: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 从文本中提取手机号码
|
||||
* 支持11位手机号码,可能包含空格、横线等分隔符
|
||||
|
||||
Reference in New Issue
Block a user