Explorar el Código

微服务停车接口移除 header 头中的Authorization

john hace 2 años
padre
commit
0a72f0a81a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/request.js

+ 1 - 1
src/api/request.js

@@ -99,7 +99,7 @@ function XUser(config) {
     lbsId: store.state?.lbsId || '',
     // https://kerryprops.atlassian.net/browse/KIP-10831
     sourceId: store.state?.sourceId || '', // 微信:unionId; 支付宝:userId
-    isLogin: store.state?.member?.vipcode ? 'true' : 'false'
+    isLogin: store.state?.member?.vipcode ? true : false
   };
   // params = {"userId": "8aaa809d835ba76d018378bc57180006","sourceType": "WECHAT","phoneNumber": "18521563898","projectId": "paroject1","buildingId": "QHKC-P1","brandId":"8a84853b7c91ac5b017c962dab55030e","cid": "oIUfO5XAVleJ88z13i1_08DCKIhQ","vipCode":"KERRY100200040","lbsId":"8aaa81cb7c836c6b017c83e46b110001"}
   if (/orders-and-prepay|calculate-discount|unlicensed-car-check-in|unlicensed-car-checkout|paper-coupon/g.test(config.url)) {