From dfa04f62e08fbe6334ead98ebd80f5279e473f98 Mon Sep 17 00:00:00 2001 From: dengbw Date: Thu, 19 May 2022 16:41:56 +0800 Subject: [PATCH] stylive_519_3 stylive_519_4 --- home/controllers/h5/syt/Live.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/home/controllers/h5/syt/Live.php b/home/controllers/h5/syt/Live.php index e9d6b97e..6e5d10dd 100644 --- a/home/controllers/h5/syt/Live.php +++ b/home/controllers/h5/syt/Live.php @@ -14,7 +14,7 @@ class Live extends Wxapp public function __construct() { parent::__construct(2); - $this->secret = "syt_live_2022505"; + $this->secret = "syt_live_" . $this->env . '_' . date('Y-m-d'); $this->load->model('app/licheb/syt_live_model', 'mdSytLive'); $this->load->model('app/licheb/syt_live_biz_model', 'mdSytLiveBiz'); $this->load->model('app/licheb/syt_live_data_model', 'mdSytLiveData'); @@ -45,10 +45,6 @@ class Live extends Wxapp { $skey = $this->input->get('skey'); $this->load->library('MyEncryption'); - if (!$skey) {//测试专用 - $skey = "id=1"; - $skey = $this->myencryption->base64url_encode($skey); - } if (!$skey) { throw new Hd_exception("参数错误", 400); }