diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/apply/TestController.java b/hyp-admin/src/main/java/com/hyp/web/controller/apply/TestController.java deleted file mode 100644 index a45f409..0000000 --- a/hyp-admin/src/main/java/com/hyp/web/controller/apply/TestController.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.hyp.web.controller.apply; - -/** - * packageName com.hyp.web.controller.apply - * - * @author wangxy - * @version JDK 8 - * @className TestController - * @date 2024/4/10 - * @description TODO - */ -public class TestController { -} diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java b/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java new file mode 100644 index 0000000..e672ec0 --- /dev/null +++ b/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java @@ -0,0 +1,38 @@ +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 io.swagger.annotations.Api; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.List; + +/** + * packageName com.hyp.web.controller.apply + * + * @author wangxy + * @version JDK 8 + * @className TestController + * @date 2024/4/10 + * @description 优秀学校奖申请 + */ +@Api("优秀学校奖申请") +@RestController +@RequestMapping("/reward/apply") +public class ApplyController extends BaseController { + + + @PreAuthorize("@ss.hasPermi('reward:apply:list')") + @GetMapping("/list") + public TableDataInfo list(SysUser user) + { + startPage(); + List list = null; + return getDataTable(list); + } + +} diff --git a/hyp-admin/src/main/resources/application.yml b/hyp-admin/src/main/resources/application.yml index 1d6d33b..e15430b 100644 --- a/hyp-admin/src/main/resources/application.yml +++ b/hyp-admin/src/main/resources/application.yml @@ -131,4 +131,4 @@ xss: # 排除链接(多个用逗号分隔) excludes: /system/notice # 匹配链接 - urlPatterns: /system/*,/monitor/*,/tool/*,/apply/* + urlPatterns: /system/*,/monitor/*,/tool/*,/reward/*