优化申诉仲裁流程和证据展示
This commit is contained in:
@@ -348,6 +348,7 @@ func New(cfg config.Config, deps Dependencies, logger *zap.Logger) *gin.Engine {
|
||||
orderRoutes.POST("/:id/checkout/counter", orderHandler.CounterCheckout)
|
||||
orderRoutes.POST("/:id/checkout/accept", orderHandler.AcceptCheckout)
|
||||
orderRoutes.POST("/:id/dispute", disputeHandler.Create)
|
||||
orderRoutes.POST("/:id/dispute/cancel", disputeHandler.CancelByOrder)
|
||||
orderRoutes.GET("/:id/refund-status", paymentHandler.QueryRefundStatus)
|
||||
}
|
||||
|
||||
@@ -355,6 +356,7 @@ func New(cfg config.Config, deps Dependencies, logger *zap.Logger) *gin.Engine {
|
||||
{
|
||||
disputeRoutes.GET("", disputeHandler.List)
|
||||
disputeRoutes.GET("/:id", disputeHandler.Detail)
|
||||
disputeRoutes.POST("/:id/cancel", disputeHandler.Cancel)
|
||||
}
|
||||
|
||||
walletRoutes := api.Group("/wallet", requireAuth)
|
||||
|
||||
Reference in New Issue
Block a user