mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-04 13:02:53 +08:00
ct
This commit is contained in:
@ -77,18 +77,15 @@ class UserController extends CommonController
|
||||
$user_order_status = OrderService::OrderStatusStepTotal(['user_type'=>'user', 'user'=>$this->user, 'is_comments'=>1]);
|
||||
$this->assign('user_order_status', $user_order_status['data']);
|
||||
|
||||
// 参数
|
||||
// 获取列表
|
||||
$params = array_merge($_POST, $_GET);
|
||||
$params['user'] = $this->user;
|
||||
|
||||
// 条件
|
||||
$params['is_more'] = 1;
|
||||
$params['status'] = [1,2,3];
|
||||
$where = OrderService::UserOrderListWhere($params);
|
||||
|
||||
// 获取列表
|
||||
$order_params = array(
|
||||
'limit_start' => 0,
|
||||
'limit_number' => 6,
|
||||
'is_items' => 0,
|
||||
'limit_number' => 3,
|
||||
'where' => $where,
|
||||
);
|
||||
$order = OrderService::OrderList($order_params);
|
||||
|
||||
Reference in New Issue
Block a user