Prompt studentModel cannot find model when inheriting. In fact, I am also quite surprised. When I simply wrote it before, the index referenced several files at the same time, so it was easier to understand. As a result, I didn’t quite understand it after writing base.php formally. How did he load all these files
When you use index, do you also inherit Controller? When you use base, base inherits Controller, and then index inherits Base. The effect is the same. Using Base means inheriting and inheriting, which is not difficult to understand.