Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
ea291ff2
Commit
ea291ff2
authored
Jul 02, 2020
by
李景熙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发布任务时参数命名
parent
c0a7b66a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
task.py
DAPlatform/views/task.py
+4
-4
No files found.
DAPlatform/views/task.py
View file @
ea291ff2
...
...
@@ -73,10 +73,10 @@ def create_task():
while
i
<
len
(
data
[
'task'
][
'layerDomains'
]):
s
=
Slice
.
create_layer_slice
(
tid
,
data
[
'task'
][
'layerDomains'
][
i
][
'description'
])
j
=
0
while
j
<
len
(
data
[
'task'
][
'layerDomains'
][
i
][
'file
Name
'
]):
Data
.
create_data
(
s
.
data
,
data
[
'task'
][
'layerDomains'
][
i
][
'file
Name
'
][
j
][
'name'
],
data
[
'task'
][
'layerDomains'
][
i
][
'file
Name
'
][
j
][
'size'
],
data
[
'task'
][
'layerDomains'
][
i
][
'file
Name
'
][
j
][
'url'
])
while
j
<
len
(
data
[
'task'
][
'layerDomains'
][
i
][
'file
List
'
]):
Data
.
create_data
(
s
.
data
,
data
[
'task'
][
'layerDomains'
][
i
][
'file
List
'
][
j
][
'name'
],
data
[
'task'
][
'layerDomains'
][
i
][
'file
List
'
][
j
][
'size'
],
data
[
'task'
][
'layerDomains'
][
i
][
'file
List
'
][
j
][
'url'
])
j
+=
1
i
+=
1
res
=
{
...
...
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