After working on it all afternoon, I accidentally remembered that Linux recognizes the case of files. After checking the code, I found that the file case was not paid attention to when instantiating the class. For example, the view file corresponding to $dao = D("inventoryview") is InventoryViewModel.class.php. This is no problem when running under windows, but under linux, it needs to be written as $dao = D("InventoryView").
Hey, small details can easily lead to big problems. Fortunately, it was solved~~hehe