feat 兰州学校项目 站点改为地块管理 用photo字段代替面积字段 (临时)

This commit is contained in:
oldHome 2025-06-27 20:31:48 +08:00
parent dd9cc1707e
commit 068bd0a140

View File

@ -350,6 +350,11 @@ class PlaneController extends PublicController
} else { } else {
$data['describe'] = null; $data['describe'] = null;
} }
if ($_REQUEST['photo']) { //为兰州学校项目改 后期要用需要修改
$data['photo'] = $_REQUEST['photo'];
} else {
$data['photo'] = null;
}
if ($id = $rsDb->data($data)->add()) { if ($id = $rsDb->data($data)->add()) {
//创建二维码 //创建二维码
if ($token = $this->getAccessToken()) { if ($token = $this->getAccessToken()) {
@ -406,6 +411,11 @@ class PlaneController extends PublicController
} else { } else {
$data['describe'] = null; $data['describe'] = null;
} }
if ($_REQUEST['photo']) { //为兰州学校项目改 后期要用需要修改
$data['photo'] = $_REQUEST['photo'];
} else {
$data['photo'] = null;
}
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$where['id'] = $id; $where['id'] = $id;
$where['shop_id'] = $_REQUEST['shop_id']; $where['shop_id'] = $_REQUEST['shop_id'];