|
@@ -61,10 +61,9 @@ class AJAXHelper {
|
|
|
xmlHttpReq.setRequestHeader('eid', eid);
|
|
|
xmlHttpReq.setRequestHeader('uid', uid);
|
|
|
xmlHttpReq.setRequestHeader('sign', sign);
|
|
|
- xmlHttpReq.setRequestHeader('merchant', 'baby');
|
|
|
+ xmlHttpReq.setRequestHeader('merchant', '21st');
|
|
|
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'));
|
|
|
//构造请求体
|