diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/PublicController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/PublicController.java new file mode 100644 index 0000000..563ece6 --- /dev/null +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/PublicController.java @@ -0,0 +1,39 @@ +package com.hxhq.business.controller; + +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; +import com.hxhq.common.security.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + + +/** + * 公共Controller + * + * @author hxhq + * @date 2025-12-23 + */ +@RestController +@RequestMapping("/business/public") +public class PublicController extends BaseController +{ + @Autowired + private ITemplateService templateService; + + /** + * 查询模板列表 + */ + @GetMapping("/templateList") + public TableDataInfo list(Template template) + { + startPage(); + List