\app\task\behavior\sharingActive

拼团订单行为管理 Class Active

Summary

Methods
Properties
Constants
run()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
onUpdateActiveEnd()
onOrderRefund()
dologs()
$model
N/A

Properties

$model

$model : 

Type

Methods

run()

run(  $model) : boolean

执行函数

Parameters

$model

Returns

boolean

onUpdateActiveEnd()

onUpdateActiveEnd() : false|integer

已过期的拼单更新状态

Throws

\app\common\exception\BaseException
\think\db\exception\DataNotFoundException
\think\db\exception\ModelNotFoundException
\think\exception\DbException

Returns

false|integer

onOrderRefund()

onOrderRefund() : boolean

更新拼团失败的订单并退款

Throws

\app\common\exception\BaseException
\think\db\exception\DataNotFoundException
\think\db\exception\ModelNotFoundException
\think\exception\DbException

Returns

boolean

dologs()

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

记录日志

Parameters

$method
array $params

Returns

boolean|integer