企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
> # 1、部署项目代码 ~~~ 1.上传代码 2.修改 根目录config.php 里边得数据库配置 押金收款账户信息 码商前台单通道测试账户和key 网站名字 ~~~ > # 2、添加站点 > > 1.域名输入框,[填写域名www.xxx.com](http://xn--www-y11e65iw1h71a.xxx.com/) > 2.添加数据库,上传sql文件、导入sql > 3.添加伪静态 * * * # 图片注释 ## 添加伪静态 Nginx伪静态: location / { if (!-e $request\_filename) { rewrite ^/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)$ /index.php?$1.$2.$3 last; rewrite ^/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+).do$ /index.php?$1.$2.$3 last; break; } } Apache伪静态: RewriteEngine on RewriteCond %{REQUEST\_FILENAME} !-f RewriteCond %{REQUEST\_URI} !^/css RewriteCond %{REQUEST\_URI} !^/js RewriteCond %{REQUEST\_URI} !^/images RewriteCond %{REQUEST\_URI} !^.*(.css|.js|.gif|.png|.jpg|.jpeg|.xml) #解决重写后接不到问号后面的参数 RewriteCond %{QUERY\_STRING} ^(.*)$ RewriteRule ^(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)$ index.php?$1.$2.$3 \[L,QSA\] RewriteRule ^(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+)/(\[a-zA-Z0-9\_-\]+).do$ index.php?$1.$2.$3 \[L,QSA\]