|
@@ -152,8 +152,7 @@ public class GreeLogic {
|
|
|
|
|
|
forms.put("client_id", Collections.singletonList(clientFileId));
|
|
|
forms.put("client_secret", Collections.singletonList(clientFileSecert));
|
|
|
- // forms.put("grant_type", Collections.singletonList("client_credentials"));
|
|
|
- forms.put("realm", Collections.singletonList("gree-shyun"));
|
|
|
+ forms.put("grant_type", Collections.singletonList("client_credentials"));
|
|
|
log.info("【获取总部文件token】参数:{}",forms);
|
|
|
log.info("【获取总部文件 】tokenFileUrl:{}",tokenFileUrl);
|
|
|
String s = HttpUtils.requestXwww(tokenFileUrl, forms);
|