|
@@ -285,9 +285,9 @@ class Goods extends Base
|
|
|
}
|
|
|
|
|
|
$result = (new WechatService(Wechat::miniProgram()))->getWxCodeUnlimited([
|
|
|
- 'scene' => "invite_id={$user_id}&goods_id={$goods_id}",
|
|
|
+ 'scene' => "id={$goods_id}&invite_id={$user_id}",
|
|
|
'env_version' => $version, //要打开的小程序版本。正式版为 release,体验版为 trial,开发版为 develop
|
|
|
- 'page' => 'pages/goods/detail',
|
|
|
+ 'page' => 'pages/product/detail',
|
|
|
'check_path' => false
|
|
|
]);
|
|
|
|