文档
测试

获取模板选项列表

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

请求头

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

请求参数

参数名
类型
描述
必填
item_id
模板id
必填

响应参数

参数名
类型
描述
必填
id
选项id
必填
type
类型 1学生选择 2教师选择 3说明 4单行输入 5多行输入 6单选框 7选班级
必填
sort
排序
必填
title
标题
必填
description
填写说明
必填
group_id
分组id
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "id": "97", "item_id": "97", "type": "1", "sort": null, "title": null, "description": null, "not_null": null, "default_last": null, "options": null, "content": null, "create_by_uuid": "001cfd46f8175b50ca8969f71aa6daee", "create_by_account": null, "create_by_name": "沈伟", "create_date": "2023-03-07 15:53:45", "edit_by_uuid": "001cfd46f8175b50ca8969f71aa6daee", "edit_by_account": null, "edit_by_name": "沈伟", "edit_date": "2023-03-07 15:53:45", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "school_year_id": null, "company_uuid": "wpB77hCAAADtF65MV8aWvLDGIefjpvwA", "company_name": "智慧校园" } ] }