| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "场地名称", name = "name", required = true, dataType = "String"), |
| | | }) |
| | | public ResultUtil getSpaceId(String name){ |
| | | public ResultUtil getSpaceId(String name) { |
| | | try { |
| | | HttpRequest httpRequest = HttpRequest.get("https://try.daowepark.com/v7/user_api/general/space_list?page=1&page_num=100"); |
| | | HttpResponse execute = httpRequest.execute(); |
| | | String body = execute.body(); |
| | | return ResultUtil.success(); |
| | | }catch (Exception e){ |
| | | } catch (Exception e) { |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |