\app\task\behavior\sharpOrder

订单行为管理 Class Order

Summary

Methods
Properties
Constants
run()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
sharp()
close()
dologs()
$model
$wxappId
N/A

Properties

$model

$model : 

Type

$wxappId

$wxappId : 

Type

Methods

run()

run(  $model) : boolean

执行函数

Parameters

$model

Throws

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

Returns

boolean

sharp()

sharp() 

秒杀订单行为管理

Throws

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

close()

close() : boolean

未支付订单自动关闭

Throws

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

Returns

boolean

dologs()

dologs(  $method, array  $params = array()) : boolean|integer

记录日志

Parameters

$method
array $params

Returns

boolean|integer