瀏覽代碼

fix:edit wxcode share

jimmyyem 5 月之前
父節點
當前提交
2b0d3cede0
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      internal/logic/wxcard/get_api_wx_card_qrcode_logic.go

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

@@ -40,7 +40,16 @@ func (l *GetApiWxCardQrcodeLogic) GetApiWxCardQrcode(req *types.QrcodeReq, w htt
 	}
 
 	pphash := power.HashMap{}
-	resp, err := app.WXACode.Get(req.Path, req.Width, false, &pphash, false)
+	resp, err := app.WXACode.GetUnlimited(
+		"share",
+		req.Path,
+		false,
+		req.EnvVersion,
+		req.Width,
+		false,
+		&pphash,
+		false,
+	)
 	if err != nil {
 		fmt.Printf("get miniprogram qrcode failed:%v\n", err)
 		return