小易API接口管理程序

使用说明

  1. 00后学生,业余编写而成 参考(授权程序或各类程序编写集成)
  2. 本系统不支持在线更新请下载全新安装包
  3. 附带两套模板 (可自行根据已有模板开发模板)
  4. 附带三套本地接口 (二维码生成,随机一言,每日早报)

API架构

基于PHP原生,EasyWeb框架

安装教程

  1. 上传安装包解压配置
  2. 访问域名直接安装
  3. nginx伪静态 (其他环境伪静态 宝塔工具自行转换)

伪静态设置

location / {
    rewrite ^/index.html$ /index.php;
    rewrite ^/sitemap.xml$ /sitemap.php;
    rewrite ^/api/(w*).html$ /api.php?alias=$1;
    rewrite ^/down-([1-9]+[0-9]*).html$ /down/down.php?id=$1;
    rewrite ^/down.html$ /down/index.php;
}