Commit ea9ac2ac authored by dengguangman's avatar dengguangman

-

parent b31f6a98
......@@ -37,6 +37,19 @@ public class RegionalEconomicDataController {
return economicService.nationalPage(dto);
}
/***
*@Description: 获取年份
*@Param:
*@return: com.dsk.acc.security.common.msg.RestResponse
*@Author: Dgm
*@date: 2023/5/18 10:29
*/
@GetMapping("/years/list")
public AjaxResult yearsList() {
return economicService.yearsList();
}
/***
*@Description: 全国经济大全详情
*@Param:
......
......@@ -24,6 +24,17 @@ public interface EconomicService {
*/
AjaxResult nationalPage(OpRegionalEconomicDataV1PageDto dto);
/***
*@Description: 全国经济大全分页列表
*@Param:
*@return: com.dsk.common.core.domain.AjaxResult
*@Author: Dgm
*@date: 2023/5/18 10:25
*/
AjaxResult yearsList();
/***
*@Description: 全国经济大全详情
*@Param:
......
......@@ -33,6 +33,12 @@ public class EconomicServiceImpl implements EconomicService {
return BeanUtil.toBean(map, AjaxResult.class);
}
@Override
public AjaxResult yearsList() {
Map<String, Object> map = dskOpenApiUtil.requestBody("/economic/years/list", null);
return BeanUtil.toBean(map, AjaxResult.class);
}
@Override
public AjaxResult details(Integer id) {
Map<String, Object> bodyMap = new HashMap<>(1);
......
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