parent
e4473af4d7
commit
bf828e3418
@ -1,6 +1,5 @@ |
||||
package cn.linghang.mywust.captcha; |
||||
package cn.wustlinghang.mywust.captcha; |
||||
|
||||
import lombok.Data; |
||||
import lombok.Getter; |
||||
|
||||
/** |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.captcha; |
||||
package cn.wustlinghang.mywust.captcha; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Data; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import java.util.StringJoiner; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import java.util.StringJoiner; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Builder; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import java.util.StringJoiner; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Builder; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Builder; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.global; |
||||
package cn.wustlinghang.mywust.data.global; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Builder; |
@ -1,6 +1,6 @@ |
||||
package cn.linghang.mywust.data.physics; |
||||
package cn.wustlinghang.mywust.data.physics; |
||||
|
||||
import cn.linghang.mywust.data.global.Course; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.data.undergrad; |
||||
package cn.wustlinghang.mywust.data.undergrad; |
||||
|
||||
import lombok.AllArgsConstructor; |
||||
import lombok.Data; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.exception; |
||||
package cn.wustlinghang.mywust.exception; |
||||
|
||||
public class ApiException extends BasicException { |
||||
private final Code code; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.exception; |
||||
package cn.wustlinghang.mywust.exception; |
||||
|
||||
public class BasicException extends Exception { |
||||
public BasicException() { |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.exception; |
||||
package cn.wustlinghang.mywust.exception; |
||||
|
||||
import java.util.StringJoiner; |
||||
|
@ -1,7 +0,0 @@ |
||||
package cn.linghang.mywust.core.parser; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
|
||||
public interface Parser<T> { |
||||
public T parse(String html) throws ParseException; |
||||
} |
@ -1,9 +0,0 @@ |
||||
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.exception.ApiException; |
||||
|
||||
public interface CaptchaSolver { |
||||
SolvedImageCaptcha solve(UnsolvedImageCaptcha unsolvedImageCaptcha) throws ApiException; |
||||
} |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
import java.util.Collections; |
||||
import java.util.HashMap; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
public class GraduateUrls { |
||||
public static final String GRADUATE_CAPTCHA_API = "http://59.68.177.189/pyxx/PageTemplate/NsoftPage/yzm/createyzm.aspx"; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
public class LibraryUrls { |
||||
public static final String LIBRARY_SESSION_COOKIE_API = "https://libsys.wust.edu.cn/meta-local/opac/cas/rosetta?ticket=%s"; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
public class PhysicsSystemUrls { |
||||
public static final String PHYSICS_LOGIN_INDEX = "http://wlsy.wust.edu.cn/Page/BI/BI000.aspx"; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
import lombok.Getter; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.api; |
||||
package cn.wustlinghang.mywust.core.api; |
||||
|
||||
public class UnionAuthUrls { |
||||
/** |
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.core.parser; |
||||
package cn.wustlinghang.mywust.core.parser; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.data.global.Classroom; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.data.global.Classroom; |
||||
import org.slf4j.Logger; |
||||
import org.slf4j.LoggerFactory; |
||||
|
@ -0,0 +1,7 @@ |
||||
package cn.wustlinghang.mywust.core.parser; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
|
||||
public interface Parser<T> { |
||||
public T parse(String html) throws ParseException; |
||||
} |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.graduate; |
||||
package cn.wustlinghang.mywust.core.parser.graduate; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.data.global.Classroom; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
||||
import org.jsoup.nodes.Element; |
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.parser.graduate; |
||||
package cn.wustlinghang.mywust.core.parser.graduate; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.linghang.mywust.data.global.Score; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.data.global.Score; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
||||
import org.jsoup.nodes.Element; |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.graduate; |
||||
package cn.wustlinghang.mywust.core.parser.graduate; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.global.StudentInfo; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
|
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.parser.graduate; |
||||
package cn.wustlinghang.mywust.core.parser.graduate; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.linghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
||||
import org.jsoup.nodes.Element; |
@ -1,10 +1,10 @@ |
||||
package cn.linghang.mywust.core.parser.physics; |
||||
package cn.wustlinghang.mywust.core.parser.physics; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.data.physics.PhysicsCourse; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.HuangjiahuClassroomNameParser; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.data.global.Classroom; |
||||
import cn.wustlinghang.mywust.data.physics.PhysicsCourse; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.select.Elements; |
||||
|
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.core.parser.physics; |
||||
package cn.wustlinghang.mywust.core.parser.physics; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
||||
import org.jsoup.select.Elements; |
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.parser.physics; |
||||
package cn.wustlinghang.mywust.core.parser.physics; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.linghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import lombok.Data; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.physics; |
||||
package cn.wustlinghang.mywust.core.parser.physics; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.global.Score; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,11 +1,11 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.data.global.Course; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.global.Classroom; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.select.Elements; |
||||
|
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.undergrad.ExamDelayApplication; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.global.Score; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.core.util.JsoupUtil; |
||||
import cn.wustlinghang.mywust.data.global.StudentInfo; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
||||
import org.jsoup.nodes.Element; |
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.select.Elements; |
||||
|
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate.global; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate.global; |
||||
|
||||
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; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.data.global.Classroom; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate.global; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate.global; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.linghang.mywust.data.global.Course; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
|
||||
import java.util.List; |
||||
import java.util.regex.Pattern; |
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.parser.undergraduate.global; |
||||
package cn.wustlinghang.mywust.core.parser.undergraduate.global; |
||||
|
||||
import cn.linghang.mywust.exception.ParseException; |
||||
import cn.linghang.mywust.core.parser.Parser; |
||||
import cn.linghang.mywust.data.global.Course; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.Parser; |
||||
import cn.wustlinghang.mywust.data.global.Course; |
||||
|
||||
import java.util.List; |
||||
import java.util.regex.Pattern; |
@ -1,6 +1,6 @@ |
||||
package cn.linghang.mywust.core.request.factory; |
||||
package cn.wustlinghang.mywust.core.request.factory; |
||||
|
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
|
||||
import java.net.URL; |
||||
import java.nio.charset.StandardCharsets; |
@ -1,9 +1,9 @@ |
||||
package cn.linghang.mywust.core.request.factory.auth; |
||||
package cn.wustlinghang.mywust.core.request.factory.auth; |
||||
|
||||
import cn.linghang.mywust.core.api.UnionAuthUrls; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
import cn.wustlinghang.mywust.core.api.UnionAuthUrls; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
|
||||
import java.nio.charset.StandardCharsets; |
||||
import java.util.HashMap; |
@ -1,11 +1,11 @@ |
||||
package cn.linghang.mywust.core.request.factory.graduate; |
||||
|
||||
import cn.linghang.mywust.captcha.SolvedImageCaptcha; |
||||
import cn.linghang.mywust.core.api.GraduateUrls; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.core.util.PageFormExtractor; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
package cn.wustlinghang.mywust.core.request.factory.graduate; |
||||
|
||||
import cn.wustlinghang.mywust.captcha.SolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.core.api.GraduateUrls; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.core.util.PageFormExtractor; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
import lombok.Builder; |
||||
import lombok.Data; |
||||
|
@ -1,10 +1,9 @@ |
||||
package cn.linghang.mywust.core.request.factory.library; |
||||
package cn.wustlinghang.mywust.core.request.factory.library; |
||||
|
||||
import cn.hutool.core.util.URLUtil; |
||||
import cn.linghang.mywust.core.api.LibraryUrls; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.core.request.factory.library.request.SearchRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.core.api.LibraryUrls; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.core.request.factory.library.request.SearchRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import com.fasterxml.jackson.core.JsonProcessingException; |
||||
import com.fasterxml.jackson.databind.ObjectMapper; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.request.factory.library.request; |
||||
package cn.wustlinghang.mywust.core.request.factory.library.request; |
||||
|
||||
import lombok.Data; |
||||
|
@ -1,10 +1,10 @@ |
||||
package cn.linghang.mywust.core.request.factory.physics; |
||||
package cn.wustlinghang.mywust.core.request.factory.physics; |
||||
|
||||
import cn.linghang.mywust.core.api.PhysicsSystemUrls; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.core.util.PageFormExtractor; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
import cn.wustlinghang.mywust.core.api.PhysicsSystemUrls; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.core.util.PageFormExtractor; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Map; |
@ -1,17 +1,16 @@ |
||||
package cn.linghang.mywust.core.request.factory.undergrade; |
||||
package cn.wustlinghang.mywust.core.request.factory.undergrade; |
||||
|
||||
import cn.linghang.mywust.core.api.UndergradUrls; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.data.global.Campus; |
||||
import cn.linghang.mywust.network.entitys.FormBodyBuilder; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
import cn.wustlinghang.mywust.core.api.UndergradUrls; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.data.global.Campus; |
||||
import cn.wustlinghang.mywust.network.entitys.FormBodyBuilder; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
|
||||
import java.nio.charset.StandardCharsets; |
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
import java.util.Set; |
||||
import java.util.TreeMap; |
||||
|
||||
public class BkjxRequestFactory extends RequestFactory { |
||||
public static HttpRequest sessionCookieRequest(String serviceTicket) { |
@ -1,13 +1,13 @@ |
||||
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.exception.ApiException; |
||||
import cn.linghang.mywust.core.request.factory.library.LibraryRequestFactory; |
||||
import cn.linghang.mywust.network.RequestClientOption; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.auth; |
||||
|
||||
import cn.wustlinghang.mywust.core.api.LibraryUrls; |
||||
import cn.wustlinghang.mywust.core.api.UnionAuthUrls; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.library.LibraryRequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
|
@ -1,14 +1,14 @@ |
||||
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.exception.ApiException; |
||||
import cn.linghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; |
||||
import cn.linghang.mywust.network.RequestClientOption; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.linghang.mywust.util.PasswordEncoder; |
||||
package cn.wustlinghang.mywust.core.request.service.auth; |
||||
|
||||
import cn.wustlinghang.mywust.core.api.UndergradUrls; |
||||
import cn.wustlinghang.mywust.core.api.UnionAuthUrls; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.util.PasswordEncoder; |
||||
import org.slf4j.Logger; |
||||
import org.slf4j.LoggerFactory; |
||||
|
@ -1,12 +1,12 @@ |
||||
package cn.linghang.mywust.core.request.service.auth; |
||||
package cn.wustlinghang.mywust.core.request.service.auth; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.linghang.mywust.util.PasswordEncoder; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.auth.UnionAuthRequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.util.PasswordEncoder; |
||||
import com.fasterxml.jackson.databind.ObjectMapper; |
||||
import org.slf4j.Logger; |
||||
import org.slf4j.LoggerFactory; |
@ -0,0 +1,9 @@ |
||||
package cn.wustlinghang.mywust.core.request.service.captcha.solver; |
||||
|
||||
import cn.wustlinghang.mywust.captcha.SolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.captcha.UnsolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
|
||||
public interface CaptchaSolver { |
||||
SolvedImageCaptcha solve(UnsolvedImageCaptcha unsolvedImageCaptcha) throws ApiException; |
||||
} |
@ -1,12 +1,12 @@ |
||||
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.exception.ApiException; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.captcha.solver; |
||||
|
||||
import cn.wustlinghang.mywust.captcha.SolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.captcha.UnsolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Base64; |
@ -1,14 +1,14 @@ |
||||
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.exception.ApiException; |
||||
import cn.linghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.linghang.mywust.network.RequestClientOption; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
package cn.wustlinghang.mywust.core.request.service.captcha.solver; |
||||
|
||||
import cn.wustlinghang.mywust.captcha.SolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.captcha.UnsolvedImageCaptcha; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
import com.fasterxml.jackson.databind.ObjectMapper; |
||||
import org.apache.commons.codec.binary.Base64; |
||||
|
@ -1,12 +1,12 @@ |
||||
package cn.linghang.mywust.core.request.service.graduate; |
||||
|
||||
import cn.linghang.mywust.core.api.GraduateUrls; |
||||
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; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.graduate; |
||||
|
||||
import cn.wustlinghang.mywust.core.api.GraduateUrls; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
|
@ -1,10 +1,10 @@ |
||||
package cn.linghang.mywust.core.request.service.library; |
||||
package cn.wustlinghang.mywust.core.request.service.library; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.library.LibraryRequestFactory; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
|
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.request.service.library; |
||||
package cn.wustlinghang.mywust.core.request.service.library; |
||||
|
||||
import cn.linghang.mywust.exception.ApiException; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
public abstract class LibraryApiServiceBase { |
||||
protected final Requester requester; |
@ -1,8 +1,8 @@ |
||||
package cn.linghang.mywust.core.request.service.physics; |
||||
package cn.wustlinghang.mywust.core.request.service.physics; |
||||
|
||||
import cn.linghang.mywust.exception.ApiException; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
public abstract class PhysicsApiServiceBase { |
||||
protected final Requester requester; |
@ -1,14 +1,14 @@ |
||||
package cn.linghang.mywust.core.request.service.physics; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.RequestClientOption; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.physics; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.physics.PhysicsScoreListPageParser; |
||||
import cn.wustlinghang.mywust.core.request.factory.physics.PhysicsSystemRequestFactory; |
||||
import cn.wustlinghang.mywust.core.util.PageFormExtractor; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.ArrayList; |
@ -1,13 +1,13 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate; |
||||
|
||||
import cn.linghang.mywust.core.api.UndergradUrls; |
||||
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; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate; |
||||
|
||||
import cn.wustlinghang.mywust.core.api.UndergradUrls; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.RequestFactory; |
||||
import cn.wustlinghang.mywust.core.util.BkjxUtil; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Map; |
@ -1,13 +1,13 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.exception.ParseException; |
||||
import cn.wustlinghang.mywust.core.parser.undergraduate.UndergradCreditStatusIndexParser; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Map; |
@ -1,11 +1,11 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
import com.fasterxml.jackson.databind.ObjectMapper; |
||||
import lombok.AllArgsConstructor; |
@ -1,12 +1,12 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; |
||||
import cn.wustlinghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Map; |
@ -1,15 +1,15 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
import cn.linghang.mywust.core.api.ConstantParams; |
||||
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; |
||||
import cn.linghang.mywust.data.global.Campus; |
||||
import cn.linghang.mywust.network.RequestClientOption; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
import cn.wustlinghang.mywust.core.api.ConstantParams; |
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.BkjxRequestFactory; |
||||
import cn.wustlinghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; |
||||
import cn.wustlinghang.mywust.data.global.Building; |
||||
import cn.wustlinghang.mywust.data.global.Campus; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
import com.fasterxml.jackson.databind.JsonNode; |
||||
import com.fasterxml.jackson.databind.ObjectMapper; |
||||
|
@ -1,12 +1,12 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; |
||||
import cn.wustlinghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Map; |
@ -1,12 +1,12 @@ |
||||
package cn.linghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
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; |
||||
import cn.linghang.mywust.network.Requester; |
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
package cn.wustlinghang.mywust.core.request.service.undergraduate.global; |
||||
|
||||
import cn.wustlinghang.mywust.exception.ApiException; |
||||
import cn.wustlinghang.mywust.core.request.factory.undergrade.global.BkjxAllCourseRequestFactory; |
||||
import cn.wustlinghang.mywust.core.request.service.undergraduate.UndergradApiServiceBase; |
||||
import cn.wustlinghang.mywust.network.RequestClientOption; |
||||
import cn.wustlinghang.mywust.network.Requester; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Map; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.util; |
||||
package cn.wustlinghang.mywust.core.util; |
||||
|
||||
import java.nio.charset.StandardCharsets; |
||||
|
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.util; |
||||
package cn.wustlinghang.mywust.core.util; |
||||
|
||||
import org.jsoup.nodes.Element; |
||||
import org.jsoup.select.Elements; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.core.util; |
||||
package cn.wustlinghang.mywust.core.util; |
||||
|
||||
import org.jsoup.Jsoup; |
||||
import org.jsoup.nodes.Document; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.network.okhttp; |
||||
package cn.wustlinghang.mywust.network.okhttp; |
||||
|
||||
import okhttp3.Interceptor; |
||||
import okhttp3.Response; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.network.okhttp; |
||||
package cn.wustlinghang.mywust.network.okhttp; |
||||
|
||||
import javax.net.ssl.*; |
||||
import java.security.KeyStore; |
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.network; |
||||
package cn.wustlinghang.mywust.network; |
||||
|
||||
import cn.linghang.mywust.network.entitys.HttpRequest; |
||||
import cn.linghang.mywust.network.entitys.HttpResponse; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpRequest; |
||||
import cn.wustlinghang.mywust.network.entitys.HttpResponse; |
||||
|
||||
import java.io.IOException; |
||||
|
@ -1,7 +1,7 @@ |
||||
package cn.linghang.mywust.network.entitys; |
||||
package cn.wustlinghang.mywust.network.entitys; |
||||
|
||||
import cn.linghang.mywust.util.RepeatableComparator; |
||||
import cn.linghang.mywust.util.StringUtil; |
||||
import cn.wustlinghang.mywust.util.RepeatableComparator; |
||||
import cn.wustlinghang.mywust.util.StringUtil; |
||||
|
||||
import java.util.Comparator; |
||||
import java.util.HashMap; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.network.entitys; |
||||
package cn.wustlinghang.mywust.network.entitys; |
||||
|
||||
import lombok.Builder; |
||||
import lombok.Data; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.util; |
||||
package cn.wustlinghang.mywust.util; |
||||
|
||||
|
||||
import org.apache.commons.codec.binary.Hex; |
@ -1,4 +1,4 @@ |
||||
package cn.linghang.mywust.util; |
||||
package cn.wustlinghang.mywust.util; |
||||
|
||||
import java.util.Comparator; |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue