@94ai/softphone 6.0.2 → 6.0.4
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.
|
@@ -344,12 +344,12 @@ document.addEventListener('DOMContentLoaded', async (event) => {
|
|
|
344
344
|
* },
|
|
345
345
|
*/
|
|
346
346
|
|
|
347
|
-
const agentTag = '15018707394' // 国内生产线 坐席维度定位
|
|
348
|
-
const appKey = '032d44009bff1752' // 国内生产线 企业维度定位
|
|
349
|
-
const appSecret = '4c7304c94c5e8725613516d4d6db679b' // 国内生产线 企业维度定位
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
347
|
+
// const agentTag = '15018707394' // 国内生产线 坐席维度定位
|
|
348
|
+
// const appKey = '032d44009bff1752' // 国内生产线 企业维度定位
|
|
349
|
+
// const appSecret = '4c7304c94c5e8725613516d4d6db679b' // 国内生产线 企业维度定位
|
|
350
|
+
const agentId = '2357'
|
|
351
|
+
const appKey = 'a52e61f0d9ff1527'
|
|
352
|
+
const appSecret = '7ed1d78fbe214ba8b8e6a2dc9c6955aa'
|
|
353
353
|
const timestamp = Date.now()
|
|
354
354
|
const sign = CryptoJS.enc.Base64.stringify(CryptoJS.HmacSHA1(appKey + timestamp, appSecret))
|
|
355
355
|
|
|
@@ -360,8 +360,8 @@ document.addEventListener('DOMContentLoaded', async (event) => {
|
|
|
360
360
|
/**
|
|
361
361
|
* start - 海外特有参数
|
|
362
362
|
*/
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
sgOpen: '1', // 是否切换海外代理, 默认'0'为国内
|
|
364
|
+
sg: '1', // 是否切换海外环境, 默认'0'为国内
|
|
365
365
|
/**
|
|
366
366
|
* end - 海外特有参数
|
|
367
367
|
*/
|
|
@@ -370,8 +370,8 @@ document.addEventListener('DOMContentLoaded', async (event) => {
|
|
|
370
370
|
// agentId: '2357', // 海外生产线 坐席维度定位
|
|
371
371
|
// appKey: 'a52e61f0d9ff1527', // 海外生产线 企业维度定位
|
|
372
372
|
// appSecret: '7ed1d78fbe214ba8b8e6a2dc9c6955aa', // 海外生产线 企业维度定位 这里直接使用appSecret做演示
|
|
373
|
-
agentTag,
|
|
374
|
-
|
|
373
|
+
// agentTag,
|
|
374
|
+
agentId,
|
|
375
375
|
appKey,
|
|
376
376
|
appSecret,
|
|
377
377
|
// timestamp,
|