From 9ee144d870f6be9438a25f6b7a589bb8c603bebd Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Thu, 13 Sep 2018 22:16:49 +0800 Subject: [PATCH] change: Telegram group invite link --- README.md | 2 +- application/index/command/Task.php | 2 +- application/index/model/Task.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af4ab186..4513ba4b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Cloudreve - Make the cloud easy for everyone [![Latest Unstable Version](https://poser.pugx.org/hfo4/cloudreve/v/unstable)](https://packagist.org/packages/hfo4/cloudreve) [![License](https://poser.pugx.org/hfo4/cloudreve/license)](https://packagist.org/packages/hfo4/cloudreve) -[主页](https://cloudreve.org) | [论坛](https://forum.cloudreve.org) | [演示站](https://pan.aoaoao.me) | [QQ群](https://jq.qq.com/?_wv=1027&k=5TX6sJY) |[Telegram群组](https://github.com/HFO4/Cloudreve) +[主页](https://cloudreve.org) | [论坛](https://forum.cloudreve.org) | [演示站](https://pan.aoaoao.me) | [QQ群](https://jq.qq.com/?_wv=1027&k=5TX6sJY) |[Telegram群组](https://t.me/cloudreve) 基于ThinkPHP构建的网盘系统,能够助您以较低成本快速搭建起公私兼备的网盘。 diff --git a/application/index/command/Task.php b/application/index/command/Task.php index a463def8..fa3441d4 100644 --- a/application/index/command/Task.php +++ b/application/index/command/Task.php @@ -39,7 +39,7 @@ class Task extends Command $task->taskModel = $newTaskInfo; $task->input = $input; $task->output = $output; - $task->Do(); + $task->Doit(); if($task->status=="error"){ $output->writeln("[Error] ".$task->errorMsg); Db::name("task")->where("id",$newTaskInfo["id"])->update(["status"=>"error|".$task->errorMsg]); diff --git a/application/index/model/Task.php b/application/index/model/Task.php index 9aa04561..7c0ffe9e 100644 --- a/application/index/model/Task.php +++ b/application/index/model/Task.php @@ -53,7 +53,7 @@ class Task extends Model{ * * @return void */ - public function Do(){ + public function Doit(){ switch ($this->taskModel["type"]){ case "uploadSingleToOnedrive": $this->uploadSingleToOnedrive();