Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置项中uploadMethod设置成函数后,函数里怎么发文件。 #148

Open
llblax opened this issue Nov 9, 2022 · 0 comments
Open

Comments

@llblax
Copy link

llblax commented Nov 9, 2022

大神,我要刷新token,要用从响应header里拿到新的token并保存。在发送测试块的时候我用了testMethod方法,可以拿到新token,也可以保存新toklen。我想同样的思路,在uploadMethod配置项里,用自己的api发送文件块,uploadMethod里会传入Uploader.File和uploader.Chunk,我怎么能从这两个参数里拿到当前块文件和当前文件是第几块。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant