变量名 | 类 型 | 静态 | 数组 | 备 注 | 返回 | 文本型 | | | cookie | 文本型 | | | 文件名 | 文本型 | | | xlsx | 字节集 | | |
cookie = “Cookie: loginVersionStrForPospal=6161711; POSPAL_REPORT_SDK=v1.0.124; Hm_lvt_8a95882b0d389ebcc438a9230527ddf5=1721405769,1721405872; HMACCOUNT=E0E9007E3D253AF1; .POSPALAUTH30220=010296C2495B0EA8DC08FE962A0EBD16A8DC08000835003600370036003000380039003A0000012F00FF9DBE62C0836F142EF0000874FF83389F9A0834A9; browserUuidForPospal=d7838661-bffc-4dee-acde-f0faf32131ec; sessionGuid=b43ce873-04ba-49f3-9147-ad80d852e36a; storeIndustryForPospal=107; lastLoginAccount=zjz950820; daysLimitForPospal=; ceMenuMode=1; Hm_lpvt_8a95882b0d389ebcc438a9230527ddf5=1721406038”返回 = 网页_访问s (“https://beta15.pospal.cn/Export/EshopOrders”, 1, “userId=5676089&keyword=&orderState=&orderSource=&payState=1&paymentMethod=&beginTime=2024.07.20+00%3A00%3A00&endTime=2024.07.20+23%3A59%3A59&selfTakeLocationUids=%5B%5D&exportType=0&showItems=true&containAttrs=”, cookie )文件名 = 文本_取出中间文本 (返回, “fileName” + #引号 + “:” + #引号, #引号 )xlsx = 网页_访问 (“https://beta15.pospal.cn/Export/DownLoadFile”, 1, “successed=true&fileName=” + 文件名 + “&fileType=application%2Fms-excel&downloadName=%E7%BD%91%E5%BA%97%E8%AE%A2%E5%8D%95.xlsx&useJob=false”, cookie )调试输出 (取字节集长度 (xlsx ))
不是能下载吗
|