Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
hexbee
Cloudreve
提交
9ee144d8
C
Cloudreve
项目概览
hexbee
/
Cloudreve
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
Cloudreve
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
9ee144d8
编写于
9月 13, 2018
作者:
H
HFO4
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change: Telegram group invite link
上级
755fe733
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
3 deletion
+3
-3
README.md
README.md
+1
-1
application/index/command/Task.php
application/index/command/Task.php
+1
-1
application/index/model/Task.php
application/index/model/Task.php
+1
-1
未找到文件。
README.md
浏览文件 @
9ee144d8
...
...
@@ -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/C
loudreve
)
[
主页
](
https://cloudreve.org
)
|
[
论坛
](
https://forum.cloudreve.org
)
|
[
演示站
](
https://pan.aoaoao.me
)
|
[
QQ群
](
https://jq.qq.com/?_wv=1027&k=5TX6sJY
)
|
[
Telegram群组
](
https://
t.me/c
loudreve
)
基于ThinkPHP构建的网盘系统,能够助您以较低成本快速搭建起公私兼备的网盘。
...
...
application/index/command/Task.php
浏览文件 @
9ee144d8
...
...
@@ -39,7 +39,7 @@ class Task extends Command
$task
->
taskModel
=
$newTaskInfo
;
$task
->
input
=
$input
;
$task
->
output
=
$output
;
$task
->
Do
();
$task
->
Do
it
();
if
(
$task
->
status
==
"error"
){
$output
->
writeln
(
"[Error] "
.
$task
->
errorMsg
);
Db
::
name
(
"task"
)
->
where
(
"id"
,
$newTaskInfo
[
"id"
])
->
update
([
"status"
=>
"error|"
.
$task
->
errorMsg
]);
...
...
application/index/model/Task.php
浏览文件 @
9ee144d8
...
...
@@ -53,7 +53,7 @@ class Task extends Model{
*
* @return void
*/
public
function
Do
(){
public
function
Do
it
(){
switch
(
$this
->
taskModel
[
"type"
]){
case
"uploadSingleToOnedrive"
:
$this
->
uploadSingleToOnedrive
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录