Browse Source

asr配置

fly 2 years ago
parent
commit
4137fde5f2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Tencent/ASRApi.cs

+ 2 - 2
Tencent/ASRApi.cs

@@ -23,8 +23,8 @@ namespace WingASRService.Tencent
                 // 密钥可前往https://console.cloud.tencent.com/cam/capi网站进行获取
                 Credential cred = new Credential
                 {
-                    SecretId = ConfigurationManager.GetParammeter<StringParameter>("WeChat", "SecretId").Value,
-                    SecretKey = ConfigurationManager.GetParammeter<StringParameter>("WeChat", "SecretKey").Value
+                    SecretId = ConfigurationManager.GetParammeter<StringParameter>("ASR", "SecretId").Value,
+                    SecretKey = ConfigurationManager.GetParammeter<StringParameter>("ASR", "SecretKey").Value
                 };
                 // 实例化一个client选项,可选的,没有特殊需求可以跳过
                 ClientProfile clientProfile = new ClientProfile();