1. 登录 & 验证码接口
- 登录接口POSThttps://www.shgb.cn/djrck/checkXcUserBynameOrId
- 验证码接口GEThttps://www.shgb.cn/djrck/captcha/captchaImage?type=number&s=随机数
2. 常规课程扫描接口
- 重点专题列表GEThttps://www.shgb.cn/djrck/political/classBase/keyClassBaseList
- 常规课程列表GEThttps://www.shgb.cn/djrck/political/classBase/genClassBaseList
- 专题下课程列表GEThttps://www.shgb.cn/djrck/political/classBase/classCourseOftype?classid=xxx&classifyid=0&type=0
- 课程详情页(提取 csid)GEThttps://www.shgb.cn/djrck/political/course/detail?id=xxx&type=xxx&typeid=xxx
3. 核心发包接口(推进学习进度)
- 发包核心接口(最重要) POSThttps://www.shgb.cn/djrck/political/course/addDetail
- 课程完成接口POSThttps://www.shgb.cn/djrck/political/course/finish
4. 专栏相关接口(你重点提供的)
- 专栏列表POSThttps://www.shgb.cn/djrck/reception/specialColumnList/getPageData 参数:pageSize=20&pageNum=1&orderByColumn=t.sort&isAsc=desc
- 专栏课程详情(支持分页)POSThttps://www.shgb.cn/djrck/reception/specialColumnList/getDetailData?specialColumnId=xxxx 参数:specialColumnId=xxx&pageSize=10&pageNum=1&orderByColumn=pcc.sort&isAsc=asc
5. 其他重要接口
- 学习中心(查询学时)GEThttps://www.shgb.cn/djrck/reception/learningCenter
- 我的课程 / 其他业务接口 (根据需要可继续抓)
系统内部 Action 接口(index.php 提供的):
- ?action=base\_login — 单账号登录
- ?action=background\_auto\_farm — 智能托管
- ?action=background\_manual — 手动选课提交(含专栏)
- ?action=cron — 守护进程发包核心
- ?action=captcha — 验证码
- ?action=hours、?action=stats、?action=archive\_list 等查询接口
- ?action=refresh\_one — 单账号刷新
需要我把某个具体接口的完整请求示例(包括 Headers、Body、Cookie 处理方式)详细写出来吗? 或者你想让我把专栏自动学习的完整实现逻辑再梳理一遍?
直接告诉我下一步需求即可。
做专题:
我单独这个网页,主要是发包这个**网站。这是固定的
先获取**这个网站的视频列表和相关需要下面发包的信息,
第一页:**
第二页:**
请求方式:Request URL ** Request Method POST Status Code 200 OK Remote Address 127.0.0.1:7890 Referrer Policy strict-origin-when-cross-origin
access-control-allow-methods GET,POST,OPTIONS,PUT,DELETE access-control-allow-origin connection keep-alive content-type application/json;charset=UTF-8 date Fri, 22 May 2026 11:56:18 GMT server openresty transfer-encoding chunked via CHN-LNshenyang-CMCCZJ2-CACHE12[540],CHN-LNshenyang-CMCCZJ2-CACHE20[534,TCP\_MISS,537],CHN-BJ-GLOBALZJ2-CACHE26[156],CHN-BJ-GLOBALZJ2-CACHE140[151,TCP\_MISS,154] x-ccdn-cachettl 0 x-ccdn-origin-time 151 x-ccdn-req-id-46b1 2e6e23d368b152c75671dd3e614816d0 x-frame-options SAMEORIGIN x-hcs-proxy-type 0 accept application/json, text/javascript, */*; q=0.01 accept-encoding gzip, deflate, br, zstd accept-language zh-CN,zh;q=0.9 connection keep-alive content-length 54 content-type application/x-www-form-urlencoded cookie JSESSIONID=6a5c9751-a41c-4368-9a6d-ff00423c9599; Hm\_lvt\_a59ed3b3a63dd5d72439166128fce8a0=1778831018,1778856406,1779165714,1779411433; HMACCOUNT=BDC2298B7FCF20E1; course=; 9e4d9171-425a-40f0-91ce-3c3bd2fd1927=WyIzNTIyNzg2OTUxIl0; Hm\_lpvt\_a59ed3b3a63dd5d72439166128fce8a0=1779450948 host www.shgb.cn origin referer ** sec-ch-ua "Chromium";v="148", "Google Chrome";v="148", "Not/A)Brand";v="99" sec-ch-ua-mobile ?1 sec-ch-ua-platform "Android" sec-fetch-dest empty sec-fetch-mode cors sec-fetch-site same-origin user-agent Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Mobile Safari/537.36 x-requested-with XMLHttpRequest
specialColumnId=6d01e944095bb2118eb1a399e40f6b5f
pageSize=10&pageNum=2&orderByColumn=pcc.sort&isAsc=asc
返回内容:{
"total": 18,
"rows": [
{
"truetime": "0",
"courseName": "优化区域经济布局 促进区域协调发展(中)",
"courseLecturername": "贾若祥",
"courseClicknum": "14117",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 11,
"courseId": "ad4a26f69f59b211df87acec368c8321",
"timelength": "32",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "优化区域经济布局 促进区域协调发展(下)",
"courseLecturername": "贾若祥",
"courseClicknum": "23374",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 12,
"courseId": "21570c35a059b2115f9e6ecff1af3150",
"timelength": "32",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "更大力度保障和改善民生 加快推动全面绿色转型(上)",
"courseLecturername": "王晓莉",
"courseClicknum": "24485",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 13,
"courseId": "654381ce9e59b211169782ebbc67c911",
"timelength": "32",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "更大力度保障和改善民生 加快推动全面绿色转型(中)",
"courseLecturername": "王晓莉",
"courseClicknum": "23487",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 14,
"courseId": "c22f66079f59b211cb9c4fb91c65a526",
"timelength": "33",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "更大力度保障和改善民生 加快推动全面绿色转型(下)",
"courseLecturername": "王晓莉",
"courseClicknum": "20765",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "0.5",
"sort": 15,
"courseId": "a04acc489f59b211348d493f95239d7c",
"timelength": "21",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "加强重点领域风险防范化解和安全能力建设(上)",
"courseLecturername": "曾刚",
"courseClicknum": "26677",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 16,
"courseId": "9a014900435bb211f8af5ae2e098eb39",
"timelength": "31",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "加强重点领域风险防范化解和安全能力建设(中)",
"courseLecturername": "曾刚",
"courseClicknum": "26598",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "1.0",
"sort": 17,
"courseId": "4b524a54435bb2114db86de824454906",
"timelength": "35",
"courseFinish": "2"
},
{
"truetime": "0",
"courseName": "加强重点领域风险防范化解和安全能力建设(下)",
"courseLecturername": "曾刚",
"courseClicknum": "25617",
"columnId": "6d01e944095bb2118eb1a399e40f6b5f",
"coursePeriod": "0.5",
"sort": 18,
"courseId": "1751a99e435bb211f9bbb40e34cbe544",
"timelength": "19",
"courseFinish": "2"
}
],
"code": 0
}
返回内容是重点
视频的内容:
请求:
Request URL ** Request Method POST Status Code 200 OK Remote Address 127.0.0.1:7890 Referrer Policy strict-origin-when-cross-origin
access-control-allow-methods GET,POST,OPTIONS,PUT,DELETE access-control-allow-origin connection keep-alive content-type application/json;charset=UTF-8 date Fri, 22 May 2026 11:58:23 GMT server openresty transfer-encoding chunked via CHN-LNshenyang-CMCCZJ2-CACHE6[1170],CHN-LNshenyang-CMCCZJ2-CACHE12[1155,TCP\_MISS,1158],CHN-BJ-GLOBALZJ2-CACHE95[673],CHN-BJ-GLOBALZJ2-CACHE115[670,TCP\_MISS,672] x-ccdn-cachettl 0 x-ccdn-origin-time 670 x-ccdn-req-id-46b1 657c938a7c5846164676cec3736f129c x-frame-options SAMEORIGIN x-hcs-proxy-type 0 accept */* accept-encoding gzip, deflate, br, zstd accept-language zh-CN,zh;q=0.9 connection keep-alive content-length 63 content-type application/x-www-form-urlencoded; charset=UTF-8 cookie JSESSIONID=6a5c9751-a41c-4368-9a6d-ff00423c9599; Hm\_lvt\_a59ed3b3a63dd5d72439166128fce8a0=1778831018,1778856406,1779165714,1779411433; HMACCOUNT=BDC2298B7FCF20E1; 9e4d9171-425a-40f0-91ce-3c3bd2fd1927=WyIzNTIyNzg2OTUxIl0; course=7914aec9728eb211b495556129a16b091779451042493; Hm\_lpvt\_a59ed3b3a63dd5d72439166128fce8a0=1779451043 host www.shgb.cn origin referer ** sec-ch-ua "Chromium";v="148", "Google Chrome";v="148", "Not/A)Brand";v="99" sec-ch-ua-mobile ?1 sec-ch-ua-platform "Android" sec-fetch-dest empty sec-fetch-mode cors sec-fetch-site same-origin user-agent Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Mobile Safari/537.36 x-requested-with XMLHttpRequest
csid=7914aec9728eb211b495556129a16b09¤tTime=0&truetime=50
csid=7914aec9728eb211b495556129a16b09¤tTime=0&truetime=110