xjconline преди 2 години
родител
ревизия
98826eaa34
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 3 3
      src/weixin/controls.py
  2. 1 1
      templates/index.html

+ 3 - 3
src/weixin/controls.py

@@ -1736,7 +1736,7 @@ def update_user_style(**kwargs):
     """
     user_id = kwargs.pop("user_id")
     #player_id = kwargs.pop("player_id")
-    #init_fund = kwargs.pop("init_fund")
+    init_fund = kwargs.pop("init_fund")
     #avatar = kwargs.pop("avatar")
 
     cm.UserInfo.objects.filter(id=user_id).update(**kwargs)
@@ -1791,8 +1791,8 @@ def get_stock_players(**kwargs):
     else:
         total = len(data)
 
-    return total,data
-    #return data
+    #return total,data
+    return data
         
 
 def update_user_fund(**kwargs):

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
templates/index.html