chore: rename

This commit is contained in:
Fu Diwei
2025-02-13 11:11:23 +08:00
parent f6c338b50e
commit 970fba90e0
10 changed files with 299 additions and 223 deletions

View File

@@ -99,7 +99,7 @@ func (c *BaoTaPanelClient) sendRequestWithResult(path string, params map[string]
if result.GetMsg() == nil {
return fmt.Errorf("baota api error: unknown error")
} else {
return fmt.Errorf("baota api error: %s", result.GetMsg())
return fmt.Errorf("baota api error: %s", *result.GetMsg())
}
}