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

upload时如何设置callback参数? #2

Open
gaoyong06 opened this issue Apr 10, 2020 · 1 comment
Open

upload时如何设置callback参数? #2

gaoyong06 opened this issue Apr 10, 2020 · 1 comment

Comments

@gaoyong06
Copy link

gaoyong06 commented Apr 10, 2020

您好,我看了我们之前Android客户端的代码,当时使用的的是
aliyun提供的 Android sdk,向阿里云 upload 数据时,还会设置 callback 相关的参数
类似
`
put.setCallbackParam(new HashMap<String, String>() {
{
put("callbackUrl", OSS_CALLBACK_URL);
put("callbackBody", "{"object":${object},"size":${size},"type":${x:type},"uid":${x:uid}}");
put("callbackBodyType", "application/json");
}

`
请问在 aly_oss 中upload时,如何设置callback参数?

@flmn
Copy link
Owner

flmn commented Apr 13, 2020

因我我自己使用的时候,没有用到callback,所以,暂时没有这部分功能。

后期会加上。

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

2 participants