detechn logo

惪特博客

  • 文章

    1.7W+
  • 评论

    3.8W+
  • 浏览

    923W+
  • 标签

    7.3K+
thinkphp5模型时间戳设置

thinkphp5模型时间戳设置

> 单独在模型里面设置:(推荐) ```php protected $autoWriteTimestamp = true; // int 型 protected $autoWr...

1639