yaozhixue 1 سال پیش
والد
کامیت
8ea4402dde
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/main/java/com/zfire/jiasm/syncdata/gree/GreeLogic.java

+ 1 - 2
src/main/java/com/zfire/jiasm/syncdata/gree/GreeLogic.java

@@ -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);