feat : coupon

This commit is contained in:
2025-03-19 11:23:54 +08:00
parent 67dc58e90b
commit 785d27fe7b
5 changed files with 329 additions and 136 deletions

View File

@@ -8,6 +8,7 @@ use App\Controller\AbstractController;
use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\Coupon\CouponListService;
use App\Service\Api\Coupon\HomePopupsService;
use App\Service\Api\Coupon\ReceiveService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
use Hyperf\HttpServer\Annotation\RequestMapping;
@@ -29,6 +30,11 @@ class CouponController extends AbstractController
return (new HomePopupsService)->handle();
}
public function receiveCoupon()
{
return (new ReceiveService)->handle();
}
/**
* @return array
*/