Skip to content

修复由于endTime设置为*string导致的数字到字符串自动转换失败问题。#175

Open
FluffyCake97 wants to merge 1 commit into
larksuite:v3_mainfrom
FluffyCake97:fix/larkperson-settings-system-status-batch-open-response-type-error
Open

修复由于endTime设置为*string导致的数字到字符串自动转换失败问题。#175
FluffyCake97 wants to merge 1 commit into
larksuite:v3_mainfrom
FluffyCake97:fix/larkperson-settings-system-status-batch-open-response-type-error

Conversation

@FluffyCake97

Copy link
Copy Markdown
image

根据批量开启系统状态文档,请求成功后会返回数字类型的end_time,但源码中的endTime定义为了*string,这导致了正常返回的结果因json.unmarshall的失败而报错。

解决方案:将返回结构体及相关构建函数重新定义为了*int64。

♥️ with CLEC.

@CLAassistant

CLAassistant commented Aug 10, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants