aa
This commit is contained in:
@@ -39,6 +39,7 @@ type CallbackResponse struct {
|
|||||||
|
|
||||||
func (a *API) Err2CallbackResponse(err error) *CallbackResponse {
|
func (a *API) Err2CallbackResponse(err error) *CallbackResponse {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
fmt.Println("111111111111111111111111")
|
||||||
return a.PackCallbackResult(SuccessResponse)
|
return a.PackCallbackResult(SuccessResponse)
|
||||||
}
|
}
|
||||||
return a.PackCallbackResult(err.Error())
|
return a.PackCallbackResult(err.Error())
|
||||||
|
|||||||
Reference in New Issue
Block a user