正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -209,8 +209,8 @@ class AdminLightController extends AdminBaseController | @@ -209,8 +209,8 @@ class AdminLightController extends AdminBaseController | ||
209 | $this->assign('temple', $temple); | 209 | $this->assign('temple', $temple); |
210 | $area = Db::name('temple_area')->where('temple_id', $data['temple_id'])->select(); | 210 | $area = Db::name('temple_area')->where('temple_id', $data['temple_id'])->select(); |
211 | $this->assign('area', $area); | 211 | $this->assign('area', $area); |
212 | - $location=$this->getLocation($id=$data['area_id']); | ||
213 | - print_r($location); | 212 | + $location=json_decode($this->getLocation($id=$data['area_id']),true); |
213 | + | ||
214 | $this->assign('location', $location); | 214 | $this->assign('location', $location); |
215 | $this->assign('list', $data); | 215 | $this->assign('list', $data); |
216 | return $this->fetch(); | 216 | return $this->fetch(); |
-
请 注册 或 登录 后发表评论