$weight_data = Db::name('remote_detection')
->where($where)
->field("item_name,first_check_weight,second_check_weight,from_unixtime(create_time,'%Y-%m-%d') as time")
->select();
ThinkPHP5 DB查询数据时把时间戳格式字段改为日期格式
最新推荐文章于 2023-10-27 17:32:24 发布