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

【ESB接口】create_biz_custom_field创建模型属性成功,但是对应模型下没有创建的属性 #7695

Closed
bd-xiaowang opened this issue Dec 26, 2023 · 1 comment
Assignees
Labels
for test 可以在测试环境进行验收

Comments

@bd-xiaowang
Copy link
Collaborator

如图:create_biz_custom_field创建模型属性成功,但是对应模型下没有创建的属性
19-1
19-2

@bd-xiaowang
Copy link
Collaborator Author

  • create_biz_custom_field接口用于创建的业务自定义字段,仅在业务内生效,业务自定义字段与其它模型字段的区别是业务自定义字段的bk_biz_id为实际的业务id,其它模型字段的bk_biz_id为0;
  • 调用该接口时,传参中bk_biz_id为实际业务id,bk_obj_id只能是集群(set)、模块(module)和主机(host),因为该接口后端实际调用的方法与创建其它模型字段是同一个且没有做特殊校验,所以会返回创建成功,看后续是否考虑优化此处;
  • 该接口对应页面功能如下图:
    19-3

@bd-xiaowang bd-xiaowang self-assigned this Dec 26, 2023
@bd-xiaowang bd-xiaowang added the for test 可以在测试环境进行验收 label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for test 可以在测试环境进行验收
Projects
None yet
Development

No branches or pull requests

2 participants