|
@@ -70,6 +70,7 @@ class Qiniu extends Core implements Config
|
|
|
{
|
|
|
if ($this->base64 && isset($this->data['local'])) {
|
|
|
$data = parse_url($this->data['local']);
|
|
|
+ $data['path'] = str_replace(Dever::data() . 'upload/', '', $data['path']);
|
|
|
$this->path = ltrim($data['path'], '/');
|
|
|
}
|
|
|
$this->file = $this->path . $this->name . $this->ext;
|