feat 兰州学校项目 站点改为地块管理 用photo字段代替面积字段 (临时)
This commit is contained in:
parent
dd9cc1707e
commit
068bd0a140
@ -350,6 +350,11 @@ class PlaneController extends PublicController
|
||||
} else {
|
||||
$data['describe'] = null;
|
||||
}
|
||||
if ($_REQUEST['photo']) { //为兰州学校项目改 后期要用需要修改
|
||||
$data['photo'] = $_REQUEST['photo'];
|
||||
} else {
|
||||
$data['photo'] = null;
|
||||
}
|
||||
if ($id = $rsDb->data($data)->add()) {
|
||||
//创建二维码
|
||||
if ($token = $this->getAccessToken()) {
|
||||
@ -406,6 +411,11 @@ class PlaneController extends PublicController
|
||||
} else {
|
||||
$data['describe'] = null;
|
||||
}
|
||||
if ($_REQUEST['photo']) { //为兰州学校项目改 后期要用需要修改
|
||||
$data['photo'] = $_REQUEST['photo'];
|
||||
} else {
|
||||
$data['photo'] = null;
|
||||
}
|
||||
$id = $_REQUEST['id'];
|
||||
$where['id'] = $id;
|
||||
$where['shop_id'] = $_REQUEST['shop_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user