Pārlūkot izejas kodu

add:系统操作日志

yonge 4 gadi atpakaļ
vecāks
revīzija
eb4a0b050f

+ 27 - 0
mec-web/src/main/java/com/ym/mec/web/controller/AuditLogController.java

@@ -0,0 +1,27 @@
+package com.ym.mec.web.controller;
+
+import io.swagger.annotations.Api;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.ym.mec.common.controller.BaseController;
+import com.yonge.log.service.AuditLogService;
+import com.yonge.mongodb.QueryInfo;
+
+@RequestMapping("auditLog")
+@Api(tags = "系统操作日志")
+@RestController
+public class AuditLogController extends BaseController {
+
+	@Autowired
+	private AuditLogService auditLogService;
+
+	@GetMapping("/queryPage")
+	public Object queryPage(QueryInfo queryInfo) {
+		return succeed(auditLogService.queryPage(queryInfo));
+	}
+
+}