Closed zxzxac110 closed 1 year ago
我想要拿到上传完毕的返回结果 发现未null
难后在 putObjectFile 里面使用 callback 发现好像并没有生效 都没有跑进去
putObjectFile( file.path, fileKey: fileName, option: PutRequestOption( onSendProgress: (count, total) { print("send: count = $count, and total = $total"); }, onReceiveProgress: (count, total) { print("receive: count = $count, and total = $total"); }, aclModel: AclMode.inherited, callback: Callback( callbackUrl: "url", callbackBody: "{\"mimeType\":\${mimeType}, \"filepath\":\${object},\"size\":\${size},\"bucket\":\${bucket},\"phone\":\${x:phone}}", callbackVar: {"x:phone": "android"}, calbackBodyType: CalbackBodyType.json, ), ), )
fix in version: 6.2.3
大呼 66666
我想要拿到上传完毕的返回结果 发现未null
难后在 putObjectFile 里面使用 callback 发现好像并没有生效 都没有跑进去
putObjectFile( file.path, fileKey: fileName, option: PutRequestOption( onSendProgress: (count, total) { print("send: count = $count, and total = $total"); }, onReceiveProgress: (count, total) { print("receive: count = $count, and total = $total"); }, aclModel: AclMode.inherited, callback: Callback( callbackUrl: "url", callbackBody: "{\"mimeType\":\${mimeType}, \"filepath\":\${object},\"size\":\${size},\"bucket\":\${bucket},\"phone\":\${x:phone}}", callbackVar: {"x:phone": "android"}, calbackBodyType: CalbackBodyType.json, ), ), )