提交 2370dd26 authored 作者: inroi's avatar inroi

微调

上级 5cc10dcd
...@@ -43,22 +43,22 @@ public class KingdeeApiClient { ...@@ -43,22 +43,22 @@ public class KingdeeApiClient {
long beginTime=System.currentTimeMillis(); long beginTime=System.currentTimeMillis();
//生产环境 //生产环境
/*IdentifyInfo identifyInfo = new IdentifyInfo() {}; IdentifyInfo identifyInfo = new IdentifyInfo() {};
identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"); identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo");
identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3"); identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3");
identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/"); identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/");
identifyInfo.setdCID("62f50a9ea1ece4"); identifyInfo.setdCID("62f50a9ea1ece4");
identifyInfo.setlCID(2052); identifyInfo.setlCID(2052);
identifyInfo.setUserName("Administrator");*/ identifyInfo.setUserName("Administrator");
//测试环境 //测试环境
IdentifyInfo identifyInfo = new IdentifyInfo() {}; /*IdentifyInfo identifyInfo = new IdentifyInfo() {};
identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"); identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo");
identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3"); identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3");
identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/"); identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/");
identifyInfo.setdCID("62fa11f8d7448e"); identifyInfo.setdCID("62fa11f8d7448e");
identifyInfo.setlCID(2052); identifyInfo.setlCID(2052);
identifyInfo.setUserName("Administrator"); identifyInfo.setUserName("Administrator");*/
K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo); K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo);
T send = k3CloudApi.execute(servicename, parameters, returnType); T send = k3CloudApi.execute(servicename, parameters, returnType);
......
...@@ -73,10 +73,10 @@ public class SecurityToolsTest { ...@@ -73,10 +73,10 @@ public class SecurityToolsTest {
//测试 //测试
IdentifyInfo identifyInfo = new IdentifyInfo() { IdentifyInfo identifyInfo = new IdentifyInfo() {
}; };
identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"); identifyInfo.setAppId("234279_W+8P58FOSIl839wH1Z4pTY/v0j2W5OrE");
identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3"); identifyInfo.setAppSecret("b1e10c8eba814adbb15eb4b3efc200e6");
identifyInfo.setServerUrl("https://218.17.129.243:8090/K3Cloud/"); identifyInfo.setServerUrl("http://192.168.36.230/k3cloud/");
identifyInfo.setdCID("62fa11f8d7448e"); identifyInfo.setdCID("62e24a3cb44ac0");
identifyInfo.setlCID(2052); identifyInfo.setlCID(2052);
identifyInfo.setUserName("Administrator"); identifyInfo.setUserName("Administrator");
K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo); K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论