\app\task\behavior\bargainTask

砍价任务行为管理 Class Task

Summary

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

Properties

$model

$model : 

Type

Methods

run()

run(  $model) : boolean

执行函数

Parameters

$model

Throws

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

Returns

boolean

onSetIsEnd()

onSetIsEnd() : boolean

将已过期的砍价任务标记为已结束

Throws

\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