honwen / aliyun-ddns-cli

ALiDDNS - Dynamic DNS CLI for [aliyun.com]
MIT License
414 stars 111 forks source link

TTL类型还是出错,无法完成解析 #5

Closed Soolita closed 7 years ago

Soolita commented 7 years ago

开了两个解析,一个www.xxxx.com是正常的,另一个@.xxxx.com会提示下面的错误: 2017/09/07 20:30:08 Aliyun API Error: RequestId: Status Code: -1 Code: AliyunGoClientFailure Message: json: cannot unmarshal number into Go struct field RecordTypeNew.TTL of type string

honwen commented 7 years ago

this will be fixed soon.

honwen commented 7 years ago

fixed in https://github.com/chenhw2/aliyun-ddns-cli/commit/c971ea6e6ecee453fc9edbf7e03559cc146aaff7