From 457685823d845af58e8045cd9fafdc8d655b65fd Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Wed, 25 Oct 2023 10:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B1=B1WPS=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java index 5031ad9..2c6b98a 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java @@ -119,9 +119,6 @@ public class WpsServiceImpl implements WpsService { @Value("${KingSoftWps.kswpsurl}") private String kswpsurl; - @Autowired - private UnifastOAuthClient client; - @Resource private RedisTemplate redisTemplate; @@ -566,7 +563,7 @@ public class WpsServiceImpl implements WpsService { CommonExceptionEnum.FRAME_EXCEPTION_COMMON_DATA_OTHER_ERROR.customValidName("令牌无效",!o_key.substring(0,md.length()).equals(md)); SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss"); - long newDateLong = new Date().getTime(); + long newDateLong = System.currentTimeMillis(); long inDateLong = 0; try { Date inDate = format.parse(time);