diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/ApiException.java b/mywust-common/src/main/java/cn/linghang/mywust/exception/ApiException.java similarity index 98% rename from mywust-core/src/main/java/cn/linghang/mywust/core/exception/ApiException.java rename to mywust-common/src/main/java/cn/linghang/mywust/exception/ApiException.java index 381db93..95b4bf5 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/ApiException.java +++ b/mywust-common/src/main/java/cn/linghang/mywust/exception/ApiException.java @@ -1,4 +1,4 @@ -package cn.linghang.mywust.core.exception; +package cn.linghang.mywust.exception; public class ApiException extends BasicException { private final Code code; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/BasicException.java b/mywust-common/src/main/java/cn/linghang/mywust/exception/BasicException.java similarity index 85% rename from mywust-core/src/main/java/cn/linghang/mywust/core/exception/BasicException.java rename to mywust-common/src/main/java/cn/linghang/mywust/exception/BasicException.java index 07dc6df..4454661 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/BasicException.java +++ b/mywust-common/src/main/java/cn/linghang/mywust/exception/BasicException.java @@ -1,4 +1,4 @@ -package cn.linghang.mywust.core.exception; +package cn.linghang.mywust.exception; public class BasicException extends Exception { public BasicException() { diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/ParseException.java b/mywust-common/src/main/java/cn/linghang/mywust/exception/ParseException.java similarity index 95% rename from mywust-core/src/main/java/cn/linghang/mywust/core/exception/ParseException.java rename to mywust-common/src/main/java/cn/linghang/mywust/exception/ParseException.java index 1faa19b..6a9f4f9 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/exception/ParseException.java +++ b/mywust-common/src/main/java/cn/linghang/mywust/exception/ParseException.java @@ -1,4 +1,4 @@ -package cn.linghang.mywust.core.exception; +package cn.linghang.mywust.exception; import java.util.StringJoiner; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/HuangjiahuClassroomNameParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/HuangjiahuClassroomNameParser.java index 45eec40..2fc8f8d 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/HuangjiahuClassroomNameParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/HuangjiahuClassroomNameParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.data.global.Classroom; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/Parser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/Parser.java index 1685a9b..ab59e58 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/Parser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/Parser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; public interface Parser { public T parse(String html) throws ParseException; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateCourseTableParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateCourseTableParser.java index b3320cc..6651be5 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateCourseTableParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateCourseTableParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.graduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.data.global.Classroom; import cn.linghang.mywust.data.global.Course; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateScoreParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateScoreParser.java index eb04e99..f92d67a 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateScoreParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateScoreParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.graduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.data.global.Score; import org.jsoup.Jsoup; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateStudentInfoPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateStudentInfoPageParser.java index ae63de1..43bb63c 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateStudentInfoPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateStudentInfoPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.graduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.global.StudentInfo; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateTrainingPlanPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateTrainingPlanPageParser.java index 201a93a..1403bb4 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateTrainingPlanPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/graduate/GraduateTrainingPlanPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.graduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import org.jsoup.Jsoup; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsCoursePageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsCoursePageParser.java index f7210d9..890209b 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsCoursePageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsCoursePageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.physics; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.HuangjiahuClassroomNameParser; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.data.global.Classroom; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsIndexPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsIndexPageParser.java index 9fc6b46..60e0aa3 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsIndexPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsIndexPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.physics; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScoreListPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScoreListPageParser.java index 304f5b3..89aae7f 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScoreListPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScoreListPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.physics; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import lombok.Data; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScorePageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScorePageParser.java index d41ac50..1ec631a 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScorePageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/physics/PhysicsScorePageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.physics; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.global.Score; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCourseTableParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCourseTableParser.java index bd61afc..c8c83a0 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCourseTableParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCourseTableParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.global.Classroom; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusIndexParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusIndexParser.java index f67f3ea..22c87d8 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusIndexParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusIndexParser.java @@ -1,9 +1,7 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; -import cn.linghang.mywust.core.util.JsoupUtil; -import cn.linghang.mywust.core.util.PageFormExtractor; import org.jsoup.Jsoup; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusParser.java index 5b44915..5e11eab 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradCreditStatusParser.java @@ -1,8 +1,7 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; -import cn.linghang.mywust.core.util.JsoupUtil; import org.jsoup.Jsoup; import org.jsoup.select.Elements; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradExamDelayParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradExamDelayParser.java index 44fcd52..a8bb3ed 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradExamDelayParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradExamDelayParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.undergrad.ExamDelayApplication; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradScoreParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradScoreParser.java index a4883b7..081f545 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradScoreParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradScoreParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.global.Score; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradStudentInfoPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradStudentInfoPageParser.java index 7ec2b19..582acea 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradStudentInfoPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradStudentInfoPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.core.util.JsoupUtil; import cn.linghang.mywust.data.global.StudentInfo; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradTrainingPlanPageParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradTrainingPlanPageParser.java index b33ce17..dc88487 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradTrainingPlanPageParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/UndergradTrainingPlanPageParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import org.jsoup.Jsoup; import org.jsoup.select.Elements; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/GlobalCourseTableParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/GlobalCourseTableParser.java index 397ad6a..7d3f3a3 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/GlobalCourseTableParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/GlobalCourseTableParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate.global; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.data.global.Classroom; import cn.linghang.mywust.data.global.Course; import cn.linghang.mywust.util.StringUtil; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradAllCourseScheduleParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradAllCourseScheduleParser.java index fa0b0d3..6fa090d 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradAllCourseScheduleParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradAllCourseScheduleParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate.global; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.data.global.Course; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradTeacherCourseParser.java b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradTeacherCourseParser.java index c1983b5..c981571 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradTeacherCourseParser.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/parser/undergraduate/global/UndergradTeacherCourseParser.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.parser.undergraduate.global; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.Parser; import cn.linghang.mywust.data.global.Course; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/GraduateLogin.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/GraduateLogin.java index f94e234..b56e4d6 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/GraduateLogin.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/GraduateLogin.java @@ -3,7 +3,7 @@ package cn.linghang.mywust.core.request.service.auth; import cn.linghang.mywust.captcha.SolvedImageCaptcha; import cn.linghang.mywust.captcha.UnsolvedImageCaptcha; import cn.linghang.mywust.core.api.GraduateUrls; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.RequestFactory; import cn.linghang.mywust.core.request.factory.graduate.GraduateRequestFactory; import cn.linghang.mywust.core.request.service.captcha.solver.CaptchaSolver; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/LibraryLogin.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/LibraryLogin.java index 05c1c5c..11b8029 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/LibraryLogin.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/LibraryLogin.java @@ -2,7 +2,7 @@ package cn.linghang.mywust.core.request.service.auth; import cn.linghang.mywust.core.api.LibraryUrls; import cn.linghang.mywust.core.api.UnionAuthUrls; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.library.LibraryRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/PhysicsLogin.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/PhysicsLogin.java index d906a23..62c5456 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/PhysicsLogin.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/PhysicsLogin.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.auth; -import cn.linghang.mywust.core.exception.ApiException; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ApiException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.physics.PhysicsIndexPageParser; import cn.linghang.mywust.core.request.factory.physics.PhysicsSystemRequestFactory; import cn.linghang.mywust.network.RequestClientOption; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UndergraduateLogin.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UndergraduateLogin.java index 3652c77..1948f49 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UndergraduateLogin.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UndergraduateLogin.java @@ -2,7 +2,7 @@ package cn.linghang.mywust.core.request.service.auth; import cn.linghang.mywust.core.api.UndergradUrls; import cn.linghang.mywust.core.api.UnionAuthUrls; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UnionLogin.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UnionLogin.java index 713912e..4a14237 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UnionLogin.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/auth/UnionLogin.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.auth; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.auth.UnionAuthRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/CaptchaSolver.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/CaptchaSolver.java index 57dba48..9e77c32 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/CaptchaSolver.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/CaptchaSolver.java @@ -2,7 +2,7 @@ package cn.linghang.mywust.core.request.service.captcha.solver; import cn.linghang.mywust.captcha.SolvedImageCaptcha; import cn.linghang.mywust.captcha.UnsolvedImageCaptcha; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; public interface CaptchaSolver { SolvedImageCaptcha solve(UnsolvedImageCaptcha unsolvedImageCaptcha) throws ApiException; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/DdddOcrCaptchaSolver.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/DdddOcrCaptchaSolver.java index c244270..102225d 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/DdddOcrCaptchaSolver.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/DdddOcrCaptchaSolver.java @@ -2,7 +2,7 @@ package cn.linghang.mywust.core.request.service.captcha.solver; import cn.linghang.mywust.captcha.SolvedImageCaptcha; import cn.linghang.mywust.captcha.UnsolvedImageCaptcha; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.RequestFactory; import cn.linghang.mywust.network.Requester; import cn.linghang.mywust.network.entitys.HttpRequest; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/LinghangOcrServiceCaptchaSolver.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/LinghangOcrServiceCaptchaSolver.java index 90eabc9..bbfd4b3 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/LinghangOcrServiceCaptchaSolver.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/captcha/solver/LinghangOcrServiceCaptchaSolver.java @@ -2,7 +2,7 @@ package cn.linghang.mywust.core.request.service.captcha.solver; import cn.linghang.mywust.captcha.SolvedImageCaptcha; import cn.linghang.mywust.captcha.UnsolvedImageCaptcha; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.RequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateApiServiceBase.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateApiServiceBase.java index b21cba3..340c0ec 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateApiServiceBase.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateApiServiceBase.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.graduate; import cn.linghang.mywust.core.api.GraduateUrls; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.RequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateCourseTableApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateCourseTableApiService.java index 4e96f83..9dd0c76 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateCourseTableApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateCourseTableApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.graduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.graduate.GraduateRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateScoreApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateScoreApiService.java index 7e1cd11..8816904 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateScoreApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateScoreApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.graduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.graduate.GraduateRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateStudentInfoApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateStudentInfoApiService.java index 448c35e..7e3cad7 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateStudentInfoApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateStudentInfoApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.graduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.graduate.GraduateRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateTrainingPlanApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateTrainingPlanApiService.java index 4a1f4e0..45e98dd 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateTrainingPlanApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/graduate/GraduateTrainingPlanApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.graduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.graduate.GraduateRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiService.java index be97d85..cd56803 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.library; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.library.LibraryRequestFactory; import cn.linghang.mywust.network.Requester; import cn.linghang.mywust.network.entitys.HttpRequest; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiServiceBase.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiServiceBase.java index 25e94fe..edb1b8a 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiServiceBase.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/library/LibraryApiServiceBase.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.library; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.network.Requester; import cn.linghang.mywust.network.entitys.HttpResponse; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsApiServiceBase.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsApiServiceBase.java index cd75ff4..4c99be5 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsApiServiceBase.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsApiServiceBase.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.physics; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.network.Requester; import cn.linghang.mywust.network.entitys.HttpResponse; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsCourseApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsCourseApiService.java index 08fbe65..91d04bc 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsCourseApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsCourseApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.physics; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.physics.PhysicsSystemRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsScoreApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsScoreApiService.java index 6256373..487f7e5 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsScoreApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/physics/PhysicsScoreApiService.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.physics; -import cn.linghang.mywust.core.exception.ApiException; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ApiException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.physics.PhysicsScoreListPageParser; import cn.linghang.mywust.core.request.factory.physics.PhysicsSystemRequestFactory; import cn.linghang.mywust.core.util.PageFormExtractor; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradApiServiceBase.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradApiServiceBase.java index a4c9d95..40c58be 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradApiServiceBase.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradApiServiceBase.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.undergraduate; import cn.linghang.mywust.core.api.UndergradUrls; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.RequestFactory; import cn.linghang.mywust.core.util.BkjxUtil; import cn.linghang.mywust.network.RequestClientOption; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCourseTableApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCourseTableApiService.java index 029c2e4..5bc1d4b 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCourseTableApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCourseTableApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCreditStatusApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCreditStatusApiService.java index 4553047..4a97dbf 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCreditStatusApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradCreditStatusApiService.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; -import cn.linghang.mywust.core.exception.ParseException; +import cn.linghang.mywust.exception.ApiException; +import cn.linghang.mywust.exception.ParseException; import cn.linghang.mywust.core.parser.undergraduate.UndergradCreditStatusIndexParser; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradExamDelayApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradExamDelayApiService.java index 96a6d67..fa5ca2e 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradExamDelayApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradExamDelayApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradScoreApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradScoreApiService.java index 014e049..c17659b 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradScoreApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradScoreApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradStudentInfoApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradStudentInfoApiService.java index c5abaff..08fa284 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradStudentInfoApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradStudentInfoApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradTrainingPlanApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradTrainingPlanApiService.java index 5b17ef4..80e98a0 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradTrainingPlanApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/UndergradTrainingPlanApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.network.RequestClientOption; import cn.linghang.mywust.network.Requester; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradAllCourseScheduleApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradAllCourseScheduleApiService.java index 631cbd1..92dea33 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradAllCourseScheduleApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradAllCourseScheduleApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate.global; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; import cn.linghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; import cn.linghang.mywust.network.RequestClientOption; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradBuildingIdApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradBuildingIdApiService.java index 1075040..0c45776 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradBuildingIdApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradBuildingIdApiService.java @@ -1,7 +1,7 @@ package cn.linghang.mywust.core.request.service.undergraduate.global; import cn.linghang.mywust.core.api.ConstantParams; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; import cn.linghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; import cn.linghang.mywust.data.global.Building; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradClassroomCourseApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradClassroomCourseApiService.java index 4cc3793..1e10f4a 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradClassroomCourseApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradClassroomCourseApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate.global; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; import cn.linghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; import cn.linghang.mywust.network.RequestClientOption; diff --git a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradTeacherCourseApiService.java b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradTeacherCourseApiService.java index a51405b..1d63db4 100644 --- a/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradTeacherCourseApiService.java +++ b/mywust-core/src/main/java/cn/linghang/mywust/core/request/service/undergraduate/global/UndergradTeacherCourseApiService.java @@ -1,6 +1,6 @@ package cn.linghang.mywust.core.request.service.undergraduate.global; -import cn.linghang.mywust.core.exception.ApiException; +import cn.linghang.mywust.exception.ApiException; import cn.linghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; import cn.linghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; import cn.linghang.mywust.network.RequestClientOption;