Commit 2f6f8c0f by linboxuan

update opDownFileInfo. if the tmFileName has been overdue, return url

parent 39812357
...@@ -299,7 +299,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -299,7 +299,7 @@ class UtilsNeedService extends AppServiceBase {
if(urlJson["Expires"]){ if(urlJson["Expires"]){
// url中过期时间与服务器时间对比结果为已过期 // url中过期时间与服务器时间对比结果为已过期
if(urlJson["Expires"] < new Date().getTime()) { if(urlJson["Expires"] < new Date().getTime()) {
return ""+fileName; return "http://gsb-zc.oss-cn-beijing.aliyuncs.com/"+fileName;
} }
} }
//解码后的文件全名:xxx.pdf //解码后的文件全名:xxx.pdf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment