Commit 2c5f4292 authored by zw's avatar zw

pc 跨域

parent 10e622c5
...@@ -30,7 +30,7 @@ class Index extends Basic ...@@ -30,7 +30,7 @@ class Index extends Basic
*/ */
public function averagePriceAndTurnover() public function averagePriceAndTurnover()
{ {
header('Access-Control-Allow-Origin:*');
/* $houseInfos = new GHouses(); /* $houseInfos = new GHouses();
$averagePrice = $houseInfos->getAveragePrice();*/ $averagePrice = $houseInfos->getAveragePrice();*/
$userModel = new Users(); $userModel = new Users();
......
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