Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
O
OZT-Integration
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
许俊
OZT-Integration
Commits
25c613e9
提交
25c613e9
authored
12月 28, 2023
作者:
李炎
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微调
上级
3598af33
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
30 行增加
和
3 行删除
+30
-3
CategoryDao.java
...main/java/org/jeecg/modules/iost/ims/Dao/CategoryDao.java
+1
-1
KingdeeApiClient.java
...a/org/jeecg/modules/iost/ims/client/KingdeeApiClient.java
+29
-2
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/ims/Dao/CategoryDao.java
浏览文件 @
25c613e9
...
...
@@ -58,7 +58,7 @@ public class CategoryDao {
KingdeeK3CloudApiClient
client2
;
KingdeeK3CloudApiClient
client3
;
Boolean
result
=
false
;
private
Boolean
IsCloseKingDee
=
false
;
//
private Boolean IsCloseKingDee = false;
String
loginResult
;
@Autowired
IImsInitConnectParmService
iImsInitConnectParmService
;
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/ims/client/KingdeeApiClient.java
浏览文件 @
25c613e9
...
...
@@ -33,16 +33,43 @@ public class KingdeeApiClient {
return
api
.
execute
(
servicename
,
parameters
,
returnType
);
}
private
String
checkAuthInfo
()
{
try
{
return
api
.
CheckAuthInfo
().
getResult
().
toString
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
e
.
getMessage
();
}
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
IdentifyInfo
identifyInfo
=
new
IdentifyInfo
()
{
};
identifyInfo
.
setAppId
(
"232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"
);
identifyInfo
.
setAppSecret
(
"7e4a4779a554403eb2189bf3841552e3"
);
identifyInfo
.
setServerUrl
(
"http://10.10.1.212/k3cloud/"
);
identifyInfo
.
setdCID
(
"62f50a9ea1ece4"
);
identifyInfo
.
setlCID
(
2052
);
identifyInfo
.
setUserName
(
"MES"
);
K3CloudApi
api
=
new
K3CloudApi
(
identifyInfo
);
RepoResult
repoResult
=
api
.
CheckAuthInfo
();
RepoStatus
responseStatus
=
repoResult
.
getResponseStatus
();
System
.
out
.
println
(
":"
+
repoResult
.
getResult
());
System
.
out
.
println
(
"is"
+
responseStatus
.
isIsSuccess
());
}
public
Boolean
login
(
String
dbId
,
String
userName
,
String
password
,
int
lcid
)
throws
Exception
{
try
{
IdentifyInfo
iden
=
new
IdentifyInfo
();
iden
.
setUserName
(
"admin"
);
iden
.
setAppId
(
"267026_TedP2+
I
JznBfWUXEX4SB78+L4J07QsKo"
);
iden
.
setAppId
(
"267026_TedP2+
l
JznBfWUXEX4SB78+L4J07QsKo"
);
iden
.
setAppSecret
(
"4db4e81eeb65ada35ff203b181552de87c2c1c99"
);
iden
.
setdCID
(
"6476c5b6077e71"
);
iden
.
setlCID
(
2052
);
iden
.
setServerUrl
(
_serverUrl
);
api
=
new
K3CloudApi
(
iden
);
api
=
new
K3CloudApi
();
RepoResult
repoResult
=
api
.
CheckAuthInfo
();
RepoStatus
responseStatus
=
repoResult
.
getResponseStatus
();
boolean
isSuccess
=
responseStatus
.
isIsSuccess
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论