Commit 8c197936 authored by 黎博's avatar 黎博

新增接口详情接口

parent fe039ccc
...@@ -50,6 +50,17 @@ public class InterfaceController { ...@@ -50,6 +50,17 @@ public class InterfaceController {
return JsonResult.buildSuccessResult(map); return JsonResult.buildSuccessResult(map);
} }
/**
* 获取接口详情
* @param interfaceId 接口id
* @return
*/
@GetMapping("/detail")
public JsonResult getInterfaceDetail(Integer interfaceId) {
Interface anInterface = interfaceService.getById(interfaceId);
return JsonResult.buildSuccessResult(anInterface);
}
/** /**
* 新增接口 * 新增接口
* @param interfaceEntity 接口类实体 * @param interfaceEntity 接口类实体
......
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