mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-27 07:58:33 +00:00
refactor: optimize third-party sdks
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package btpanelsdk
|
||||
package btpanel
|
||||
|
||||
import (
|
||||
"crypto/md5"
|
||||
@@ -104,7 +104,7 @@ func (c *Client) sendRequestWithResult(path string, params interface{}, result B
|
||||
if result.GetMessage() == nil {
|
||||
return fmt.Errorf("baota api error: unknown error")
|
||||
} else {
|
||||
return fmt.Errorf("baota api error: %s", *result.GetMessage())
|
||||
return fmt.Errorf("baota api error: message='%s'", *result.GetMessage())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user