提供豆瓣电影相关查询接口,快速返回电影相关信息。
git clone https://github.com/xhboke/douban.git
php think run
http://localhost:8000
提示
如果需要在服务器上运行,上传代码至根目录后,需要配置伪静态并设置运行目录为「public」
location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }