用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1196|回复: 1
收起左侧

[版本 3.x] resful使用load->model出错

[复制链接]
发表于 2015-12-17 20:53:27 | 显示全部楼层 |阅读模式
http://github.com/philsturgeon/codeigniter-restserver
下载的基础框架
{"status":false,"error":{"classname":"RuntimeException","message":"Unable to locate the model you have specified: User_model"}}
在其他控制器中使用正常
是不是restful的原因、
 楼主| 发表于 2015-12-17 20:54:10 | 显示全部楼层
调用model失败
$this->load->model('User_model');

本版积分规则