<?php declare(strict_types=1); // API路由 // 路由前缀: /api/wechatpay // // 如果需要登录请添加认证中间件auth // ->middleware(['auth'])