package com.ruoyi.web.controller.system;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.ruoyi.common.core.domain.R;
|
import com.ruoyi.system.pojo.dto.AppUserPageDTO;
|
import com.ruoyi.system.pojo.vo.AppUserPageVO;
|
import com.ruoyi.system.pojo.vo.BannerPageVO;
|
import com.ruoyi.system.service.AppUserService;
|
import com.ruoyi.system.service.BannerService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.web.bind.annotation.*;
|
|
import javax.annotation.Resource;
|
|
@Slf4j
|
@RestController
|
@RequestMapping("/system/appUser")
|
@Api( tags = "后台-系统设置-用户管理")
|
public class AppUserController {
|
|
@Resource
|
private AppUserService appUserService;
|
|
/**
|
* 分页查询
|
*/
|
@PostMapping("/getAppUserPage")
|
@ApiOperation(value = "appUser分页")
|
@PreAuthorize("@ss.hasPermi('appuser:manage')")
|
public R<IPage<AppUserPageVO>> getAppUserPage(@RequestBody AppUserPageDTO getAppUserPage) {
|
return R.ok(appUserService.getAppUserPage(getAppUserPage));
|
}
|
|
/**
|
* 查看详情
|
*/
|
|
/**
|
* 冻结/解冻
|
*/
|
|
}
|