更新语音

This commit is contained in:
yaooo 2023-10-10 15:27:39 +08:00
parent 81dabc3baf
commit b575585ea3

View File

@ -216,10 +216,7 @@ class XunFeiController extends BaseApiController
foreach($result['ws'] as $v) {
$words .= $v['cw'][0]['w'] ?? '';
}
if ($code != 0) {
break;
}
if ($status === 2) {
if ($code != 0 || $status === 2) {
break;
}
}