模版响应参数说明
This commit is contained in:
@@ -59,7 +59,7 @@ public class TemplateController {
|
|||||||
return templateService.delete(id);
|
return templateService.delete(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "模板类型列表", description = "模板类型列表")
|
@Operation(summary = "模板类型列表", description = "data响应为: [{\"0\": \"controller\"}]")
|
||||||
@GetMapping("/templateType")
|
@GetMapping("/templateType")
|
||||||
public XResult<List<Map<Integer, String>>> getTemplateTypeList() {
|
public XResult<List<Map<Integer, String>>> getTemplateTypeList() {
|
||||||
return templateService.getTemplateTypeList();
|
return templateService.getTemplateTypeList();
|
||||||
|
|||||||
Reference in New Issue
Block a user