Commit 90bc30301116cccd8ec1d98551495a5ec562880d

Authored by teemitop
1 parent c4b2ffd6

PC商家列表增加筛选条件

... ... @@ -12,8 +12,9 @@ class Seller extends Common
if(Request::isAjax()){
$data = Request::except('file');
$key= input('post.key') ? input('post.key') : "";
$channel= input('post.channel') ? input('post.channel') : 1;
$channel = @$key['channel'] ? @$key['channel'] : 1;
$limit = '&x='.$data["page"].'&y='.$data["limit"].'&keywords='.@$key['id'].'&channel='.$channel;
//获取运营人员列表
$list= file_get_contents(ON_LINE.'App.Seller.GetSellerList'.$limit);
$array = json_decode($list,TRUE);
... ...
... ... @@ -102,6 +102,7 @@
var $ = layui.$, active = {
reload: function(){
var key = $('#key');
var channel = $('#channel');
//执行重载
table.reload('testReload', {
page: {
... ... @@ -109,7 +110,8 @@
}
,where: {
key: {
id: key.val()
id: key.val(),
channel: channel.val()
}
}
});
... ...