我有2个由python flask返回的响应
response1 = jsonify(teachers=teachers)
{
"teachers" : [
{
"name":"Mary"
}
]
}
response2 = jsonify(students=students)
{
"students" : [
{
"name":"John"
}
]
}
我怎样才能得到一个将这两个结合起来的回答?输出应如下所示:
^{pr2}$
尝试使用响应1+response1=responsei追加响应。在
Tags:
或者
^{pr2}$相关问题 更多 >
编程相关推荐