Merge pull request '测试跳转' (#506) from feature/qrcode_promotion into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/506
master
廖金灵 3 years ago
commit e4bd671f12

@ -19,6 +19,7 @@ class JumpController extends HomeController
{
header('Access-Control-Allow-Origin: *');
$uniqueStr = I('request.unique_str', '');
$uniqueStr = '9gXR9S5o';
$url = "https://api.weixin.qq.com/wxa/generatescheme?access_token=".$this->getAccessToken();
$data = [
'jump_wxa' => [
@ -26,7 +27,7 @@ class JumpController extends HomeController
'query' => "id={$uniqueStr}"
],
'is_expire' => true,
"expire_time" => time() + 86400
"expire_time" => time() + 86400*21
];
$ret = $this->curl_post($url, json_encode($data));

Loading…
Cancel
Save