Commit a13efb93 authored by 桂秋月's avatar 桂秋月

1

parent 369d8be8
[channnel] [channnel]
a = 1 a = 1
channnelid = 159866 channnelid = 159866
fundcorpid = 100010 fundcorpid = 480
merchantid = 27 merchantid = 27
execjsonversion = {} # {'configuration_center':'1.0.1','zhongtai_hetong':'1.0.1','account':'2.0','risk':'2.0','trade':'2.0','zijin':'2.0','msg':'1.0.1'} execjsonversion = {} # {'configuration_center':'1.0.1','zhongtai_hetong':'1.0.1','account':'2.0','risk':'2.0','trade':'2.0','zijin':'2.0','msg':'1.0.1'}
issimple = 0 issimple = 1
[baseinfo] [baseinfo]
usered = qa usered = qa
defaluttime = 2 defaluttime = 2
timeout = 20 timeout = 20
phone_no = 13683241404 phone_no = 13683241439
environment = qa3 environment = qa3
term = 6 term = 6
amount = 10000 amount = 10000
...@@ -22,24 +22,24 @@ amounts = [2000,4000,6000,10000,20000,30000] ...@@ -22,24 +22,24 @@ amounts = [2000,4000,6000,10000,20000,30000]
productids = [1,4] productids = [1,4]
repaymenttypes = [微信,支付宝,银行卡] repaymenttypes = [微信,支付宝,银行卡]
counter = 0 counter = 0
totalamount = 4208.35 totalamount = 7843.11
loanid = 18 loanid = 377
totalloanamount = 1666.67 totalloanamount = 1004.61
termno = 4 termno = 5
verificationid = BK744588885171192830848411 verificationid = BK744588885171192830848411
applyno = AN000000143208211244130304 applyno = AN000000143573824630185984
[globalvar] [globalvar]
password = 123456aaa password = 123456aaa
biztype = 0 biztype = 0
token = eb298e58-b438-4437-ab29-70973e7210a2 token = eb298e58-b438-4437-ab29-70973e7210a2
passportapitoken = 1396bf28-64f4-44b6-9eec-bb334c08fc5e passportapitoken = 87ff232a-d8bd-427d-9455-43e41146703a
opapitoken = 5375b6c5-527e-4c3a-8c66-b9ef96a7412d opapitoken = 5375b6c5-527e-4c3a-8c66-b9ef96a7412d
cardnoprovider = ICBC cardnoprovider = ICBC
apitoken = 1396bf28-64f4-44b6-9eec-bb334c08fc5e apitoken = 87ff232a-d8bd-427d-9455-43e41146703a
mapitoken = 75d2421775d0b74ca27b28677bfa63410285 mapitoken = ddf2c21774ea6741f278a7b7172dbe9a3dd7
quotarecordorderno = {'msg': None, 'code': '0000', 'data': []} quotarecordorderno = {'msg': None, 'code': '0000', 'data': []}
hetongtoken = 468dfce1b4ac1836a34dddaca5ea807e hetongtoken = 190db434e2e91c21086623c0b7cc22af
cardno = 6222020206041670466 cardno = 6222020206041670466
msgtoken = {token} msgtoken = {token}
sceneid = 5 sceneid = 5
...@@ -49,15 +49,15 @@ requestid = 63119890137088 ...@@ -49,15 +49,15 @@ requestid = 63119890137088
vcode = 238345 vcode = 238345
applyno = AN000000143183669801000960 applyno = AN000000143183669801000960
voicetoken = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODgxNTE1OTgsInVzZXJuYW1lIjoidHgueHlxYiJ9.W4fKn-tdbOORELBfUd6KOjrygjzWWFY0zf6dmcqsjiI voicetoken = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODgxNTE1OTgsInVzZXJuYW1lIjoidHgueHlxYiJ9.W4fKn-tdbOORELBfUd6KOjrygjzWWFY0zf6dmcqsjiI
logindata = {'uuid': '3bf78c41-458a-40a1-88ba-d31f3afbcbcf', 'channelId': '214', 'productType': '0', 'channelType': '0', 'source': 1, 'extData': {'ces': '测试测试'}, 'phoneNo': '13683241404', 'idCard': '620122199107076436', 'name': '李淑华'} logindata = phone=13683241439
[testsuit] [testsuit]
cases_numbertemp = [{'passportapi':[816,817,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,574,575,577,576,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397]}] cases_numbertemp = [{'passportapi':[816,817,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,574,575,577,576,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397]}]
cases_number1 = [816,817,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,574,575,577,576,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397] cases_number1 = [358, 359, 360,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,574,575,577,576,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397]
case_number_fengkong = [509, 510, 511, 512, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549] case_number_fengkong = [509, 510, 511, 512, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549]
case_number3 = [358, 359, 360,323,382, 383,399, 385,407,367,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397] case_number3 = [358, 359, 360,323,382, 383,399, 385,407,367,368,371,372,374,375,376,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 392,389, 390, 394, 395, 396, 397]
case_number_usercenter = [504, 494, 508,479, 477, 498, 476, 499, 495, 483, 505, 488, 471, 502, 484, 492, 493, 503, 470, 489, 473, 490, 486, 500, 501, 487, 491, 472, 496, 480, 506, 475, 474, 507, 481, 497, 478,482,485] case_number_usercenter = [504, 494, 508,479, 477, 498, 476, 499, 495, 483, 505, 488, 471, 502, 484, 492, 493, 503, 470, 489, 473, 490, 486, 500, 501, 487, 491, 472, 496, 480, 506, 475, 474, 507, 481, 497, 478,482,485]
person_test_number = case_number_test person_test_number = case_number_ka_koala_repay
cases_number_temp = [358, 359, 360,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,368] cases_number_temp = [358, 359, 360,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,368]
case_number_33 = [358, 359, 360,323,383,385,399,367,372,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 389, 390, 394, 395, 396, 397] case_number_33 = [358, 359, 360,323,383,385,399,367,372,378,363,364,369,370,409,373,410,412,411,413,387, 388,389,390, 391, 389, 390, 394, 395, 396, 397]
case_number_newhetong = [416, 420, 421, 417, 426, 427, 431, 424, 432, 428, 425, 414, 422, 418, 419, 423, 415] case_number_newhetong = [416, 420, 421, 417, 426, 427, 431, 424, 432, 428, 425, 414, 422, 418, 419, 423, 415]
...@@ -78,12 +78,12 @@ case_number_koala_risk = [{'koala_risk':[699]},{'usercenter':[500]},{'risk':[651 ...@@ -78,12 +78,12 @@ case_number_koala_risk = [{'koala_risk':[699]},{'usercenter':[500]},{'risk':[651
case_number_koala_loan = [{'koala_loan':[672, 673, 674, 675, 676, 677, 678, 697, 698, 704]}] case_number_koala_loan = [{'koala_loan':[672, 673, 674, 675, 676, 677, 678, 697, 698, 704]}]
case_number_koala_repay = [{'koala_repay':[679, 680]}] case_number_koala_repay = [{'koala_repay':[679, 680]}]
case_number_ka_koala_loan = [{'ka_koala_loan':['803','802','801','800','798','799',808,818,820]}] case_number_ka_koala_loan = [{'ka_koala_loan':['803','802','801','800','798','799',808,818,820]}]
case_number_ka_koala_repay = [{'ka_koala_repay':['791','789','790','786','787','788']}] case_number_ka_koala_repay = [{'ka_koala_repay':['791','786','787','788','789','790']}]
case_number_test = [{'passportapi':[323,382,383,384]},{'koala_repay':[679, 680]},{'passportapi':[323,382,383,384]}] case_number_test = [{'passportapi':[323,382,383,384]},{'koala_repay':[679, 680]},{'passportapi':[323,382,383,384]}]
case_number_funding_plan = [{'passportapi':[816,817]}] case_number_funding_plan = [{'passportapi':[816,817]}]
case_number_case_fengkong = [{'koala_risk':[699]},{'usercenter':[500]},{'risk':[651]},{'koala_risk':[709,753,671]}] case_number_case_fengkong = [{'koala_risk':[699]},{'usercenter':[500]},{'risk':[651]},{'koala_risk':[709,753,671]}]
case_number_case_fangkuan = [{'ka_koala_loan':[801,818,802,798,799,800,820]}] case_number_case_fangkuan = [{'ka_koala_loan':[801,818,802,798,799,800,820]}]
[sqldata] [sqldata]
sqldata = ['3bf78c41-458a-40a1-88ba-d31f3afbcbcf', 214, '0', '0', '13683241404', '620122199107076436', '李淑华'] sqldata = [377, '6222020247453948818', 0, 0, 0, 0, '刘志国', '371424198707076329', '13211111240']
...@@ -167,7 +167,7 @@ if __name__ == '__main__': ...@@ -167,7 +167,7 @@ if __name__ == '__main__':
# name='sidecar' # name='sidecar'
#'account' or 'configuration_center'or #'account' or 'configuration_center'or
# 串流程 # 串流程
name='case_fengkong' name='ka_koala_repay'
# name='case_fangkuan' # name='case_fangkuan'
......
...@@ -30,10 +30,11 @@ class requestResult: ...@@ -30,10 +30,11 @@ class requestResult:
self.config = config self.config = config
self.config = kconfig.get(self.casefile.get('env')) or self.config self.config = kconfig.get(self.casefile.get('env')) or self.config
self.keydata = rwKeyData(config) self.keydata = rwKeyData(config)
#setGloablValue(self.keydata,self.casefile) #setGloablValue(self.keydata,self.casefile)
self.casefile=deal_globalParam(self.config,self.casefile) self.casefile=deal_globalParam(self.config,self.casefile)
#print(self.casefile) #print('*****',self.casefile)
self.casefilename=casefile self.casefilename=casefile
self.namespace=self.config.namespace self.namespace=self.config.namespace
self.finalresult=[] self.finalresult=[]
...@@ -685,18 +686,19 @@ if __name__ == '__main__': ...@@ -685,18 +686,19 @@ if __name__ == '__main__':
#cases_number= [323, 382, 383, 384, 385,361, 402, 403, 404, 405,401] #cases_number= [323, 382, 383, 384, 385,361, 402, 403, 404, 405,401]
cases_number=[667] cases_number= [323, 382, 383, 384, 385,361, 402, 403, 404, 405]
cases_number=[787]
#cases_number = [369,370,409,373] #cases_number = [369,370,409,373]
#cases_number=[358, 359, 360,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,368,371,372,374,375,376,378,363,364,369,370] #cases_number=[358, 359, 360,323, 382, 383, 384, 385,361, 402, 403, 404, 405,401,399,407,367,368,371,372,374,375,376,378,363,364,369,370]
t = '.json,'.join([str(i) for i in cases_number]) + ".json" t = '.json,'.join([str(i) for i in cases_number]) + ".json"
# casefile = [{'passportapi':['323.json', '382.json','383.json', '384.json', '385.json']},{'payment': t.split(',')}] #casefile = [{'passportapi':['323.json', '382.json','383.json', '384.json', '385.json']},{'payment': t.split(',')}]
casefile =[{'koala_risk': t.split(',')}] #casefile =[{'trade': t.split(',')}]
#casefile = [{'passportapi': t.split(',')}] casefile = [{'ka_koala_repay': t.split(',')}]
#print(casefile) #print(casefile)
......
...@@ -17,12 +17,11 @@ class maintest(unittest.TestCase): ...@@ -17,12 +17,11 @@ class maintest(unittest.TestCase):
suite.addTest(testcase_klass(name, config=config)) suite.addTest(testcase_klass(name, config=config))
return suite return suite
class ka_koala_repay0(maintest):
class koala_risk0(maintest):
def test_100(self): def test_100(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/699.json') res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/791.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/699.json').get('result') t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/791.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
...@@ -39,12 +38,10 @@ class koala_risk0(maintest): ...@@ -39,12 +38,10 @@ class koala_risk0(maintest):
else : else :
msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据' msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据'
self.assertEqual(0, 0,msg=msg) self.assertEqual(0, 0,msg=msg)
def test_101(self):
class usercenter1(maintest): res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/786.json')
def test_100(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/usercenter/500.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/usercenter/500.json').get('result') t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/786.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
...@@ -61,12 +58,10 @@ class usercenter1(maintest): ...@@ -61,12 +58,10 @@ class usercenter1(maintest):
else : else :
msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据' msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据'
self.assertEqual(0, 0,msg=msg) self.assertEqual(0, 0,msg=msg)
def test_102(self):
class risk2(maintest): res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/787.json')
def test_100(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/risk/651.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/risk/651.json').get('result') t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/787.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
...@@ -83,12 +78,10 @@ class risk2(maintest): ...@@ -83,12 +78,10 @@ class risk2(maintest):
else : else :
msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据' msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据'
self.assertEqual(0, 0,msg=msg) self.assertEqual(0, 0,msg=msg)
def test_103(self):
class koala_risk3(maintest): res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/788.json')
def test_100(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/709.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/709.json').get('result') t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/788.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
...@@ -105,10 +98,10 @@ class koala_risk3(maintest): ...@@ -105,10 +98,10 @@ class koala_risk3(maintest):
else : else :
msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据' msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据'
self.assertEqual(0, 0,msg=msg) self.assertEqual(0, 0,msg=msg)
def test_101(self): def test_104(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/753.json') res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/789.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/753.json').get('result') t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/789.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
...@@ -125,18 +118,10 @@ class koala_risk3(maintest): ...@@ -125,18 +118,10 @@ class koala_risk3(maintest):
else : else :
msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据' msg='断言成功,预期结果:'+str(t)+',实际结果查看响应数据'
self.assertEqual(0, 0,msg=msg) self.assertEqual(0, 0,msg=msg)
def test_102(self): def test_105(self):
res1=requestResult(self.config,'/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/671.json') res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/790.json')
res,finalresult=res1.requestJson()
t=readCaseFile('/Users/jiazhaopu/QGjobs/autointerface/testCase/koala_risk/671.json').get('result')
class passportapi0(maintest):
def test_100(self):
res1=requestResult(self.config,'/Users/dm/Desktop/python_script/autoInterface/testCase/zhongtai_hetong/277.json')
res,finalresult=res1.requestJson() res,finalresult=res1.requestJson()
t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/ka_koala_repay/790.json').get('result')
t=readCaseFile('/Users/dm/Desktop/python_script/autoInterface/testCase/zhongtai_hetong/277.json').get('result')
r=0 if 0 in finalresult and len(finalresult)>0 else 1 r=0 if 0 in finalresult and len(finalresult)>0 else 1
if r: if r:
self.detail=res1.keyoption()+('Success',) self.detail=res1.keyoption()+('Success',)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
@project:autoInterface @project:autoInterface
""" """
import jsonpath,copy,json import jsonpath,copy,json,re
from blueprints.tools.dealbody import requesturl,dealbodyHeaderType,deal_globalParam from blueprints.tools.dealbody import requesturl,dealbodyHeaderType,deal_globalParam
from blueprints.tools.dealCasefile import readCaseFile from blueprints.tools.dealCasefile import readCaseFile
from blueprints.requestResult import requestResult from blueprints.requestResult import requestResult
...@@ -54,6 +54,8 @@ def asertcase(jsoncase,result,config=None): ...@@ -54,6 +54,8 @@ def asertcase(jsoncase,result,config=None):
if basis and isinstance(basis,dict): if basis and isinstance(basis,dict):
for k,v in basis.items(): for k,v in basis.items():
acv=v
#print('acv===',acv,k)
b= jsonpath.jsonpath(aresult,"$..{0}".format(k)) b= jsonpath.jsonpath(aresult,"$..{0}".format(k))
##处理,当json文件中的result断言里有sql或者函数时,直接从sql或者函数得到值 ##处理,当json文件中的result断言里有sql或者函数时,直接从sql或者函数得到值
...@@ -89,6 +91,7 @@ def asertcase(jsoncase,result,config=None): ...@@ -89,6 +91,7 @@ def asertcase(jsoncase,result,config=None):
if len(bt[0])>1 and '0000' == str(bt[0]) and (str(v)=='0' or str(v)=='0000'): if len(bt[0])>1 and '0000' == str(bt[0]) and (str(v)=='0' or str(v)=='0000'):
#if '0000' in str(bt) : #if '0000' in str(bt) :
#print(11) #print(11)
#print('11:', t)
t.append(1) t.append(1)
elif len(bt[0])==1 and '0' == str(bt[0]) and (str(v)=='0' or str(v)=='0000'): elif len(bt[0])==1 and '0' == str(bt[0]) and (str(v)=='0' or str(v)=='0000'):
t.append(1) t.append(1)
...@@ -97,6 +100,7 @@ def asertcase(jsoncase,result,config=None): ...@@ -97,6 +100,7 @@ def asertcase(jsoncase,result,config=None):
if str(v) in bt: if str(v) in bt:
t.append(1) t.append(1)
else: else:
#print('00:', t)
t.append(0) t.append(0)
#print(t) #print(t)
else: else:
...@@ -126,6 +130,11 @@ def asertcase(jsoncase,result,config=None): ...@@ -126,6 +130,11 @@ def asertcase(jsoncase,result,config=None):
t.append(0) t.append(0)
else: else:
if needCommand: if needCommand:
for assertk, assertv in needCommand.items(): for assertk, assertv in needCommand.items():
...@@ -163,6 +172,19 @@ def asertcase(jsoncase,result,config=None): ...@@ -163,6 +172,19 @@ def asertcase(jsoncase,result,config=None):
#print('[{assertk}]没有用处,需要确认'.format(assertk=assertk)) #print('[{assertk}]没有用处,需要确认'.format(assertk=assertk))
if k.split('_')[0]=='exist':
table_position = [index + 1 for index, i in enumerate(acv.split()) if i == 'from']
if v and v[0]!=0:
print("断言成功==[{0}]表存在数据[{1}]".format(acv.split()[table_position[0] if table_position else acv],v))
#print('1:',t)
t.append(1)
else:
print("断言失败==[{0}]表不存在数据[{1}]".format(
acv.split()[table_position[0] if table_position else acv], v))
#print('2:', t)
t.append(0)
else: else:
if isinstance(v, list): if isinstance(v, list):
...@@ -200,7 +222,7 @@ def asertcase(jsoncase,result,config=None): ...@@ -200,7 +222,7 @@ def asertcase(jsoncase,result,config=None):
print('必须字段断言处理== 响应中缺少必须字段【{0}】'.format(k)) print('必须字段断言处理== 响应中缺少必须字段【{0}】'.format(k))
print('<br/>') print('<br/>')
t.append(0) t.append(0)
print(t)
if 0 in t and len(t)>0: if 0 in t and len(t)>0:
return 0 return 0
......
...@@ -61,7 +61,7 @@ def deal_globalParam(config,param): ...@@ -61,7 +61,7 @@ def deal_globalParam(config,param):
ii = '{{' + i + '}}' ii = '{{' + i + '}}'
i = i.lower() i = i.lower()
#print(ii,i, print(rwKeyData().readKeyData('sqldata', i.split('_')[0]))) #print(ii,i, rwKeyData().readKeyData('sqldata', i.split('_')[0]))
try: try:
if len(i.split('_'))>1 and rwKeyData().readKeyData('sqldata', i.split('_')[0]): if len(i.split('_'))>1 and rwKeyData().readKeyData('sqldata', i.split('_')[0]):
...@@ -70,6 +70,8 @@ def deal_globalParam(config,param): ...@@ -70,6 +70,8 @@ def deal_globalParam(config,param):
fillParam=str(fillParam) fillParam=str(fillParam)
#print('fillParam==',fillParam)
else: else:
#print('=======', param_url, i, config, fillParam) #print('=======', param_url, i, config, fillParam)
fillParam = rwKeyData().readKeyData('baseinfo', i) or \ fillParam = rwKeyData().readKeyData('baseinfo', i) or \
...@@ -87,7 +89,7 @@ def deal_globalParam(config,param): ...@@ -87,7 +89,7 @@ def deal_globalParam(config,param):
except Exception as e: except Exception as e:
pass pass
#print('++++++',e) print('++++++',e)
#print("param=====",param) #print("param=====",param)
if isinstance(temp_param,dict): if isinstance(temp_param,dict):
return json.loads(param) return json.loads(param)
......
...@@ -257,16 +257,12 @@ def zentaopms_data(panda_name,projectId,psid): ...@@ -257,16 +257,12 @@ def zentaopms_data(panda_name,projectId,psid):
if __name__ == "__main__": if __name__ == "__main__":
<<<<<<< HEAD
names=['ka_koala_loan','payment','ka_koala_repay']
#names=['zhongtai_hetong','msg','configuration_center']
=======
names=['ka_koala_repay','koala_risk','ka_koala_loan','risk']
names=['ka_koala_repay','koala_risk','ka_koala_loan','trade']
# names = ['risk'] # names = ['risk']
# names=['zhongtai_hetong','msg','configuration_center'] # names=['zhongtai_hetong','msg','configuration_center']
>>>>>>> ee402134f1fab864790224405b2f08bedc2823af
for name in names: for name in names:
projectname=project_mapping.get(name) projectname=project_mapping.get(name)
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
}, },
"body": { "body": {
"applyNumber": "{{applyno}}", "applyNumber": "{{applyno}}",
"bankCode": "ICBC", "bankCode": "{{cardnoprovider}}",
"bankCardNumber": "%s", "bankCardNumber": "%s",
"reservePhoneNumber": "{{phone_no}}", "reservePhoneNumber": "{{phone_no}}",
"userId": "%s" "userId": "%s"
...@@ -23,4 +23,4 @@ ...@@ -23,4 +23,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -3,13 +3,7 @@ ...@@ -3,13 +3,7 @@
"commit": "提现(支持绑卡)(POST)", "commit": "提现(支持绑卡)(POST)",
"url": "/v1/loan/submit", "url": "/v1/loan/submit",
"casename": "token", "casename": "token",
<<<<<<< HEAD
"sql": "select b.`user_id`,c.`tmpl_path`,\r\n'测试借款用途'\r\n as loanPurpose \r\nfrom `xyqb`.`quota_credit` b\r\ninner join xyqb.funding_contract c\r\nwhere b.`order_no`='{{applyno}}'\r\nand c.`funding_corp_id`=100010;", "sql": "select b.`user_id`,c.`tmpl_path`,\r\n'测试借款用途'\r\n as loanPurpose \r\nfrom `xyqb`.`quota_credit` b\r\ninner join xyqb.funding_contract c\r\nwhere b.`order_no`='{{applyno}}'\r\nand c.`funding_corp_id`=100010;",
=======
"sql": "select b.`user_id`,c.`tmpl_path`,\r\n'测试借款用途'\r\n as loanPurpose \r\nfrom `xyqb`.`quota_credit` b\r\ninner join xyqb.funding_contract c\r\nwhere b.`order_no`='{{applyno}}'\r\nand c.`funding_corp_id`=100010;",
>>>>>>> ee402134f1fab864790224405b2f08bedc2823af
"db": "xyqb", "db": "xyqb",
"result": { "result": {
"code": "0" "code": "0"
...@@ -32,4 +26,4 @@ ...@@ -32,4 +26,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"commit": "查卡-获取渠道卡列表(GET)", "commit": "查卡-获取渠道卡列表(GET)",
"url": "/v1/card/channel/query", "url": "/v1/card/channel/query",
"casename": "token", "casename": "token",
"sql": "select a.`created_from`,a.`user_id`,1 as action , b.loan_id,a.`order_no`\r\nfrom xyqb.ka_bind_card_record a\r\ninner join xyqb.`loan_account_ext` b\r\ninner join xyqb_user.user c\r\non a.`order_no`=b.`order_no`\r\nand c.id=a.`user_id`\r\nwhere c.`phone_no`='{{phone_no}}'; ", "sql": "select a.`created_from`,a.`user_id`,1 as action , b.loan_id,a.`order_no`\r\nfrom xyqb.ka_bind_card_record a\r\ninner join xyqb.`loan_account_ext` b\r\ninner join xyqb_user.user c\r\non a.`order_no`=b.`order_no`\r\nand c.id=a.`user_id`\r\nwhere c.`phone_no`='{{phone_no}}'\r\norder by a.id desc limit 1; ",
"db": "xyqb", "db": "xyqb",
"result": { "result": {
"code": "0" "code": "0"
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -13,6 +13,4 @@ ...@@ -13,6 +13,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
}
} \ No newline at end of file
...@@ -15,8 +15,4 @@ ...@@ -15,8 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
<<<<<<< HEAD }
} \ No newline at end of file
=======
}
>>>>>>> ee402134f1fab864790224405b2f08bedc2823af
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"commit": "发起还款(API)(POST)", "commit": "发起还款(API)(POST)",
"url": "/v1/repayment/pay", "url": "/v1/repayment/pay",
"casename": "token", "casename": "token",
"sql": "select distinct d.`loan_application_history_id`,p1.card_no, 0 as noncestr,0 as timestamp ,\r\n0 as sign,0 as app_id,c.`name`,c.`id_no`,c.`phone_no` from xyqb_user.`user_detail`c\r\ninner join xyqb.`loan_application_manifest_history` d\r\nINNER JOIN xyqb.loan_application_history a\r\nINNER JOIN xyqb.repayment_plan e \r\nINNER JOIN payment_center.card_bind_info p1\r\nINNER JOIN payment_center.user p2\r\non a.id=d.loan_application_history_id and p1.user_id=p2.id and p2.xyqb_uid=c.user_id and p2.xyqb_uid=a.user_id and \r\ne.loan_application_history_id=d.loan_application_history_id\r\nwhere d.`funding_corp_id`=100010 and d.`loan_application_history_id`={{sqldata_0}} and a.progress=15 order by rand() limit 1;", "sql": "select distinct d.`loan_application_history_id`,p1.card_no, 0 as noncestr,0 as timestamp ,\r\n0 as sign,0 as app_id,c.`name`,c.`id_no`,c.`phone_no` from xyqb_user.`user_detail`c\r\ninner join xyqb.`loan_application_manifest_history` d\r\nINNER JOIN xyqb.loan_application_history a\r\nINNER JOIN xyqb.repayment_plan e \r\nINNER JOIN payment_center.card_bind_info p1\r\nINNER JOIN payment_center.user p2\r\non a.id=d.loan_application_history_id and p1.user_id=p2.id and p2.xyqb_uid=c.user_id and p2.xyqb_uid=a.user_id and \r\ne.loan_application_history_id=d.loan_application_history_id\r\nwhere d.`funding_corp_id`=100010 and d.`loan_application_history_id`={{loanid}} order by rand() limit 1;",
"db": "xyqb", "db": "xyqb",
"result": { "result": {
"code": "0" "code": "0"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"code": "0" "code": "0"
}, },
"type": "koala", "type": "koala",
"sleep":"300",
"param": { "param": {
"businessFlowNo": "%s", "businessFlowNo": "%s",
"loanId": "%s", "loanId": "%s",
......
...@@ -23,4 +23,4 @@ ...@@ -23,4 +23,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
"code": "0" "code": "0"
}, },
"type": "koala", "type": "koala",
"rule": {
"amount": "getrandomOne([1000,4000,9000,10000,20000,50000])",
"term": "getrandomOne([3,6,9,12])"
},
"body": { "body": {
"code": "0", "code": "0",
"msg": "%s", "msg": "%s",
...@@ -17,8 +21,8 @@ ...@@ -17,8 +21,8 @@
"bizNo": "{{applyno}}", "bizNo": "{{applyno}}",
"sceneId": "%s", "sceneId": "%s",
"auditResult": "%s", "auditResult": "%s",
"amount": "10000", "amount": "%s",
"term": "12", "term": "%s",
"deadLine": "%s", "deadLine": "%s",
"extData": "{'ces':'测试'}", "extData": "{'ces':'测试'}",
"financeProducts": "[{'min':10000,'max':10000,'terms':[{'fundInfo':[{'rateType':1,'fundId':%s,'rate':'0','priority':1,'feeType':1,'fundProductId':100000}],'term':12}]}]" "financeProducts": "[{'min':10000,'max':10000,'terms':[{'fundInfo':[{'rateType':1,'fundId':%s,'rate':'0','priority':1,'feeType':1,'fundProductId':100000}],'term':12}]}]"
...@@ -26,4 +30,4 @@ ...@@ -26,4 +30,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"commit": "风控结果拒绝(POST)", "commit": "风控结果拒绝(POST)",
"url": "/v1/risk_management/audit/receive_risk_control_result", "url": "/v1/risk_management/audit/receive_risk_control_result",
"casename": "token", "casename": "token",
"sql": "select 'success', a.`channel_id`,a.`uuid`, 0 as 'sceneId','false',unix_timestamp('20200701')*1000 as deadline\r\nfrom business_flow.apply_list a \r\nwhere a.`enable`=1 \r\nand a.apply_no='{{applyno}}';", "sql": "select 'success', a.`channel_id`,a.`uuid`, 0 as 'sceneId','false',unix_timestamp('20201201')*1000 as deadline\r\nfrom business_flow.apply_list a \r\nwhere a.`enable`=1 \r\nand a.apply_no='{{applyno}}';",
"db": "xyqb", "db": "xyqb",
"result": { "result": {
"code": "0" "code": "0"
......
{ {
"method": "POST", "method": "POST",
"commit": "提交授信申请 ( 给考拉 ) (POST)", "commit": "提交授信申请 ( 给考拉 ) (POST)",
"url": "/v1/risk_management/audit/credit_application/submit", "url": "/v1/credit_order/submit",
"casename": "token", "casename": "token",
"sql": "select a.`channel_id`,a.uuid\r\nfrom business_flow.apply_list a\r\ninner join `xyqb_user`.user b\r\non a.`uuid`=b.`uuid`\r\nwhere a.apply_no='{{applyno}}'\r\norder by a.id desc limit 1;", "sql": "select a.`channel_id`,a.uuid\r\nfrom business_flow.apply_list a\r\ninner join `xyqb_user`.user b\r\non a.`uuid`=b.`uuid`\r\nwhere a.apply_no='{{applyno}}'\r\norder by a.id desc limit 1;",
"db": "xyqb", "db": "xyqb",
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -24,4 +24,4 @@ ...@@ -24,4 +24,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -51,4 +51,4 @@ ...@@ -51,4 +51,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -22,4 +22,4 @@ ...@@ -22,4 +22,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -24,4 +24,4 @@ ...@@ -24,4 +24,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -23,4 +23,4 @@ ...@@ -23,4 +23,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -24,4 +24,4 @@ ...@@ -24,4 +24,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
"commit": "创建放款单及资金清单(POST)", "commit": "创建放款单及资金清单(POST)",
"url": "/middle_office/loan", "url": "/middle_office/loan",
"casename": "token", "casename": "token",
"sql": "select a.id as aid,10000,6,223,0.23,11000,250,b.id,b.name,10000,2.76,100,1000,1000,c.order_no,d.id from xyqb_user.user a\r\njoin xyqb.quota_credit c on a.id=c.user_id \r\njoin xyqb.quota_account d on d.user_id=a.id \r\njoin xyqb.funding_corp b\r\norder by rand() limit 1;", "sql": "select a.id as aid,concat(d.total_amount),6,223,'0.23',11000,'250',b.id,b.name,10000,'2.76',100,1000,1000,c.order_no,d.id from xyqb_user.user a\r\njoin xyqb.quota_credit c on a.id=c.user_id \r\njoin xyqb.quota_account d on d.user_id=a.id \r\njoin xyqb.funding_corp b where d.is_active=1 and d.total_amount!=0\r\norder by d.id desc limit 1;",
"db": "msg", "db": "msg",
"execjsonversion": "1.0,1.1,2.0", "execjsonversion": "1.0,1.1,2.0",
"result": { "result": {
"code": "0" "code": "0",
"exist_a": "select * from xyqb.loan_application_history where user_id={{sqldata_0}} and progress=24 and created_at &gt;=DATE_SUB(now(),INTERVAL 10 MINUTE)"
}, },
"type": "transaction", "type": "transaction",
"rule": { "rule": {
......
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -23,4 +23,4 @@ ...@@ -23,4 +23,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -32,4 +32,4 @@ ...@@ -32,4 +32,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
{
"method": "GET",
"commit": "根据 orderNo 查询 funding_corp_id (GET)",
"url": "/middle_office/chaos/order_no",
"casename": "token",
"sql": "select 1",
"db": "xyqb_user",
"execjsonversion": "2.0",
"result": {
"code": "0"
},
"type": "transaction",
"param": {
"orderNo": "%s"
},
"header": {
"Content-Type": "application/x-www-form-urlencoded"
}
}
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
"header": { "header": {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
} }
\ No newline at end of file
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
...@@ -27,4 +27,4 @@ ...@@ -27,4 +27,4 @@
"header": { "header": {
"Content-Type": "application/json" "Content-Type": "application/json"
} }
} }
\ No newline at end of file
{
"method": "GET",
"commit": "查询还款单(by businessFlowNo)(GET)",
"url": "/middle_office/repay/order_by_businessflowno",
"casename": "token",
"sql": "select business_flow_no from xyqb.pay_order order by rand() limit 1;",
"db": "xyqb_user",
"execjsonversion": "2.0",
"result": {
"code": "0"
},
"type": "transaction",
"param": {
"businessFlowNo": "%s"
},
"header": {
"Content-Type": "application/x-www-form-urlencoded"
}
}
{
"method": "GET",
"commit": "根据 orderNo 查询 funding_corp_id (GET)",
"url": "/middle_office/chaos/order_no",
"casename": "token",
"sql": "select order_no from xyqb.quota_credit order by rand() limit 1;",
"db": "xyqb_user",
"execjsonversion": "2.0",
"result": {
"code": "0"
},
"type": "transaction",
"param": {
"orderNo": "%s"
},
"header": {
"Content-Type": "application/x-www-form-urlencoded"
}
}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
}, },
"type": "hetong", "type": "hetong",
"execjsonversion": "1.0.1", "execjsonversion": "1.0.1",
"env":"test11",
"body": { "body": {
"sourceId": "%s", "sourceId": "%s",
"templateId": "%s" "templateId": "%s"
......
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