|
@@ -64,7 +64,6 @@ class AJAXHelper {
|
|
|
xmlHttpReq.setRequestHeader('merchant', 'baby');
|
|
|
xmlHttpReq.setRequestHeader('terminal', platform);
|
|
|
xmlHttpReq.setRequestHeader('requestId', requestId);
|
|
|
- xmlHttpReq.setRequestHeader('merchant', 'baby');
|
|
|
xmlHttpReq.setRequestHeader('Authentication', sign); //header中增加Authentication以兼容老版本
|
|
|
xmlHttpReq.setRequestHeader('Content-Type', 'application/' + (method == 'POST' || method == 'PUT' ? 'json' : 'text'));
|
|
|
//构造请求体
|