当参数为表单数据时:
header = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'bearer ' + token // 拼接token
}
当参数为json格式时:
header = {
'Content-Type': 'application/json',
'Authorization': 'bearer ' + token
}