print bug
This commit is contained in:
parent
0dcfa331b6
commit
2273e17895
|
@ -68,9 +68,9 @@ App({
|
|||
globalData: {
|
||||
userInfo: {},
|
||||
userinfo: {}, // 服务器传回的消费者信息
|
||||
//host: 'https://apitest.ahctc.cn',
|
||||
host: 'https://apitest.ahctc.cn',
|
||||
mediahost: 'https://apitest.ahctc.cn',
|
||||
host: 'http://127.0.0.1:8000',
|
||||
//host: 'http://127.0.0.1:8000',
|
||||
//mediahost: 'http://127.0.0.1:8000',
|
||||
token : '',
|
||||
}
|
||||
|
|
|
@ -246,7 +246,6 @@ class ConsumerViewSet(ModelViewSet):
|
|||
'''
|
||||
证书查询
|
||||
'''
|
||||
print(request.data)
|
||||
payload = {'IndexModel[name]': request.query_params['realname'], 'IndexModel[identityNumber]': request.query_params['ID_number'], 'IndexModel[certNumber]':'', 'IndexModel[candidateNumber]':''}
|
||||
r = requests.post('https://fushe.chinansc.cn/open/candidate-list',data=payload)
|
||||
html = etree.HTML(r.text)
|
||||
|
|
Loading…
Reference in New Issue