|
@@ -7,7 +7,7 @@ import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -34,7 +34,7 @@ public class DashboardController {
|
|
* */
|
|
* */
|
|
|
|
|
|
@ApiOperation("智能看板-楼宇态势")
|
|
@ApiOperation("智能看板-楼宇态势")
|
|
- @GetMapping("getBuildingSituation")
|
|
|
|
|
|
+ @PostMapping("getBuildingSituation")
|
|
public ReturnMsg getBuildingSituation(){
|
|
public ReturnMsg getBuildingSituation(){
|
|
return spaceService.getBuildingSituation();
|
|
return spaceService.getBuildingSituation();
|
|
}
|
|
}
|
|
@@ -43,7 +43,7 @@ public class DashboardController {
|
|
* 空间概览
|
|
* 空间概览
|
|
* */
|
|
* */
|
|
@ApiOperation("智能看板-空间概览")
|
|
@ApiOperation("智能看板-空间概览")
|
|
- @GetMapping("getSpaceOverview")
|
|
|
|
|
|
+ @PostMapping("getSpaceOverview")
|
|
public ReturnMsg getSpaceOverview(){
|
|
public ReturnMsg getSpaceOverview(){
|
|
return spaceService.getSpaceOverview();
|
|
return spaceService.getSpaceOverview();
|
|
}
|
|
}
|
|
@@ -53,7 +53,7 @@ public class DashboardController {
|
|
* 光伏发电量
|
|
* 光伏发电量
|
|
* */
|
|
* */
|
|
@ApiOperation("智能看板-光伏发电量")
|
|
@ApiOperation("智能看板-光伏发电量")
|
|
- @GetMapping("getPhotovoltaicPower")
|
|
|
|
|
|
+ @PostMapping("getPhotovoltaicPower")
|
|
public ReturnMsg getPhotovoltaicPower(){
|
|
public ReturnMsg getPhotovoltaicPower(){
|
|
return carbonService.getPhotovoltaicPower();
|
|
return carbonService.getPhotovoltaicPower();
|
|
}
|
|
}
|
|
@@ -64,7 +64,7 @@ public class DashboardController {
|
|
* 碳配额
|
|
* 碳配额
|
|
* */
|
|
* */
|
|
@ApiOperation("智能看板-碳配额")
|
|
@ApiOperation("智能看板-碳配额")
|
|
- @GetMapping("getCarbonQuota")
|
|
|
|
|
|
+ @PostMapping("getCarbonQuota")
|
|
public ReturnMsg getCarbonQuota(){
|
|
public ReturnMsg getCarbonQuota(){
|
|
return carbonService.getCarbonQuota();
|
|
return carbonService.getCarbonQuota();
|
|
}
|
|
}
|
|
@@ -72,7 +72,7 @@ public class DashboardController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("智能看板-光伏盈利")
|
|
@ApiOperation("智能看板-光伏盈利")
|
|
- @GetMapping("getPhotovoltaicProfit")
|
|
|
|
|
|
+ @PostMapping("getPhotovoltaicProfit")
|
|
public ReturnMsg getPhotovoltaicProfit(){
|
|
public ReturnMsg getPhotovoltaicProfit(){
|
|
return carbonService.getPhotovoltaicProfit();
|
|
return carbonService.getPhotovoltaicProfit();
|
|
}
|
|
}
|