mtkh/idempotency-handler

基于特定超时时间阻止并发/重复请求

v1.0.0 2021-11-29 17:37 UTC

This package is not auto-updated.

Last update: 2024-10-01 07:06:53 UTC


README

使用此包,您可以根据特定时间阻止执行特定操作的重复/并发请求。

如何使用?

  • 使用php artisan vendor: publish --tag=idempotency发布idempotency配置。
  • 您必须根据项目中每个路由配置此文件。
  • 在您想要的路上设置Idempotency中间件。