码迷,mamicode.com
首页 > Web开发 > 详细

模拟页面获取的PHP数据

时间:2017-07-01 19:22:26      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:php   lis   style   title   .com   交通   eid   turn   nbsp   

<?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" //通勤找房列表页地址
  )
);

 

模拟页面获取的PHP数据

标签:php   lis   style   title   .com   交通   eid   turn   nbsp   

原文地址:http://www.cnblogs.com/camille666/p/page_faultdata_php_1.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!