iwebshop 订单相关状态API
//待发货订单
'getOrderList_fahuo' => array(
'query' => array(
'name' => 'order',
'where' => 'if_del= 0 and (
(pay_type=0 and status=1 and distribution_status=0)
or (pay_type != 0 and status=2 and pay_status=1 and distribution_status=0)
) and user_id = #user_id#',
'order' => 'id desc'
)
),
//待收货订单
'getOrderList_shouhuo' => array(
'query' => array(
'name' => 'order',
'where' => 'if_del= 0 and (
(pay_type=0 and status=1 and distribution_status=1)
or (pay_type != 0 and status=2 and pay_status=1 and distribution_status=1)
) and user_id = #user_id#',
'order' => 'id desc'
)
),
//待付款订单
'getOrderList_fukuan' => array(
'query' => array(
'name' => 'order',
'where' => 'if_del= 0 and (
pay_type != 0 and (status=1 || status=2) and pay_status=0
) and user_id = #user_id#',
'order' => 'id desc'
)
),