| | |
| | | e.printStackTrace(); |
| | | } |
| | | JSONObject jsonObject = JSONObject.parseObject(result); |
| | | log.info("获取access_token返回结果:{}", result); |
| | | Map data = (Map) jsonObject.get("data"); |
| | | accessToken = (String)data.get("access_token"); |
| | | Integer expiresIn = (int) data.get("expires_in"); |
| | |
| | | public Page<XiaoeCourseVO> getCoursePageList(XiaoeCourseQueryDto dto) { |
| | | Map<String, Object> requestParams = new HashMap<>(); |
| | | requestParams.put("search_content", dto.getSearchContent()); |
| | | requestParams.put("page", dto.getPageNo()); |
| | | requestParams.put("page_index", dto.getPageNo()); |
| | | requestParams.put("page_size", dto.getPageSize()); |
| | | requestParams.put("created_source", dto.getCreatedSource()); |
| | | requestParams.put("tags", dto.getTags()); |