From bcfd3b3fcc0364c9cb4ccfa9de088c3f936c78a6 Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 6 Mar 2019 16:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A6=81=E6=B1=82=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E8=AE=BE=E7=BD=AE,=20=E4=BD=BF=E7=94=A8HT=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trippestOrderSync/controllers/send_operation.php | 1 + .../trippestOrderSync/controllers/vendor_money.php | 1 + webht/third_party/trippestOrderSync/views/sms_log.php | 8 ++++++++ .../trippestOrderSync/views/vendor_money_sum.php | 8 ++++++++ 4 files changed, 18 insertions(+) diff --git a/webht/third_party/trippestOrderSync/controllers/send_operation.php b/webht/third_party/trippestOrderSync/controllers/send_operation.php index 548da41e..1e209562 100644 --- a/webht/third_party/trippestOrderSync/controllers/send_operation.php +++ b/webht/third_party/trippestOrderSync/controllers/send_operation.php @@ -25,6 +25,7 @@ class Send_operation extends CI_Controller { public function sms_log() { + $this->permission->is_admin(true); $date = $this->input->get_post("date"); $date = $date ? $date : date('Y-m-d', strtotime("+1 day")); $ready_order["date"] = $date; diff --git a/webht/third_party/trippestOrderSync/controllers/vendor_money.php b/webht/third_party/trippestOrderSync/controllers/vendor_money.php index 52a2df32..9aa2cf22 100644 --- a/webht/third_party/trippestOrderSync/controllers/vendor_money.php +++ b/webht/third_party/trippestOrderSync/controllers/vendor_money.php @@ -23,6 +23,7 @@ class Vendor_money extends CI_Controller { public function index() { + $this->permission->is_admin(true); $date_range = $this->input->post("date_range"); preg_match_all('/\d{4}\-\d{2}\-\d{2}/', $date_range, $date_range_arr); if (empty($date_range_arr[0])) { diff --git a/webht/third_party/trippestOrderSync/views/sms_log.php b/webht/third_party/trippestOrderSync/views/sms_log.php index 0f36160c..f991bce2 100644 --- a/webht/third_party/trippestOrderSync/views/sms_log.php +++ b/webht/third_party/trippestOrderSync/views/sms_log.php @@ -57,6 +57,14 @@

SMS Log

+
diff --git a/webht/third_party/trippestOrderSync/views/vendor_money_sum.php b/webht/third_party/trippestOrderSync/views/vendor_money_sum.php index 23df7e61..18aefdfe 100644 --- a/webht/third_party/trippestOrderSync/views/vendor_money_sum.php +++ b/webht/third_party/trippestOrderSync/views/vendor_money_sum.php @@ -37,6 +37,14 @@

Trippest & 地接账单结算

+