- 9
- 0
- 约2.8千字
- 约 4页
- 2017-06-07 发布于重庆
- 举报
基于php的万年历接口调用代码实例
基于php的万年历接口调用代码实例
代码描述:基于php的万年历接口调用代码实例
代码平台:聚合数据
?php
// +
// | JuhePHP [ NO ZUO NO DIE ]
// +
// | Copyright c 2010-2015 All rights reserved.
// +
// | Author: Juhedata info@
// +
//
// 万年历调用示例代码 - 聚合数据
// 在线接口文档:/docs/177
//
header Content-type:text/html;charset utf-8 ;
//配置您申请的appkey
$appkey *********************;
//************1.获取当天的详细信息************
$url /calendar/day;
$params array key $appkey,//您申请的appKey date ,//指定日期,格式为YYYY-MM-DD,如月份和日期小于10,则取个位,如:2012-1-1
;
$paramstring http_build_query $params ;
$content juhecurl $url,$paramstring ;
$result json_dec
原创力文档

文档评论(0)