Kaynağa Gözat

修改分享朋友圈参数

sunxbiao 1 yıl önce
ebeveyn
işleme
c2247f83f9

+ 1 - 1
app/controller/api/store/product/StoreProduct.php

@@ -326,7 +326,7 @@ class StoreProduct extends BaseController
326 326
         $access_token = $this->get_mp_access_token();
327 327
         $url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=" . $access_token;
328 328
 //        $data['scene'] = 'spread=' . $uid . '&goods_id=' . $pid;
329
-        $data['scene'] = 'id=' . $pid . '&share_id=' . $share_id;
329
+        $data['scene'] = 'id=' . $pid . '&shareID=' . $share_id;
330 330
         $data['page'] = 'subPages/pages/store/product/detail';
331 331
 
332 332
         $domain = $this->request->domain();