This commit is contained in:
suyl
2021-08-17 13:43:03 +08:00
parent 59fe981597
commit 61fd5e4e25

View File

@@ -39,6 +39,7 @@ type CallbackResponse struct {
func (a *API) Err2CallbackResponse(err error) *CallbackResponse {
if err == nil {
fmt.Println("111111111111111111111111")
return a.PackCallbackResult(SuccessResponse)
}
return a.PackCallbackResult(err.Error())