diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/service/impl/ZhipuAnalysisServiceImpl.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/service/impl/ZhipuAnalysisServiceImpl.java index 1b6c95f..61cf98f 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/service/impl/ZhipuAnalysisServiceImpl.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/service/impl/ZhipuAnalysisServiceImpl.java @@ -105,7 +105,7 @@ public class ZhipuAnalysisServiceImpl implements ZhipuAnalysisService { throw ErrorCode.GET_FILE_CONTENT_FAILURE.throwException(); }); try { - return FileUtil.getBase64(request.getFilePath()); + return FileUtil.getFileBase64(request.getFilePath()); } catch (IOException e) { throw ErrorCode.GET_FILE_CONTENT_FAILURE.throwException(); }