From 3dc73f759481b19653330914872080efbb14debf Mon Sep 17 00:00:00 2001 From: taofajun <849983590@qq.com> Date: Wed, 1 Jul 2020 17:37:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a7dd32f..a5b9687 100644 --- a/README.md +++ b/README.md @@ -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();// 文件 } ```