fix(payment): restore public resume and result flows
This commit is contained in:
@@ -44,9 +44,9 @@ func RegisterPaymentRoutes(
|
||||
}
|
||||
|
||||
// --- Public payment endpoints (no auth) ---
|
||||
// Signed resume-token recovery is the supported public lookup path.
|
||||
// The legacy anonymous out_trade_no verify endpoint is kept only as a
|
||||
// compatibility shim that returns HTTP 410 Gone.
|
||||
// Signed resume-token recovery is the preferred public lookup path.
|
||||
// The legacy anonymous out_trade_no verify endpoint remains available as a
|
||||
// persisted-state compatibility path for staggered upgrades.
|
||||
public := v1.Group("/payment/public")
|
||||
{
|
||||
public.POST("/orders/verify", paymentHandler.VerifyOrderPublic)
|
||||
|
||||
Reference in New Issue
Block a user