public function index() {
import('Autoload',APP_PATH.'Common/Qiniu/','.php');
use Qiniu\Auth;
// 用于签名的公钥和私钥
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
// 初始化签权对象
$auth = new Auth($accessKey, $secretKey);
}
这个代码是七牛给的
use Qiniu\Auth; 这句代码提示错误
syntax error, unexpected T_USE
求大神来解决
最佳答案