|
|
@@ -10,12 +10,8 @@ import com.usoftchina.bi.server.service.common.MessageLogService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestHeader;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @Author chenwei
|
|
|
@@ -32,8 +28,8 @@ public class MessageLogController {
|
|
|
@GetMapping("/list")
|
|
|
@CheckToken
|
|
|
@ApiOperation(value = "操作日志列表", notes = "操作日志列表(分页)", response = RepEntity.class)
|
|
|
- public RepEntity<PageInfo<MessageLog>> list(@RequestHeader String token, TestPage testPage){
|
|
|
- return new RepEntity<>(RepCode.success, messageLogService.list(testPage));
|
|
|
+ public RepEntity<PageInfo<MessageLog>> list(@RequestHeader String token, @RequestParam String condition, TestPage testPage){
|
|
|
+ return new RepEntity<>(RepCode.success, messageLogService.list(condition, testPage));
|
|
|
}
|
|
|
|
|
|
}
|