|
@@ -68,21 +68,21 @@ class Index extends Api
|
|
|
}
|
|
|
$list = arraySort($list,'value',SORT_DESC);
|
|
|
foreach ($list as &$v){
|
|
|
- if ($v['name']=='城关街道办'){
|
|
|
- $v['value'] ='220777';
|
|
|
- }
|
|
|
- if ($v['name']=='庄里镇'){
|
|
|
- $v['value'] ='20';
|
|
|
- }
|
|
|
- if ($v['name']=='留古镇'){
|
|
|
- $v['value'] ='15';
|
|
|
- }
|
|
|
- if ($v['name']=='宫里镇'){
|
|
|
- $v['value'] = '0';
|
|
|
- }
|
|
|
- if ($v['name']=='流曲镇'){
|
|
|
- $v['value'] = '0';
|
|
|
- }
|
|
|
+// if ($v['name']=='城关街道办'){
|
|
|
+// $v['value'] ='220777';
|
|
|
+// }
|
|
|
+// if ($v['name']=='庄里镇'){
|
|
|
+// $v['value'] ='20';
|
|
|
+// }
|
|
|
+// if ($v['name']=='留古镇'){
|
|
|
+// $v['value'] ='15';
|
|
|
+// }
|
|
|
+// if ($v['name']=='宫里镇'){
|
|
|
+// $v['value'] = '0';
|
|
|
+// }
|
|
|
+// if ($v['name']=='流曲镇'){
|
|
|
+// $v['value'] = '0';
|
|
|
+// }
|
|
|
}
|
|
|
$this->success('成功',$list);
|
|
|
}
|