在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 页面上传附件报错,提示上传的附件大小超过限制