wangming 8 uur geleden
bovenliggende
commit
faa8c07125

+ 22 - 0
yami-shop-platform/src/main/java/com/yami/shop/platform/controller/SMOrderController.java

@@ -0,0 +1,22 @@
+package com.yami.shop.platform.controller;
+
+import com.yami.shop.service.OrderItemService;
+import com.yami.shop.service.OrderService;
+import com.yami.shop.service.hb.IHBOrderService;
+import lombok.AllArgsConstructor;
+import lombok.extern.log4j.Log4j2;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/sm/order")
+@AllArgsConstructor
+@Log4j2
+public class SMOrderController {
+
+    private final OrderService orderService;
+    private final OrderItemService orderItemService;
+    private final IHBOrderService hbOrderService;
+
+
+}

+ 1 - 0
yami-shop-security/yami-shop-security-platform/src/main/java/com/yami/shop/security/platform/config/ResourceServerConfiguration.java

@@ -66,6 +66,7 @@ public class ResourceServerConfiguration extends ResourceServerConfigurerAdapter
                     "/admin/enterprise/downloadErrorExcel",
                     "/admin/enterprise/downloadErrorExcel",
                     "/admin/enterprise/export",
                     "/admin/enterprise/export",
                     "/platform/sku/**",
                     "/platform/sku/**",
+                    "/sm/order/**",
                     "/captcha.jpg").permitAll()
                     "/captcha.jpg").permitAll()
             .and()
             .and()
             .authorizeRequests()
             .authorizeRequests()