gii生成代码

生成表model

./yii gii/model –tableName=dw_house_broker_sale –modelClass=HouseBrokerSale

生成controller和view

./yii gii/crud –controllerClass=“app\controllers\HousebrokerrentController” –modelClass=“app\models\HouseBrokerRent”

Published At