diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 431ea289..808c6b0c 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -616,6 +616,7 @@ var_dump($response->$responseNode); public function note_list() { + $this->permission->is_admin(true); $data = array(); $data["paytext"] = $this->payment_status(); $data["keywords"] = $this->input->get_post("keywords"); @@ -631,6 +632,7 @@ var_dump($response->$responseNode); } //失败记录列表 public function note_faillist() { + $this->permission->is_admin(true); $data = array(); $data["paytext"] = $this->payment_status(); //有关键词则不限制日期 @@ -652,6 +654,7 @@ var_dump($response->$responseNode); //获取note详情,以便后续修改各项数据 public function note_modal($pn_txn_id = false, $pn_invoice = false ,$notice_time = false) { + $this->permission->is_admin(true); $data = array(); $data['IPL_orderId'] = $pn_invoice; if (!empty($pn_txn_id)) { diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index f1f5bff1..c953e061 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -62,6 +62,7 @@ class IPayLinksService extends CI_Controller public function note_list2() { + $this->permission->is_admin(true); $data = array(); $data["paytext"] = $this->payment_status(); $data["keywords"] = $this->input->get_post("keywords"); @@ -78,6 +79,7 @@ class IPayLinksService extends CI_Controller public function note_list() { + $this->permission->is_admin(true); $data = array(); $data["paytext"] = $this->payment_status(); $data["keywords"] = $this->input->get_post("keywords"); @@ -94,6 +96,7 @@ class IPayLinksService extends CI_Controller //失败记录列表 public function note_faillist() { + $this->permission->is_admin(true); $data = array(); $data["paytext"] = $this->payment_status(); //有关键词则不限制日期 @@ -952,6 +955,7 @@ class IPayLinksService extends CI_Controller public function gai_modal($pn_txn_id=null, $pn_invoice=null, $pn_id = null, $neworder=null) { + $this->permission->is_admin(true); $data = array(); $data['note'] = $this->Note_model->note($pn_txn_id, $pn_id); $orderid_info = $this->analysis_orderid($pn_invoice); @@ -1035,6 +1039,7 @@ class IPayLinksService extends CI_Controller //获取note详情,以便后续修改各项数据 public function note_modal($pn_txn_id = false, $pn_invoice = false, $pn_id = null) { + $this->permission->is_admin(true); $data = array(); $data['IPL_orderId'] = $pn_invoice; if (!empty($pn_txn_id)) { diff --git a/webht/third_party/pay/views/alipay_list.php b/webht/third_party/pay/views/alipay_list.php index c55ceead..d3a9c1ad 100644 --- a/webht/third_party/pay/views/alipay_list.php +++ b/webht/third_party/pay/views/alipay_list.php @@ -76,6 +76,12 @@

Alipay Notes

diff --git a/webht/third_party/pay/views/iPayLinks_list.php b/webht/third_party/pay/views/iPayLinks_list.php index b97c0a80..bd101cac 100644 --- a/webht/third_party/pay/views/iPayLinks_list.php +++ b/webht/third_party/pay/views/iPayLinks_list.php @@ -75,9 +75,16 @@ - +
diff --git a/webht/third_party/pay/views/iPayLinks_list2.php b/webht/third_party/pay/views/iPayLinks_list2.php index 6e42ff6a..0a981772 100644 --- a/webht/third_party/pay/views/iPayLinks_list2.php +++ b/webht/third_party/pay/views/iPayLinks_list2.php @@ -105,8 +105,15 @@
-
+
diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index ec3f6458..92000511 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -896,6 +896,7 @@ class Index extends CI_Controller { //所有记录列表 public function note_list() { + $this->permission->is_admin(true); $data = array(); //有关键词则不限制日期 $data['search_key'] = $this->input->post('search_key'); @@ -920,6 +921,7 @@ class Index extends CI_Controller { //所有记录列表 public function note_faillist() { + $this->permission->is_admin(true); $data = array(); //有关键词则不限制日期 $data['search_key'] = $this->input->post('search_key'); @@ -933,6 +935,7 @@ class Index extends CI_Controller { //获取note详情,修改各项数据 public function note_modal($pn_txn_id, $pn_invoice = false) { + $this->permission->is_admin(true); $data = array(); $data['pn_invoice'] = $pn_invoice; if (!empty($pn_txn_id)) { @@ -1161,6 +1164,7 @@ class Index extends CI_Controller { /** 查看收款记录的是否已录入到订单 */ public function gai_modal($pn_txn_id=null, $pn_id = null, $neworder=null) { + $this->permission->is_admin(true); $data = array(); $data['note'] = $this->Note_model->note($pn_txn_id, $pn_id); $orderid_info = $this->analysis_orderid($data['note']->pn_invoice);