|
@@ -25,8 +25,8 @@ function getHeaders(config = {}) {
|
|
|
const ct = CONTENT_TYPE_ARRAY[contentType];
|
|
|
let header = {
|
|
|
// appId: uni.getStorageSync('appid'),
|
|
|
- appId: 'wx92c3e55fbef6b2af',
|
|
|
- 'Content-Type': ct,
|
|
|
+ // appId: 'wx92c3e55fbef6b2af',
|
|
|
+ // 'Content-Type': ct,
|
|
|
};
|
|
|
const token = getToken();
|
|
|
if (token) {
|
|
@@ -35,12 +35,12 @@ function getHeaders(config = {}) {
|
|
|
|
|
|
const groupId = uni.getStorageSync('groupId');
|
|
|
const mallId = uni.getStorageSync('mallid');
|
|
|
- if (groupId) {
|
|
|
- header['brandId'] = groupId;
|
|
|
- }
|
|
|
- if (mallId) {
|
|
|
- header['lbsId'] = mallId;
|
|
|
- }
|
|
|
+ // if (groupId) {
|
|
|
+ // header['brandId'] = groupId;
|
|
|
+ // }
|
|
|
+ // if (mallId) {
|
|
|
+ // header['lbsId'] = mallId;
|
|
|
+ // }
|
|
|
const sourceObj = getUTMSource();
|
|
|
return Object.assign(header, sourceObj);
|
|
|
}
|