|
@@ -59,6 +59,5 @@ func (l *GetApiWxCardQrcodeLogic) GetApiWxCardQrcode(req *types.QrcodeReq, w htt
|
|
|
imageContent, _ := io.ReadAll(resp.Body)
|
|
|
w.Header().Set("Content-Type", "image/png")
|
|
|
w.Header().Set("Content-Length", strconv.Itoa(len(imageContent)))
|
|
|
- //_, _ = fmt.Fprintf(w, "%s", imageContent)
|
|
|
_, _ = w.Write(imageContent)
|
|
|
}
|