文档
测试

更新模板

POST
http://leave2.com/duty/api/Item/update

请求头

参数名
类型
描述
必填
Authorization
bGl5VT13VXUyNGY3SFdmTT11RHA4b0NmUFd2alJ0QXQ0elNMUFl2ZlZ1QTE1enlMTmppTUJ1dnk4MXk4OG1UWTl3MFpGbnZmTldmUFBpQXQtbmVnS2l5NFFrMDZDNXZMSldUb1d6MENBNXNHVw
必填

请求参数

参数名
类型
描述
必填
id
模板id
必填
name
模板名称
必填
description
说明
必填
teacher_group
执勤教师分组id
必填
leader_group
执勤行政分组id
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "classlist": [ { "name": "西区·一年级1班", "xiaoqu_name": "西区", "id": 482, "student_count": 2, "complete_count": 0 }, { "name": "东区·一年级1班", "xiaoqu_name": "东区", "id": 442, "student_count": 0, "complete_count": 0 }, { "name": "东区·二年级1班", "xiaoqu_name": "东区", "id": 257, "student_count": 20, "complete_count": 2 }, { "name": "东区·四年级1班", "xiaoqu_name": "东区", "id": 267, "student_count": 0, "complete_count": 0 }, { "name": "东区·六年级4班", "xiaoqu_name": "东区", "id": 280, "student_count": 1, "complete_count": 0 } ], "xiaoqulist": [ { "name": "西区", "id": 474, "student_count": 2, "complete_count": 0 }, { "name": "东区", "id": 249, "student_count": 33, "complete_count": 2 } ], "un_deal": 0 } }