Authored by QC-L

修复扫码不正确的问题 review by 黄敬囿

@@ -8,6 +8,7 @@ function getQRCodeSource(code) { @@ -8,6 +8,7 @@ function getQRCodeSource(code) {
8 let param = { 8 let param = {
9 params: { 9 params: {
10 md5Param: code, 10 md5Param: code,
  11 + miniapp_type: '63'
11 }, 12 },
12 url: config.domains.yohoApi +'/wechat/miniapp/getMiniAppRealParam' 13 url: config.domains.yohoApi +'/wechat/miniapp/getMiniAppRealParam'
13 } 14 }
@@ -87,8 +87,8 @@ export default class ProductDetail extends Component { @@ -87,8 +87,8 @@ export default class ProductDetail extends Component {
87 87
88 componentWillMount() { 88 componentWillMount() {
89 let options = this.$router.params; 89 let options = this.$router.params;
90 -  
91 if (options && options.scene) { 90 if (options && options.scene) {
  91 + console.log(options.scene);
92 // let code = '073c8bb068f4fc9d8dc573b5d4284e3f'; 92 // let code = '073c8bb068f4fc9d8dc573b5d4284e3f';
93 let code = options.scene; 93 let code = options.scene;
94 getQRCodeSource(code).then(json => { 94 getQRCodeSource(code).then(json => {