~~~[api]
post:/sync/kindergarten
<<<
请求
[
{
"name":"刘宗超测试幼儿园",
"short_name":"刘宗超私立幼儿园",
"desc":"幼儿园简介",
"mobile":"18505322813",
"linkman":"刘宗超",
"province":"山东省",
"city":"青岛市",
"region":"市北区",
"address":"合肥路16号",
"pic":"",
"grade_list":[
{
"name":"默认年级",
"class_list":[
{
"name":"小班",
"student_list":[
{
"name":"刘昊纬",
"sex":"男",
"birthday":"2016-11-19",
"parent_list":[
{
"name":"刘宗超",
"relation":"爸爸",
"mobile":"18615321702",
"sex":"男"
}
]
}
],
"camera_list":[
{
"name":"小班",
"serial_no":"cqhuodongshiava"
}
]
}
]
}
]
}
]
<<<
返回
ok 代表成功,其他是失败
~~~
body体是一个json字符串,header中需设置u和p参数