| 
...
 | 
...
 | 
@@ -235,12 +235,16 @@ class App { | 
| 
 | 
 | 
     public function requestArr($name='*',array $default = [], $filter = null){
 | 
| 
 | 
 | 
         $value = $this->request($name,$default, $filter);
 | 
| 
 | 
 | 
         if(!is_array($value)){
 | 
| 
 | 
 | 
             if($value){
 | 
| 
 | 
 | 
                 $j = @json_decode($value,true);
 | 
| 
 | 
 | 
                 if(is_array($j)){
 | 
| 
 | 
 | 
                     $value = $j;
 | 
| 
 | 
 | 
                 }else{
 | 
| 
 | 
 | 
                     $value = explode(',',(string) $value);
 | 
| 
 | 
 | 
                 }
 | 
| 
 | 
 | 
             }else{
 | 
| 
 | 
 | 
                 $value = [];
 | 
| 
 | 
 | 
             }
 | 
| 
 | 
 | 
         }
 | 
| 
 | 
 | 
         foreach ($value as $k=>$v){
 | 
| 
 | 
 | 
             if($v===''){
 | 
...
 | 
...
 | 
 |