作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

后台设备模块开发

... ... @@ -209,8 +209,8 @@ class AdminLightController extends AdminBaseController
$this->assign('temple', $temple);
$area = Db::name('temple_area')->where('temple_id', $data['temple_id'])->select();
$this->assign('area', $area);
$location=$this->getLocation($id=$data['area_id']);
print_r($location);
$location=json_decode($this->getLocation($id=$data['area_id']),true);
$this->assign('location', $location);
$this->assign('list', $data);
return $this->fetch();
... ...