|
|
@@ -27,7 +27,7 @@ public class ItItsmController {
|
|
|
this.itItsmService = itItsmService;
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/admin/template/get")
|
|
|
+ @PostMapping("/template/get")
|
|
|
public Result<List<TemplateVo>> getItsmTemplate() {
|
|
|
return new Result<>(ResultCode.SUCCESS, itItsmService.getItsmTemplate());
|
|
|
}
|
|
|
@@ -66,7 +66,7 @@ public class ItItsmController {
|
|
|
return new Result<>(ResultCode.SUCCESS, itItsmService.getAllOptUser());
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/admin/template/field/get/{i}")
|
|
|
+ @PostMapping("/template/field/get/{i}")
|
|
|
public Result<List<ItItsmTemplateField>> getItsmTemplateField(@PathVariable String i) {
|
|
|
Long templateId = Long.parseLong(i);
|
|
|
return new Result<>(ResultCode.SUCCESS, itItsmService.getItsmTemplateFieldByTemplateId(templateId));
|