diff --git a/service/src/main/java/com/hfkj/jd/Impl/JdServiceImpl.java b/service/src/main/java/com/hfkj/jd/Impl/JdServiceImpl.java index b3b6588..2d6b557 100644 --- a/service/src/main/java/com/hfkj/jd/Impl/JdServiceImpl.java +++ b/service/src/main/java/com/hfkj/jd/Impl/JdServiceImpl.java @@ -92,14 +92,9 @@ public class JdServiceImpl implements JdService { @Override public String getToken() throws Exception { Object token = redisUtil.get("jd_access_token"); - - for (int i = 0; i < 10; i++) { - - } if (token == null) { // 请求回调 会在回调存入参数 JdPostService.getAccessToken(); - getToken(); } return token.toString(); }