\app\task\serviceOrder

Summary

Methods
Properties
Constants
getError()
hasError()
__construct()
close()
getCloseOrderIds()
No public properties found
No constants found
No protected methods found
$error
$wxappId
N/A
No private methods found
$model
$closeOrderIds
N/A

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

$model

$model : 

Type

$closeOrderIds

$closeOrderIds : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

__construct()

__construct() 

构造方法 Order constructor.

close()

close(integer  $deadlineTime, array  $where = array()) : boolean

未支付订单自动关闭

Parameters

integer $deadlineTime
array $where

Throws

\think\db\exception\DataNotFoundException
\think\db\exception\ModelNotFoundException
\think\exception\DbException
\Exception

Returns

boolean

getCloseOrderIds()

getCloseOrderIds() : array

获取自动关闭的订单id集

Returns

array