浏览代码

添加两个常用时间。

skyffire 1 年之前
父节点
当前提交
40e563299a
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      src/hl_pr_utile.rs

+ 7 - 3
src/hl_pr_utile.rs

@@ -37,9 +37,13 @@ pub async fn export_ticker(symbol: &str, exchange: &str, time_str: &str) {
             name_html = "1小时";
             (1000 * 60 * 60 * 1)
         }
-        "10H" => {
-            name_html = "10小时";
-            (1000 * 60 * 60 * 10)
+        "4H" => {
+            name_html = "4小时";
+            (1000 * 60 * 60 * 4)
+        }
+        "12H" => {
+            name_html = "12小时";
+            (1000 * 60 * 60 * 12)
         }
         "1D" => {
             name_html = "1天";