This commit is contained in:
赵敬皓 2023-09-07 11:23:53 +08:00
parent bdd2c5124b
commit dfd3f835af
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ POST
"data": [7.5, 8.6, ..., 7.2] # 未来120h的每小时出力单位为kW "data": [7.5, 8.6, ..., 7.2] # 未来120h的每小时出力单位为kW
} }
``` ```
## 未来光伏出力数据(复杂版) ## 未来光伏出力数据(复杂版)(未启用)
### 端口号 ### 端口号
`xxx.xxx.xxx.xxx:9515/power_custom/` `xxx.xxx.xxx.xxx:9515/power_custom/`
### 接口调用方式 ### 接口调用方式

2
run.py
View File

@ -83,4 +83,4 @@ def get_power_custom():
if __name__ == '__main__': if __name__ == '__main__':
app.run(port=9515, host="0.0.0.0", debug=True) app.run(port=9515, host="0.0.0.0", debug=False)