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

Commit 2163a879 by 李景熙

修改slice

parent 7d8be8cd
......@@ -89,11 +89,17 @@ def find_slice_by_task(task_id):
index = 0
list = []
while index < len(find):
if find[index].type == 0:
t = "文本"
elif find[index].type == 1:
t = "图像"
else:
t = "图层"
list.append(
{
'id': find[index].slice_id,
'fileNum': find[index].document_number,
'type': find[index].type,
'type': t,
'template': find[index].model_id
}
)
......
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