添加学生
测试中
POST
https://selfxu.cn:5000/student_info/add
"birth_date": 生日,以xxxx-xx-xx格式输入
"card_status": "正常",默认正常,有正常,挂失,锁定,销毁,余额错误锁定五个状态,其中余额错误锁定不能手动设置
"card_valid_period": "2027-02-27",有效日期,默认是开户日加上三年
"discount_rate": 100,折扣率,默认100,整数百分比形式
"id_card_number": "",身份证号
"identity_type": "身份证",默认身份证
"name": "张三",名字(必填)
"student_id": "202401161629",学号(必填)
"card_number": "20240116162901224934517887502608",从硬件开卡获取的卡号(必填),
"classes":教室名称,该学生要添加到哪个教室下(必填)
"grade":年级名称,该学生要添加到哪个年级下(必填)
"school":学校名称,该学生要添加到哪个学校下(root必填,非root只能添加本校,无需填写)
"remark":备注
请求参数
Cookie 参数
token
string
必需
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InJvb3QiLCJleHAiOjE3MTg5OTEyOTR9.DOsBfYOucVT4MsORsg1XqaJMfa6vN3d7BlZBnJdInwo
Body 参数application/json