数据库中添加字段unrelated
This commit is contained in:
parent
ff5f16d540
commit
d8eba5666e
|
|
@ -29,7 +29,7 @@ with open(r"../题库0.3/LessonObj.json","r",encoding = "utf8") as f:
|
||||||
obj_dict = json.loads(database)
|
obj_dict = json.loads(database)
|
||||||
|
|
||||||
#该字段列表可能需要更新
|
#该字段列表可能需要更新
|
||||||
fields = ["content","objs","tags","genre","ans","solution","duration","usages","origin","edit","same","related","remark","space"]
|
fields = ["content","objs","tags","genre","ans","solution","duration","usages","origin","edit","same","related","remark","space","unrelated"]
|
||||||
|
|
||||||
if field in fields:
|
if field in fields:
|
||||||
field_type = type(pro_dict["000001"][field])
|
field_type = type(pro_dict["000001"][field])
|
||||||
|
|
|
||||||
58449
题库0.3/Problems.json
58449
题库0.3/Problems.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue