Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
940981bc
Commit
940981bc
authored
Jul 28, 2020
by
张云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zyf
parent
1309f645
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
center-taskexecutor/app/base/db/task/icp/icpAliGenerateTask.js
+0
-0
center-taskexecutor/app/base/db/task/icp/icpGenerateTask.js
+0
-0
center-taskexecutor/app/base/utils/ossClient.js
+9
-0
No files found.
center-taskexecutor/app/base/db/task/icp/icpAliGenerateTask.js
0 → 100644
View file @
940981bc
This diff is collapsed.
Click to expand it.
center-taskexecutor/app/base/db/task/icp/icpGenerateTask.js
View file @
940981bc
This diff is collapsed.
Click to expand it.
center-taskexecutor/app/base/utils/ossClient.js
View file @
940981bc
...
@@ -18,6 +18,15 @@ class OSSClient{
...
@@ -18,6 +18,15 @@ class OSSClient{
});
});
return
result
;
return
result
;
}
}
async
downfile1
(
key
,
destfile
){
var
me
=
this
;
var
destfile
=
destfile
?
destfile
:
key
var
result
=
await
co
(
function
*
()
{
var
result
=
yield
me
.
client
.
get
(
key
,
destfile
);
return
result
;
});
return
result
;
}
async
upfile
(
key
,
filepath
){
async
upfile
(
key
,
filepath
){
var
me
=
this
;
var
me
=
this
;
var
result
=
await
co
(
function
*
()
{
var
result
=
await
co
(
function
*
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment