|
@@ -187,7 +187,6 @@ class Package extends Backend
|
|
$client = new Client();
|
|
$client = new Client();
|
|
$tk = getAccessToken();
|
|
$tk = getAccessToken();
|
|
$miniCodeConfig = config('param.mini_code');
|
|
$miniCodeConfig = config('param.mini_code');
|
|
- //$miniCodeConfig['env_version'] = 'trial'; //强制体验版
|
|
|
|
$miniCodeConfig['scene'] = 'id='.$id.'&shopId='.$companyid;
|
|
$miniCodeConfig['scene'] = 'id='.$id.'&shopId='.$companyid;
|
|
$res2 = $client->request('POST', 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token='.$tk, [
|
|
$res2 = $client->request('POST', 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token='.$tk, [
|
|
'json' => $miniCodeConfig,
|
|
'json' => $miniCodeConfig,
|