$Sign = hash_hmac('sha1', $DownloadUrl, $setting["driverConfig"]["secrectKey"],true); $EncodedSign =Qiniu_Encode($Sign); $Token = $setting["driverConfig"]["accessKey"] .':'. $EncodedSign; $RealDownloadUrl = $DownloadUrl .'&token='. $Token;return$RealDownloadUrl; } 开发者ID:sun...