...
|
...
|
@@ -179,9 +179,9 @@ class User extends Api |
|
|
//获取二维码链接
|
|
|
$get_code_url = 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token='.$access_token;
|
|
|
$data = [
|
|
|
'scene' => 'share_uid='.$this->uid.'&goods_id='.$goods_id,
|
|
|
'scene' => 'share_uid='.$this->uid.'&id='.$goods_id,
|
|
|
'width' => 280,
|
|
|
// 'page' => 'pages/lixiangzhong/lixiangzhong',
|
|
|
'page' => '/pages/index/goodsDetail/goodsDetail',
|
|
|
];
|
|
|
$data = json_encode($data);
|
|
|
$code_res = $this->auth->http_post($get_code_url,$data);
|
...
|
...
|
|