First add a sentence
'allowedIPs' => ['*'],
to main-local.php in the config file as shown below: (Recommended learning: Yii framework )
Open the main.php under the ProteCTD \ Config, and find the following code
After entering, you can operate the Model Generator and Crud Generator
The above is the detailed content of How to use gii in yii framework. For more information, please follow other related articles on the PHP Chinese website!