<?php namespace app\admin\model; use think\Model; use think\Db; class ProductModel extends Model { protected $autoWriteTimestamp = false; // 关闭自动写入时间戳 protected $name = 'product'; }