mysql如何自动获取当前时间

  1. 将字段类型设为TIMESTAMP
  2. 将默认值设为CURRENT_TIMESTAMP
原文地址:https://www.cnblogs.com/jubincn/p/3381166.html