类 InterfaceRestController


  • @RestController
    @RequestMapping(value="/vue/interface",
                    produces="application/json")
    public class InterfaceRestController
    extends Object
    接口信息
    作者:
    zhangchongjie
    Date:
    2024/05/23
    • 构造器详细资料

      • InterfaceRestController

        public InterfaceRestController()
    • 方法详细资料

      • findByInterfaceId

        @GetMapping("/findByInterfaceId")
        public net.risesoft.pojo.Y9Result<List<ItemInterfaceBind>> findByInterfaceId​(@RequestParam
                                                                                     String id)
        获取接口绑定事项列表
        参数:
        id - 接口id
        返回:
      • findInterfaceList

        @GetMapping("/findInterfaceList")
        public net.risesoft.pojo.Y9Result<List<InterfaceInfo>> findInterfaceList​(@RequestParam(required=false)
                                                                                 String name,
                                                                                 @RequestParam(required=false)
                                                                                 String type,
                                                                                 @RequestParam(required=false)
                                                                                 String address)
        获取接口列表
        参数:
        name - 接口名称
        type - 接口类型
        address - 接口地址
        返回:
      • findRequestParamsList

        @GetMapping("/findRequestParamsList")
        public net.risesoft.pojo.Y9Result<List<InterfaceRequestParams>> findRequestParamsList​(@RequestParam(required=false)
                                                                                              String name,
                                                                                              @RequestParam(required=false)
                                                                                              String type,
                                                                                              @RequestParam
                                                                                              String id)
        获取接口请求参数列表
        参数:
        name - 参数名称
        type - 参数类型
        id - 接口id
        返回:
      • findResponseParamsList

        @GetMapping("/findResponseParamsList")
        public net.risesoft.pojo.Y9Result<List<InterfaceResponseParams>> findResponseParamsList​(@RequestParam(required=false)
                                                                                                String name,
                                                                                                @RequestParam
                                                                                                String id)
        获取接口响应参数列表
        参数:
        name - 参数名称
        id - 接口id
        返回:
      • removeInterface

        @PostMapping("/removeInterface")
        public net.risesoft.pojo.Y9Result<String> removeInterface​(@RequestParam
                                                                  String id)
        移除接口信息
        参数:
        id - 接口id
        返回:
      • removeRequestParams

        @PostMapping("/removeRequestParams")
        public net.risesoft.pojo.Y9Result<String> removeRequestParams​(@RequestParam
                                                                      String[] ids)
        移除接口请求参数
        参数:
        ids - 参数ids
        返回:
      • removeResponseParams

        @PostMapping("/removeResponseParams")
        public net.risesoft.pojo.Y9Result<String> removeResponseParams​(@RequestParam
                                                                       String[] ids)
        移除接口响应参数
        参数:
        ids - 参数ids
        返回:
      • saveAllResponseParams

        @PostMapping("/saveAllResponseParams")
        public net.risesoft.pojo.Y9Result<String> saveAllResponseParams​(String interfaceId,
                                                                        String jsonData)
        一键保存响应参数
        参数:
        jsonData - 参数json
        返回:
      • saveInterface

        @PostMapping("/saveInterface")
        public net.risesoft.pojo.Y9Result<String> saveInterface​(InterfaceInfo info)
        保存接口信息
        参数:
        info - 接口信息
        返回:
      • saveRequestParams

        @PostMapping("/saveRequestParams")
        public net.risesoft.pojo.Y9Result<String> saveRequestParams​(InterfaceRequestParams info)
        保存接口请求参数
        参数:
        info - 参数信息
        返回:
      • saveResponseParams

        @PostMapping("/saveResponseParams")
        public net.risesoft.pojo.Y9Result<String> saveResponseParams​(InterfaceResponseParams info)
        保存接口响应参数
        参数:
        info - 参数信息
        返回: