|
|
@@ -59,7 +59,7 @@ class QiniuService extends BaseService
|
|
|
public function upload($filename,$file)
|
|
|
{
|
|
|
// 配置参数
|
|
|
- if(empty($this->apiKey) || empty($this->apiCode) || empty($this->bucket) || empty($this->host)){
|
|
|
+ if(empty($this->accessKey) || empty($this->secretKey) || empty($this->bucket) || empty($this->host)){
|
|
|
$this->error = 'QINIU接口参数未配置';
|
|
|
return false;
|
|
|
}
|