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