💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 接口请求错误的处理方案 在安装站点时,很多伙伴会遇到接口请求错误的提示,如下图: ![](https://img.kancloud.cn/dc/53/dc53647f34ab20218cee379bb28be0a4_1920x911.png) 出现这种提示,就是系统没有配置伪静态,解决方案就是要给部署的网站配置伪静态。 ![](https://img.kancloud.cn/ab/ba/abba669145144e12b88e65b626427fc7_1702x693.png) nginx伪静态 ``` location / {  if (!-e $request_filename) {   rewrite  ^(.*)$ /index.php/$1  last;     break;  } } ``` apache伪静态 ``` <ifModule mod_rewrite.c>   Options +FollowSymlinks -Multiviews   RewriteEngine On   RewriteCond %{REQUEST_FILENAME} !-d   RewriteCond %{REQUEST_FILENAME} !-f   RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]   RewriteEngine on RewriteCond % !^$ </ifModule> ```