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

Commit 964f95b9 by 李景熙

修复发布任务bug

parent 560f1263
...@@ -51,7 +51,7 @@ def create_task(): ...@@ -51,7 +51,7 @@ def create_task():
i = 0 i = 0
print(data) print(data)
while i < len(data['task']['domains']): while i < len(data['task']['domains']):
s = Slice.create_text_slice(tid, data['task']['domains'][i]['textModel']) s = Slice.create_text_slice(tid, data['task']['domains'][i]['piecesOptions'])
j = 0 j = 0
while j < len(data['task']['domains'][i]['fileList']): while j < len(data['task']['domains'][i]['fileList']):
Data.create_data(s.data, data['task']['domains'][i]['fileList'][j]['name'], Data.create_data(s.data, data['task']['domains'][i]['fileList'][j]['name'],
......
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