|
@@ -15,7 +15,7 @@ class Cron
|
|
*
|
|
*
|
|
* @return mixed
|
|
* @return mixed
|
|
*/
|
|
*/
|
|
- public function clearTask_api()
|
|
|
|
|
|
+ public function clearTask()
|
|
{
|
|
{
|
|
$data = Dever::db('task/info')->gets();
|
|
$data = Dever::db('task/info')->gets();
|
|
$time = time();
|
|
$time = time();
|
|
@@ -47,7 +47,7 @@ class Cron
|
|
*
|
|
*
|
|
* @return mixed
|
|
* @return mixed
|
|
*/
|
|
*/
|
|
- public function task_commit_api()
|
|
|
|
|
|
+ public function task_commit()
|
|
{
|
|
{
|
|
# 审核成功 入账
|
|
# 审核成功 入账
|
|
$where['status'] = 2;
|
|
$where['status'] = 2;
|
|
@@ -78,7 +78,7 @@ class Cron
|
|
*
|
|
*
|
|
* @return mixed
|
|
* @return mixed
|
|
*/
|
|
*/
|
|
- public function cash_commit_api()
|
|
|
|
|
|
+ public function cash_commit()
|
|
{
|
|
{
|
|
# 成功
|
|
# 成功
|
|
$where['status'] = 3;
|
|
$where['status'] = 3;
|