修复逻辑问题

This commit is contained in:
2026-04-15 16:56:24 +08:00
parent b8c8c7d7b1
commit 9b3546b45f
23 changed files with 331 additions and 161 deletions

View File

@@ -35,11 +35,6 @@ type AllProductsByAdminReq struct {
}
func AllProduct(c *fiber.Ctx) error {
_, err := auth.GetAuthCtx(c).PermitUser()
if err != nil {
return err
}
infos, err := s.Product.AllProductSaleInfos()
if err != nil {
return err