使用arclistsg标签调用分类信息等单表模型出错提示Column 'id' in where clause is ambiguous, 修改文件:include\taglib\arclistsg.lib.php 查找: 以下为引用的内容: else $gquery = "Select ch.addtable,listfields From `dede_arctype` tp left join `dede_channeltype` ch on ch.id=tp.channeltype wh
将下列代码写到文件复制到项目 console\controller 目录下: <?php namespace console\controllers; use Yii; use yii\console\Controller; use yii\gii\CodeFile; use yii\helpers\Console; use yii\gii\generators\model\Generator; use yii\gii\generators\crud\Generator as CrudGener