fix (farm): 高德天气

- 获取天气信息
This commit is contained in:
达富斌
2025-10-13 14:52:20 +08:00
parent 4ff2b18aa2
commit 0470e0a6e8
18 changed files with 501 additions and 41 deletions

View File

@@ -381,5 +381,17 @@ device-manager:
url-2: /prod-api/agriculture/deviceMain/list # 获取设备列表 GET
url-3: /prod-api/agriculture/deviceMain/getDeviceAllPropertyAndData/{0} # 获取设备实时状态 GET {0}: deviceId
url-4: /prod-api/agriculture/deviceMain/updateDeviceStatus # 更改设备属性 POST
video-monitor:
url-1: https://cmgw-vpc.lechange.com:8890/flv/LCO/BD0F028PAJD72EF/0/1/20250918155206/openhzb6d1cc3dc98646938440066260617092.flv?proto=https&source=open
state-1: 1 # 1: 开启状态; 0: 关闭状态
url-2: https://cmgw-vpc.lechange.com:8890/flv/LCO/BD0F028PAJD72EF/1/1/20250918151221/openhz4e7ed55f0a6c42f683839719fca33c9e.flv?proto=https&source=open
state-2: 1 # 1: 开启状态; 0: 关闭状态
# 高德天气
weather:
webKey: ${gaode.weather.webkey}
url-1: https://restapi.amap.com/v3/geocode/regeo?location={0},{1}&key={2} # 经纬度逆解析 GET
url-2: https://restapi.amap.com/v3/weather/weatherInfo?city={0}&key={1} # 获取天气信息 GET

View File

@@ -16,15 +16,14 @@ wm.wx.mp.secret=92c571b9973f9078c11da47a16c4094c
wm.wx.miniapp.app-id=wx508d9a9ab84f67d0
wm.wx.miniapp.secret=92c571b9973f9078c11da47a16c4094c
# ????
wanmao.wms.hosts=https://wms.simple.gltec.cn/prod-api
# ????
#wanmao.wms.hosts=47.111.15.9:8074/prod-api
wanmao.wms.url_1=getTenantByMobile
# prod
wanmao.wms.hosts=https://wms.simple.gltec.cn/prod-api
# test
#wanmao.wms.hosts=47.111.15.9:8074/prod-api
# gaode key
gaode.weather.webkey=ea0a0486aaea8dbf9f68274df1160df3
@@ -37,7 +36,7 @@ wanmao.wms.url_1=getTenantByMobile
#########################
###########??###########
###########jishui###########
#########################
#mysql.url=jdbc:mysql://rm-bp10c7f0fou5efc95fo.mysql.rds.aliyuncs.com:3306/farming-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
@@ -55,4 +54,6 @@ wanmao.wms.url_1=getTenantByMobile
#wm.wx.miniapp.secret=a5e114df50a86c2578af255adba1c3e7
#
#wms.hosts=https://wms.jslstec.cn/prod-api
#wms.url_1=getTenantByMobile
#wms.url_1=getTenantByMobile
#
#weather.webkey=6e867624a911d74e673f5e68c52a61e7