# 1 **请求** GET /hhcrm/api/schools HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:02:58 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json {   "result": 0,   "message": "",   "queryObjects": [     {       "id": "1000000607",       "name": "乌鲁木齐学生体测服务平台",       "projectClass": 2,       "minGrade": 11,       "maxGrade": 44,       "createTime": "2025-09-03T14:32:24.087",       "operater": "姚康",       "maxStudentCount": 420000,       "city": null,       "divisionID": "650100",       "divisionPath": "新疆维吾尔自治区/乌鲁木齐市",       "templateID": null,       "url": "https://ty.hxhh.tech/hhtc/api",       "thirdSyncPlateForm": null,       "modules": 14,       "projectID": null,       "currentYear": 0,       "isEnableWX": false,       "isUpdateHistroryData": true,       "isStop": 0     }   ],   "pageSize": 0,   "pageIndex": 1,   "totalCount": 1 } ``` # 2 **请求** POST /hhcrm/api/login HTTP/1.1 Accept: application/json;charset=utf-8 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json;charset=utf-8 Content-Length: 134 Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 ```json {"Client":"8寸屏平板体测[V3.3.6_debug27]","LocalIP":"192.168.2.56","MAC":"7C943ABA6131","SchoolID":"1000000607","Veryfied":true} ``` **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:03:00 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "value": { "id": "1c4b1d46-c8a7-4dc3-b9ac-0f7841e1c3ef_1000000607", "userID": "1c4b1d46-c8a7-4dc3-b9ac-0f7841e1c3ef", "user": { "id": "1c4b1d46-c8a7-4dc3-b9ac-0f7841e1c3ef", "userType": 0, "mobile": "18167973603", "name": "姜", "password": null, "states": 0, "createTime": "2025-09-03T14:32:54.703", "email": "", "operater": null, "note": "{\"2\":\"\",\"1\":\"\",\"4\":\"\",\"3\":\"新疆阳光学生体质健康管理有限公司\"}", "hasMobile": true }, "schoolID": "1000000607", "school": { "id": "1000000607", "name": "乌鲁木齐学生体测服务平台", "projectClass": 2, "minGrade": 11, "maxGrade": 44, "createTime": "2025-09-03T14:32:24.087", "operater": "姚康", "maxStudentCount": 420000, "city": null, "divisionID": "650100", "divisionPath": null, "templateID": null, "url": "https://ty.hxhh.tech/hhtc/api", "thirdSyncPlateForm": null, "modules": 14, "projectID": "TC001097", "currentYear": 2025, "isEnableWX": false, "isUpdateHistroryData": true, "isStop": 0 }, "role": "系统管理员", "expireDate": "2025-12-31T00:00:00", "permissions": "all", "selectionType": null, "selectionItems": null, "projects": null, "ukey": false, "needConfirm": false, "isAdministrator": true }, "result": 0, "message": "" } ``` # 3 **请求** GET /hhcrm/api/PhysicalProjects?q=eyJzY2hvb2xJRCI6IjEwMDAwMDA2MDciLCJzb3J0TW9kZSI6Mn0%3D%0A HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:03:00 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "result": 0, "message": "", "queryObjects": [ { "id": "SL001600", "projectClass": 8, "name": "2025-2026年度上学期学生视力", "year": 2025, "createDate": "2025-09-03T16:57:08.35", "startDate": "2025-09-01T00:00:00", "endDate": "2026-02-01T23:59:59", "templateProjectID": "gbsl2021", "isTemplate": false, "schoolID": "1000000607", "school": null, "state": 0, "selectionType": null, "selectionItems": null, "testItems": null, "gradeTestItems": null, "eyeSightTetstItems": null, "copyingProjectID": null }, { "id": "TC001097", "projectClass": 2, "name": "2025-2026年度学生体测", "year": 2025, "createDate": "2025-09-03T16:57:08.327", "startDate": "2025-09-01T00:00:00", "endDate": "2026-09-01T00:00:00", "templateProjectID": "gbtc2014", "isTemplate": false, "schoolID": "1000000607", "school": null, "state": 0, "selectionType": null, "selectionItems": null, "testItems": null, "gradeTestItems": null, "eyeSightTetstItems": null, "copyingProjectID": null } ], "pageSize": 0, "pageIndex": 0, "totalCount": 2 } ``` # 4 **请求** GET /hhcrm/api/PhysicalProjects/TC001097 HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:03:02 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "result": 0, "message": "", "queryObject": { "id": "TC001097", "projectClass": 2, "name": "2025-2026年度学生体测", "year": 2025, "createDate": "2025-09-03T16:57:08.327", "startDate": "2025-09-01T00:00:00", "endDate": "2026-09-01T00:00:00", "templateProjectID": "gbtc2014", "isTemplate": false, "schoolID": "1000000607", "school": { "id": "1000000607", "name": "乌鲁木齐学生体测服务平台", "projectClass": 2, "minGrade": 11, "maxGrade": 44, "createTime": "2025-09-03T14:32:24.087", "operater": "姚康", "maxStudentCount": 420000, "city": null, "divisionID": "650100", "divisionPath": null, "templateID": null, "url": "https://ty.hxhh.tech/hhtc/api", "thirdSyncPlateForm": null, "modules": 14, "projectID": "TC001097", "currentYear": 2025, "isEnableWX": false, "isUpdateHistroryData": true, "isStop": 0 }, "state": 0, "selectionType": null, "selectionItems": null, "testItems": [ { "id": 1, "name": "身高", "unit": "厘米", "pointCount": 1, "hasMachine": true, "max": 250.0, "min": 80.1, "sortMode": 0, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 2, "name": "体重", "unit": "公斤", "pointCount": 1, "hasMachine": true, "max": 200.0, "min": 10.1, "sortMode": 0, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 24, "name": "BMI指数", "unit": "", "pointCount": 1, "hasMachine": true, "max": null, "min": null, "sortMode": 0, "formula": "([体重] * 10000)/([身高] * [身高])", "memo": null, "shortName": null, "testCount": null, "precisionMode": 1, "isMust": false, "sex": 0 }, { "id": 4, "name": "肺活量", "unit": "毫升", "pointCount": 0, "hasMachine": true, "max": 9999.0, "min": 500.0, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 7, "name": "坐位体前屈", "unit": "厘米", "pointCount": 1, "hasMachine": true, "max": 40.0000, "min": -30.0000, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 5, "name": "50米跑", "unit": "秒", "pointCount": 1, "hasMachine": true, "max": 19.9, "min": 5.1, "sortMode": 1, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 2, "isMust": false, "sex": 0 }, { "id": 6, "name": "立定跳远", "unit": "厘米", "pointCount": 0, "hasMachine": true, "max": 400.0, "min": 51.0, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 12, "name": "一分钟仰卧起坐", "unit": "次", "pointCount": 0, "hasMachine": true, "max": 99.0, "min": 0.0, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 18, "name": "一分钟跳绳", "unit": "次", "pointCount": 0, "hasMachine": true, "max": 300.0, "min": 0.0, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 14, "name": "引体向上", "unit": "次", "pointCount": 0, "hasMachine": true, "max": 99.0000, "min": 0.0000, "sortMode": 2, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 0, "isMust": false, "sex": 0 }, { "id": 9, "name": "50米×8往返跑", "unit": "分\u0027秒\"", "pointCount": 0, "hasMachine": true, "max": 540.0, "min": 45.0, "sortMode": 1, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 2, "isMust": false, "sex": 0 }, { "id": 10, "name": "800米跑", "unit": "分\u0027秒\"", "pointCount": 0, "hasMachine": true, "max": 540.0, "min": 120.0, "sortMode": 1, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 2, "isMust": false, "sex": 0 }, { "id": 11, "name": "1000米跑", "unit": "分\u0027秒\"", "pointCount": 0, "hasMachine": true, "max": 540.0, "min": 120.0, "sortMode": 1, "formula": null, "memo": null, "shortName": null, "testCount": null, "precisionMode": 2, "isMust": false, "sex": 0 } ], "gradeTestItems": { "11_Male": [ 1, 2, 4, 5, 7, 18, 24 ], "12_Male": [ 1, 2, 4, 5, 7, 18, 24 ], "13_Male": [ 1, 2, 4, 5, 7, 12, 18, 24 ], "14_Male": [ 1, 2, 4, 5, 7, 12, 18, 24 ], "15_Male": [ 1, 2, 4, 5, 7, 9, 12, 18, 24 ], "16_Male": [ 1, 2, 4, 5, 7, 9, 12, 18, 24 ], "21_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "22_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "23_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "31_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "32_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "33_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "41_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "42_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "43_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "44_Male": [ 1, 2, 4, 5, 6, 7, 11, 14, 24 ], "11_Female": [ 1, 2, 4, 5, 7, 18, 24 ], "12_Female": [ 1, 2, 4, 5, 7, 18, 24 ], "13_Female": [ 1, 2, 4, 5, 7, 12, 18, 24 ], "14_Female": [ 1, 2, 4, 5, 7, 12, 18, 24 ], "15_Female": [ 1, 2, 4, 5, 7, 9, 12, 18, 24 ], "16_Female": [ 1, 2, 4, 5, 7, 9, 12, 18, 24 ], "21_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "22_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "23_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "31_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "32_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "33_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "41_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "42_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "43_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ], "44_Female": [ 1, 2, 4, 5, 6, 7, 10, 12, 24 ] }, "eyeSightTetstItems": null, "copyingProjectID": null } } ``` # 5 **请求** GET /hhtc/api/TC001097/Facilitys HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:03:03 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "result": 0, "message": "", "queryObjects": [ { "id": "0559dc4a-9117-41be-b2b3-852d27e7779d", "name": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "126", "minGrade": 11, "maxGrade": 16, "divisionID": null, "parentPath": null, "tags": 1, "natoure": 1, "year": null, "memo": null, "location": null, "schoolId": null, "appKey": null, "appSecret": null }, { "id": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "name": "乌鲁木齐市147中学", "number": "1920699779923480578", "minGrade": 11, "maxGrade": 16, "divisionID": null, "parentPath": null, "tags": 1, "natoure": 1, "year": null, "memo": null, "location": null, "schoolId": null, "appKey": null, "appSecret": null } ], "pageSize": 0, "pageIndex": 1, "totalCount": 2 } ``` # 6 **请求** GET /hhtc/api/TC001097/StudentClasss HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:03:03 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "result": 0, "message": "", "queryObjects": [ { "id": "26c5510c-867f-4fea-bb14-7c31efe10437", "name": "1班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "3ed0c80d-5372-4d72-967b-d1e88176098c", "name": "1班", "beginYear": 2024, "beginGrade": 11, "years": 6, "grade": 12, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "7a42526b-161d-4753-98cd-905fd2783084", "name": "2班", "beginYear": 2024, "beginGrade": 11, "years": 6, "grade": 12, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "234e9460-c5c0-4e4a-8992-4abb2a85b0fd", "name": "1班", "beginYear": 2023, "beginGrade": 11, "years": 6, "grade": 13, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "c8f0f213-7cde-49a8-ae60-c853748f5b44", "name": "2班", "beginYear": 2023, "beginGrade": 11, "years": 6, "grade": 13, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "b5dbfe51-6738-4713-9af6-824b6ca044aa", "name": "1班", "beginYear": 2022, "beginGrade": 11, "years": 6, "grade": 14, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "e1ead7c5-fb92-4eac-b734-38ca72631747", "name": "2班", "beginYear": 2022, "beginGrade": 11, "years": 6, "grade": 14, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "0984b052-ab2f-4ac9-adbb-efc9c6b612b5", "name": "1班", "beginYear": 2021, "beginGrade": 11, "years": 6, "grade": 15, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "90047577-9224-45aa-8b19-85936df77428", "name": "2班", "beginYear": 2021, "beginGrade": 11, "years": 6, "grade": 15, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "2634d818-a464-458e-88f8-d8e89b48ef38", "name": "1班", "beginYear": 2020, "beginGrade": 11, "years": 6, "grade": 16, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "8a18d249-cebc-4ef6-966a-127bc80a2c6b", "name": "2班", "beginYear": 2020, "beginGrade": 11, "years": 6, "grade": 16, "facilityID": "0559dc4a-9117-41be-b2b3-852d27e7779d", "facilityName": "吐鲁番市高昌区艾丁湖镇也木什小学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "e5abd2f7-2a17-4c9f-917f-a69ceb3e7afb", "name": "小学一年级1班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "101", "professional": "", "professionalCode": "" }, { "id": "0c7ab17c-3103-4526-b932-09b986333719", "name": "小学一年级2班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "102", "professional": "", "professionalCode": "" }, { "id": "c09d9f9b-c65b-45f1-a816-41d8a0b99386", "name": "小学一年级3班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "103", "professional": "", "professionalCode": "" }, { "id": "cc1ef56a-ec4b-4634-9dbb-5d74494a11b9", "name": "小学一年级4班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "104", "professional": "", "professionalCode": "" }, { "id": "a2a189aa-13ac-4588-8be9-8bcd290c29e0", "name": "小学一年级5班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "105", "professional": "", "professionalCode": "" }, { "id": "d79bcd44-c9e8-403d-a649-0a477b8811bd", "name": "小学一年级6班", "beginYear": 2025, "beginGrade": 11, "years": 6, "grade": 11, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "106", "professional": "", "professionalCode": "" }, { "id": "72575710-c55f-42d6-abd6-9b9c2f34d842", "name": "小学二年级1班", "beginYear": 2024, "beginGrade": 11, "years": 6, "grade": 12, "facilityID": "33ee4ddf-8333-4f97-8bf3-1e417b81f2cf", "facilityName": "乌鲁木齐市147中学", "number": "101", "professional": "", "professionalCode": "" } ], "pageSize": 0, "pageIndex": 1, "totalCount": 18 } ``` # 7 **请求** GET /hhcrm/api/HHDevices/getcurrenttime HTTP/1.1 Accept: application/json Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:02:57 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "value": "2025-09-12 10:02:57", "result": 0, "message": "" } ``` # 8 **请求** GET /hhcrm/api/hhdevices/getbysn?sn=db%3Ab2%3A5d%3Aa7%3Aa4%3A5e HTTP/1.1 Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjA1Mjk1LCJleHAiOjE3NTc2MjMyOTUsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.9KgSahZuh3HWydnffhpcdWkXHoa9hr5rbPcpAgMrBT0 Content-Type: application/json Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:02:57 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "result": 0, "message": null, "queryObject": { "id": "DB:B2:5D:A7:A4:5E", "deviceType": 5, "createTime": "2022-11-14T17:32:03.617", "serialNumber": "HXHH65CA220600153", "version": "", "hardwareVersion": null, "imei": "863320047685506", "mac": "db:b2:5d:a7:a4:5e", "faceCode": "0857-11FA-M2DF-EFDX", "speechCode": null, "batchNo": "", "manufactureDate": null, "city": "鄂尔多斯市源启教育培训有限公司", "expireDate": null, "userID": null, "deviceName": "", "activeTime": "2025-09-06T09:00:05", "lastConnectTime": null, "lastLocation": null, "physicalItems": null } } ``` # 9 **请求** POST /hhcrm/api/tokens HTTP/1.1 Accept: application/json;charset=utf-8 Content-Type: application/json;charset=utf-8 Content-Length: 84 Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 ```json {"clientid":"6D587F96","password":"Hxhh@1234","systemflag":2,"userId":"18167973603"} ``` **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:02:57 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "value": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q", "expireTime": 18000, "sign": "" }, "result": 0, "message": "" } ``` # 10 **请求** POST /hhcrm/api/tokens HTTP/1.1 Accept: application/json;charset=utf-8 Content-Type: application/json;charset=utf-8 Content-Length: 139 Host: ty.hxhh.tech Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.10.0 ```json {"clientid":"6D587F96","mac":"Mac地址:db:b2:5d:a7:a4:5e","password":"ou7eMPFsoMrbfMA05cnIiQ==\n","systemflag":2,"userId":"18167973603"} ``` **响应** HTTP/1.1 200 OK Server: nginx/1.22.1 Date: Fri, 12 Sep 2025 02:02:57 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-Encoding: gzip Vary: Accept-Encoding ```json { "value": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMWM0YjFkNDYtYzhhNy00ZGMzLWI5YWMtMGY3ODQxZTFjM2VmIiwiU3lzdGVtRmxhZyI6IjIiLCJDbGllbnRJRCI6IjZENTg3Rjk2IiwibmJmIjoxNzU3NjQyNTc3LCJleHAiOjE3NTc2NjA1NzcsImlzcyI6Imh0dHBzOi8vd3d3Lmh1YXhpYWh1aWhhaS5jb20iLCJhdWQiOiJodHRwOi8vd3d3Lmd6aHhoaHR5LmNvbSJ9.pdm-7VxrsJrX93twYr2NF86WuPJinq4qRNt1PWuMB2Q", "expireTime": 18000, "sign": "" }, "result": 0, "message": "" } ```