stylive_519_3

stylive_519_4
This commit is contained in:
dengbw
2022-05-19 16:41:56 +08:00
committed by lccsw
parent 4ee2359830
commit 29f11b4f50
+1 -5
View File
@@ -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);
}