Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -54,7 +54,7 @@ class Area extends Common | @@ -54,7 +54,7 @@ class Area extends Common | ||
| 54 | if(!empty($t_name)) | 54 | if(!empty($t_name)) |
| 55 | $array['data'][$key]['type'] = implode(',', $t_name); | 55 | $array['data'][$key]['type'] = implode(',', $t_name); |
| 56 | } | 56 | } |
| 57 | - return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'count'=>$array['data'][0]['total'],'rel'=>1]; | 57 | + return $result = ['code'=>0,'msg'=>'获取成功!','data'=>$array['data'],'count'=>$array['data']['total'],'rel'=>1]; |
| 58 | } | 58 | } |
| 59 | $this->assign ( 'title','商户基本信息维护'); | 59 | $this->assign ( 'title','商户基本信息维护'); |
| 60 | return $this->fetch(); | 60 | return $this->fetch(); |
-
Please register or login to post a comment