企微移动端小程序 wx.downloadFile 正常返回的数据
{"tempFilePath":"http://tmp/WzDMVs2ub2cX7f89bd376042f36cc4eb209748bf260b.xlsx","statusCode":200,"dataLength":5985,"header":{"Server":"nginx/1.19.6","Date":"Fri, 23 Jul 2021 02:59:26 GMT","Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=GBK","Transfer-Encoding":"chunked","Connection":"keep-alive","Zipkin-Trace-Id":"076b80dba9cd193b","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"*","Access-Control-Allow-Headers":"Content-Type,Access-Control-Allow-Headers,Content-Length,Accept,Authorization,X-Requested-With,erip-target,erip-action,erip-source,erip-offset,erip-size,erip-page,tenantId,userId,user-token,access-token,userNo,userName,orgNo,tenantId,orgName,orgType,roleNo,lang,agentId,__org,sessionId,proType","Access-Control-Max-Age":"1800","Access-Control-Allow-Credentials":"true","Allow":"*","Content-disposition":"attachment;filename=%E6%8A%A5%E8%A1%A8%E6%95%B0%E6%8D%AE1627009164686.xls"},"cookies":[],"errMsg":"downloadFile:ok"}
企微pc端小程序返回的有问题信息
{"header":{"Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"Content-Type,Access-Control-Allow-Headers,Content-Length,Accept,Authorization,X-Requested-With,erip-target,erip-action,erip-source,erip-offset,erip-size,erip-page,tenantId,userId,user-token,access-token,userNo,userName,orgNo,tenantId,orgName,orgType,roleNo,lang,agentId,__org,sessionId,proType","Access-Control-Allow-Methods":"*","Access-Control-Allow-Origin":"*","Access-Control-Max-Age":"1800","Allow":"*","Connection":"keep-alive","Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=GBK","Content-disposition":"attachment;filename=%E6%8A%A5%E8%A1%A8%E6%95%B0%E6%8D%AE1627005570464.xls","Date":"Fri, 23 Jul 2021 01:59:30 GMT","Server":"nginx/1.19.6","Transfer-Encoding":"chunked","Zipkin-Trace-Id":"0c417b9cfb9d4a59"},"statusCode":200,"tempFilePath":"wxfile://temp/20","cookies":[],"errMsg":"downloadFile:ok"}
我也遇到了 兄弟你解决了吗