标签:
先建表新建create_at和update_at字段,最好选择可为空
使用系统插件,写入
确保create_at,update_at可以为空
yii2 自动写入update_at,create_at字段
原文地址:http://www.cnblogs.com/langxi/p/4786807.html