Commit 094b61fe authored by chenyan's avatar chenyan

2024/05/04_API文档接口修改

parent c9f6a455
......@@ -25,6 +25,7 @@ import tk.mybatis.mapper.entity.Example;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
*
......@@ -64,6 +65,9 @@ public class ApiDocBiz extends BaseBiz<ApiDocMapper, ApiDoc>{
.andEqualTo("isDel",0)
.andEqualTo("docId",apiDocTreeVo.getId());
ApiCustomParams params = paramsMapper.selectOneByExample(exampleParams);
if (Objects.isNull(params)){
continue;
}
ApiCustomNodeVo vo = new ApiCustomNodeVo();
BeanUtils.copyProperties(node,vo);
vo.setMethod(params.getMethod());
......
......@@ -40,7 +40,7 @@ public class ServiceCapabilityController extends BaseController<ServiceCapabilit
@GetMapping(value = "/app/unauth")
@IgnoreUserToken
public ObjectRestResponse get() {
return ObjectRestResponse.succ(baseBiz.get());
return baseBiz.get();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment