{
"cate_id": "@integer(1, 1000)",
"type": "@integer(0, 2)",
"title": "@cword(10, 32)",
"answer": [
{
"key": "@integer(1, 3)",
"value": "@cword(5, 15)"
},
{
"key": "@integer(1, 3)",
"value": "@cword(5, 15)"
}
],
"proper_answer": ["@integer(1, 3)"],
"content": "@cword(100)"
}
最后接受的数据却是
{
"cate_id": 267,
"type": 1,
"title": "例生儿儿加月线经整完王面非用实始育联多海车中在己感那装调管少安传",
"answer": [
{
"key": "1",
"value": "设平况六或等"
},
{
"key": "3",
"value": "效千认流是万当年团两务"
}
],
"proper_answer": [
"1"
],
"content": "划毛亲一们水度写层感则四受回造离性层没华难取列属世值主严温示山叫拉不去矿用着条安江置过研节记她型华直指品消决美代数往度过动量根工种适民音选也王传写识铁反内压你政论局电整造话车于难米性且它起体素现农出存"
}
其中answer.*.key变成了字符串,
您可以把 ”@integer(1, 1000)“ 的 双引号去掉就可以了😊