Commit a5006db0 authored by hujun's avatar hujun

去除删除状态

parent 8ac05146
......@@ -83,8 +83,11 @@ class Site extends Basic
);*/
$field = 'id,name,city,is_del';
$get_params['is_del'] = 0;
if ($params['is_del']) {
$params['is_del'] = 0;
}
$res = $this->aSite->getSite($field, $params);
$data['list'] = $res;
......
......@@ -78,7 +78,7 @@ define (['doT', 'text!temp/auth_template_tpl.html', 'css!style/home.css','pagina
$.ajax({
type: 'GET',
url: '/index/getSiteList',
data: {},
data: {'is_del':0},
timeout: 30000,
dataType: 'json',
beforeSend: function() {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment