大华token失效问题
This commit is contained in:
parent
ad9fdb60e4
commit
0988b0f45e
@ -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)){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user