Browse Source

人工翻译时提交语音转换文本

master
zdc 5 years ago
parent
commit
d8c4504f3e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      lib/utils/HttpUtil.dart

+ 3
- 2
lib/utils/HttpUtil.dart View File

@@ -1102,8 +1102,9 @@ class HttpUtil {
showToast('请稍后再试');
return;
}
data['content'] =
base64Encode(File(msgModel.localFile).readAsBytesSync());
data['content'] = base64Encode(File(msgModel.localFile).readAsBytesSync());
print('语音转换的文字: ${utf8.decode(msgModel.enTranslateContent)}');
data['vcontent'] = base64Encode(msgModel.enTranslateContent);
}
data["tuserids"] = [UserData().basicInfo.userId];


Loading…
Cancel
Save