fix(2227-syncResource): http method调整

This commit is contained in:
zhansihu 2024-04-12 10:51:01 +08:00
parent 91368d1ffe
commit 5109552188

View File

@ -27,12 +27,12 @@ public interface FeatureResourceApi {
/** 根据ID获取要同步的功能资源树详情 **/
@PostMapping("/api/featureResource/sync/getTreeById")
@GetMapping("/api/featureResource/sync/getTreeById")
ApiResult<List<FeatureResourceTreeNode>> getSyncTreeById(@RequestParam Long id);
/** 从基准环境同步接口功能资源 **/
@GetMapping("/api/featureResource/sync/fromBase")
@PostMapping("/api/featureResource/sync/fromBase")
ApiResult<Void> syncFromBase(@RequestBody @Valid ResourceSyncReq req);
@PostMapping("/api/featureResource/saveOrUpdate")