TP5错误 | A non well formed numeric value encountered数据表字段是create_time timestamp 默认:CURRENT_TIMESTAMP 使用时间会出现以下错误: A non well formed numeric value encountered 这是因为tp5框架会自动转换时间 解决方案如下: class powerModel extends Model { protected $pk = 2018-04-30浏览 5862