Yii2使用gii工具生成CURD代码

121 阅读1分钟

在已运行项目上进入gii页面

image.png

第一步(必须先生成model,要不然无法生成CURD)

image.png

第二步(生成CURD)

image.png

image.png