当参数字段超过长度限制,那么整个请求会被拦掉。
注意,每个班级下学生总数不能超过3万个。建议保证创建department对应的部门和创建成员是串行化处理。
{
"student_userid": "zhangsan",
"mobile": "18000000000",
"new_student_userid":"NEW_ID",
"name": "张三",
"department": [1, 2]
}curl --location -g --request POST '/cgi-bin/school/user/update_student?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"student_userid": "zhangsan",
"mobile": "18000000000",
"new_student_userid":"NEW_ID",
"name": "张三",
"department": [1, 2]
}'{
"errcode": 0,
"errmsg": "updated"
}