📌 系统简介
AI 综合站是一套 PHP 开发的 AI 工具导航 + 提示词库整站源码,内置商业授权系统,支持独立运营,也可作为分系统接入主站授权体系。v3.1 纯净版已去除全部个人数据,开箱即用。
运行环境HP 7.4+ / MySQL 5.7+ / Nginx(宝塔面板)/ 自带三步安装向导
⭐ 网站功能全览
AI 工具导航:分类收录、站内搜索、人工精选与评分
提示词库:模板化管理、分类展示、效果示例图
资讯教程:文章发布与分类管理
商业授权:一码一系统、RSA 离线签名、支持限时/永久
全局授权策略:需授权 / 免费模式一键切换
到期提醒:授权到期自动邮件提醒客户
在线拉黑:撤销授权后分系统约 6 小时停止服务
广告运营:多广告位轮播、图片上传/外链二选一、支持自助购买
默认广告:内置 5:1 通栏横幅,默认推广主站
默认友链:内置主站友情链接
用户体系:注册登录、积分系统、会员等级
数据统计:收录数、访问量实时统计
三端自适应:桌面 / 平板 / 手机全适配
多语言:中文 / 英文切换
内置工具箱:常用在线工具集合
AI 客服悬浮球:后台一键开关
SEO 优化:伪静态规则、robots、sitemap、自定义 404/500 页
管理后台 44 页:仪表盘/内容/广告/用户/数据/系统/语言/管理员/备份/日志/安全/授权/安装统计/回收站/定时任务
**效果展示**:默认广告位内置 5:1 通栏横幅,默认推广主站,安装后开箱即用

v3.1 更新内容新增商业授权系统:母站签发授权码、分系统一键激活、离线校验新增全局授权策略:需授权 / 免费模式,策略随授权码生效新增三步安装向导:环境检测 → 数据库配置 → 站点与后台配置新增默认广告(5:1 通栏横幅)与默认友链,默认推广主站新增伪静态规则文件,适配 PHP 7.4 版本优化:商业级目录框架,文件按 admin/api/app/auth/install/page/pay/rewrite/static/tools 分类存放优化:后台 44 个页面全面修复,全部可正常打开修复:授权码验签、激活跳转、数据库表结构补全等问题
系统要求
PHP 7.4 及以上(兼容 8.x) / MySQL 5.7 及以上 / Nginx 或 Apache,推荐宝塔面板部署,程序自带三步安装向导
🔧 伪静态规则
程序前台页面位于 /page/ 子目录、授权接口位于 /auth/,**必须配置伪静态**,否则 tools.html、prompts.html 等页面会 404。压缩包 rewrite 目录已内置两套规则,按你的环境二选一。
Nginx(宝塔面板):网站 → 设置 → 伪静态 → 将以下内容全部粘贴保存
# ============================================================
# AI 综合站 · Nginx 伪静态规则(推荐)
# ————————————————————
# 适用环境:宝塔面板 / 其它 Nginx 服务器
# 配置方法(宝塔面板):
# 网站 → 设置 → 伪静态 → 将本文件全部内容粘贴保存
# 说明:程序前台页面位于 /page/ 子目录,授权接口位于 /auth/,
# 本规则负责伪静态 URL 映射与旧版链接兜底(防 404)。
# ============================================================
if (!-e $request_filename) {
rewrite ^/vip\.html$ /page/vip.php last;
rewrite ^/points\.html$ /page/points.php last;
rewrite ^/tools\.html$ /page/tools.php last;
rewrite ^/prompts\.html$ /page/prompts.php last;
rewrite ^/news\.html$ /page/news.php last;
rewrite ^/rank\.html$ /page/rank.php last;
rewrite ^/donate\.html$ /page/donate.php last;
rewrite ^/adbuy\.html$ /page/adbuy.php last;
rewrite ^/submit.html$ /page/submit.php last;
rewrite ^/search.html$ /page/search.php last;
rewrite ^/toolbox\.html$ /page/toolbox.php last;
rewrite ^/tool/([0-9]+)\.html$ /page/tool.php?id=$1 last;
rewrite ^/prompt/([0-9]+)\.html$ /page/prompt.php?id=$1 last;
rewrite ^/article/([0-9]+)\.html$ /page/article.php?id=$1 last;
rewrite ^/prompts/([a-z0-9\-]+)\.html$ /page/prompts.php?cat=$1 last;
rewrite ^/news/([a-z0-9\-]+)\.html$ /page/news.php?cat=$1 last;
rewrite ^/cat/([a-z0-9\-]+)\.html$ /page/cat.php?slug=$1 last;
rewrite ^/sitemap\.xml$ /page/sitemap.php last;
rewrite ^/(activate|license-api)\.php$ /auth/$1.php last;
rewrite ^/(article|cat|tag|tool|tools|toolbox|search|news|prompts|prompt|rank|links|submit|jump|donate|enterprise|chat|notify|fav|favs|login|logout|register|forgot|send_code|vip|points|privacy|terms|rss|sitemap|slide_captcha|ajax_autocomplete|adbuy|adstat|poll_orders|uc|uc_browse|uc_invite|uc_msgs|uc_orders|uc_password|uc_points|uc_profile|uc_receipt|uc_redeem|uc_submits|uc_upload_avatar)\.php$ /page/$1.php last;
}
Apache / LiteSpeed:开启 mod_rewrite,将以下内容保存为站点根目录下的 .htaccess
# ============================================================
# AI 综合站 · Apache 伪静态规则(.htaccess)
# ————————————————————
# 适用环境:Apache / LiteSpeed 等(需开启 mod_rewrite)
# 配置方法:将本文件内容保存为站点根目录下的 .htaccess
# 说明:与 Nginx 规则等效;程序前台页面位于 /page/ 子目录,
# 授权接口位于 /auth/,本规则负责伪静态映射与旧链接兜底。
# ============================================================
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^vip\.html$ page/vip.php [L,QSA]
RewriteRule ^points\.html$ page/points.php [L,QSA]
RewriteRule ^tools\.html$ page/tools.php [L,QSA]
RewriteRule ^prompts\.html$ page/prompts.php [L,QSA]
RewriteRule ^news\.html$ page/news.php [L,QSA]
RewriteRule ^rank\.html$ page/rank.php [L,QSA]
RewriteRule ^donate\.html$ page/donate.php [L,QSA]
RewriteRule ^adbuy\.html$ page/adbuy.php [L,QSA]
RewriteRule ^submit.html$ page/submit.php [L,QSA]
RewriteRule ^search.html$ page/search.php [L,QSA]
RewriteRule ^toolbox\.html$ page/toolbox.php [L,QSA]
RewriteRule ^tool/([0-9]+)\.html$ page/tool.php?id=$1 [L,QSA]
RewriteRule ^prompt/([0-9]+)\.html$ page/prompt.php?id=$1 [L,QSA]
RewriteRule ^article/([0-9]+)\.html$ page/article.php?id=$1 [L,QSA]
RewriteRule ^prompts/([a-z0-9\-]+)\.html$ page/prompts.php?cat=$1 [L,QSA]
RewriteRule ^news/([a-z0-9\-]+)\.html$ page/news.php?cat=$1 [L,QSA]
RewriteRule ^cat/([a-z0-9\-]+)\.html$ page/cat.php?slug=$1 [L,QSA]
RewriteRule ^sitemap\.xml$ page/sitemap.php [L,QSA]
RewriteRule ^(activate|license-api)\.php$ auth/$1.php [L,QSA]
RewriteRule ^(article|cat|tag|tool|tools|toolbox|search|news|prompts|prompt|rank|links|submit|jump|donate|enterprise|chat|notify|fav|favs|login|logout|register|forgot|send_code|vip|points|privacy|terms|rss|sitemap|slide_captcha|ajax_autocomplete|adbuy|adstat|poll_orders|uc|uc_browse|uc_invite|uc_msgs|uc_orders|uc_password|uc_points|uc_profile|uc_receipt|uc_redeem|uc_submits|uc_upload_avatar)\.php$ page/$1.php [L,QSA]