# data={"pdAmountOrderInfo":{\"comId\":\"281\",\"comName\":\"绿城财富杭州一分公司\",\"agentId\":\"345\",\"agentName\":\"楼晓芬\",\"agencyComId\":\"501\",\"agencyComName\":\"贵州中黔金融资产交易中心有限公司\",\"productCode\":\"CF1197\",\"productType\":\"1\",\"productSubType\":\"02\",\"productId\":\"9399\",\"productName\":\"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F\",\"foundDate\":\"2019-09-17\",\"sealingAccDate\":\"2019-09-16 16:00:00\",\"custBaseInfoId\":\"1268\",\"customerNo\":\"236373\",\"orderSource\":\"01\",\"custName\":\"楼晓芬\",\"orderAmount\":\"500000\",\"idType\":\"1\",\"idTypeName\":\"身份证\",\"idNo\":\"330702198206032328\",\"idValidityDate\":\"2036-03-20\",\"bankCode\":\"100079\",\"bankName\":\"平安银行\",\"accName\":\"楼晓芬\",\"mobile\":\"18357148858\",\"email\":\"susan_lou@sohu.com\",\"province\":\"330000\",\"provinceName\":\"浙江省\",\"city\":\"330100\",\"cityName\":\"杭州市\",\"country\":\"330104\",\"countryName\":\"江干区\",\"address\":\"严家路新塘家园东区4幢1401室\",\"validCode\":\"xx\"},"isInviteCode":"02","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","isDistribute":"N"}
data = 'param={"pdAmountOrderInfo":{\"comId\":\"281\",\"comName\":\"绿城财富杭州一分公司\",\"agentId\":\"345\",\"agentName\":\"楼晓芬\",\"agencyComId\":\"501\",\"agencyComName\":\"贵州中黔金融资产交易中心有限公司\",\"productCode\":\"CF1197\",\"productType\":\"1\",\"productSubType\":\"02\",\"productId\":\"9399\",\"productName\":\"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F\",\"foundDate\":\"2019-09-17\",\"sealingAccDate\":\"2019-09-16 16:00:00\",\"custBaseInfoId\":\"1268\",\"customerNo\":\"236373\",\"orderSource\":\"01\",\"custName\":\"楼晓芬\",\"orderAmount\":\"500000\",\"idType\":\"1\",\"idTypeName\":\"身份证\",\"idNo\":\"330702198206032328\",\"idValidityDate\":\"2036-03-20\",\"bankCode\":\"100079\",\"bankName\":\"平安银行\",\"accName\":\"楼晓芬\",\"mobile\":\"18357148858\",\"email\":\"susan_lou@sohu.com\",\"province\":\"330000\",\"provinceName\":\"浙江省\",\"city\":\"330100\",\"cityName\":\"杭州市\",\"country\":\"330104\",\"countryName\":\"江干区\",\"address\":\"严家路新塘家园东区4幢1401室\",\"validCode\":\"%s\"},"isInviteCode":"02","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","isDistribute":"N"}' % (
code)
#data='param={"pdAmountOrderInfo":{"comId":"281","comName":"绿城财富杭州一分公司","agentId":"345","agentName":"楼晓芬","agencyComId":"501","agencyComName":"贵州中黔金融资产交易中心有限公司","productCode":"CF1197","productType":"1","productSubType":"02","productId":"9399","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","foundDate":"2019-09-17","sealingAccDate":"2019-09-16 16:00:00","custBaseInfoId":"1268","customerNo":"236373","orderSource":"01","custName":"楼晓芬","orderAmount":"500000","idType":"1","idTypeName":"身份证","idNo":"330702198206032328","idValidityDate":"2036-03-20","bankCode":"100079","bankName":"平安银行","accName":"楼晓芬","mobile":"18357148858","email":"susan_lou@sohu.com","province":"330000","provinceName":"浙江省","city":"330100","cityName":"杭州市","country":"330104","countryName":"江干区","address":"严家路新塘家园东区4幢1401室","validCode":"xzsv"},"isInviteCode":"02","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","isDistribute":"N"}'
print data
print type(data)
print len(data)
param={"pdAmountOrderInfo":{"comId":"281","comName":"绿城财富杭州一分公司","agentId":"345","agentName":"楼晓芬","agencyComId":"501","agencyComName":"贵州中黔金融资产交易中心有限公司","productCode":"CF1197","productType":"1","productSubType":"02","productId":"9399","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","foundDate":"2019-09-17","sealingAccDate":"2019-09-16 16:00:00","custBaseInfoId":"1268","customerNo":"236373","orderSource":"01","custName":"楼晓芬","orderAmount":"500000","idType":"1","idTypeName":"身份证","idNo":"330702198206032328","idValidityDate":"2036-03-20","bankCode":"100079","bankName":"平安银行","accName":"楼晓芬","mobile":"18357148858","email":"susan_lou@sohu.com","province":"330000","provinceName":"浙江省","city":"330100","cityName":"杭州市","country":"330104","countryName":"江干区","address":"严家路新塘家园东区4幢1401室","validCode":"ycrq"},"isInviteCode":"02","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","isDistribute":"N"}
1118
{"success":false,"msg":"您对该产品的购买/预约次数已经超过了设定值,不能预约!","obj":null}
2019-09-12 08:08:37
url6 = 'https://fms.lvchengcaifu.com/productOrder/saveProductAmountOrderInfo'
#data={"pdAmountOrderInfo":{\"comId\":\"281\",\"comName\":\"绿城财富杭州一分公司\",\"agentId\":\"345\",\"agentName\":\"楼晓芬\",\"agencyComId\":\"501\",\"agencyComName\":\"贵州中黔金融资产交易中心有限公司\",\"productCode\":\"CF1197\",\"productType\":\"1\",\"productSubType\":\"02\",\"productId\":\"9399\",\"productName\":\"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F\",\"foundDate\":\"2019-09-17\",\"sealingAccDate\":\"2019-09-16 16:00:00\",\"custBaseInfoId\":\"1268\",\"customerNo\":\"236373\",\"orderSource\":\"01\",\"custName\":\"楼晓芬\",\"orderAmount\":\"500000\",\"idType\":\"1\",\"idTypeName\":\"身份证\",\"idNo\":\"330702198206032328\",\"idValidityDate\":\"2036-03-20\",\"bankCode\":\"100079\",\"bankName\":\"平安银行\",\"accName\":\"楼晓芬\",\"mobile\":\"18357148858\",\"email\":\"susan_lou@sohu.com\",\"province\":\"330000\",\"provinceName\":\"浙江省\",\"city\":\"330100\",\"cityName\":\"杭州市\",\"country\":\"330104\",\"countryName\":\"江干区\",\"address\":\"严家路新塘家园东区4幢1401室\",\"validCode\":\"xx\"},"isInviteCode":"02","productName":"贵州思州润峰建设有限责任公司2019年第一期直接融资工具07F","isDistribute":"N"}
data ='param={"pdAmountOrderInfo":{\"comId\":\"%s\",\"comName\":\"%s\",\"agentId\":\"%s\",\"agentName\":\"%s\",\"agencyComId\":\"%s\",\"agencyComName\":\"%s\",\"productCode\":\"%s\",\"productType\":\"%s\",\"productSubType\":\"%s\",\"productId\":\"%s\",\"productName\":\"%s\",\"foundDate\":\"%s\",\"sealingAccDate\":\"%s\",\"custBaseInfoId\":\"%s\",\"customerNo\":\"%s\",\"orderSource\":\"01\",\"custName\":\"%s\",\"orderAmount\":\"500000\",\"idType\":\"%s\",\"idTypeName\":\"%s\",\"idNo\":\"%s\",\"idValidityDate\":\"%s\",\"bankCode\":\"%s\",\"bankName\":\"%s\",\"accName\":\"%s\",\"mobile\":\"%s\",\"email\":\"%s\",\"province\":\"%s\",\"provinceName\":\"%s\",\"city\":\"%s\",\"cityName\":\"%s\",\"country\":\"%s\",\"countryName\":\"%s\",\"address\":\"%s\",\"validCode\":\"%s\"},"isInviteCode":"02","productName":"%s","isDistribute":"N"}' %(comId, comName, agentId, agentName, agencyComId, agencyComName, productCode, productType, productSubType, productId,productName, foundDate, investEndDate, custBaseInfoId, customerNo, custName, idType, idTypeName, idNo,idValidityDate, bankCode, bankName, accName, mobile, email, province, provinceName, city, cityName, country,countryName, address, code, productName)
print type(data)
print len(data)
data=data.encode('unicode-escape').decode('string_escape')
print len(data)
print type(data)
898
1448
{"success":false,"msg":"您对该产品的购买/预约次数已经超过了设定值,不能预约!","obj":null}
2019-09-12 08:10:11