Commit bb37a77a authored by clone's avatar clone

1

parent 6611b17e
......@@ -29,6 +29,7 @@ class OfficeBuilding extends Basic
*/
public function getOfficeBuildingInfo()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$checkResult = $this->validate($params, "OfficeRoomValidate.getOfficeRoomInfo");
if (true !== $checkResult) {
......
......@@ -56,6 +56,7 @@ class OfficeRoom extends Basic
*/
public function getBuildingRoomList()
{
header('Access-Control-Allow-Origin:*');
$result = $this->serviceApi->getRoomBuildingList($this->params);
if ($result['status'] == 'successful') {
......@@ -72,6 +73,7 @@ class OfficeRoom extends Basic
*/
public function filtrateConditionRoom()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
if (empty($params["city"])) {
return $this->response("101", "参数错误");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment