这是一个基于OkHttp3开发的thxy校园网接口。内含各平台的验证码OCR代码,不支持Android
1.教务系统 (http://jwgl.thxy.cn/)
- 查成绩
- 查课程安排
- 查学分和平均绩点
- 查课程表
- 查考试安排
- 查个人信息
- 抢课(暂未实现)
- 评教(暂未实现)
2.自助平台 (http://self.thxy.cn:8080/)
- 查询余额
- 查在线设备Mac地址
- 清空绑定设备
- 清除在线设备
- 查充值记录
- 查计费周期
3.iMC Portal (http://10.0.8.9:8080/portal/)
- 上线
- 下线
4.故障报修平台 (http://10.0.8.48/hq/baoxiu.php)
- 发报修单
5.用电查询平台 (http://10.0.8.50)
- 查用电情况
- 查免费电
- 查缴费记录
Jwgl jwgl = new Jwgl();
String reslut = jwgl.login("学号", "密码");
if ("登陆成功".equals(reslut)) {
jwgl.getExamResults("201702").forEach(System.out::println);
} else {
System.err.println(reslut);
}
NetSys netSys = new NetSys();
String result = netSys.login("学号", "密码");
if ("success".equals(result)) {
netSys.getInfo().forEach((k, v) -> System.out.println(v));
} else {
System.err.println(result);
}
可以扫下面的二维码添加公众号进行反馈
Copyright 2018 Lyceum Hewun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.