mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
restful http请求方法错误修正
This commit is contained in:
+2
-2
@@ -37,7 +37,7 @@ public class ReportDatasetController {
|
||||
@Resource
|
||||
private ReportDatasetService datasetService;
|
||||
|
||||
@PutMapping("/dataset")
|
||||
@PostMapping("/dataset")
|
||||
@Operation(summary = "创建报表数据集")
|
||||
@OperateLog(type = CREATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:datasource-connect','base:report:datasource-connect')")
|
||||
@@ -45,7 +45,7 @@ public class ReportDatasetController {
|
||||
return success(datasetService.createDataset(createReqVO));
|
||||
}
|
||||
|
||||
@PostMapping("/dataset")
|
||||
@PutMapping("/dataset")
|
||||
@Operation(summary = "更新报表数据集")
|
||||
@OperateLog(type = UPDATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:datasource-connect','base:report:datasource-connect')")
|
||||
|
||||
+2
-2
@@ -52,7 +52,7 @@ public class ReportDatasourceController {
|
||||
@Resource
|
||||
private TenantParamsUtils tenantParamsUtils;
|
||||
|
||||
@PutMapping("/datasource")
|
||||
@PostMapping("/datasource")
|
||||
@Operation(summary = "创建报表数据源")
|
||||
@OperateLog(type = CREATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:datasource-connect','base:report:datasource-connect')")
|
||||
@@ -60,7 +60,7 @@ public class ReportDatasourceController {
|
||||
return success(datasourceService.createDatasource(createReqVO));
|
||||
}
|
||||
|
||||
@PostMapping("/datasource")
|
||||
@PutMapping("/datasource")
|
||||
@Operation(summary = "更新报表数据源")
|
||||
@OperateLog(type = UPDATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:datasource-connect','base:report:datasource-connect')")
|
||||
|
||||
+2
-2
@@ -57,7 +57,7 @@ public class ReportTemplateController {
|
||||
@Resource
|
||||
private ReportTemplateService templateService;
|
||||
|
||||
@PutMapping("/template")
|
||||
@PostMapping("/template")
|
||||
@Operation(summary = "创建报表模板")
|
||||
@OperateLog(type = CREATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:insert','base:report:insert')")
|
||||
@@ -72,7 +72,7 @@ public class ReportTemplateController {
|
||||
return success(templateService.copyReportTemplate(createReqVO));
|
||||
}
|
||||
|
||||
@PostMapping("/template")
|
||||
@PutMapping("/template")
|
||||
@Operation(summary = "更新报表模板")
|
||||
@OperateLog(type = UPDATE)
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:report:update','base:report:update','system:report:save','base:report:save')")
|
||||
|
||||
Reference in New Issue
Block a user