模版响应参数说明

This commit is contained in:
2026-01-15 15:09:56 +08:00
parent 34c9c9766d
commit 9ae7b537cc

View File

@@ -59,7 +59,7 @@ public class TemplateController {
return templateService.delete(id);
}
@Operation(summary = "模板类型列表", description = "模板类型列表")
@Operation(summary = "模板类型列表", description = "data响应为: [{\"0\": \"controller\"}]")
@GetMapping("/templateType")
public XResult<List<Map<Integer, String>>> getTemplateTypeList() {
return templateService.getTemplateTypeList();