From ef91628ec82aec198e61bd50bc56413692a8aa44 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 16 五月 2024 22:40:58 +0800
Subject: [PATCH] 优化

---
 user-server/src/main/java/com/yuanchu/mom/pojo/AuthApi.java |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/user-server/src/main/java/com/yuanchu/mom/pojo/AuthApi.java b/user-server/src/main/java/com/yuanchu/mom/pojo/AuthApi.java
index b91d14b..1e338b4 100644
--- a/user-server/src/main/java/com/yuanchu/mom/pojo/AuthApi.java
+++ b/user-server/src/main/java/com/yuanchu/mom/pojo/AuthApi.java
@@ -2,10 +2,38 @@
 
 public class AuthApi {
 
-    public static String companies = "https://ztt-sso.asuncloud.net/api/org/v1/companies";
+    /**
+     * 娴嬭瘯鍦板潃
+     * */
+//    private String code = "https://ztt-sso.asuncloud.net/oauth2/token";
+    /**
+     * 姝e紡鍦板潃
+     * */
+    public static String code = "https://ztt-sso.chinaztt.cn/oauth2/token";
 
-    public static String post="https://ztt-sso.asuncloud.net/api/org/v1/post?companyId=";
+    /**
+     * 娌冲彛浜轰簨娴嬭瘯搴�
+     * */
+//    private String appId = "8b2f2c7e-2ab9-4718-8193-c0c636dceba8";
+//    private String appSecret = "db59b70d28ab1865aafe4008f59d4760";
+    /**
+     * 娌冲彛浜轰簨姝e紡搴�
+     * */
+    public static String appId = "f6f3d70f-3666-4d3d-b9c5-430de3f6007c";
+    public static String appSecret = "a18923496542302066b0a7bec993a4e2";
+/**
+ * 瑁呭浜轰簨娴嬭瘯搴�
+ * */
+//    private String appId = "0acf9b63-31e3-45c4-99c1-af1aac88b985";
+//    private String appSecret = "7fb7a4026c71619345c31fa12ba31f4f";
+    /**
+     * 瑁呭浜轰簨姝e紡搴�
+     * */
+//    private String appId = "6f5f6a0c-2a01-4ef6-9e75-c8a6f0c2f044";
+//    private String appSecret = "89b9c4735b1e5ee9d6a8544b9b38bb03";
 
-    public static String simple="https://ztt-sso.asuncloud.net/api/org/v1/employees/simple?companyId=";
+    public static String companies = "https://ztt-connector.chinaztt.cn/api/org/v1/companies";
+
+    public static String simple="https://ztt-connector.chinaztt.cn/api/org/v1/employees/simple?companyId=";
 
 }
\ No newline at end of file

--
Gitblit v1.9.3