{"id":14972075,"url":"https://github.com/fantasticlbp/hotels_server","last_synced_at":"2025-09-08T13:44:06.757Z","repository":{"id":97340255,"uuid":"79630943","full_name":"FantasticLBP/Hotels_Server","owner":"FantasticLBP","description":"酒店预订系统后台管理系统","archived":false,"fork":false,"pushed_at":"2019-03-24T02:49:37.000Z","size":9242,"stargazers_count":301,"open_issues_count":18,"forks_count":134,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-31T06:09:18.550Z","etag":null,"topics":["api-rest","api-service","apis","booking-system","bootstrap","hotel","hotel-api","hotel-booking","hotel-management","hotels","json-api","mysql-database","pdo-mysql","pdo-php","response-system","server-management","source-code","upload-file","upload-pictures"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FantasticLBP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-21T07:27:43.000Z","updated_at":"2025-01-20T18:05:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bc0961f-02a6-4e1e-b69a-f1fd1cf8a228","html_url":"https://github.com/FantasticLBP/Hotels_Server","commit_stats":{"total_commits":37,"total_committers":3,"mean_commits":"12.333333333333334","dds":"0.29729729729729726","last_synced_commit":"67b44df162fab26df209bd5d5d542875fcbec1d0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantasticLBP%2FHotels_Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantasticLBP%2FHotels_Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantasticLBP%2FHotels_Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantasticLBP%2FHotels_Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FantasticLBP","download_url":"https://codeload.github.com/FantasticLBP/Hotels_Server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247618334,"owners_count":20967765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-rest","api-service","apis","booking-system","bootstrap","hotel","hotel-api","hotel-booking","hotel-management","hotels","json-api","mysql-database","pdo-mysql","pdo-php","response-system","server-management","source-code","upload-file","upload-pictures"],"created_at":"2024-09-24T13:46:21.078Z","updated_at":"2025-04-07T08:28:09.373Z","avatar_url":"https://github.com/FantasticLBP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotels_Server\n住哪儿项目后台管理系统\n\n\n**住哪儿App的后台管理功能，包括主题酒店、特色酒店发布、注册用户的统计查看、订单的统计查看、酒店的统计查看。Controller目录下的Api下就是给App开发的api。想写api的童鞋们可以看看。**\n\u003cul\u003e包括php系统开发的常见功能：\n\u003cli\u003e复杂表单的提交，包括多图片上传\u003c/li\u003e\n\u003cli\u003e基于Bootstrap框架的界面布局\u003c/li\u003e\n\u003cli\u003e封装PDO数据库操作类，实现增删改查等等常见功能，调用简单\u003c/li\u003e\n\u003cli\u003e随机酒店推荐策略\u003c/li\u003e\n\u003cli\u003e多条件模糊搜索酒店算法\u003c/li\u003e\n\u003cli\u003ejquery表格插件Datatables的使用大大丰富了数据的展现方式，更具交互性。具有自动分页、模糊搜索等功能\u003c/li\u003e\n\u003cli\u003e封装了Response类，可以传递4个参数 show($code, $message = '', $data = array(), $type = self::JSON)来展示json或者array或者xml。\u003c/li\u003e\n\u003cli\u003e工程结构一幕了然，便于拓展\u003c/li\u003e\n\u003c/ul\u003e\n\n\n\u003ch3\u003e效果截图\u003c/h3\u003e\n\n![系统截图](https://github.com/FantasticLBP/Hotels_Server/blob/master/Systemt_Screen1.png?raw=true \"这是系统截图\")\n\n\u003cp\u003eToDo：后期可能会实现MVC框架优化。客户端接口想实现缓存出来，当客户端请求的数据存在于缓存的时候直接从缓存中读取。\u003c/p\u003e\n\n如果有不懂的地方可以加入QQ交流群讨论：\u003ca target=\"_blank\" href=\"//shang.qq.com/wpa/qunwpa?idkey=c9dc4ab0b2062e0004b3b2ed556da1ce898631742e15780297feb3465ad08eda\"\u003e**515066271**\u003c/a\u003e。这个QQ群讨论技术范围包括：iOS、H5混合开发、前端开发、PHP开发，欢迎大家讨论技术。\n\n\n\n\u003ch3\u003e福利，福利\u003c/h3\u003e\n\u003cp\u003e如果想学习客户端开发的同学可以看看这个项目。项目地址：(https://github.com/FantasticLBP/Hotels)\u003c/p\u003e\n\n**实现了类似艺龙App的预定酒店功能，包括酒店搜索、特色酒店推荐、特惠酒店推荐等等功能，可以预定酒店、查看订单，唯独不能支付（支付功能必须由公司的名义注册，个人练手注册不了）。**\n\u003cul\u003e包括iOS开发的常见功能：\n\u003cli\u003e自定义NavigationController实现全屏右滑返回上一控制器\u003c/li\u003e\n\u003cli\u003eUICollecionView展现界面\u003c/li\u003e\n\u003cli\u003eUITableview上拉加载、下面刷新功能\u003c/li\u003e\n\u003cli\u003eMasonry自动布局库的使用\u003c/li\u003e\n\u003cli\u003e封装好的启动欢迎页\u003c/li\u003e\n\u003cli\u003eYYModel字典转模型\u003c/li\u003e\n\u003cli\u003e复杂界面的布局\u003c/li\u003e\n\u003cli\u003ecell的重用内存优化\u003c/li\u003e\n\u003cli\u003e工程结构一幕了然，便于拓展\u003c/li\u003e\n\u003cli\u003e界面采用代码实现，部分界面采用xib实现。整个代码可读性比较好、代码规范、有注释说明，配合服务端是自己用php写的，Api也是php实现的。\u003c/li\u003e\n\u003cli\u003e主要功能：根据不同主题查找酒店、摇一摇随机推荐酒店、根据城市定位推荐酒店、根据用户输入多条件模糊搜索查找酒店、酒店位置地图显示、路径规划及其导航（百度地图、高德地图、系统地图）、订单查看等、酒店分享等功能\u003c/li\u003e\n\u003c/ul\u003e\n\n\n\u003ch3\u003e效果截图\u003c/h3\u003e\n\n![App效果图](https://raw.githubusercontent.com/FantasticLBP/Hotels/master/1.gif \"这是App的效果图\")\n\n\n\n## 本项目包含功能为后端，如有需要客户端或者商业合作请联系本人（QQ/微信：704568245）\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasticlbp%2Fhotels_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantasticlbp%2Fhotels_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasticlbp%2Fhotels_server/lists"}