$orders = $model_order->findAll(array(
'conditions' => "buyer_id=" . $this->visitor->get('user_id') . "{$conditions}",
'fields' => 'this.*',
'count' => true,
'limit' => $page['limit'],
'order' => 'add_time DESC',
'include' => array(
'has_ordergoods' => array('conditions' => "goods_name like '休闲裤' "), // include 写条件格式。
),
));
Ecmall findAll 使用
最新推荐文章于 2021-03-25 18:24:21 发布