\app\task\behavior\sharingOrder

拼团订单行为管理 Class Order

Summary

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

Properties

$model

$model : 

Type

$wxappId

$wxappId : 

Type

Methods

run()

run(  $model) : boolean

执行函数

Parameters

$model

Returns

boolean

close()

close(  $closeDays) : boolean

未支付订单自动关闭

Parameters

$closeDays

Throws

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

Returns

boolean

receive()

receive(  $receiveDays) : boolean|false|integer

已发货订单自动确认收货

Parameters

$receiveDays

Throws

\think\Exception
\think\exception\DbException

Returns

boolean|false|integer

onReceiveCompleted()

onReceiveCompleted(  $orderIds) : boolean

批量处理已完成的订单

Parameters

$orderIds

Throws

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

Returns

boolean

settled()

settled(  $refundDays) 

已完成订单结算

Parameters

$refundDays

Throws

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

dologs()

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

记录日志

Parameters

$method
array $params

Returns

boolean|integer