【发布时间】:2018-12-20 08:02:20
【问题描述】:
$key = $this->config->item('app_key_string');
$secret= $this->config->item('app_secret');
return $oauth = new OAuth($key, $secret);
遇到未捕获的异常 类型:错误
消息:未找到“OAuth”类
文件名:/home/rosesand/etsy.rosesandbows.com/application/models/Etsy_api.php
行号:32
回溯:
文件:/home/rosesand/etsy.rosesandbows.com/application/controllers/App.php 线路:35 功能:输出
文件:/home/rosesand/etsy.rosesandbows.com/index.php 线路:315 函数:require_once
【问题讨论】:
-
您是否已将 OAuth 库添加到您的模型中?你是如何将 OAuth 库添加到 CI 中的?
标签: php api codeigniter