zydx-plus 1.33.373 → 1.33.375
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
|
@@ -3212,7 +3212,7 @@ export default {
|
|
|
3212
3212
|
const xhr = new XMLHttpRequest()
|
|
3213
3213
|
// xhr.open('GET', 'http://192.168.15.124:8888/zydx/voice/getDesKeyId')
|
|
3214
3214
|
// xhr.setRequestHeader('Authorization', '4a7ab02c-11b7-420f-bf85-ac5549b2aa81')
|
|
3215
|
-
xhr.open('GET', '/zydx/voice/
|
|
3215
|
+
xhr.open('GET', '/zydx/voice/getVoideKey')
|
|
3216
3216
|
xhr.setRequestHeader('Authorization', token)
|
|
3217
3217
|
this.error = true
|
|
3218
3218
|
xhr.onreadystatechange = () => {
|
|
@@ -3247,8 +3247,11 @@ export default {
|
|
|
3247
3247
|
const json = {
|
|
3248
3248
|
type: 'START',
|
|
3249
3249
|
data: {
|
|
3250
|
-
appid
|
|
3251
|
-
|
|
3250
|
+
// 百度实时转译 appid appkey
|
|
3251
|
+
appid: Number(_this.appData.appId),
|
|
3252
|
+
appkey: _this.appData.qfClientId,
|
|
3253
|
+
// appid: 101913097,
|
|
3254
|
+
// appkey: 'xv9715uwu2jqkTmIzlJl8eGx',
|
|
3252
3255
|
dev_pid: 15372,
|
|
3253
3256
|
cuid: 'HpURryNC91ddJmAPq7iwu26OvMDW4jMS',
|
|
3254
3257
|
format: 'pcm',
|
|
@@ -475,8 +475,11 @@ export default {
|
|
|
475
475
|
const json = {
|
|
476
476
|
type: 'START',
|
|
477
477
|
data: {
|
|
478
|
-
appid
|
|
479
|
-
|
|
478
|
+
// 百度实时转译 appid appkey
|
|
479
|
+
appid: Number(_this.appData.appId),
|
|
480
|
+
appkey: _this.appData.qfClientId,
|
|
481
|
+
// appid: 101913097,
|
|
482
|
+
// appkey: 'xv9715uwu2jqkTmIzlJl8eGx',
|
|
480
483
|
dev_pid: 15372,
|
|
481
484
|
cuid: 'HpURryNC91ddJmAPq7iwu26OvMDW4jMS',
|
|
482
485
|
format: 'pcm',
|
|
@@ -519,7 +522,7 @@ export default {
|
|
|
519
522
|
const xhr = new XMLHttpRequest()
|
|
520
523
|
// xhr.open('GET', 'http://192.168.15.124:8888/zydx/voice/getDesKeyId')
|
|
521
524
|
// xhr.setRequestHeader('Authorization', '7a129186-7e51-431d-b965-735dfed8e459')
|
|
522
|
-
xhr.open('GET', '/zydx/voice/
|
|
525
|
+
xhr.open('GET', '/zydx/voice/getVoideKey')
|
|
523
526
|
xhr.setRequestHeader('Authorization', token)
|
|
524
527
|
this.error = true
|
|
525
528
|
xhr.onreadystatechange = () => {
|