commit
f5e42cb7d4
@ -0,0 +1,33 @@ |
|||||||
|
HELP.md |
||||||
|
target/ |
||||||
|
!.mvn/wrapper/maven-wrapper.jar |
||||||
|
!**/src/main/**/target/ |
||||||
|
!**/src/test/**/target/ |
||||||
|
|
||||||
|
### STS ### |
||||||
|
.apt_generated |
||||||
|
.classpath |
||||||
|
.factorypath |
||||||
|
.project |
||||||
|
.settings |
||||||
|
.springBeans |
||||||
|
.sts4-cache |
||||||
|
|
||||||
|
### IntelliJ IDEA ### |
||||||
|
.idea |
||||||
|
*.iws |
||||||
|
*.iml |
||||||
|
*.ipr |
||||||
|
|
||||||
|
### NetBeans ### |
||||||
|
/nbproject/private/ |
||||||
|
/nbbuild/ |
||||||
|
/dist/ |
||||||
|
/nbdist/ |
||||||
|
/.nb-gradle/ |
||||||
|
build/ |
||||||
|
!**/src/main/**/build/ |
||||||
|
!**/src/test/**/build/ |
||||||
|
|
||||||
|
### VS Code ### |
||||||
|
.vscode/ |
@ -0,0 +1,45 @@ |
|||||||
|
# Mywust |
||||||
|
|
||||||
|
武科大教务处网站以及其它的网站服务接口封装库(Java) |
||||||
|
|
||||||
|
对一些常用的服务接口进行了底层的封装,主要包括请求的生成以及页面解析,调用时只需传入必要参数即可进行接口的调用以及响应页面的解析 |
||||||
|
|
||||||
|
核心代码来自武科大助手后端爬虫模块,在此基础上进行部分修改以适用于各种平台,是一个更加~~轻量~~的库 |
||||||
|
|
||||||
|
~~(说白了就是一个爬虫库,只不过泛用性高,在任何jvm平台上都能使用,而不仅限于spring体系)~~ |
||||||
|
|
||||||
|
后续可能会根据需要新增其他语言的实现以提供给其他语言和平台的使用 |
||||||
|
|
||||||
|
现支持的接口: |
||||||
|
<details> |
||||||
|
<summary>展开</summary> |
||||||
|
|
||||||
|
- 教务处 |
||||||
|
- 学生信息获取 |
||||||
|
- 成绩查询 |
||||||
|
- 课表查询 |
||||||
|
- ... |
||||||
|
|
||||||
|
(示例内容,待完成后补充) |
||||||
|
|
||||||
|
</details> |
||||||
|
|
||||||
|
## 环境要求 |
||||||
|
|
||||||
|
> 待补充,先留个坑 |
||||||
|
|
||||||
|
## 使用说明 |
||||||
|
|
||||||
|
> 待补充,先留个坑 |
||||||
|
|
||||||
|
## 目录规范 |
||||||
|
|
||||||
|
> 待补充,先留个坑 |
||||||
|
|
||||||
|
## 版本日志 |
||||||
|
|
||||||
|
> 待补充,先留个坑 |
||||||
|
|
||||||
|
## 使用到的开源库 |
||||||
|
|
||||||
|
> 待补充,先留个坑 |
@ -0,0 +1,3 @@ |
|||||||
|
# Mywust Core |
||||||
|
|
||||||
|
Mywust的核心部分,包含页面解析以及请求 |
@ -0,0 +1,20 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||||
|
<parent> |
||||||
|
<artifactId>mywust</artifactId> |
||||||
|
<groupId>cn.linghang</groupId> |
||||||
|
<version>0.0.1-dev</version> |
||||||
|
</parent> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<artifactId>mywust-core</artifactId> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<maven.compiler.source>11</maven.compiler.source> |
||||||
|
<maven.compiler.target>11</maven.compiler.target> |
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||||
|
</properties> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,3 @@ |
|||||||
|
# Mywust model |
||||||
|
|
||||||
|
存放各种数据实体类 |
@ -0,0 +1,20 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||||
|
<parent> |
||||||
|
<artifactId>mywust</artifactId> |
||||||
|
<groupId>cn.linghang</groupId> |
||||||
|
<version>0.0.1-dev</version> |
||||||
|
</parent> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<artifactId>mywust-model</artifactId> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<maven.compiler.source>11</maven.compiler.source> |
||||||
|
<maven.compiler.target>11</maven.compiler.target> |
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||||
|
</properties> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,3 @@ |
|||||||
|
# Mywust Network |
||||||
|
|
||||||
|
对网络底层请求的一个简单封装 |
@ -0,0 +1,20 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||||
|
<parent> |
||||||
|
<artifactId>mywust</artifactId> |
||||||
|
<groupId>cn.linghang</groupId> |
||||||
|
<version>0.0.1-dev</version> |
||||||
|
</parent> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<artifactId>mywust-network</artifactId> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<maven.compiler.source>11</maven.compiler.source> |
||||||
|
<maven.compiler.target>11</maven.compiler.target> |
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||||
|
</properties> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,3 @@ |
|||||||
|
# Mywust Util |
||||||
|
|
||||||
|
Mywust工具类 |
@ -0,0 +1,20 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||||
|
<parent> |
||||||
|
<artifactId>mywust</artifactId> |
||||||
|
<groupId>cn.linghang</groupId> |
||||||
|
<version>0.0.1-dev</version> |
||||||
|
</parent> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<artifactId>mywust-util</artifactId> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<maven.compiler.source>11</maven.compiler.source> |
||||||
|
<maven.compiler.target>11</maven.compiler.target> |
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||||
|
</properties> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,24 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
|
<groupId>cn.linghang</groupId> |
||||||
|
<artifactId>mywust</artifactId> |
||||||
|
<packaging>pom</packaging> |
||||||
|
<version>0.0.1-dev</version> |
||||||
|
<modules> |
||||||
|
<module>mywust-core</module> |
||||||
|
<module>mywust-model</module> |
||||||
|
<module>mywust-network</module> |
||||||
|
<module>mywust-util</module> |
||||||
|
</modules> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<maven.compiler.source>11</maven.compiler.source> |
||||||
|
<maven.compiler.target>11</maven.compiler.target> |
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||||
|
</properties> |
||||||
|
|
||||||
|
</project> |
Loading…
Reference in new issue