From 989343b64ffb13b3432a9098615ea80deac59495 Mon Sep 17 00:00:00 2001 From: tping Date: Fri, 10 Sep 2021 14:58:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Qrcode/Controller/JumpController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Qrcode/Controller/JumpController.class.php b/Application/Qrcode/Controller/JumpController.class.php index dc30d5722..1503aa921 100644 --- a/Application/Qrcode/Controller/JumpController.class.php +++ b/Application/Qrcode/Controller/JumpController.class.php @@ -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));