-
Notifications
You must be signed in to change notification settings - Fork 92
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
任务附件上传丢失文件名 #151
Comments
workaround: 仿照 com.lark.oapi.core.httpclient.OkHttpTransport 实现一个 IHttpTransport, 将其中构建 multipart 的代码改成
在构建 Client 的时候,使用 Client.newBuilder(...).httpTransport(new 自定义的Transport()).build() 相当于不使用系统自带的 OKHttpTransport,用自定义的。 注意这个 workaround 只能说上传之后不会 unknown,但不支持自定义 filename,根据实际被上传到文件名来显示。但至少是一个 workaround 了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你们SDK 底层处理是啥逻辑,没有获取文件名之类的,上传到任务里之后,所有附件都显示为 unknown
The text was updated successfully, but these errors were encountered: