ThinkPHP多条件查询,按要求排序数据方法

   $ask = $ask->where(array('goods_id' => $goods_id))->order(array('dateline' => 'desc'))->select();

猜你喜欢

转载自blog.csdn.net/qq_39516866/article/details/81253599