php - yii框架中引入的类找不到。
PHPz
PHPz 2017-04-10 17:29:34
0
0
172

请教大家一个问题,项目是基于yii写的,我在controllers目录下的DemoController类中使用了一个Service类, 这个类位于commonserviceService这个命名空间中,运行时提示
Class 'commonserviceService' not found ,引用的命名空间是正确的就是提示找不到,
这个Service我是从另外一个基于yii的项目中拷贝过来的。谢谢!

PHPz
PHPz

学习是最好的投资!

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template