Commit abe3f12a zshaohui

1.nexim默认到期时间移除

1 个父辈 1c3a58c3
...@@ -133,11 +133,11 @@ public class NeximApi extends BaseSmfApiListener { ...@@ -133,11 +133,11 @@ public class NeximApi extends BaseSmfApiListener {
*/ */
public String getAccessToken() { public String getAccessToken() {
//默认写死 //默认写死
String authDateUrl = "2025-11-20 00:00:00"; /*String authDateUrl = "2025-11-20 00:00:00";
Date authDate = DateUtil.toDate(authDateUrl, "yyyy-MM-dd HH:mm:ss"); Date authDate = DateUtil.toDate(authDateUrl, "yyyy-MM-dd HH:mm:ss");
if (System.currentTimeMillis() > authDate.getTime()){ if (System.currentTimeMillis() > authDate.getTime()){
throw new ValidateException("smfcore.auth.expire","授权已过期"); throw new ValidateException("smfcore.auth.expire","授权已过期");
} }*/
Map<String, Object> paramMap = new HashMap<>(); Map<String, Object> paramMap = new HashMap<>();
paramMap.put("userName", getAuthUserName()); paramMap.put("userName", getAuthUserName());
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!