Skip to content

feat: 获取用户敏感信息#226

Open
lxm wants to merge 1 commit into
xen0n:v2from
lxm:feature/auth-get-userdetail
Open

feat: 获取用户敏感信息#226
lxm wants to merge 1 commit into
xen0n:v2from
lxm:feature/auth-get-userdetail

Conversation

@lxm

@lxm lxm commented Apr 29, 2025

Copy link
Copy Markdown

@xen0n

xen0n commented May 1, 2025

Copy link
Copy Markdown
Owner

啊,节后看,五一快乐!

@eryajf

eryajf commented Jun 20, 2025

Copy link
Copy Markdown
Contributor

期待合并。

@xen0n

xen0n commented Jun 21, 2025

Copy link
Copy Markdown
Owner

试着这两天看一下……很容易会忘记 🤦

@xen0n xen0n closed this Aug 20, 2025
@xen0n xen0n reopened this Aug 20, 2025
@xen0n

xen0n commented Aug 20, 2025

Copy link
Copy Markdown
Owner

不好意思我是鸽子……重新跑一下 CI

@xen0n xen0n left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不好意思,现在才有空折腾这个项目,看下 rebase 一下?应该没有冲突

Comment thread user_info.go
return &obj, nil
}

func (c *WorkwxApp) GetUserDetail(ticket string) (*UserInfo, error) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里需要一个注释,因为疼讯官方给 API endpoint 的命名 detail 实在太恶心了,不加注释的话就会觉得是单纯的“获取用户明细”

Comment thread models.go
}

// reqAuthTicket2UserInfo 获取访问用户敏感信息
type reqAuthTicket2UserInfo struct {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么不跟随 API 命名,叫 reqGetUserDetail?

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

Successfully merging this pull request may close these issues.

3 participants