首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > elong-hotel-php-sdk

elong-hotel-php-sdk

  • 资源大小:0.00 B
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

针对艺龙(Elong)酒店开发平台开发的PHP版SDK。包括数据导入、接口动态访问等基础代码。同时提供了一个DEMO站点,演示了酒店预定的整个流程。 使用说明 使用之前,请仔细阅读API文档,申请相应的账号。 Elong_PHP_Sdk - Readme Version: 0.1.2 Licensed: http://www.apache.org/licenses/LICENSE-2.0 Copyright: http://www.elong.com All rights reserved 简介: 下载包包含2个文件夹 ./demo ./elong_sdk ; 开发时只需要elong_sdk文件夹,demo调用sdk中的方法 仅供演示,开发者可参考demo进行开发; demo运行在apache服务器上,nginx需要修改配置,参考附录; SDK使用必备环境: php版本需大于5.2.0; MySQL版本大于5.0; 安装并开启Soap组件; 安装并开启Pdo组件; 安装并开启Curl组件; Linux系统需将将sdk设为777权限 以便能够生成配置和日志文件; Demo演示配置流程: 创建一个数据库; 主机地址(localhost)指向demo文件夹; 修改demo入口文件index.php中的 ROOT_URL; 访问localhost 若配置文件不存在将自动跳转到安装页面,根据提示将自动创建配置文件和表结构; 通过命令行或浏览器访问执行crontab中的文件,用于获取静态数据; 项目开发流程: 工程引用sdk入口文件el_index.php; 通过install自动安装配置文件和表结构,确保sdk可写入和数据库存在; 确保配置文件存在并且表已创建后,通过命令行下载静态数据crontab 调用sdk中的方法进行开发(可参考demo)

文 件 列 表

ElongSDKWeb
Content
Controllers
ElongSDKWeb.csproj
Global.asax
Global.asax.cs
Properties
Scripts
Views
Web.config
Web.Debug.config
Web.Release.config
ElongSDK.sln
ElongSDKBLL
app.config
BeijingHotelIDTest.cs
Class1.cs
DataBaseManager.cs
ElongSDKBLL.csproj
GeoService.cs
HotelDetailService.cs
HotelListService.cs
OrderService.cs
Properties
SataticXMLDataService.cs
Service References
ElongSDKInstall
app.config
App.xaml
App.xaml.cs
db
ElongSDKInstall.csproj
MainWindow.xaml
MainWindow.xaml.cs
Properties
ElongSDKInterface
ElongSDKInterface.csproj
IGeoService.cs
IHotelDetailService.cs
IHotelListService.cs
IOrderService.cs
Properties
ElongSDKModel
app.config
DataBase
ElongSDKModel.csproj
Properties
Web
XML
ElongSDKUtility
ConfigHelper.cs
ElongSDKUtility.csproj
HttpHelper.cs
Properties
XMLHelper.cs
VIP VIP
0.196804s