蔡德晨 5 yıl önce
ebeveyn
işleme
4ebe95baa1

+ 12 - 0
src/main/java/com/jeeplus/common/config/Global.java

@@ -520,4 +520,16 @@ public class Global {
     public static String getProjectTemplatePath() {
         return getConfig("project.plan.template.path");
     }
+
+    public static String getYyApiCode(){
+		return getConfig("yy_apicode");
+	}
+
+	public static String getYyMhUrl(){
+		return getConfig("yy_mhcxurl");
+	}
+
+	public static String getYyShUrl(){
+		return getConfig("yy_shcxurl");
+	}
 }

+ 7 - 0
src/main/resources/jeeplus.properties

@@ -265,3 +265,10 @@ open_office_port=8100
 #openfire��������ַ
 openfire.server=192.168.110.69
 sys.notify=http://cdn.gangwaninfo.com/jeeplus-resource-data/static/sys/notify.png
+
+
+#用友API
+yy_apicode=35afe9ec3263424f9a18feb837177169
+yy_mhcxurl=https://api.yonyoucloud.com/apis/dst/enterpriseTicketQuery/enterpriseSearchByName?keyword=KEY
+yy_shcxurl=https://api.yonyoucloud.com/apis/dst/enterpriseTicketQuery/enterpriseTicketInfo?id=ID
+