Browse Source

fix:测试

super-yimizi 1 month ago
parent
commit
59f765321b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Goods.php

+ 2 - 2
application/api/controller/Goods.php

@@ -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
         ]);