Selaa lähdekoodia

添加两个常用时间。

skyffire 1 vuosi sitten
vanhempi
commit
40e563299a
1 muutettua tiedostoa jossa 7 lisäystä ja 3 poistoa
  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天";