iwebshop 订单相关状态API

站长手记 作者: 2024-09-03 05:50:01
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'
	)
),
原创声明
本站部分文章基于互联网的整理,我们会把真正“有用/优质”的文章整理提供给各位开发者。本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
本文链接:http://www.jiecseo.com/news/show_73418.html