瀏覽代碼

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

master
zdc 5 年之前
父節點
當前提交
d8c4504f3e
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      lib/utils/HttpUtil.dart

+ 3
- 2
lib/utils/HttpUtil.dart 查看文件

@@ -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];


正在載入中…
取消
儲存