wuhb hace 3 meses
padre
commit
cd86933f7c

+ 10 - 10
ygtx-admin/src/main/java/com/ygtx/web/service/impl/IceSsoServiceImpl.java

@@ -79,16 +79,16 @@ public class IceSsoServiceImpl implements IceSsoService
             params.put("oauth", oauth);
 
             // 发送HTTP请求到ICE系统
-//            String response = sendHttpPostRequest(iceSsoProperties.getSso().getUrl(), params);
-            String response = "{\n" +
-                    "    \"ret\": \"0\",\n" +
-                    "    \"msg\": \"用户信息获取成功\",\n" +
-                    "\"data\": {\n" +
-                    "       \"username\": \"admin\",\n" +
-                    "       \"employee_num\": \"admin\",\n" +
-                    "       \"company_num\": \"当前登录公司的MDM编号可能为空\"},\n" +
-                    "\"time\":\"Thu Nov 05 04:12:55 +0000 2020\"\n" +
-                    "}\n";
+            String response = sendHttpPostRequest(iceSsoProperties.getSso().getUrl(), params);
+//            String response = "{\n" +
+//                    "    \"ret\": \"0\",\n" +
+//                    "    \"msg\": \"用户信息获取成功\",\n" +
+//                    "\"data\": {\n" +
+//                    "       \"username\": \"admin\",\n" +
+//                    "       \"employee_num\": \"admin\",\n" +
+//                    "       \"company_num\": \"当前登录公司的MDM编号可能为空\"},\n" +
+//                    "\"time\":\"Thu Nov 05 04:12:55 +0000 2020\"\n" +
+//                    "}\n";
 
             if (response == null || response.isEmpty()) 
             {