Commit af59bb89 authored by caotao's avatar caotao

1、给部盾提供接口发电量详情接口

parent ac80a9d2
......@@ -1526,8 +1526,8 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation(needAuth = false, ApiLevel = UserType.AGENCY)
@ApiOperation(value = "全国发电详情部盾")
@GetMapping("/getGenPowerInfo")
public ResponseModel<Map<String, Object>> getGenPowerInfo() {
return ResponseHelper.buildResponse(monitoringService.getGenPowerInfo());
public ResponseModel<Map<String, Object>> getGenPowerInfo(@RequestParam(required = false) String areaCode) {
return ResponseHelper.buildResponse(monitoringService.getGenPowerInfo(areaCode));
}
}
......
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