Commit a1adf60c authored by xianyang's avatar xianyang

优化打款记录

parent c92fc7b4
...@@ -479,12 +479,8 @@ def transfer_query(data): ...@@ -479,12 +479,8 @@ def transfer_query(data):
''' '''
调用 调用
''' '''
print(data) payment_sql=f"insert into payment_log(cont,money,url,uuid) values('{data.cont}',{data.money},'{data.url}','{data.uuid}')"
print(data.cont) LinkMysql(env.DB_3YV2).perform_mysql(payment_sql)
payment_sql = f"insert into payment_log(cont,money,url,uuid) values({data.cont},{data.money},{data.url},{data.uuid})"
print(payment_sql)
payment_sql=f"insert into payment_log(cont,money,url,uuid) values('{data.cont}','{data.money}','{data.url}','{data.uuid}')"
LinkMysql(env.DB_3YV2).excete_mysql(payment_sql)
params = {} params = {}
if data.money > 0: if data.money > 0:
method = 'Server.BaseExecute.Increase' method = 'Server.BaseExecute.Increase'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment