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

🐛[BUG]租户端接口变更 #209

Closed
Lind-pro opened this issue Sep 18, 2020 · 0 comments
Closed

🐛[BUG]租户端接口变更 #209

Lind-pro opened this issue Sep 18, 2020 · 0 comments
Assignees
Labels
缺陷 Something isn't working
Milestone

Comments

@Lind-pro
Copy link
Contributor

🐛 bug 描述

租户管理员所有绑定资产、绑定成员接口变更
根据租户身份判断

例:

   bind: (id: string, data: { name: string, userId: string, admin: boolean }[]) => defer(
            () => from(
                request(`/jetlinks/tenant/${id}/members/_bind`, {
                    method: 'POST',
                    data,
                })).pipe(
                    filter(resp => resp.status === 200),
                    map(resp => resp.result)
                )),

删除id,更改为:

   bind: (id: string, data: { name: string, userId: string, admin: boolean }[]) => defer(
            () => from(
                request(`/jetlinks/tenant/members/_bind`, {
                    method: 'POST',
                    data,
                })).pipe(
                    filter(resp => resp.status === 200),
                    map(resp => resp.result)
                )),

📷 复现步骤

🏞 期望结果

💻 复现代码

© 版本信息

  • Jetlinks-ui-antd 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

@Lind-pro Lind-pro added the 缺陷 Something isn't working label Sep 18, 2020
@Lind-pro Lind-pro added this to the 1.5-RELEASE milestone Sep 18, 2020
@Lind-pro Lind-pro added this to 待办 in JetLinks Iot Platform v1 via automation Sep 18, 2020
@Lind-pro Lind-pro self-assigned this Sep 18, 2020
JetLinks Iot Platform v1 automation moved this from 待办 to 已完成 Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
缺陷 Something isn't working
Projects
No open projects
Development

No branches or pull requests

1 participant