设置
PHP的header函数之设置content-type

//定义编码header(&039;Content-Type:text/html;charset=utf-8&039;);//Atomheader(&039;Content-type:application/atom+x...

thinkphp5模型时间戳设置

单独在模型里面设置:(推荐)protected$autoWriteTimestamp=true;//int型protected$autoWriteTimestamp=&039;datetime&039;...