1. path 页面路径:
商详或二合一页面路径格式:pages/union/proxy/proxy?spreadUrl={encoded 联盟推广链接}
/pages/union/proxy/proxy?spreadUrl=https%3A%2F%2Funion-click.jd.com%2Fjdc%3Fe%3D%26p%3DAyIGZRprEAYUAFYTWCVGTV8LRGtMR1dGFxBFC1pXUwkEAEAdQFkJBV4RBBUEXRhETEdOWmVCWFZrREQ3WjhCXhBUFVstHXkITgNNVxkyFwZUGlgcBxcBVytbFAMQB1cbXRIEIjdVHmtDbBIGVBpaFAMaBFcrWRQDEQFUHlocBiIHUhpZFAQaBFMZXRIFIgddH2teQxEGVhpaEwIWN2UrWCUyIgdlGGtLbBNUVRIJRlVGaQ9NDRQDQAQCdVwWAhsHUh9rFwMTBVc%253D
2. 注意
1) spreadUrl=联盟推广链接,其中联盟推广链接需要 encodeURIComponent
示例:联盟推广链接是 https%3A%2F%2Funion-click.jd.com%2Fjdc%3Fe%3D%26p%3DAyIGZRprEAYUAFYTWCVGTV8LRGtMR1dGFxBFC1pXUwkEAEAdQFkJBV4RBBUEXRhETEdOWmVCWFZrREQ3WjhCXhBUFVstHXkITgNNVxkyFwZUGlgcBxcBVytbFAMQB1cbXRIEIjdVHmtDbBIGVBpaFAMaBFcrWRQDEQFUHlocBiIHUhpZFAQaBFMZXRIFIgddH2teQxEGVhpaEwIWN2UrWCUyIgdlGGtLbBNUVRIJRlVGaQ9NDRQDQAQCdVwWAhsHUh9rFwMTBVc%253D,需 encodeURIComponent 后
传参,
encodeURIComponent(‘https%3A%2F%2Funion-click.jd.com%2Fjdc%3Fe%3D%26p%3DAyIGZRprEAYUAFYTWCVGTV8LRGtMR1dGFxBFC1pXUwkEAEAdQFkJBV4RBBUEXRhETEdOWmVCWFZrREQ3WjhCXhBUFVstHXkITgNNVxkyFwZUGlgcBxcBVytbFAMQB1cbXRIEIjdVHmtDbBIGVBpaFAMaBFcrWRQDEQFUHlocBiIHUhpZFAQaBFMZXRIFIgddH2teQxEGVhpaEwIWN2UrWCUyIgdlGGtLbBNUVRIJRlVGaQ9NDRQDQAQCdVwWAhsHUh9rFwMTBVc%253D’)
即 https%3A%2F%2Funion-click.jd.com%2Fjdc%3Fe%3D%26p%3DAyIGZRprEAYUAFYTWCVGTV8LRGtMR1dGFxBFC1pXUwkEAEAdQFkJBV4RBBUEXRhETEdOWmVCWFZrREQ3WjhCXhBUFVstHXkITgNNVxkyFwZUGlgcBxcBVytbFAMQB1cbXRIEIjdVHmtDbBIGVBpaFAMaBFcrWRQDEQFUHlocBiIHUhpZFAQaBFMZXRIFIgddH2teQxEGVhpaEwIWN2UrWCUyIgdlGGtLbBNUVRIJRlVGaQ9NDRQDQAQCdVwWAhsHUh9rFwMTBVc%253D
欢迎了解我的个人微信小程序,搜索京淘查价,查询商品历史价格