feat: 添加租户创建功能,支持设置管理员及有效期,新增订单统计接口

This commit is contained in:
2025-12-23 23:03:49 +08:00
parent d09a9374ee
commit bcb8c822f1
15 changed files with 377 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
package super
import (
"quyun/v2/app/http/super/dto"
"quyun/v2/app/services"
"github.com/gofiber/fiber/v3"
)
// @provider
type order struct{}
// statistics
//
// @Summary 订单统计信息
// @Tags Super
// @Accept json
// @Produce json
// @Success 200 {object} dto.OrderStatisticsResponse
//
// @Router /super/v1/orders/statistics [get]
func (*order) statistics(ctx fiber.Ctx) (*dto.OrderStatisticsResponse, error) {
return services.Order.SuperStatistics(ctx)
}