Commit d39f9250 by 刘宇峰

修改接口

1 parent af83b09c
......@@ -20,7 +20,7 @@ import java.util.List;
@Slf4j
@Tag(name = "基础数据Api接口")
@RestController
@RequestMapping(value = "/api/basedata")
@RequestMapping(value = "/api/")
@ResponseResultBody
public class BaseDataApiController implements ShopmallBaseDataApiService {
......
......@@ -21,7 +21,7 @@ import java.util.List;
@Slf4j
@Tag(name = "商品数据Api接口")
@RestController
@RequestMapping(value = "/api/goods")
@RequestMapping(value = "/api/")
@ResponseResultBody
public class GoodsApiController implements ShopmallGoodsApiService {
......
......@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j
@Tag(name = "售后订单数据Api接口")
@RestController
@RequestMapping(value = "/api/aftersalesorder")
@RequestMapping(value = "/api/")
@ResponseResultBody
public class OrderAfterSalesApiController implements ShopmallAfterSalesOrderApiService {
......
......@@ -9,16 +9,15 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.Valid;
@Slf4j
@Tag(name = "订单数据Api接口")
@RestController
@RequestMapping(value = "/api/order")
@RequestMapping(value = "/api/")
@ResponseResultBody
public class OrderApiController implements ShopmallOrderApiService {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!