关于模块函数公共目录问题

浏览:561 发布日期:2015/02/13 分类:求助交流 关键字: 模块函数公共目录
我在application/Weather/Common/function.php 中添加了一个getWarnType方法

在application/Weather/Controller/IndexController.class.php 中调用它
一直报错:报Think\Controller:getWarnType方法不存在

然后我把getWarnType 方法移到 application/Common/Common/function.php 下面还是不行还是:报Think\Controller:getWarnType方法不存在

请问一下是什么原因!
最佳答案
评论( 相关
后面还有条评论,点击查看>>