mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 18:23:59 +08:00
update:优化
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ public class VoiceCloneServiceImpl extends BaseServiceImpl<VoiceCloneDao, VoiceC
|
|||||||
if (statusCode != null && statusCode == 0 && StringUtils.isNotBlank(speakerId)) {
|
if (statusCode != null && statusCode == 0 && StringUtils.isNotBlank(speakerId)) {
|
||||||
entity.setTrainStatus(2);
|
entity.setTrainStatus(2);
|
||||||
entity.setVoiceId(speakerId);
|
entity.setVoiceId(speakerId);
|
||||||
entity.setTrainError(null);
|
entity.setTrainError("");
|
||||||
baseDao.updateById(entity);
|
baseDao.updateById(entity);
|
||||||
} else {
|
} else {
|
||||||
// 失败时使用StatusMessage作为错误信息
|
// 失败时使用StatusMessage作为错误信息
|
||||||
|
|||||||
Reference in New Issue
Block a user