john 2 år sedan
förälder
incheckning
15e085d923
1 ändrade filer med 8 tillägg och 8 borttagningar
  1. 8 8
      src/api/request.js

+ 8 - 8
src/api/request.js

@@ -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);
 }