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

创建解析记录失败 #5

Open
goer3 opened this issue Sep 15, 2022 · 1 comment
Open

创建解析记录失败 #5

goer3 opened this issue Sep 15, 2022 · 1 comment

Comments

@goer3
Copy link

goer3 commented Sep 15, 2022

func (s *RecordsService) Create(domain string, recordAttributes Record) (Record, *Response, error) {
payload := s.client.CommonParams.toPayLoad()
payload.Add("domain_id", domain)
.....
}

不知道是不是 DnsPod 文档更新了,这里如果将域名传递给 domain_id 提交会报错:could not get domains: 域名编号不正确
个人将 domain_id 更换成 domain 字段就能正常创建。

@ldez
Copy link
Member

ldez commented Sep 15, 2022

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

2 participants