diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/TemplateController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/TemplateController.java new file mode 100644 index 0000000..cdda0c9 --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/TemplateController.java @@ -0,0 +1,50 @@ +package com.hxhq.business.controller; + +import java.util.Arrays; +import java.util.List; + +import com.hxhq.common.security.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import com.hxhq.business.domain.Template; +import com.hxhq.business.service.ITemplateService; +import com.hxhq.common.core.web.controller.BaseController; +import com.hxhq.common.core.web.domain.AjaxResult; +import com.hxhq.common.core.web.page.TableDataInfo; + + +/** + * 模板Controller + * + * @author hxhq + * @date 2025-12-23 + */ +@RestController +@RequestMapping("/business/template") +public class TemplateController extends BaseController +{ + @Autowired + private ITemplateService templateService; + + /** + * 查询模板列表 + */ + @RequiresPermissions("business:template:list") + @GetMapping("/list") + public TableDataInfo list(Template template) + { + startPage(); + List