diff --git a/src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java b/src/main/java/me/zhyd/oauth/enums/AuthBaiduErrorCode.java similarity index 99% rename from src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java rename to src/main/java/me/zhyd/oauth/enums/AuthBaiduErrorCode.java index ee22c2697378e851753ace471669d42ee2e9bd2f..0fb6f7af5f700e6bf2578f2290f4d3aea0462db4 100644 --- a/src/main/java/me/zhyd/oauth/model/AuthBaiduErrorCode.java +++ b/src/main/java/me/zhyd/oauth/enums/AuthBaiduErrorCode.java @@ -1,4 +1,4 @@ -package me.zhyd.oauth.model; +package me.zhyd.oauth.enums; import me.zhyd.oauth.utils.StringUtils; diff --git a/src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java b/src/main/java/me/zhyd/oauth/enums/AuthDingTalkErrorCode.java similarity index 99% rename from src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java rename to src/main/java/me/zhyd/oauth/enums/AuthDingTalkErrorCode.java index ce8f9da193522d0ae3986f4474979d2543fc7c80..fb593d21858795e1311503dc5418d26c60a906d7 100644 --- a/src/main/java/me/zhyd/oauth/model/AuthDingTalkErrorCode.java +++ b/src/main/java/me/zhyd/oauth/enums/AuthDingTalkErrorCode.java @@ -1,4 +1,4 @@ -package me.zhyd.oauth.model; +package me.zhyd.oauth.enums; /** * 钉钉授权登录时的异常状态码 diff --git a/src/main/java/me/zhyd/oauth/model/AuthToutiaoErrorCode.java b/src/main/java/me/zhyd/oauth/enums/AuthToutiaoErrorCode.java similarity index 98% rename from src/main/java/me/zhyd/oauth/model/AuthToutiaoErrorCode.java rename to src/main/java/me/zhyd/oauth/enums/AuthToutiaoErrorCode.java index e3f491400510d68bf441f1f86e34e62eb20cf77e..b8ba6d594f01e48754fc54c51dd5093b4be58144 100644 --- a/src/main/java/me/zhyd/oauth/model/AuthToutiaoErrorCode.java +++ b/src/main/java/me/zhyd/oauth/enums/AuthToutiaoErrorCode.java @@ -1,4 +1,4 @@ -package me.zhyd.oauth.model; +package me.zhyd.oauth.enums; /** * 今日头条授权登录时的异常状态码 diff --git a/src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java b/src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java index a9994282a63ce48f5fda0c06b8e891a35aa94bec..46f6a9041237ee7d79f6bd3fa235109c6dc2b429 100644 --- a/src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java +++ b/src/main/java/me/zhyd/oauth/request/AuthBaiduRequest.java @@ -5,6 +5,7 @@ import cn.hutool.http.HttpResponse; import com.alibaba.fastjson.JSONObject; import me.zhyd.oauth.config.AuthConfig; import me.zhyd.oauth.config.AuthSource; +import me.zhyd.oauth.enums.AuthBaiduErrorCode; import me.zhyd.oauth.exception.AuthException; import me.zhyd.oauth.model.*; import me.zhyd.oauth.utils.UrlBuilder; diff --git a/src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java b/src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java index 6bd6fa0ea957ab6247b4bf988c6360eba4291b0c..ff802cc64fbfc228c6533a299ac94d77d349833f 100644 --- a/src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java +++ b/src/main/java/me/zhyd/oauth/request/AuthDingTalkRequest.java @@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import me.zhyd.oauth.config.AuthConfig; import me.zhyd.oauth.config.AuthSource; +import me.zhyd.oauth.enums.AuthDingTalkErrorCode; import me.zhyd.oauth.exception.AuthException; import me.zhyd.oauth.model.*; import me.zhyd.oauth.utils.GlobalAuthUtil; diff --git a/src/main/java/me/zhyd/oauth/request/AuthToutiaoRequest.java b/src/main/java/me/zhyd/oauth/request/AuthToutiaoRequest.java index dd24abfa375b86a200574e4609ec31946a8e7c29..878f63037a3f7243c543f9d03e0a750a0b6ab903 100644 --- a/src/main/java/me/zhyd/oauth/request/AuthToutiaoRequest.java +++ b/src/main/java/me/zhyd/oauth/request/AuthToutiaoRequest.java @@ -5,6 +5,7 @@ import cn.hutool.http.HttpResponse; import com.alibaba.fastjson.JSONObject; import me.zhyd.oauth.config.AuthConfig; import me.zhyd.oauth.config.AuthSource; +import me.zhyd.oauth.enums.AuthToutiaoErrorCode; import me.zhyd.oauth.exception.AuthException; import me.zhyd.oauth.model.*; import me.zhyd.oauth.utils.UrlBuilder;