Metrics
0
Watch 2.6k Star 5.2k Fork 2.6k

ThinkGem / JeeSite 4.xJavaAGPL-3.0

java后台如何按照文件上传顺序获取文件路径

Closed
张皓  Created at

该问题是怎么引起的?

多个文件上传,将文件路径放到一个文件组件中,后台从组件获取文件路径的顺序和上传文件的顺序不一致

重现步骤

<#form:fileupload id="goodsColors" bizKey="${goodsId}" bizType="goodsColors" uploadType="image" class="required" returnPath="true" filePathInputId="goodsColorUrls" readonly="false" />
<#form:input name="goodsColorUrls" id="goodsColorUrls" class="hide" />

6732_thinkgem total 2 participants

Comments (1)

6732_thinkgem
ThinkGem 2019-01-03 23:12 owner

默认按时间戳排序的,顺序乱了应该几率非常小。我看你用的是returnPath,抽空再验证下

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search