From fadbb91287bfdb7925aae10b02dc4fa8fdb6c268 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 8 Apr 2022 19:31:13 +0800 Subject: [PATCH] getui --- internal/push/getui/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/getui/push.go b/internal/push/getui/push.go index fbdf3c778..9b57c24ee 100644 --- a/internal/push/getui/push.go +++ b/internal/push/getui/push.go @@ -163,7 +163,7 @@ func (g *Getui) request(url string, content interface{}, token string, returnStr log.NewInfo(operationID, "getui", utils.GetSelfFuncName(), "resp, ", string(result)) commonResp := GetuiCommonResp{} commonResp.Data = returnStruct - if err := json.Unmarshal(result, commonResp); err != nil { + if err := json.Unmarshal(result, &commonResp); err != nil { return err } return nil