From c1ac60a1e420a60519c4497faa52ecad35a3af97 Mon Sep 17 00:00:00 2001 From: qi Date: Tue, 5 May 2020 07:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=85=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lq/cms/service/impl/WechatUserServiceImpl.java | 2 +- .../util/{accessToken => token}/AccessTokenAdapter.java | 2 +- .../wechat/util/{accessToken => token}/AccessTokenUtil.java | 2 +- .../{accessToken => token}/DefaultAccessTokenAdapter.java | 2 +- .../util/{accessToken => token}/AccessTokenUtilTest.java | 4 +--- 5 files changed, 5 insertions(+), 7 deletions(-) rename src/main/java/com/lq/wechat/util/{accessToken => token}/AccessTokenAdapter.java (90%) mode change 100755 => 100644 rename src/main/java/com/lq/wechat/util/{accessToken => token}/AccessTokenUtil.java (97%) mode change 100755 => 100644 rename src/main/java/com/lq/wechat/util/{accessToken => token}/DefaultAccessTokenAdapter.java (95%) mode change 100755 => 100644 rename src/test/java/com/lq/wechat/util/{accessToken => token}/AccessTokenUtilTest.java (80%) diff --git a/src/main/java/com/lq/cms/service/impl/WechatUserServiceImpl.java b/src/main/java/com/lq/cms/service/impl/WechatUserServiceImpl.java index b0fdcb8..6b34388 100755 --- a/src/main/java/com/lq/cms/service/impl/WechatUserServiceImpl.java +++ b/src/main/java/com/lq/cms/service/impl/WechatUserServiceImpl.java @@ -5,7 +5,7 @@ import com.lq.code.dao.BaseDao; import com.lq.dao.WechatUserDao; import com.lq.entity.WechatInfo; import com.lq.entity.WechatUser; -import com.lq.wechat.util.accessToken.AccessTokenUtil; +import com.lq.wechat.util.token.AccessTokenUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; diff --git a/src/main/java/com/lq/wechat/util/accessToken/AccessTokenAdapter.java b/src/main/java/com/lq/wechat/util/token/AccessTokenAdapter.java old mode 100755 new mode 100644 similarity index 90% rename from src/main/java/com/lq/wechat/util/accessToken/AccessTokenAdapter.java rename to src/main/java/com/lq/wechat/util/token/AccessTokenAdapter.java index eb13c08..079154d --- a/src/main/java/com/lq/wechat/util/accessToken/AccessTokenAdapter.java +++ b/src/main/java/com/lq/wechat/util/token/AccessTokenAdapter.java @@ -1,4 +1,4 @@ -package com.lq.wechat.util.accessToken; +package com.lq.wechat.util.token; import com.lq.entity.WechatAccessToken; import com.lq.wechat.mode.AccessToken; diff --git a/src/main/java/com/lq/wechat/util/accessToken/AccessTokenUtil.java b/src/main/java/com/lq/wechat/util/token/AccessTokenUtil.java old mode 100755 new mode 100644 similarity index 97% rename from src/main/java/com/lq/wechat/util/accessToken/AccessTokenUtil.java rename to src/main/java/com/lq/wechat/util/token/AccessTokenUtil.java index c922fd6..4a0e7ac --- a/src/main/java/com/lq/wechat/util/accessToken/AccessTokenUtil.java +++ b/src/main/java/com/lq/wechat/util/token/AccessTokenUtil.java @@ -1,4 +1,4 @@ -package com.lq.wechat.util.accessToken; +package com.lq.wechat.util.token; import com.alibaba.fastjson.JSONObject; import com.lq.code.util.HttpKit; diff --git a/src/main/java/com/lq/wechat/util/accessToken/DefaultAccessTokenAdapter.java b/src/main/java/com/lq/wechat/util/token/DefaultAccessTokenAdapter.java old mode 100755 new mode 100644 similarity index 95% rename from src/main/java/com/lq/wechat/util/accessToken/DefaultAccessTokenAdapter.java rename to src/main/java/com/lq/wechat/util/token/DefaultAccessTokenAdapter.java index 3b93677..f2408c0 --- a/src/main/java/com/lq/wechat/util/accessToken/DefaultAccessTokenAdapter.java +++ b/src/main/java/com/lq/wechat/util/token/DefaultAccessTokenAdapter.java @@ -1,4 +1,4 @@ -package com.lq.wechat.util.accessToken; +package com.lq.wechat.util.token; import com.lq.cms.emun.WechatAccessTokenTypeEnum; import com.lq.code.util.StringUtil; diff --git a/src/test/java/com/lq/wechat/util/accessToken/AccessTokenUtilTest.java b/src/test/java/com/lq/wechat/util/token/AccessTokenUtilTest.java similarity index 80% rename from src/test/java/com/lq/wechat/util/accessToken/AccessTokenUtilTest.java rename to src/test/java/com/lq/wechat/util/token/AccessTokenUtilTest.java index 5b3c840..de502fc 100644 --- a/src/test/java/com/lq/wechat/util/accessToken/AccessTokenUtilTest.java +++ b/src/test/java/com/lq/wechat/util/token/AccessTokenUtilTest.java @@ -1,9 +1,7 @@ -package com.lq.wechat.util.accessToken; +package com.lq.wechat.util.token; import org.junit.Test; -import static org.junit.Assert.*; - public class AccessTokenUtilTest { @Test