11 lines
542 B
Python
11 lines
542 B
Python
from utils import *
|
|
add_payment({'pay_amount': 0, 'id': '110111197902123838', 'fs': 'J315车队', 'jg': '金建', 'name': '任晓勇', 'fsfz': 1776480, 'shfid': 'J253102123838', 'hphm': '京BDB3905',"pay_type": "微信支付","transaction_id": "1345testtest", 'paymentdetails': []}, 1)
|
|
|
|
# data = query_pay_details('420620197904022519')
|
|
# for item in data:
|
|
# if item == "amount":
|
|
# continue
|
|
# for detail in data[item]['data']:
|
|
# if 'month1' in detail:
|
|
# detail['yuefen'] = detail.pop('month1')
|
|
# print(data) |