大华token失效问题

This commit is contained in:
andy 2025-05-05 08:43:15 +08:00
parent ad9fdb60e4
commit 0988b0f45e

View File

@ -156,7 +156,7 @@ public class DHRequestUtil {
private static JSONObject execute(Map<String, Object> paramsMap, Map<String, String> headersMap, String path, String method) {
// 返回json
if("auth/oauth/token".equals(method)){
if("auth/oauth/token".equals(path)){
return HttpUtils.sendPost(dhProperties.getUrl() + path, paramsMap, headersMap);
}else{
if("GET".equals(method)){