如下请求
uni.uploadFile({
url: 'http://api******',
formData: { key1: { b: 3 }, key2: 4, key3: { f: 5, g: 6 }, key4: [1, 2, 3] },
files: files
});
服务端收到:
{"key1":"[object Object]","key2":"4","key3":"[object Object]","key4":"1,2,3"}
1 个回复
choin
解决了吗?