tp3.2sql改变时间格式2018-05-10取05-10
$listIn=D('api_article as a')->field('date_format( fabutime,\'%m-%d\') as fabutime,d_id as did,title,id')->where(array('did'=>3,'er_id'=>1))->select();
tp3.2sql改变时间格式2018-05-10取05-10
$listIn=D('api_article as a')->field('date_format( fabutime,\'%m-%d\') as fabutime,d_id as did,title,id')->where(array('did'=>3,'er_id'=>1))->select();