文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ea291ff2 by 李景熙

修改发布任务时参数命名

parent c0a7b66a
...@@ -73,10 +73,10 @@ def create_task(): ...@@ -73,10 +73,10 @@ def create_task():
while i < len(data['task']['layerDomains']): while i < len(data['task']['layerDomains']):
s = Slice.create_layer_slice(tid, data['task']['layerDomains'][i]['description']) s = Slice.create_layer_slice(tid, data['task']['layerDomains'][i]['description'])
j = 0 j = 0
while j < len(data['task']['layerDomains'][i]['fileName']): while j < len(data['task']['layerDomains'][i]['fileList']):
Data.create_data(s.data, data['task']['layerDomains'][i]['fileName'][j]['name'], Data.create_data(s.data, data['task']['layerDomains'][i]['fileList'][j]['name'],
data['task']['layerDomains'][i]['fileName'][j]['size'], data['task']['layerDomains'][i]['fileList'][j]['size'],
data['task']['layerDomains'][i]['fileName'][j]['url']) data['task']['layerDomains'][i]['fileList'][j]['url'])
j += 1 j += 1
i += 1 i += 1
res = { res = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment