提示你 This is the view content for action "index". The action belongs to the controller "backend/modules/user/controllers/DefaultController" in the "user" module. You may customize this page by editing the following file: D:/WAMP/www/yii2test/backend/modules/user/views/default/index.php 這個界面內容訪問的是模塊user下的defaultController執行的是index這個action。 你可能需要自定義這個頁面通過修改模塊下的views文件index.php模型的生成 模型的生成首先得配置數據庫配置文件,路徑:yii2test/common/config/main-local.php。