diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index f3cb56a..13b67fe 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -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'];