f5343281a3
- Logout: clear device sessions on logout - User info: return expiry/balance based on billing type - Avatar upload: support jpg/png/gif/webp, max 2MB - App tickets: create, reply, close tickets for app users - Add ClosedAt field to Ticket model Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
18 lines
273 B
Go
18 lines
273 B
Go
package app
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func SetupRoutes(r *gin.RouterGroup) {
|
|
SetupPaymentRoutes(r)
|
|
SetupAccountRoutes(r)
|
|
SetupDynamicRoutes(r)
|
|
SetupUserRoutes(r)
|
|
SetupTicketRoutes(r)
|
|
}
|
|
|
|
func SetupAuthRoutes(r *gin.RouterGroup) {
|
|
SetupDeviceRoutes(r)
|
|
}
|