mcrm-mobile 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -239,12 +239,11 @@ var getSerialNumNew = /*#__PURE__*/function () {
239
239
  * @param extraParams 扩展参数
240
240
  * @returns {*} 拼接后的url
241
241
  */
242
- // .
243
242
 
244
243
 
245
244
  var spliceUrl = /*#__PURE__*/function () {
246
245
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, menu, sybInfo, extraParams) {
247
- var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, view, billId, custUniqueId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, prodCatalog, regionCode, cartType, cartNum, funcId, recommend, feature_value, activityToken, _data$pageInfo, pageInfo, _data$urlParam, urlParam, _data$ticket, ticket, _data$sessId, sessId, _data$token, oToken, _data$header, header, _menu$menuCode, menuCode, _menu$isOutSys, isOutSys, _menu$variable, variable, allVerifySerial, custUniqueIdVerifySerial, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, msg, pageCode, menuName, sysCode, syscode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, groupParamsObj, paramsList, otherParamsList, paramsObj, context, key, iv, _iterator, _step, value, _iterator2, _step2, _value, keys, _key, variableList, _key2;
246
+ var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, view, billId, custUniqueId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, prodCatalog, regionCode, cartType, cartNum, funcId, recommend, feature_value, activityToken, _data$pageInfo, pageInfo, _data$urlParam, urlParam, _data$ticket, ticket, _data$sessId, sessId, _data$token, oToken, _data$header, header, secretKey, offset, isSecret, _menu$menuCode, menuCode, _menu$isOutSys, isOutSys, _menu$variable, variable, allVerifySerial, custUniqueIdVerifySerial, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, msg, pageCode, menuName, sysCode, syscode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, groupParamsObj, paramsList, otherParamsList, paramsObj, context, key, iv, _iterator, _step, value, _iterator2, _step2, _value, keys, _key, variableList, _key2;
248
247
 
249
248
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
250
249
  while (1) {
@@ -267,7 +266,7 @@ var spliceUrl = /*#__PURE__*/function () {
267
266
  envType = _yield$getExpInfo2.envType;
268
267
  view = Local.get("lastEntryView" + "");
269
268
  billId = sybInfo.billId, custUniqueId = sybInfo.custUniqueId, broadBillId = sybInfo.broadBillId, imei = sybInfo.imei, commBusId = sybInfo.commBusId, kindId = sybInfo.kindId, campseg_id = sybInfo.campseg_id, stall_id = sybInfo.stall_id, marketName = sybInfo.marketName, busiOppoId = sybInfo.busiOppoId, addrId = sybInfo.addrId, contTel = sybInfo.contTel, showTab = sybInfo.showTab, campusCode = sybInfo.campusCode, school_id = sybInfo.school_id, customerOrderId = sybInfo.customerOrderId, busiFlowId = sybInfo.busiFlowId, authenWorkNo = sybInfo.authenWorkNo, sysOpId = sybInfo.sysOpId, prodCatalog = sybInfo.prodCatalog, regionCode = sybInfo.regionCode, cartType = sybInfo.cartType, cartNum = sybInfo.cartNum, funcId = sybInfo.funcId, recommend = sybInfo.recommend, feature_value = sybInfo.feature_value, activityToken = sybInfo.token;
270
- _data$pageInfo = data.pageInfo, pageInfo = _data$pageInfo === void 0 ? {} : _data$pageInfo, _data$urlParam = data.urlParam, urlParam = _data$urlParam === void 0 ? {} : _data$urlParam, _data$ticket = data.ticket, ticket = _data$ticket === void 0 ? "" : _data$ticket, _data$sessId = data.sessId, sessId = _data$sessId === void 0 ? "" : _data$sessId, _data$token = data.token, oToken = _data$token === void 0 ? "" : _data$token, _data$header = data.header, header = _data$header === void 0 ? {} : _data$header;
269
+ _data$pageInfo = data.pageInfo, pageInfo = _data$pageInfo === void 0 ? {} : _data$pageInfo, _data$urlParam = data.urlParam, urlParam = _data$urlParam === void 0 ? {} : _data$urlParam, _data$ticket = data.ticket, ticket = _data$ticket === void 0 ? "" : _data$ticket, _data$sessId = data.sessId, sessId = _data$sessId === void 0 ? "" : _data$sessId, _data$token = data.token, oToken = _data$token === void 0 ? "" : _data$token, _data$header = data.header, header = _data$header === void 0 ? {} : _data$header, secretKey = data.secretKey, offset = data.offset, isSecret = data.isSecret;
271
270
  _menu$menuCode = menu.menuCode, menuCode = _menu$menuCode === void 0 ? "" : _menu$menuCode, _menu$isOutSys = menu.isOutSys, isOutSys = _menu$isOutSys === void 0 ? false : _menu$isOutSys, _menu$variable = menu.variable, variable = _menu$variable === void 0 ? "" : _menu$variable;
272
271
  allVerifySerial = Session.get("allVerifySerial") || {};
273
272
  custUniqueIdVerifySerial = Session.get("custUniqueIdVerifySerial") || {};
@@ -405,339 +404,411 @@ var spliceUrl = /*#__PURE__*/function () {
405
404
 
406
405
  case 62:
407
406
  if ((_step = _iterator()).done) {
408
- _context2.next = 188;
407
+ _context2.next = 199;
409
408
  break;
410
409
  }
411
410
 
412
411
  value = _step.value;
413
412
  _context2.t2 = value;
414
- _context2.next = _context2.t2 === "addrId" ? 67 : _context2.t2 === "appCode" ? 69 : _context2.t2 === "sys" ? 69 : _context2.t2 === "appkey" ? 71 : _context2.t2 === "authenWorkNo" ? 73 : _context2.t2 === "billId" ? 75 : _context2.t2 === "broadBillId" ? 77 : _context2.t2 === "busiFlowId" ? 79 : _context2.t2 === "busiOppoId" ? 81 : _context2.t2 === "campseg_id" ? 83 : _context2.t2 === "campusCode" ? 85 : _context2.t2 === "custUniqueId" ? 87 : _context2.t2 === "cityCode" ? 89 : _context2.t2 === "city_id" ? 89 : _context2.t2 === "commBusId" ? 91 : _context2.t2 === "countyCode" ? 95 : _context2.t2 === "countyName" ? 97 : _context2.t2 === "contTel" ? 99 : _context2.t2 === "customerOrderId" ? 101 : _context2.t2 === "funcId" ? 103 : _context2.t2 === "funcType" ? 105 : _context2.t2 === "imei" ? 107 : _context2.t2 === "kindId" ? 109 : _context2.t2 === "latitude" ? 111 : _context2.t2 === "longitude" ? 113 : _context2.t2 === "marketName" ? 115 : _context2.t2 === "mpType" ? 117 : _context2.t2 === "opCheck" ? 119 : _context2.t2 === "opId" ? 121 : _context2.t2 === "oper_id" ? 121 : _context2.t2 === "op_id" ? 121 : _context2.t2 === "SYS_OP_ID" ? 121 : _context2.t2 === "channelId" ? 121 : _context2.t2 === "sysOpId" ? 123 : _context2.t2 === "opVerifySerial" ? 125 : _context2.t2 === "orgId" ? 127 : _context2.t2 === "org_id" ? 127 : _context2.t2 === "storeCode" ? 127 : _context2.t2 === "orgIdName" ? 129 : _context2.t2 === "storeName" ? 129 : _context2.t2 === "parameter" ? 131 : _context2.t2 === "powerType" ? 133 : _context2.t2 === "prodId" ? 135 : _context2.t2 === "prodType" ? 137 : _context2.t2 === "school_id" ? 139 : _context2.t2 === "serialNum" ? 141 : _context2.t2 === "sessId" ? 146 : _context2.t2 === "sessionId" ? 146 : _context2.t2 === "SESSID" ? 146 : _context2.t2 === "session_id" ? 146 : _context2.t2 === "showTab" ? 148 : _context2.t2 === "stall_id" ? 150 : _context2.t2 === "telNum" ? 152 : _context2.t2 === "product_no" ? 152 : _context2.t2 === "ticket" ? 154 : _context2.t2 === "timestamp" ? 156 : _context2.t2 === "userId" ? 158 : _context2.t2 === "loginName" ? 158 : _context2.t2 === "userName" ? 160 : _context2.t2 === "verifySerial" ? 162 : _context2.t2 === "verifyType" ? 164 : _context2.t2 === "idCode" ? 166 : _context2.t2 === "userCityId" ? 168 : _context2.t2 === "regionId" ? 170 : _context2.t2 === "cartType" ? 172 : _context2.t2 === "cartNum" ? 174 : _context2.t2 === "view" ? 176 : _context2.t2 === "recommend" ? 178 : _context2.t2 === "feature_value" ? 180 : _context2.t2 === "token" ? 182 : 184;
413
+ _context2.next = _context2.t2 === "addrId" ? 67 : _context2.t2 === "appCode" ? 69 : _context2.t2 === "sys" ? 69 : _context2.t2 === "appkey" ? 71 : _context2.t2 === "authenWorkNo" ? 73 : _context2.t2 === "billId" ? 75 : _context2.t2 === "broadBillId" ? 88 : _context2.t2 === "busiFlowId" ? 90 : _context2.t2 === "busiOppoId" ? 92 : _context2.t2 === "campseg_id" ? 94 : _context2.t2 === "campusCode" ? 96 : _context2.t2 === "custUniqueId" ? 98 : _context2.t2 === "cityCode" ? 100 : _context2.t2 === "city_id" ? 100 : _context2.t2 === "commBusId" ? 102 : _context2.t2 === "countyCode" ? 106 : _context2.t2 === "countyName" ? 108 : _context2.t2 === "contTel" ? 110 : _context2.t2 === "customerOrderId" ? 112 : _context2.t2 === "funcId" ? 114 : _context2.t2 === "funcType" ? 116 : _context2.t2 === "imei" ? 118 : _context2.t2 === "kindId" ? 120 : _context2.t2 === "latitude" ? 122 : _context2.t2 === "longitude" ? 124 : _context2.t2 === "marketName" ? 126 : _context2.t2 === "mpType" ? 128 : _context2.t2 === "opCheck" ? 130 : _context2.t2 === "opId" ? 132 : _context2.t2 === "oper_id" ? 132 : _context2.t2 === "op_id" ? 132 : _context2.t2 === "SYS_OP_ID" ? 132 : _context2.t2 === "channelId" ? 132 : _context2.t2 === "sysOpId" ? 134 : _context2.t2 === "opVerifySerial" ? 136 : _context2.t2 === "orgId" ? 138 : _context2.t2 === "org_id" ? 138 : _context2.t2 === "storeCode" ? 138 : _context2.t2 === "orgIdName" ? 140 : _context2.t2 === "storeName" ? 140 : _context2.t2 === "parameter" ? 142 : _context2.t2 === "powerType" ? 144 : _context2.t2 === "prodId" ? 146 : _context2.t2 === "prodType" ? 148 : _context2.t2 === "school_id" ? 150 : _context2.t2 === "serialNum" ? 152 : _context2.t2 === "sessId" ? 157 : _context2.t2 === "sessionId" ? 157 : _context2.t2 === "SESSID" ? 157 : _context2.t2 === "session_id" ? 157 : _context2.t2 === "showTab" ? 159 : _context2.t2 === "stall_id" ? 161 : _context2.t2 === "telNum" ? 163 : _context2.t2 === "product_no" ? 163 : _context2.t2 === "ticket" ? 165 : _context2.t2 === "timestamp" ? 167 : _context2.t2 === "userId" ? 169 : _context2.t2 === "loginName" ? 169 : _context2.t2 === "userName" ? 171 : _context2.t2 === "verifySerial" ? 173 : _context2.t2 === "verifyType" ? 175 : _context2.t2 === "idCode" ? 177 : _context2.t2 === "userCityId" ? 179 : _context2.t2 === "regionId" ? 181 : _context2.t2 === "cartType" ? 183 : _context2.t2 === "cartNum" ? 185 : _context2.t2 === "view" ? 187 : _context2.t2 === "recommend" ? 189 : _context2.t2 === "feature_value" ? 191 : _context2.t2 === "token" ? 193 : 195;
415
414
  break;
416
415
 
417
416
  case 67:
418
417
  paramsObj[value] = isDef(addrId) ? addrId : "";
419
- return _context2.abrupt("break", 186);
418
+ return _context2.abrupt("break", 197);
420
419
 
421
420
  case 69:
422
421
  paramsObj[value] = "mcrm";
423
- return _context2.abrupt("break", 186);
422
+ return _context2.abrupt("break", 197);
424
423
 
425
424
  case 71:
426
425
  paramsObj[value] = "mobilecrm";
427
- return _context2.abrupt("break", 186);
426
+ return _context2.abrupt("break", 197);
428
427
 
429
428
  case 73:
430
429
  paramsObj[value] = isDef(authenWorkNo) ? authenWorkNo : "";
431
- return _context2.abrupt("break", 186);
430
+ return _context2.abrupt("break", 197);
432
431
 
433
432
  case 75:
434
- paramsObj[value] = isDef(billId) ? data.secretKey ? DataProcess.aesEncryptBusiness(billId, data.secretKey) + "&isSecrect=1" : billId : "";
435
- return _context2.abrupt("break", 186);
433
+ if (!isDef(billId)) {
434
+ _context2.next = 86;
435
+ break;
436
+ }
436
437
 
437
- case 77:
438
- paramsObj[value] = isDef(broadBillId) ? data.secretKey ? DataProcess.aesEncryptBusiness(broadBillId, data.secretKey) + "&isSecrect=1" : broadBillId : "";
439
- return _context2.abrupt("break", 186);
438
+ _context2.t3 = isSecret;
439
+ _context2.next = _context2.t3 === "1" ? 79 : _context2.t3 === "2" ? 81 : 83;
440
+ break;
440
441
 
441
442
  case 79:
442
- paramsObj[value] = isDef(busiFlowId) ? busiFlowId : "17000003";
443
- return _context2.abrupt("break", 186);
443
+ paramsObj[value] = DataProcess.aesEncryptBusiness(billId, data.secretKey) + "&isSecret=1";
444
+ return _context2.abrupt("break", 84);
444
445
 
445
446
  case 81:
446
- paramsObj[value] = isDef(busiOppoId) ? busiOppoId : "";
447
- return _context2.abrupt("break", 186);
447
+ paramsObj[value] = encodeURIComponent(DataProcess.aesEncryptBusinessNew(billId, secretKey, offset)) + "&isSecret=2";
448
+ return _context2.abrupt("break", 84);
448
449
 
449
450
  case 83:
451
+ paramsObj[value] = billId;
452
+
453
+ case 84:
454
+ _context2.next = 87;
455
+ break;
456
+
457
+ case 86:
458
+ paramsObj[value] = "";
459
+
460
+ case 87:
461
+ return _context2.abrupt("break", 197);
462
+
463
+ case 88:
464
+ paramsObj[value] = isDef(broadBillId) ? broadBillId : "";
465
+ return _context2.abrupt("break", 197);
466
+
467
+ case 90:
468
+ paramsObj[value] = isDef(busiFlowId) ? busiFlowId : "17000003";
469
+ return _context2.abrupt("break", 197);
470
+
471
+ case 92:
472
+ paramsObj[value] = isDef(busiOppoId) ? busiOppoId : "";
473
+ return _context2.abrupt("break", 197);
474
+
475
+ case 94:
450
476
  paramsObj[value] = isDef(campseg_id) ? campseg_id : "";
451
- return _context2.abrupt("break", 186);
477
+ return _context2.abrupt("break", 197);
452
478
 
453
- case 85:
479
+ case 96:
454
480
  paramsObj[value] = isDef(campusCode) ? campusCode : "";
455
- return _context2.abrupt("break", 186);
481
+ return _context2.abrupt("break", 197);
456
482
 
457
- case 87:
483
+ case 98:
458
484
  paramsObj[value] = isDef(custUniqueId) ? custUniqueId : "";
459
- return _context2.abrupt("break", 186);
485
+ return _context2.abrupt("break", 197);
460
486
 
461
- case 89:
487
+ case 100:
462
488
  paramsObj[value] = isDef(cityCode) ? cityCode : "";
463
- return _context2.abrupt("break", 186);
489
+ return _context2.abrupt("break", 197);
464
490
 
465
- case 91:
491
+ case 102:
466
492
  paramsObj[value] = isDef(commBusId) ? commBusId : "";
467
493
  paramsObj["isRecommEnd"] = "false";
468
494
  paramsObj["bType"] = "1";
469
- return _context2.abrupt("break", 186);
495
+ return _context2.abrupt("break", 197);
470
496
 
471
- case 95:
497
+ case 106:
472
498
  paramsObj[value] = isDef(areaCode) ? areaCode : "";
473
- return _context2.abrupt("break", 186);
499
+ return _context2.abrupt("break", 197);
474
500
 
475
- case 97:
501
+ case 108:
476
502
  paramsObj[value] = isDef(areaName) ? areaName : "";
477
- return _context2.abrupt("break", 186);
503
+ return _context2.abrupt("break", 197);
478
504
 
479
- case 99:
505
+ case 110:
480
506
  paramsObj[value] = isDef(contTel) ? contTel : "";
481
- return _context2.abrupt("break", 186);
507
+ return _context2.abrupt("break", 197);
482
508
 
483
- case 101:
509
+ case 112:
484
510
  paramsObj[value] = isDef(customerOrderId) ? customerOrderId : "";
485
- return _context2.abrupt("break", 186);
511
+ return _context2.abrupt("break", 197);
486
512
 
487
- case 103:
513
+ case 114:
488
514
  paramsObj[value] = isDef(funcId) ? funcId : isDef(menuCode) ? menuCode : "";
489
- return _context2.abrupt("break", 186);
515
+ return _context2.abrupt("break", 197);
490
516
 
491
- case 105:
517
+ case 116:
492
518
  paramsObj[value] = isDef(funcType) ? funcType : "";
493
- return _context2.abrupt("break", 186);
519
+ return _context2.abrupt("break", 197);
494
520
 
495
- case 107:
521
+ case 118:
496
522
  paramsObj[value] = isDef(imei) ? imei : "";
497
- return _context2.abrupt("break", 186);
523
+ return _context2.abrupt("break", 197);
498
524
 
499
- case 109:
525
+ case 120:
500
526
  paramsObj[value] = isDef(kindId) ? kindId : "";
501
- return _context2.abrupt("break", 186);
527
+ return _context2.abrupt("break", 197);
502
528
 
503
- case 111:
529
+ case 122:
504
530
  paramsObj[value] = isDef(latitude) ? latitude : "";
505
- return _context2.abrupt("break", 186);
531
+ return _context2.abrupt("break", 197);
506
532
 
507
- case 113:
533
+ case 124:
508
534
  paramsObj[value] = isDef(longitude) ? longitude : "";
509
- return _context2.abrupt("break", 186);
535
+ return _context2.abrupt("break", 197);
510
536
 
511
- case 115:
537
+ case 126:
512
538
  paramsObj[value] = isDef(marketName) ? marketName : "";
513
- return _context2.abrupt("break", 186);
539
+ return _context2.abrupt("break", 197);
514
540
 
515
- case 117:
541
+ case 128:
516
542
  paramsObj[value] = "";
517
- return _context2.abrupt("break", 186);
543
+ return _context2.abrupt("break", 197);
518
544
 
519
- case 119:
545
+ case 130:
520
546
  if (opCheck !== undefined) {
521
547
  paramsObj[value] = isDef(opCheck) ? opCheck : "";
522
548
  }
523
549
 
524
- return _context2.abrupt("break", 186);
550
+ return _context2.abrupt("break", 197);
525
551
 
526
- case 121:
552
+ case 132:
527
553
  paramsObj[value] = isDef(opId) ? opId : "";
528
- return _context2.abrupt("break", 186);
554
+ return _context2.abrupt("break", 197);
529
555
 
530
- case 123:
556
+ case 134:
531
557
  paramsObj[value] = isDef(sysOpId) ? sysOpId : "";
532
- return _context2.abrupt("break", 186);
558
+ return _context2.abrupt("break", 197);
533
559
 
534
- case 125:
560
+ case 136:
535
561
  paramsObj[value] = isDef(opVerifySerial) ? opVerifySerial : "";
536
- return _context2.abrupt("break", 186);
562
+ return _context2.abrupt("break", 197);
537
563
 
538
- case 127:
564
+ case 138:
539
565
  paramsObj[value] = isDef(orgId) ? orgId : "";
540
- return _context2.abrupt("break", 186);
566
+ return _context2.abrupt("break", 197);
541
567
 
542
- case 129:
568
+ case 140:
543
569
  paramsObj[value] = isDef(orgName) ? orgName : "";
544
- return _context2.abrupt("break", 186);
570
+ return _context2.abrupt("break", 197);
545
571
 
546
- case 131:
572
+ case 142:
547
573
  paramsObj[value] = isDef(oToken) ? oToken : "";
548
- return _context2.abrupt("break", 186);
574
+ return _context2.abrupt("break", 197);
549
575
 
550
- case 133:
576
+ case 144:
551
577
  paramsObj[value] = isDef(powerType) ? powerType : "";
552
- return _context2.abrupt("break", 186);
578
+ return _context2.abrupt("break", 197);
553
579
 
554
- case 135:
580
+ case 146:
555
581
  paramsObj[value] = "";
556
- return _context2.abrupt("break", 186);
582
+ return _context2.abrupt("break", 197);
557
583
 
558
- case 137:
584
+ case 148:
559
585
  paramsObj[value] = "";
560
- return _context2.abrupt("break", 186);
586
+ return _context2.abrupt("break", 197);
561
587
 
562
- case 139:
588
+ case 150:
563
589
  paramsObj[value] = isDef(school_id) ? school_id : "";
564
- return _context2.abrupt("break", 186);
590
+ return _context2.abrupt("break", 197);
565
591
 
566
- case 141:
567
- _context2.next = 143;
592
+ case 152:
593
+ _context2.next = 154;
568
594
  return getSerialNumNew(menu, sybInfo);
569
595
 
570
- case 143:
596
+ case 154:
571
597
  serialNum = _context2.sent;
572
598
  paramsObj[value] = isDef(serialNum) ? serialNum : "";
573
- return _context2.abrupt("break", 186);
599
+ return _context2.abrupt("break", 197);
574
600
 
575
- case 146:
601
+ case 157:
576
602
  paramsObj[value] = isDef(sessId) ? sessId : "";
577
- return _context2.abrupt("break", 186);
603
+ return _context2.abrupt("break", 197);
578
604
 
579
- case 148:
605
+ case 159:
580
606
  if (isDef(showTab)) {
581
607
  paramsObj[value] = showTab;
582
608
  }
583
609
 
584
- return _context2.abrupt("break", 186);
610
+ return _context2.abrupt("break", 197);
585
611
 
586
- case 150:
612
+ case 161:
587
613
  paramsObj[value] = isDef(stall_id) ? stall_id : "";
588
- return _context2.abrupt("break", 186);
614
+ return _context2.abrupt("break", 197);
589
615
 
590
- case 152:
616
+ case 163:
591
617
  paramsObj[value] = isDef(opPhone) ? opPhone : "";
592
- return _context2.abrupt("break", 186);
618
+ return _context2.abrupt("break", 197);
593
619
 
594
- case 154:
620
+ case 165:
595
621
  paramsObj[value] = isDef(ticket) ? ticket : "";
596
- return _context2.abrupt("break", 186);
622
+ return _context2.abrupt("break", 197);
597
623
 
598
- case 156:
624
+ case 167:
599
625
  paramsObj[value] = new Date().getTime();
600
- return _context2.abrupt("break", 186);
626
+ return _context2.abrupt("break", 197);
601
627
 
602
- case 158:
628
+ case 169:
603
629
  paramsObj[value] = isDef(loginName) ? loginName : "";
604
- return _context2.abrupt("break", 186);
630
+ return _context2.abrupt("break", 197);
605
631
 
606
- case 160:
632
+ case 171:
607
633
  paramsObj[value] = isDef(userName) ? userName : "";
608
- return _context2.abrupt("break", 186);
634
+ return _context2.abrupt("break", 197);
609
635
 
610
- case 162:
636
+ case 173:
611
637
  paramsObj[value] = isDef(verifySerial) ? verifySerial : "";
612
- return _context2.abrupt("break", 186);
638
+ return _context2.abrupt("break", 197);
613
639
 
614
- case 164:
640
+ case 175:
615
641
  paramsObj[value] = isDef(verifyType) ? verifyType : "";
616
- return _context2.abrupt("break", 186);
642
+ return _context2.abrupt("break", 197);
617
643
 
618
- case 166:
644
+ case 177:
619
645
  paramsObj[value] = isDef(prodCatalog) ? prodCatalog : "";
620
- return _context2.abrupt("break", 186);
646
+ return _context2.abrupt("break", 197);
621
647
 
622
- case 168:
648
+ case 179:
623
649
  paramsObj[value] = isDef(regionCode) ? regionCode : "";
624
- return _context2.abrupt("break", 186);
650
+ return _context2.abrupt("break", 197);
625
651
 
626
- case 170:
652
+ case 181:
627
653
  paramsObj[value] = isDef(regionCode) ? regionCode : "";
628
- return _context2.abrupt("break", 186);
654
+ return _context2.abrupt("break", 197);
629
655
 
630
- case 172:
656
+ case 183:
631
657
  paramsObj[value] = isDef(cartType) ? cartType : "";
632
- return _context2.abrupt("break", 186);
658
+ return _context2.abrupt("break", 197);
633
659
 
634
- case 174:
660
+ case 185:
635
661
  paramsObj[value] = isDef(cartNum) ? cartNum : "";
636
- return _context2.abrupt("break", 186);
662
+ return _context2.abrupt("break", 197);
637
663
 
638
- case 176:
664
+ case 187:
639
665
  paramsObj[value] = isDef(view) ? viewObj[view] : "";
640
- return _context2.abrupt("break", 186);
666
+ return _context2.abrupt("break", 197);
641
667
 
642
- case 178:
668
+ case 189:
643
669
  paramsObj[value] = isDef(recommend) ? encodeURIComponent(recommend) : "";
644
- return _context2.abrupt("break", 186);
670
+ return _context2.abrupt("break", 197);
645
671
 
646
- case 180:
672
+ case 191:
647
673
  paramsObj[value] = isDef(feature_value) ? feature_value : "";
648
- return _context2.abrupt("break", 186);
674
+ return _context2.abrupt("break", 197);
649
675
 
650
- case 182:
676
+ case 193:
651
677
  paramsObj[value] = isDef(activityToken) ? activityToken : "";
652
- return _context2.abrupt("break", 186);
678
+ return _context2.abrupt("break", 197);
653
679
 
654
- case 184:
680
+ case 195:
655
681
  if (isDef(sybInfo[value]) || isDef(urlParam[value])) {
656
682
  paramsObj[value] = sybInfo[value] || urlParam[value];
657
683
  } else {
658
684
  console.error("Did not match " + value);
659
685
  }
660
686
 
661
- return _context2.abrupt("break", 186);
687
+ return _context2.abrupt("break", 197);
662
688
 
663
- case 186:
689
+ case 197:
664
690
  _context2.next = 62;
665
691
  break;
666
692
 
667
- case 188:
693
+ case 199:
668
694
  _iterator2 = _createForOfIteratorHelperLoose(otherParamsList);
669
695
 
670
- case 189:
696
+ case 200:
671
697
  if ((_step2 = _iterator2()).done) {
672
- _context2.next = 213;
698
+ _context2.next = 224;
673
699
  break;
674
700
  }
675
701
 
676
702
  _value = _step2.value;
677
- _context2.t3 = _value;
678
- _context2.next = _context2.t3 === "opId" ? 194 : _context2.t3 === "opName" ? 196 : _context2.t3 === "phone" ? 198 : _context2.t3 === "orgId" ? 200 : _context2.t3 === "orgName" ? 202 : _context2.t3 === "regionId" ? 204 : _context2.t3 === "countyId" ? 206 : _context2.t3 === "sessionId" ? 208 : 210;
703
+ _context2.t4 = _value;
704
+ _context2.next = _context2.t4 === "opId" ? 205 : _context2.t4 === "opName" ? 207 : _context2.t4 === "phone" ? 209 : _context2.t4 === "orgId" ? 211 : _context2.t4 === "orgName" ? 213 : _context2.t4 === "regionId" ? 215 : _context2.t4 === "countyId" ? 217 : _context2.t4 === "sessionId" ? 219 : 221;
679
705
  break;
680
706
 
681
- case 194:
707
+ case 205:
682
708
  otherParamsObj[_value] = isDef(opId) ? opId : "";
683
- return _context2.abrupt("break", 211);
709
+ return _context2.abrupt("break", 222);
684
710
 
685
- case 196:
711
+ case 207:
686
712
  otherParamsObj[_value] = isDef(loginName) ? loginName : "";
687
- return _context2.abrupt("break", 211);
713
+ return _context2.abrupt("break", 222);
688
714
 
689
- case 198:
715
+ case 209:
690
716
  otherParamsObj[_value] = isDef(opPhone) ? opPhone : "";
691
- return _context2.abrupt("break", 211);
717
+ return _context2.abrupt("break", 222);
692
718
 
693
- case 200:
719
+ case 211:
694
720
  otherParamsObj[_value] = isDef(orgId) ? orgId : "";
695
- return _context2.abrupt("break", 211);
721
+ return _context2.abrupt("break", 222);
696
722
 
697
- case 202:
723
+ case 213:
698
724
  otherParamsObj[_value] = isDef(orgName) ? orgName : "";
699
- return _context2.abrupt("break", 211);
725
+ return _context2.abrupt("break", 222);
700
726
 
701
- case 204:
727
+ case 215:
702
728
  otherParamsObj[_value] = isDef(cityCode) ? cityCode : "";
703
- return _context2.abrupt("break", 211);
729
+ return _context2.abrupt("break", 222);
704
730
 
705
- case 206:
731
+ case 217:
706
732
  otherParamsObj[_value] = isDef(areaCode) ? areaCode : "";
707
- return _context2.abrupt("break", 211);
733
+ return _context2.abrupt("break", 222);
708
734
 
709
- case 208:
735
+ case 219:
710
736
  otherParamsObj[_value] = isDef(sessId) ? sessId : "";
711
- return _context2.abrupt("break", 211);
737
+ return _context2.abrupt("break", 222);
712
738
 
713
- case 210:
714
- return _context2.abrupt("break", 211);
739
+ case 221:
740
+ return _context2.abrupt("break", 222);
715
741
 
716
- case 211:
717
- _context2.next = 189;
742
+ case 222:
743
+ _context2.next = 200;
718
744
  break;
719
745
 
720
- case 213:
746
+ case 224:
721
747
  keys = Object.keys(paramsObj);
748
+ _context2.t5 = _regeneratorRuntime.keys(extraParams);
722
749
 
723
- for (_key in extraParams) {
724
- if (!keys.includes(_key)) {
725
- paramsObj[_key] = extraParams[_key];
726
- } else {
727
- if (isOutSys) {
728
- variableList = variable.split(",");
750
+ case 226:
751
+ if ((_context2.t6 = _context2.t5()).done) {
752
+ _context2.next = 249;
753
+ break;
754
+ }
729
755
 
730
- if (variableList.includes(_key)) {
731
- if (_key === "billId" || _key === "broadBillId") {
732
- paramsObj[_key] = data.secretKey ? DataProcess.aesEncryptBusiness(extraParams[_key], data.secretKey) + "&isSecrect=1" : extraParams[_key];
733
- } else {
734
- paramsObj[_key] = extraParams[_key];
735
- }
736
- }
737
- }
738
- }
756
+ _key = _context2.t6.value;
757
+
758
+ if (keys.includes(_key)) {
759
+ _context2.next = 232;
760
+ break;
739
761
  }
740
762
 
763
+ paramsObj[_key] = extraParams[_key];
764
+ _context2.next = 247;
765
+ break;
766
+
767
+ case 232:
768
+ if (!isOutSys) {
769
+ _context2.next = 247;
770
+ break;
771
+ }
772
+
773
+ variableList = variable.split(",");
774
+
775
+ if (!variableList.includes(_key)) {
776
+ _context2.next = 247;
777
+ break;
778
+ }
779
+
780
+ if (!(_key === "billId")) {
781
+ _context2.next = 246;
782
+ break;
783
+ }
784
+
785
+ _context2.t7 = isSecret;
786
+ _context2.next = _context2.t7 === "1" ? 239 : _context2.t7 === "2" ? 241 : 243;
787
+ break;
788
+
789
+ case 239:
790
+ paramsObj[_key] = DataProcess.aesEncryptBusiness(extraParams[_key], data.secretKey) + "&isSecret=1";
791
+ return _context2.abrupt("break", 244);
792
+
793
+ case 241:
794
+ paramsObj[_key] = encodeURIComponent(DataProcess.aesEncryptBusinessNew(extraParams[_key], secretKey, offset)) + "&isSecret=2";
795
+ return _context2.abrupt("break", 244);
796
+
797
+ case 243:
798
+ paramsObj[_key] = extraParams[_key];
799
+
800
+ case 244:
801
+ _context2.next = 247;
802
+ break;
803
+
804
+ case 246:
805
+ paramsObj[_key] = extraParams[_key];
806
+
807
+ case 247:
808
+ _context2.next = 226;
809
+ break;
810
+
811
+ case 249:
741
812
  if (!Object.keys(paramsObj).includes("verifySerial") && verifySerial) {
742
813
  paramsObj["verifySerial"] = isDef(verifySerial) ? verifySerial : "";
743
814
  }
@@ -756,7 +827,7 @@ var spliceUrl = /*#__PURE__*/function () {
756
827
  msg: msg
757
828
  });
758
829
 
759
- case 219:
830
+ case 253:
760
831
  case "end":
761
832
  return _context2.stop();
762
833
  }
@@ -1106,7 +1177,7 @@ var onAuth = function onAuth(menu, sybInfo) {
1106
1177
  while (1) {
1107
1178
  switch (_context6.prev = _context6.next) {
1108
1179
  case 0:
1109
- data.commParam && (data.commParam = JSON.parse(data.commParam));
1180
+ data.commParam && data.commParam !== "" && (data.commParam = JSON.parse(data.commParam));
1110
1181
  _context6.next = 3;
1111
1182
  return openPageWithLink(data, menu, sybInfo, {}, {}, function (res) {
1112
1183
  var _ref9 = res || {},
@@ -1936,7 +2007,7 @@ var open = /*#__PURE__*/function () {
1936
2007
  while (1) {
1937
2008
  switch (_context12.prev = _context12.next) {
1938
2009
  case 0:
1939
- data.commParam && (data.commParam = JSON.parse(data.commParam));
2010
+ data.commParam && data.commParam !== "" && (data.commParam = JSON.parse(data.commParam));
1940
2011
  _context12.next = 3;
1941
2012
  return openPage(data, newMenu, sybInfo, extraParams, openParams, onClose, onSuccess, onFail);
1942
2013
 
@@ -1979,7 +2050,7 @@ var open = /*#__PURE__*/function () {
1979
2050
  while (1) {
1980
2051
  switch (_context13.prev = _context13.next) {
1981
2052
  case 0:
1982
- data.commParam && (data.commParam = JSON.parse(data.commParam));
2053
+ data.commParam && data.commParam !== "" && (data.commParam = JSON.parse(data.commParam));
1983
2054
  _context13.next = 3;
1984
2055
  return openPage(data, newMenu, sybInfo, extraParams, openParams, onClose, onSuccess, onFail);
1985
2056