feat: add order module
This commit is contained in:
@@ -19,24 +19,10 @@ func (c *Controller) Prepare() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Test godoc
|
||||
//
|
||||
// @Summary Test
|
||||
// @Description Test
|
||||
// @Tags Test
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param id path int true "AccountID"
|
||||
// @Param queryFilter query dto.AlarmListQuery true "AlarmListQueryFilter"
|
||||
// @Param pageFilter query common.PageQueryFilter true "PageQueryFilter"
|
||||
// @Param sortFilter query common.SortQueryFilter true "SortQueryFilter"
|
||||
// @Success 200 {object} common.PageDataResponse{list=dto.AlarmItem}
|
||||
// @Router /v1/test/:id<int> [get]
|
||||
|
||||
// @Router /t/:tenant [get]
|
||||
//
|
||||
// @Bind claim local
|
||||
// @Bind tenant query
|
||||
// @Bind tenant path
|
||||
func (c *Controller) Index(ctx fiber.Ctx, tenant string, claim *jwt.Claims) error {
|
||||
_ctx, span := otel.Start(ctx.Context(), "tenants.controller.index")
|
||||
defer span.End()
|
||||
@@ -50,5 +36,6 @@ func (c *Controller) Index(ctx fiber.Ctx, tenant string, claim *jwt.Claims) erro
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO: render page
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user