feat: 列表查询筛选条件

feature/pay
lyt 5 years ago
parent a602a2a3a4
commit 798cfd14b6

@ -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])) {

@ -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);
}

@ -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'],

@ -125,22 +125,20 @@
<img width="150" style="height:40px;" src="/css/nav/img/6000.png">
</a>
<h1>Payment List</h1>
<a href="/webht.php/apps/pay/paymentservice/note_list">ALL</a>
&NonBreakingSpace;
<a <?php if($method_code==='') { ?> class="text-muted"<?php } ?>
href="/webht.php/apps/pay/paymentservice/note_list">ALL</a>
&NonBreakingSpace;&boxv;&NonBreakingSpace;
<a <?php if($method_code==='15016') { ?> class="text-muted"<?php } ?>
href="/webht.php/apps/pay/paymentservice/note_list/15016">微信&raquo;</a>
href="<?php echo set_url_param(array('method'=>15016)) ?>">微信&raquo;</a>
&NonBreakingSpace;
<!-- <a href="http://www.mycht.cn/webht.php/apps/paypal/index/note_list">PayPal&raquo;</a> -->
<a <?php if($method_code==='15002') { ?> class="text-muted"<?php } ?>
href="/webht.php/apps/pay/paymentservice/note_list/15002">PayPal&raquo;</a>
href="<?php echo set_url_param(array('method'=>15002)) ?>">PayPal&raquo;</a>
&NonBreakingSpace;
<a <?php if($method_code==='15018') { ?> class="text-muted"<?php } ?>
href="/webht.php/apps/pay/paymentservice/note_list/15018">信用卡&raquo;</a>
<!-- <a href="https://www.mycht.cn/webht.php/apps/pay/ipaylinksservice/note_list">信用卡&raquo;</a> -->
href="<?php echo set_url_param(array('method'=>15018)) ?>">信用卡&raquo;</a>
&NonBreakingSpace;
<a <?php if($method_code==='15015') { ?> class="text-muted"<?php } ?>
href="/webht.php/apps/pay/paymentservice/note_list/15015">支付宝&raquo;</a>
<!-- <a href="https://www.mycht.cn/webht.php/apps/pay/AlipayTradeService/index">支付宝&raquo;</a> -->
href="<?php echo set_url_param(array('method'=>15015)) ?>">支付宝&raquo;</a>
&NonBreakingSpace;
<ul class="nav navbar-nav navbar-right pull-right" style="margin:7.5px 0;">
<li class="dropdown">

Loading…
Cancel
Save