小程序页面优化(门店)

This commit is contained in:
2026-07-22 17:56:25 +08:00
parent b392c28787
commit addfcfb0b1
5 changed files with 345 additions and 71 deletions
@@ -24,6 +24,16 @@ export class PublicStoreController {
}
}
@Controller('store-categories')
export class PublicStoreCategoriesController {
constructor(private readonly categories: StoreCategoryService) {}
@Get()
list() {
return this.categories.listTree({ includeDisabled: false, ensure: true });
}
}
@Controller('partner/store-categories')
@UseGuards(JwtAuthGuard)
export class PartnerStoreCategoriesController {
@@ -10,6 +10,7 @@ import {
PartnerReportController,
PartnerStoreCategoriesController,
PartnerStoreController,
PublicStoreCategoriesController,
PublicStoreController,
ShopDashboardController,
ShopStoreController,
@@ -19,6 +20,7 @@ import {
imports: [IamModule, AnalyticsModule, CityScopeModule, forwardRef(() => RedeemModule)],
controllers: [
PublicStoreController,
PublicStoreCategoriesController,
PartnerStoreCategoriesController,
PartnerStoreController,
PartnerDashboardController,