buildSuccess([ 'fileName' => $new_name, 'fileUrl' => $this->request->domain() . $path . $new_name ]); } else { return $this->buildFailed(ReturnCode::FILE_SAVE_ERROR, '文件上传失败'); } } }