|
@@ -47,10 +47,15 @@ func (l *GetApiWxCardQrcodeLogic) GetApiWxCardQrcode(req *types.QrcodeReq, w htt
|
|
|
parser, _ := url.Parse(rawPath)
|
|
|
//fmt.Printf("path=%v, query_string=%v\n", parser.Path, parser.RawQuery)
|
|
|
|
|
|
+ scene, path := parser.RawQuery, parser.Path
|
|
|
+ if scene == "" {
|
|
|
+ scene = "share"
|
|
|
+ }
|
|
|
+
|
|
|
pphash := power.HashMap{}
|
|
|
resp, err := app.WXACode.GetUnlimited(
|
|
|
- parser.RawQuery,
|
|
|
- parser.Path,
|
|
|
+ scene,
|
|
|
+ path,
|
|
|
false,
|
|
|
req.EnvVersion,
|
|
|
req.Width,
|