@tmsfe/tms-core 0.0.186 → 0.0.188
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.
package/package.json
CHANGED
|
@@ -297,7 +297,7 @@ const eccUtil = {
|
|
|
297
297
|
const decryptedStr = base64Util.encodeUTF8(decrypted);
|
|
298
298
|
return new baseUtil.BaseRespFac(decryptedStr);
|
|
299
299
|
} catch (err) {
|
|
300
|
-
return new baseUtil.BaseRespFac('', false, `execDecrypt失败:${JSON.stringify(err)}`)
|
|
300
|
+
return new baseUtil.BaseRespFac('', false, `execDecrypt失败:${JSON.stringify(err)}`);
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
303
|
checkCryptoOpen: (): boolean => !!eccUtil._privateKeyInfo,
|
|
@@ -346,9 +346,9 @@ const cryptRuleUtil = {
|
|
|
346
346
|
},
|
|
347
347
|
// 不参与加密的请求路径规则: { 允许的域名: 不需要加密的path }
|
|
348
348
|
_encryptPathRule: {
|
|
349
|
-
'tim.map.qq.com': ['^/user/login', '^/api/getClientConfigs', '^/basic/crypto/lastkey2', '^/mp/mobility/api/v1/takecar/charge/getRecommendPointAndEstimatePrice'],
|
|
349
|
+
'tim.map.qq.com': ['^/user/login', '^/api/getClientConfigs', '^/basic/event/upload', '^/basic/crypto/lastkey2', '^/mp/mobility/api/v1/takecar/charge/getRecommendPointAndEstimatePrice'],
|
|
350
350
|
'tim.sparta.html5.qq.com': [
|
|
351
|
-
'^/user/login',
|
|
351
|
+
'^/user/login', '^/basic/event/upload',
|
|
352
352
|
'^/cnabroad', '^~/ReChargeCard/', '^/gasolinerecharge/v2/', '^/gasolinerecharge/rechargecard/',
|
|
353
353
|
'^/tde', '^/basic/crypto/lastkey2',
|
|
354
354
|
'^/mp/mobility/api/v1/takecar/charge/getRecommendPointAndEstimatePrice',
|