From 4a99240038013c7d962040e6f8eabd2d72095fd7 Mon Sep 17 00:00:00 2001 From: renkang <94314517@qq.com> Date: 星期四, 04 六月 2026 13:47:01 +0800 Subject: [PATCH] 短信问题 --- server/db/ELECTRICAL_INTEGRATION.md | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/server/db/ELECTRICAL_INTEGRATION.md b/server/db/ELECTRICAL_INTEGRATION.md index d206bdf..a0aee48 100644 --- a/server/db/ELECTRICAL_INTEGRATION.md +++ b/server/db/ELECTRICAL_INTEGRATION.md @@ -163,10 +163,17 @@ --- -## 浜斻�佸畾鏃朵换鍔★紙鍙�� HTTP 瑙﹀彂锛� +## 浜斻�佸畾鏃朵换鍔★紙system_timer + quartz_job锛� -| 浠诲姟 | Cron | HTTP锛坅dmin_timer锛� | -|------|------|---------------------| -| 閲囬泦鍣ㄧ姸鎬� | `0 */5 * * * ?` | GET `/timer/yw/getElectricalStatus` | -| 鎵归噺鎶勮〃 | `30 0 * * * ?` | GET `/timer/yw/syncElectricalMeterData` | -| 鏃ュ織娓呯悊 | `0 30 2 * * ?` | GET `/timer/yw/cleanElectricalLog` | +鐢� `system_timer` 璇诲彇 `quartz_job` 琛紝閫氳繃 `visitServiceJob` Bean 鍙嶅皠璋冪敤 `VisitServiceFegin` 瀵瑰簲鏂规硶锛孒TTP 钀藉埌 `admin_timer` 鐨� `YwTimerController`銆� + +閰嶇疆鑴氭湰锛歚server/db/quartz_job.yw_timer.sql`锛堟墽琛屽悗闇�鍦ㄤ綔涓氳皟搴﹀钩鍙伴噸鍚�/鎭㈠浠诲姟浠ュ姞杞� Cron锛夈�� + +| 浠诲姟 | Cron | module锛團eign 鏂规硶锛� | HTTP锛坅dmin_timer锛� | +|------|------|----------------------|---------------------| +| 閲囬泦鍣ㄧ姸鎬� | `0 */5 * * * ?` | `getElectricalStatus` | GET `/timer/yw/getElectricalStatus` | +| 鎵归噺鎶勮〃 | `30 0 * * * ?` | `syncElectricalMeterData` | GET `/timer/yw/syncElectricalMeterData` | +| 鏃ュ織娓呯悊 | `0 30 2 * * ?` | `cleanElectricalLog` | GET `/timer/yw/cleanElectricalLog` | +| 寮傛浠诲姟鐘舵�佽ˉ鍋� | `0 5 * * * ?` | `syncElectricalAsyncStatus` | GET `/timer/yw/syncElectricalAsyncStatus` | +| 绌鸿皟缃戝叧鐘舵�� | `0 */5 * * * ?` | `syncConditionerGatewayStatus` | GET `/timer/yw/syncConditionerGatewayStatus` | +| 绌鸿皟鍐呮満鐘舵�� | `0 */10 * * * ?` | `syncConditionerIndoorUnits` | GET `/timer/yw/syncConditionerIndoorUnits` | -- Gitblit v1.9.3