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

Commit 332525b0 by wyy

获取模板修改

parent 87d43575
......@@ -155,6 +155,7 @@ def findSomeTemplates(collection, condition):
for i in results: # i为document
template["templateId"] = i.get("templateId", None)
template["templateName"] = i.get("templateName", None)
template["entityList"] = i.get("entityList", None)
x.append(template) # 将cursor转化为一个字典
template = {}
return x # 返回这个字典
......
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