diff --git a/api/controllers/plan/Polyv.php b/api/controllers/plan/Polyv.php index 7b4d1e59..6e496d1f 100644 --- a/api/controllers/plan/Polyv.php +++ b/api/controllers/plan/Polyv.php @@ -59,10 +59,10 @@ class Polyv extends HD_Controller } } } - //if ($params['sd']) { - echo 'startTime=' . date('Y-m-d H:i:s', $startTime) . '&endTime=' . date('Y-m-d H:i:s', $endTime) . '

'; - echo json_encode($results, JSON_UNESCAPED_UNICODE); - //} + if ($params['sd']) { + echo 'startTime=' . date('Y-m-d H:i:s', $startTime) . '&endTime=' . date('Y-m-d H:i:s', $endTime) . '

'; + echo json_encode($results, JSON_UNESCAPED_UNICODE); + } } /** diff --git a/home/controllers/h5/syt/Live.php b/home/controllers/h5/syt/Live.php index c98a9091..e9d6b97e 100644 --- a/home/controllers/h5/syt/Live.php +++ b/home/controllers/h5/syt/Live.php @@ -68,7 +68,7 @@ class Live extends Wxapp $sign_package = []; $url = http_host_com('home') . "/h5/syt/live?skey={$skey}"; if ($checkua == 'wxwork') {//企业微信 - $this->load->library('wx_qyapi_agent', ['app' => 'lichene_1000024']); + $this->load->library('wx_qyapi_agent', ['app' => 'lichene_1000005']); $this->load->library('wx_qyapi', ['app' => 'lichene']); $this->set_auth_wxwork($url); $sign_package = $this->wx_qyapi->getSignPackage();