欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI

页面树结构

欢迎使用普元文档库

Skip to end of metadata
Go to start of metadata

【问题】

在apps_config\default\config\user-config.xml中修改上传文件大小及文件类型,不生效

 <group name="FileUpload">
            <configValue key="TempDir">upload</configValue>
            <configValue key="MaxSize">104857600</configValue>
            <configValue key="InMemorySize">10240</configValue>
            <!--files with specified ext names are not accespted when uploading  -->
            <configValue key="Exclude">exe,java,jsp,html,htm,class,jar</configValue>
</group>

【解答】

问题原因:没有使用EOS Platform 7.6里的文件上传功能,项目里自己写java代码实现的,没有走产品里设置文件大小的功能,所以不生效

相关知识点参见:普元 EOS Platform 页面上传附件报错,提示上传的附件大小超过限制