\query

Class query 前台查单类

Summary

Methods
Properties
Constants
QueryList()
QueryTake()
VisitorsOrder()
QueryMark()
OrderCookie()
OrderUser()
OrderAll()
QueryOrderList()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

QueryList()

QueryList( $val) : mixed

Parameters

$val

//查单信息 根据下单信息取出未绑定用户的订单!

Returns

mixed —

QueryTake()

QueryTake( $ID,  $User) : mixed

Parameters

$ID
$User

确认收货

Returns

mixed —

VisitorsOrder()

VisitorsOrder() : mixed

取出已付款游客订单列表

Returns

mixed —

QueryMark()

QueryMark(mixed  $Data, mixed  $User) : mixed

提交商品评论内容

Parameters

mixed $Data
mixed $User

Returns

mixed —

OrderCookie()

OrderCookie( $order) : bool

Parameters

$order

//订单号

Returns

bool —

创建游客订单查询缓存

OrderUser()

OrderUser( $uid) : bool

Parameters

$uid

Returns

bool —

绑定游客订单

OrderAll()

OrderAll(mixed  $id = false, null  $msg = '', int  $state = 1, int  $Page = 1, bool  $User = false, mixed  $limit = 6, mixed  $gid = false) : mixed

Parameters

mixed $id
null $msg

搜索内容

int $state

订单状态

int $Page

页码

bool $User

用户数据 取出订单列表

mixed $limit
mixed $gid

Returns

mixed —

QueryOrderList()

QueryOrderList( $DB, array  $SQL) : mixed

Parameters

$DB
array $SQL

Returns

mixed —

订单数据查询方法