fix(2227-baseTree): 接口定义调整
This commit is contained in:
parent
dc235edbff
commit
6d1e238712
@ -7,6 +7,7 @@ import cn.axzo.tyr.client.model.req.FeatureResourceTreeSaveReq;
|
||||
import cn.axzo.tyr.client.model.res.FeatureResourceDetailResp;
|
||||
import cn.axzo.tyr.client.model.res.FeatureResourceTreeNode;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
@ -31,7 +32,7 @@ public interface FeatureResourceApi {
|
||||
|
||||
|
||||
/** 从基准环境同步接口功能资源 **/
|
||||
@PostMapping("/api/featureResource/sync/fromBase")
|
||||
@GetMapping("/api/featureResource/sync/fromBase")
|
||||
ApiResult<Void> syncFromBase(@RequestBody @Valid ResourceSyncReq req);
|
||||
|
||||
@PostMapping("/api/featureResource/saveOrUpdate")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user