xuguoyang 7 bulan lalu
induk
melakukan
1424aebc0b
1 mengubah file dengan 62 tambahan dan 6 penghapusan
  1. 62 6
      routers/api/temperaturePrecipitation/__init__.py

+ 62 - 6
routers/api/temperaturePrecipitation/__init__.py

@@ -27,32 +27,88 @@ async def mine(request: Request,db: Session = Depends(get_db)):
         if args == "6h_precipitation":
             result.append(
                 {"create_time":"",
-                 "pic_url":"https://soc.gd121.cn/sk6hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410070100_00600-00000.PNG"}
+                 "pic_url":"https://soc.gd121.cn/sk6hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071400_00600-00000.PNG"
+                 }
             )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk6hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071500_00600-00000.PNG"
+                 }
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk6hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071600_00600-00000.PNG"
+                 }
+            )
+
         elif args == "24h_precipitation":
             result.append(
                 {"create_time": "",
-                 "pic_url": "https://soc.gd121.cn/sk24hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410070100_02400-00000.PNG"}
+                 "pic_url": "https://soc.gd121.cn/sk24hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071400_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071500_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24hrain/2024/10/MSP1_AGD_MANOBS_PRCPV_L88_AGD_202410071600_02400-00000.PNG"}
             )
         elif args == "hourly_temperature":
             result.append(
                 {"create_time": "",
-                 "pic_url": "https://soc.gd121.cn/skt/2024/10/MSP1_AGD_MANOBS_T_L88_AGD_202410062300_00000-00000.PNG"}
+                 "pic_url": "https://soc.gd121.cn/skt/2024/10/MSP1_AGD_MANOBS_T_L88_AGD_202410071300_00000-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/skt/2024/10/MSP1_AGD_MANOBS_T_L88_AGD_202410071400_00000-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/skt/2024/10/MSP1_AGD_MANOBS_T_L88_AGD_202410071500_00000-00000.PNG"}
             )
+
         elif args == "24h_max_temperature":
             result.append(
                 {"create_time": "",
-                 "pic_url": "https://soc.gd121.cn/sk24htmax/2024/10/MSP1_AGD_MANOBS_TMA_L88_AGD_202410062300_02400-00000.PNG"}
+                 "pic_url": "https://soc.gd121.cn/sk24htmax/2024/10/MSP1_AGD_MANOBS_TMA_L88_AGD_202410071300_02400-00000.PNG"
+                 }
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24htmax/2024/10/MSP1_AGD_MANOBS_TMA_L88_AGD_202410071400_02400-00000.PNG"
+                 }
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24htmax/2024/10/MSP1_AGD_MANOBS_TMA_L88_AGD_202410071500_02400-00000.PNG"
+                 }
             )
         elif args == "24h_min_temperature":
             result.append(
                 {"create_time": "",
-                 "pic_url": "https://soc.gd121.cn/sk24htmin/2024/10/MSP1_AGD_MANOBS_TMI_L88_AGD_202410070100_02400-00000.PNG"}
+                 "pic_url": "https://soc.gd121.cn/sk24htmin/2024/10/MSP1_AGD_MANOBS_TMI_L88_AGD_202410071300_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24htmin/2024/10/MSP1_AGD_MANOBS_TMI_L88_AGD_202410071400_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/sk24htmin/2024/10/MSP1_AGD_MANOBS_TMI_L88_AGD_202410071500_02400-00000.PNG"}
             )
         elif args == "24h_variable_temperature":
             result.append(
                 {"create_time": "",
-                 "pic_url": "https://soc.gd121.cn/sk24htmin/2024/10/MSP1_AGD_MANOBS_TMI_L88_AGD_202410070100_02400-00000.PNG"}
+                 "pic_url": "https://soc.gd121.cn/skt24hdt/2024/10/MSP1_AGD_MANOBS_TD_L88_AGD_202410071300_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/skt24hdt/2024/10/MSP1_AGD_MANOBS_TD_L88_AGD_202410071400_02400-00000.PNG"}
+            )
+            result.append(
+                {"create_time": "",
+                 "pic_url": "https://soc.gd121.cn/skt24hdt/2024/10/MSP1_AGD_MANOBS_TD_L88_AGD_202410071500_02400-00000.PNG"}
             )