From c67c3be16c4a9aa7c6617d43da886850d717a009 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 07 Nov 2025 14:38:26 +0800
Subject: [PATCH] 商品门店匿名访问
---
oying-system/src/main/java/com/oying/modules/pc/category/rest/PlatformCategoryCustomerController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/rest/PlatformCategoryCustomerController.java b/oying-system/src/main/java/com/oying/modules/pc/category/rest/PlatformCategoryCustomerController.java
index ef2292b..1df911e 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/category/rest/PlatformCategoryCustomerController.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/category/rest/PlatformCategoryCustomerController.java
@@ -1,5 +1,6 @@
package com.oying.modules.pc.category.rest;
+import com.oying.annotation.rest.AnonymousGetMapping;
import com.oying.modules.pc.category.converter.PlatformCategoryViewAssembler;
import com.oying.modules.pc.category.domain.PlatformCategory;
import com.oying.modules.pc.category.domain.enums.PlatformCategoryEnum;
@@ -11,7 +12,6 @@
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -31,7 +31,7 @@
private final PlatformCategoryService categoryService;
private final PlatformCategoryViewAssembler assembler;
- @GetMapping("/list")
+ @AnonymousGetMapping("/list")
@ApiOperation("查询平台类目")
//@PreAuthorize("@el.check('customer:platformCategory:list')")
public ResponseEntity<?> queryPlatformCategory() {
--
Gitblit v1.9.3