generalCustomerLoan_delete.py
902 Bytes
# -*- coding: utf-8 -*-
from commons import common as com
from commons.MySession import hg
class generalCustomerLoan_delete():
"普通客户模式——删除借款"
def __init__(self):
self.url = "http://test.gateway.diligrp.com:8285/hg-trading/api/generalCustomerLoan/delete/66?_t="+str(com.time_stamp())
self.header = {
"Connection" :"keep-alive",
"Accept" :"application/json, text/plain, */*",
"UAP_accessToken" :".-.---",
"UAP_refreshToken" :".-.---",
"Accept-Language" :"zh-CN,zh;q=0.9",
"Accept-Encoding" :"gzip, deflate"
}
self.sql='SELECT id FROM customer_loan WHERE batch="2109000088";'
# tt = generalCustomerLoan_delete()
# re = hg.get(url = tt.url,headers = tt.header,proxies=hg.myproxies)
# print(re.json())
#