如果在navicat下操作,将字段类型设置为timestamp,然后默认值写上CURRENT_TIMESTAMP即可 转载于:https://www.cnblogs.com/panchanggui/p/9888233.html