diff --git a/webht/third_party/pay/controllers/PaymentService.php b/webht/third_party/pay/controllers/PaymentService.php
index c1d31f05..b5ae209d 100644
--- a/webht/third_party/pay/controllers/PaymentService.php
+++ b/webht/third_party/pay/controllers/PaymentService.php
@@ -28,10 +28,12 @@ class PaymentService extends CI_Controller {
{
}
- public function note_list($method=null)
+ public function note_list()
{
$this->permission->is_admin(true);
$data = array();
+ $method = $this->input->get_post("method");
+ $method = $method===false ? null : $method;
$data['method_code'] = '';
// $data["paytext"] = $this->payment_status();
if (isset($this->code_brandname[$method])) {
diff --git a/webht/third_party/pay/helpers/payment_helper.php b/webht/third_party/pay/helpers/payment_helper.php
index 181c0118..3be012cd 100644
--- a/webht/third_party/pay/helpers/payment_helper.php
+++ b/webht/third_party/pay/helpers/payment_helper.php
@@ -295,3 +295,10 @@ function characet($data, $targetCharset) {
}
return $data;
}
+
+function set_url_param($param_arr=array())
+{
+ parse_str(parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY), $current_param);
+ $param_arr = $current_param===null ? $param_arr : array_merge($current_param, $param_arr);
+ return strstr($_SERVER['REQUEST_URI'],'?', true) . "?" . http_build_query($param_arr);
+}
diff --git a/webht/third_party/pay/libraries/ipaylinks_call.php b/webht/third_party/pay/libraries/ipaylinks_call.php
index 3382cf4f..649e795e 100644
--- a/webht/third_party/pay/libraries/ipaylinks_call.php
+++ b/webht/third_party/pay/libraries/ipaylinks_call.php
@@ -212,6 +212,10 @@ class Ipaylinks_call
if (true === $note_exists) {
continue; // test:
}
+ // test: 月账单太长
+ if ($settle_cnt > 999) {
+ break;
+ }
$order_info = $this->ci->account_model
->get_gai(
$save_column['OPN_transactionId'],
diff --git a/webht/third_party/pay/views/payment_list.php b/webht/third_party/pay/views/payment_list.php
index c7ad4bb9..04aefaed 100644
--- a/webht/third_party/pay/views/payment_list.php
+++ b/webht/third_party/pay/views/payment_list.php
@@ -125,22 +125,20 @@