Commit 427d7ef9 by lixinming

no message

parent 52347a5d
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* 左屏 * 左屏
*/ */
import { systemConfig } from "../config/serverConfig";
import { getGuangFu } from "../data/interface/dataInterface"; import { getGuangFu } from "../data/interface/dataInterface";
import { getKeyValueOut, getOnceYBarChartOut } from "../dataPackage/out"; import { getKeyValueOut, getOnceYBarChartOut } from "../dataPackage/out";
import { get } from "../util/request"; import { get } from "../util/request";
...@@ -203,7 +204,7 @@ export async function getData(req, res) { ...@@ -203,7 +204,7 @@ export async function getData(req, res) {
"风力等级":observe.wind_power, "风力等级":observe.wind_power,
"湿度":observe.humidity, "湿度":observe.humidity,
"降水量":observe.precipitation, "降水量":observe.precipitation,
"图片":`` "图片":`${systemConfig.imgPath}/天气/${observe.weather}.png`
} }
} }
ret['weather'] = {title:"天气", dataList:weather}; ret['weather'] = {title:"天气", dataList:weather};
......
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