diff --git a/lib/utils/HttpUtil.dart b/lib/utils/HttpUtil.dart index a56dd3d..af2015e 100644 --- a/lib/utils/HttpUtil.dart +++ b/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];