LiXiaoming 发表于 2025-5-8 21:29:08

网站遇到了点问题,虚心请教大牛Thinkphp

找个懂thinkphp、fastadmin的人帮我写个限流中间件 公司接口被恶意提交塞满了 懂这方面的人可以谈谈  TG: @EvianCloud

kpxyyyy 发表于 2025-5-8 21:31:18

加个限流的脚手架不就行了,我记得tp好像有。<br />
<br />
<br />
<br />
<div align="center">------------低能儿<a href="https://hostloc.com/home.php?mod=space&uid=28792" target="_blank">@wcn</a> aff乞丐<a href="https://hostloc.com/home.php?mod=space&uid=76823" target="_blank">@zhuwo</a> 专属灵位------------<br />
<img id="aimg_cbBv1" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://api.sickgal.com/image/dragon" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /></div>

LiXiaoming 发表于 2025-5-8 21:42:54

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16368832&ptid=1408102" target="_blank"><font color="#999999">kpxyyyy 发表于 2025-5-8 21:31</font></a></font><br />
加个限流的脚手架不就行了,我记得tp好像有。</blockquote></div><br />
就是在我默认的api模块针对index控制器添加限流中间件就好了

拼命二郎 发表于 2025-5-8 21:31:00

描述给AI,让它给你写

kpxyyyy 发表于 2025-5-8 21:45:31

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16368842&ptid=1408102" target="_blank"><font color="#999999">LiXiaoming 发表于 2025-5-8 21:42</font></a></font><br />
就是在我默认的api模块针对index控制器添加限流中间件就好了</blockquote></div><br />
tg给你发消息你也没回<br />
<br />
<br />
<br />
<div align="center">------------低能儿<a href="https://hostloc.com/home.php?mod=space&uid=28792" target="_blank">@wcn</a> aff乞丐<a href="https://hostloc.com/home.php?mod=space&uid=76823" target="_blank">@zhuwo</a> 专属灵位------------<br />
<img id="aimg_WYsJy" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://api.sickgal.com/image/dragon" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /></div>

kpxyyyy 发表于 2025-5-8 21:45:36

tp5没有设计中间件,建议另开一个项目做API网关。<br />
<br />
<br />
<br />
<div align="center">------------低能儿<a href="https://hostloc.com/home.php?mod=space&uid=28792" target="_blank">@wcn</a> aff乞丐<a href="https://hostloc.com/home.php?mod=space&uid=76823" target="_blank">@zhuwo</a> 专属灵位------------<br />
<img id="aimg_kwI0l" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://api.sickgal.com/image/dragon" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /></div>
页: [1]
查看完整版本: 网站遇到了点问题,虚心请教大牛Thinkphp