Closed HuanMeng0 closed 8 years ago
文档:http://docs.upyun.com/api/rest_api/ “将 PASSWORD md5 之后(我们暂且将其记作 PASSWORD_MD5)”
此处SDK没有在生成sign的function MD5密码
$sign = "{$method}&{$uri}&{$date}&{$length}&{$this->_password}";
=>
$md5password = md5($this->_password); $sign = "{$method}&{$uri}&{$date}&{$length}&{$md5password}";
https://github.com/upyun/php-sdk/blob/master/upyun.class.php#L102 这里已经 md5 过了。
文档:http://docs.upyun.com/api/rest_api/ “将 PASSWORD md5 之后(我们暂且将其记作 PASSWORD_MD5)”
此处SDK没有在生成sign的function MD5密码
$sign = "{$method}&{$uri}&{$date}&{$length}&{$this->_password}";
=>
$md5password = md5($this->_password); $sign = "{$method}&{$uri}&{$date}&{$length}&{$md5password}";