feature:积分交易功能上线
This commit is contained in:
@@ -192,7 +192,7 @@ class PointTrade:
|
|||||||
SELECT id, wx_id, wx_nick_name, points FROM t_sign_record
|
SELECT id, wx_id, wx_nick_name, points FROM t_sign_record
|
||||||
WHERE wx_nick_name = %s AND group_id = %s
|
WHERE wx_nick_name = %s AND group_id = %s
|
||||||
""", (wx_nick_name, group_id))
|
""", (wx_nick_name, group_id))
|
||||||
return self.cursor.fetchone()
|
return cursor.fetchone()
|
||||||
|
|
||||||
def _update_user_points(self, user_id, new_points):
|
def _update_user_points(self, user_id, new_points):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user