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