Selaa lähdekoodia

Merge branch 'v3.0-app' of http://118.190.145.217:3000/xiaojincai/wanzb_v3_api into v3.0-app

xjc 2 vuotta sitten
vanhempi
commit
65d01bbca9
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 1 0
      .gitignore
  2. 2 2
      src/weixin/controls.py

+ 1 - 0
.gitignore

@@ -3,3 +3,4 @@
 *migrations*
 .idea
 static/*
+templates/demo/*

+ 2 - 2
src/weixin/controls.py

@@ -434,9 +434,9 @@ def get_cache_rank_list(match_id,today):
                 player["total_income"] = "{}%".format(today_record["total_income"]*100)
                 player["today_income"] = "{}%".format(today_record["today_income"]*100)
 
-                if player["org_today_income"] >= 0.05:
+                if player["org_today_income"] >= 0.09:
                     win_count += 1
-                if player["org_today_income"] <= -0.05:
+                if player["org_today_income"] <= -0.09:
                     loss_count += 1
 
                 try: