当模型中同时启用

1
2
protected $autoWriteTimestamp = true;
protected $field = ['bill_type', 'create_time'];

必须将create_time放入$field中,才可以操作,否则时间戳写入失败