feat:测试

dev
wangxy 12 months ago
parent ef89c82b91
commit 2846bcdbb1

@ -3,7 +3,10 @@ package com.hyp.web.controller.reward;
import com.hyp.common.core.controller.BaseController;
import com.hyp.common.core.domain.entity.SysUser;
import com.hyp.common.core.page.TableDataInfo;
import com.hyp.system.domain.SysNotice;
import com.hyp.web.controller.manager.SysNoticeManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@ -26,12 +29,15 @@ import java.util.List;
public class ApplyController extends BaseController {
@Autowired
private SysNoticeManager sysNoticeManager;
@PreAuthorize("@ss.hasPermi('reward:apply:list')")
@GetMapping("/list")
public TableDataInfo list(SysUser user)
{
public TableDataInfo list(SysNotice notice) {
startPage();
List<SysUser> list = null;
List<SysNotice> list = sysNoticeManager.selectNoticeList(notice);
return getDataTable(list);
}

Loading…
Cancel
Save