将dwz文件夹放入 ext扩展中,,再在 mian.php 中 的modules增加一行 'generatorPaths'=>array('ext.dwz.gii'),// 可增加新的地址
'modules'=>array(
// uncomment the following to enable the Gii tool
'gii'=>array(
'class'=>'system.gii.GiiModule',
'generatorPaths'=>array('ext.dwz.gii'),
'password'=>'123',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
),
),