Feng Liang

Results 4 comments of Feng Liang

@jacobcyl I composer your jacobcyl/ali-oss-storage 2.1 package, call the following mehtod in laravel 5.5. return Storage::download( $export->file_path, $export->start_day->format('Ymd').'-'.$export->end_day->format('Ymd').'.xlsx' ); I dig into the code in jacobcyl/ali-oss-storage/src/AliOssAdapter.php, found the "$result['raw_contents']" is...

hi, xakzona. how did you fix this bug? I fix the Jacobcyl\AliOSS\AliOssAdapter::readStream() as below public function readStream($path) { $result = $this->readObject($path); $result['stream'] = fopen($this->getUrl($path), 'r'); // $result['stream'] = $result['raw_contents']; //...

the solution still has a bug on line 455, php resource is not object, so it has no member mehtod detachStream(). @xakzona

在3.9.3中,如果同时存在任意属性、可选属性,那么任意属性的数据类型要带undefined