Pu Zhibing
2025-03-26 7f26677ab7f9b83697370fa142dd1686cdf4082a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.ruoyi.account.controller;
 
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.account.api.model.UserCancellationLog;
import com.ruoyi.account.dto.AgentQuery;
import com.ruoyi.account.dto.UserCancelQuery;
import com.ruoyi.account.service.UserCancellationLogService;
import com.ruoyi.common.core.domain.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author luodangjia
 * @since 2024-11-21
 */
@RestController
@RequestMapping("/user-cancellation-log")
public class UserCancellationLogController {
    @Resource
    private UserCancellationLogService cancellationLogService;
 
 
 
 
    @PostMapping("/page")
    @ApiOperation(value = "注销记录列表", tags = {"后台"})
    public R<IPage<UserCancellationLog>> page(@RequestBody UserCancelQuery agentQuery) {
        return R.ok(cancellationLogService.pageList(agentQuery));
    }
 
}