TP5模型数据完成

浏览:957 发布日期:2016/05/25 分类:ThinkPHP5专区 关键字: 数据完成
安装手册里的在模型类里增加了protected $auto = ['update_time'];
protected $insert = ['name','create_time','status'=>1];
protected $update = ['update_time']; 
但是数据保存处理后。update_time字段并不保存当前时间戳啊
最佳答案
评论( 相关
后面还有条评论,点击查看>>