文档
测试

调整排序

POST
http://survey.com/questionnaire/api/ExamLibrarySubject/updateOrder

请求头

参数名
类型
描述
必填
Authorization
cjBudkM5SDJQc1BRSHVDQ0J0VWN5b2syUnZtdFhiZjgzPWxIOTY0Y0EwblhQeGpsWGN2OEJ2aXVHdTBieTRIbkw9VFZXY0MwRnd5bkk9STBHNllHZQ%3D%3D
必填

请求参数

参数名
类型
描述
必填
id
题目id
必填
type
类型 1上移 2下移
必填

响应参数

参数名
类型
描述
必填
id
题目id
必填
title
标题
必填
options
选项
必填
type
类型 1单选 2多选 3填空 4量表 5文件上传
必填
order
排序
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "total": 3, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": "166", "survey_id": "156", "type": "1", "title": "你的职业?", "mode": "1", "not_null": "1", "order": "3", "show_logic_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-11 13:33:47", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-11 13:33:47", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": "1.学生;2.老师" }, { "id": "165", "survey_id": "156", "type": "1", "title": "你的性别?", "mode": "1", "not_null": "1", "order": "2", "show_logic_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-11 10:44:17", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-11 10:44:17", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": "1.男;2.女" }, { "id": "164", "survey_id": "156", "type": "1", "title": "你的年龄?", "mode": "1", "not_null": "1", "order": "1", "show_logic_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-11 10:43:59", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-11 10:43:59", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": "1.10-30;2.30-40" } ] } }