作者 王晓刚
1 个管道 的构建 通过 耗费 40 秒

提现失败问题

... ... @@ -31,12 +31,18 @@ class UsersController extends AdminBaseController{
$where['a.status'] = $_POST['identity'];
}
}
if(!empty($_POST['id'])){
$where['id'] = ['eq',$_POST];
}
$data = Db::name('my_user') -> alias('a') -> field('a.*,b.user_nickname') -> join('user b','a.uid = b.id','LEFT') -> where($where) -> paginate(1000000);
}else{
$data = Db::name('my_user') -> alias('a') -> field('a.*,b.user_nickname') -> join('user b','a.uid = b.id','LEFT') -> paginate(12);
}
$this -> assign('data',$data);
$this->assign('user_nickname',!empty($_POST['user_nickname']) ? $_POST['user_nickname'] : '');
$this->assign('status',!empty($_POST['status']) ? $_POST['status'] : '');
$this->assign('id',!empty($_POST['id']) ? $_POST['id'] : '');
return $this -> fetch();
}
... ...
... ... @@ -12,13 +12,16 @@
<li class="active"><a href="#">用户列表</a></li>
</ul>
<form class="well form-inline margin-top-20" method="post" action="{:url('Users/user_list')}">
时间:
<input type="text" class="form-control js-bootstrap-datetime" name="start_time"
value="{$start_time|default=''}"
style="width: 140px;" autocomplete="off">-
<input type="text" class="form-control js-bootstrap-datetime" name="end_time"
value="{$end_time|default=''}"
style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
<!--时间:-->
<!--<input type="text" class="form-control js-bootstrap-datetime" name="start_time"-->
<!--value="{$start_time|default=''}"-->
<!--style="width: 140px;" autocomplete="off">- -->
<!--<input type="text" class="form-control js-bootstrap-datetime" name="end_time"-->
<!--value="{$end_time|default=''}"-->
<!--style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;-->
序号:
<input type="text" class="form-control" name="id" style="width: 200px;"
value="{$id|default=''}" placeholder="请输入序号">
关键字:
<input type="text" class="form-control" name="keyword" style="width: 200px;"
value="{$keyword|default=''}" placeholder="请输入微信昵称...">
... ...