...
|
...
|
@@ -289,11 +289,13 @@ http://192.168.102.210:8080/portal-gateway/QRCodeURLController/getQRCodeURL?debu |
|
|
|
|
|
获取成功之后,要根据类型拼接参数:
|
|
|
|
|
|
根据类型替换参数
|
|
|
|
|
|
sku:yohobuy={"action":"go.productDetail","params":{"product_id":630988,"storeId":66}}
|
|
|
|
|
|
sku:{"product_id":630988,"storeId":66}
|
|
|
|
|
|
skn:yohobuy={"action":"go.productDetail","params":{"product_skn":51078948,"mac":"abcabc"}}
|
|
|
|
|
|
skn:{"product_skn":51078948,"mac":"abcabc"}
|
|
|
|
|
|
|
|
|
完整的url示例:
|
...
|
...
|
@@ -312,6 +314,6 @@ code为200即为成功,否则是失败。 |
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "success",
|
|
|
"data": "http://192.168.102.210:8080/portal-gateway/html/qrcodeURL.html"
|
|
|
"data": "http://192.168.102.210:8080/portal-gateway/html/qrcodeURL.html?yohobuy={"action":"go.productDetail","params":{params}}"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|