$order = M('order');
$orders_info = $order->field('order.*,user.user_name as user_name')->join("LEFT JOIN user ON user.user_id = order.order_uid ")->where($where)->order('order_time desc')->page("$p",25)->select();去掉field就可以了,加上就报错,但我看网上别人这样用就没问题,求解???
添加回答
举报
0/150
提交
取消