flutter_oss_aliyun icon indicating copy to clipboard operation
flutter_oss_aliyun copied to clipboard

为啥上传的图片都被限制93b大小,图片都打不开

Open 4396mingkai opened this issue 7 months ago • 3 comments

1721287057231 每次上传图片提示成功,但是实际上都失败了是什么原因 var resp = await Client().putObject( filePath.codeUnits, picName, option: PutRequestOption( onSendProgress: (count, total) { print("send: count = $count, and total = $total"); }, onReceiveProgress: (count, total) { print("receive: count = $count, and total = $total"); }, override: true, aclModel: AclMode.inherited, storageType: StorageType.standard, headers: {"cache-control": "no-cache"}, // callback: const Callback( // callbackUrl: "callbackUrl", // callbackBody: "{"mimeType":${mimeType}, "filepath":${object},"size":${size},"bucket":${bucket},"phone":${x:phone}}", // callbackVar: {"x:phone": "android"}, // calbackBodyType: CalbackBodyType.json, // ), ), ); 这是实现代码,resp 没有返回值,filePath是本地图片地址,picName是存到oss的图片名称,请问一下这个问题出在哪里啊

4396mingkai avatar Jul 18 '24 07:07 4396mingkai