stanley-king 3 years ago
parent
commit
b481d8889f
2 changed files with 29 additions and 1 deletions
  1. 1 1
      plot/DataCenter.py
  2. 28 0
      test/TestBigData.php

+ 1 - 1
plot/DataCenter.py

@@ -361,7 +361,7 @@ class DataCenter(object):
         items = re.split(r'/', path)
         items = re.split(r'/', path)
         if len(items) == 6:
         if len(items) == 6:
             (_, _sday, _chname, _quality, _card_type, _amount) = items
             (_, _sday, _chname, _quality, _card_type, _amount) = items
-            return f"{_chname}-{_quality}-{_card_type}-{_amount}"
+            return f"{_chname}-{_amount}-{_card_type}-{_quality}"
         else:
         else:
             return False
             return False
 
 

File diff suppressed because it is too large
+ 28 - 0
test/TestBigData.php