Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用接口,但数据格式不一致的问题 #1035

Open
panzehao opened this issue Feb 20, 2023 · 0 comments
Open

调用接口,但数据格式不一致的问题 #1035

panzehao opened this issue Feb 20, 2023 · 0 comments

Comments

@panzehao
Copy link

问题背景:
需要将ITSM待办接入OA流程待办,增加用户体验,使用户从OA待办可以看到ITSM单进行处理。
蓝鲸版本:
社区版6.1.2,ITSM: 2.6.3(bk_itsm_V2.6.3-ce-bkofficial.tar.gz)
问题具体情况:
我们调用接口后,参数变为:
{
"bk_app_code": "bk_itsm",
"bk_username": "[email protected]",
"bk_app_secret": "3006-e3xxxxxxxxxxxxx060b176017",
"appName": "ITSM",
"modelName": "ITSM",
"modelId": "FXB202301131400",
"subject": "ITSM\待\办\测\试202301131400",
"link": "https://xxxx.com",
"type": 1,
"targets": "{\'LoginName\': \'xxx\'}",
"createTime": "2023-01-13 00:00:00"
}

其中蓝鲸认证信息需要一起返回,但我们的OA接口不支持这些参数:
"bk_app_code": "bk_itsm",
"bk_username": "[email protected]",
"bk_app_secret": "3006-e3xxxxxxxxxxxxx060b176017",

因此能否取消这个参数,或者设置一个参数的开关,能够灵活控制返回参数格式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant