金山WPS在线编辑
This commit is contained in:
@ -119,9 +119,6 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
@Value("${KingSoftWps.kswpsurl}")
|
@Value("${KingSoftWps.kswpsurl}")
|
||||||
private String kswpsurl;
|
private String kswpsurl;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private UnifastOAuthClient client;
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private RedisTemplate<String, Object> redisTemplate;
|
private RedisTemplate<String, Object> 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));
|
CommonExceptionEnum.FRAME_EXCEPTION_COMMON_DATA_OTHER_ERROR.customValidName("令牌无效",!o_key.substring(0,md.length()).equals(md));
|
||||||
|
|
||||||
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||||
long newDateLong = new Date().getTime();
|
long newDateLong = System.currentTimeMillis();
|
||||||
long inDateLong = 0;
|
long inDateLong = 0;
|
||||||
try {
|
try {
|
||||||
Date inDate = format.parse(time);
|
Date inDate = format.parse(time);
|
||||||
|
Reference in New Issue
Block a user