增加注解

This commit is contained in:
taofajun 2020-07-01 17:37:08 +08:00
parent 26175c0a99
commit 3dc73f7594
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ $config = [
];
$syn = new SynthesisFactory('Ali','测试的名字',$config);
$msg = $syn->getErrorMsg();// 错误信息
if($msg){
if(!$msg){
$speechFile = $syn->getSpeechFile();// 文件
}
```
@ -118,7 +118,7 @@ $config = [
];
$syn = new SynthesisFactory('Tencent','Tencent',$config);
$msg = $syn->getErrorMsg();// 错误信息
if($msg){
if(!$msg){
$speechFile = $syn->getSpeechFile();// 文件
}
```