Skip to content

Commit 94843ba

Browse files
binarywangCopilot
andauthored
Update docs/CommonUploadParam-FormFields-Usage.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f5b8b6e commit 94843ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/CommonUploadParam-FormFields-Usage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,5 @@ public class ByteArrayUploadExample {
165165

166166
## 兼容性
167167

168-
该功能向后兼容,现有的不使用额外表单字段的代码无需修改即可继续工作。
168+
- 对于通过 `fromFile``fromBytes` 等工厂方法创建 `CommonUploadParam` 的代码,本功能在行为层面是向后兼容的,现有代码无需修改即可继续工作。
169+
- 如果之前直接使用构造函数(例如 `new CommonUploadParam(name, data)`)创建对象,由于新增了 `formFields` 字段,构造函数签名可能发生变化,升级后需要改为使用上述工厂方法或根据新构造函数签名调整代码。

0 commit comments

Comments
 (0)