Commit d2121ec2 by huangjing

hj

parent d329e750
......@@ -20,7 +20,7 @@ FK_REDIS_DB = env_dist.get('FK_REDIS_DB') #获取redis库
#使用任务号获取任务信息
def getInfo_ByBatchNo(BatchNo):
Info_task=[]
url = 'http://47.94.0.45:9011/risk-api/getInfoByBatchNo' #获取信息接口
url = 'https://risk-api.gongsibao.com/risk-api/getInfoByBatchNo' #获取信息接口
name = {"batchCode":BatchNo} # 根据任务号进行接口访问参数
taskInfo = requests.get(url,name) # 访问接口返回的信息
taskInfo_New = json.loads(taskInfo.text)
......@@ -47,7 +47,7 @@ def getInfo_ByBatchNo(BatchNo):
#获取自定义的期数
def customBatch(custom_currentIssue,offset,timeType):
url = 'http://47.94.0.45:9011/risk-api/getIssueByCustomer' #获取信息接口
url = 'https://risk-api.gongsibao.com/risk-api/getIssueByCustomer' #获取信息接口
name = {"currentIssue":custom_currentIssue,"offset":offset,"timeType":timeType} # 接口访问参数
batchInfo = requests.post(url,name) # 访问接口返回的信息
batchInfo_New = json.loads(batchInfo.text)
......@@ -84,7 +84,7 @@ def getValue(batchCode,cellPos,currentIssue,fileCode,taxCode,timeType):
fileCode = str(fileCode)
taxCode = str(taxCode)
timeType =str(timeType)
url = 'http://47.94.0.45:9011/risk-api/getCellValuesByIssue' #获取信息接口
url = 'https://risk-api.gongsibao.com/risk-api/getCellValuesByIssue' #获取信息接口
name = {"batchCode":batchCode,"cellPos":cellPos,"currentIssue":currentIssue,"fileCode":fileCode,"taxCode":taxCode,"timeType":timeType} # 接口访问参数
contentInfo = requests.post(url,name) # 访问接口返回的信息
batchInfo_New = json.loads(contentInfo.text)
......
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