共计 490 个字符,预计需要花费 2 分钟才能阅读完成。
小易 API 接口管理程序
使用说明
- 00 后学生, 业余编写而成 参考 (授权程序或各类程序编写集成)
- 本系统不支持在线更新请下载全新安装包
- 附带两套模板 (可自行根据已有模板开发模板)
- 附带三套本地接口 (二维码生成, 随机一言, 每日早报)
API 架构
基于 PHP 原生,EasyWeb 框架
安装教程
- 上传安装包解压配置
- 访问域名直接安装
- nginx 伪静态 (其他环境伪静态 宝塔工具自行转换)
伪静态设置
1 |
<span id="LC1" class="line">location / {</span> <span id="LC2" class="line"> rewrite ^/index.html$ /index.php;</span> <span id="LC3" class="line"> rewrite ^/sitemap.xml$ /sitemap.php;</span> <span id="LC4" class="line"> rewrite ^/api/(w*).html$ /api.php?alias=$1;</span> <span id="LC5" class="line"> rewrite ^/down-([1-9]+[0-9]*).html$ /down/down.php?id=$1;</span> <span id="LC6" class="line"> rewrite ^/down.html$ /down/index.php;</span> <span id="LC7" class="line">}</span> |
安装环境
- PHP 版本支持 5.6-7.4
- mysql5.5-5.7
网站演示
开源地址
Gitee(码云):https://gitee.com/vances/xiaoyi
API 程序演示
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。