Commit a5006db0 authored by hujun's avatar hujun

去除删除状态

parent 8ac05146
...@@ -83,8 +83,11 @@ class Site extends Basic ...@@ -83,8 +83,11 @@ class Site extends Basic
);*/ );*/
$field = 'id,name,city,is_del'; $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); $res = $this->aSite->getSite($field, $params);
$data['list'] = $res; $data['list'] = $res;
......
...@@ -78,7 +78,7 @@ define (['doT', 'text!temp/auth_template_tpl.html', 'css!style/home.css','pagina ...@@ -78,7 +78,7 @@ define (['doT', 'text!temp/auth_template_tpl.html', 'css!style/home.css','pagina
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/getSiteList', url: '/index/getSiteList',
data: {}, data: {'is_del':0},
timeout: 30000, timeout: 30000,
dataType: 'json', dataType: 'json',
beforeSend: function() {}, 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