
$model->save($data);这个是log显示执行了
dump $model输出
array(4) {
["name"] => string(2) "aw"
["remark"] => int(0)
["pageviews"] => int(1)
["tagid"] => string(2) "11"
}$id = $model->getLastInsID();
$id被赋值为0 不知道为什么
tag表的主键为tagid
已经在Tag.php中设置$pk='tagid'了
报错界面: