Ver Fonte

fix:remote unused code

jimmyyem há 5 meses atrás
pai
commit
8c18d0ae4e
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      internal/logic/wxcard/get_api_wx_card_qrcode_logic.go

+ 0 - 1
internal/logic/wxcard/get_api_wx_card_qrcode_logic.go

@@ -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)
 }