fix(2227-syncResource): http method调整
This commit is contained in:
parent
91368d1ffe
commit
5109552188
@ -27,12 +27,12 @@ public interface FeatureResourceApi {
|
|||||||
|
|
||||||
|
|
||||||
/** 根据ID获取要同步的功能资源树详情 **/
|
/** 根据ID获取要同步的功能资源树详情 **/
|
||||||
@PostMapping("/api/featureResource/sync/getTreeById")
|
@GetMapping("/api/featureResource/sync/getTreeById")
|
||||||
ApiResult<List<FeatureResourceTreeNode>> getSyncTreeById(@RequestParam Long id);
|
ApiResult<List<FeatureResourceTreeNode>> getSyncTreeById(@RequestParam Long id);
|
||||||
|
|
||||||
|
|
||||||
/** 从基准环境同步接口功能资源 **/
|
/** 从基准环境同步接口功能资源 **/
|
||||||
@GetMapping("/api/featureResource/sync/fromBase")
|
@PostMapping("/api/featureResource/sync/fromBase")
|
||||||
ApiResult<Void> syncFromBase(@RequestBody @Valid ResourceSyncReq req);
|
ApiResult<Void> syncFromBase(@RequestBody @Valid ResourceSyncReq req);
|
||||||
|
|
||||||
@PostMapping("/api/featureResource/saveOrUpdate")
|
@PostMapping("/api/featureResource/saveOrUpdate")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user