mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-08 03:00:26 +08:00
阿里云线路显示完整的线路名称
This commit is contained in:
@@ -128,7 +128,7 @@ func (this *AliDNSProvider) GetRoutes(domain string) (routes []*dnstypes.Route,
|
|||||||
}
|
}
|
||||||
for _, line := range resp.RecordLines.RecordLine {
|
for _, line := range resp.RecordLines.RecordLine {
|
||||||
routes = append(routes, &dnstypes.Route{
|
routes = append(routes, &dnstypes.Route{
|
||||||
Name: line.LineName,
|
Name: line.LineDisplayName,
|
||||||
Code: line.LineCode,
|
Code: line.LineCode,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user