模拟页面获取的php数据(一)

<?php 
return array(
  "aData" => array(//通勤方式
    "trafficType" => array(
      0 => array(
        "typeId" => 1,
        "iconFont" => "e7d9",
        "title" => "公共交通"
      ),
      1 => array(
        "typeId" => 2,
        "iconFont" => "e7d8",
        "title" => "骑行"
      ),
      2 => array(
        "typeId" => 3,
        "iconFont" => "e7da",
        "title" => "步行"
      ),
      3 => array(
        "typeId" => 4,
        "iconFont" => "e7d7",
        "title" => "驾车"
      )
    ),
    "trafficTime" => array(//时间区间
      "min" => 15,
      "max" => 60,
      "unit" => "分钟",
      "granularity" => 15,
      "defaultValue" => 15
    ),
    "expirePrice" => array(//价格区间
      "min" => 0,
      "max" => 10000,
      "unit" => "元",
      "granularity" => 500,//颗粒度
      "defaultMinValue" => 0,
      "defaultMaxValue" => 10500
    ),
    "listUrl" =>  "http://xxx.com.cn/sh/commuting/list" //通勤找房列表页地址
  )
);
原文地址:https://www.cnblogs.com/camille666/p/page_faultdata_php_1.html