Commit d39f9250 by 刘宇峰

修改接口

1 parent af83b09c
...@@ -20,7 +20,7 @@ import java.util.List; ...@@ -20,7 +20,7 @@ import java.util.List;
@Slf4j @Slf4j
@Tag(name = "基础数据Api接口") @Tag(name = "基础数据Api接口")
@RestController @RestController
@RequestMapping(value = "/api/basedata") @RequestMapping(value = "/api/")
@ResponseResultBody @ResponseResultBody
public class BaseDataApiController implements ShopmallBaseDataApiService { public class BaseDataApiController implements ShopmallBaseDataApiService {
......
...@@ -21,7 +21,7 @@ import java.util.List; ...@@ -21,7 +21,7 @@ import java.util.List;
@Slf4j @Slf4j
@Tag(name = "商品数据Api接口") @Tag(name = "商品数据Api接口")
@RestController @RestController
@RequestMapping(value = "/api/goods") @RequestMapping(value = "/api/")
@ResponseResultBody @ResponseResultBody
public class GoodsApiController implements ShopmallGoodsApiService { public class GoodsApiController implements ShopmallGoodsApiService {
......
...@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
@Tag(name = "售后订单数据Api接口") @Tag(name = "售后订单数据Api接口")
@RestController @RestController
@RequestMapping(value = "/api/aftersalesorder") @RequestMapping(value = "/api/")
@ResponseResultBody @ResponseResultBody
public class OrderAfterSalesApiController implements ShopmallAfterSalesOrderApiService { public class OrderAfterSalesApiController implements ShopmallAfterSalesOrderApiService {
......
...@@ -9,16 +9,15 @@ import io.swagger.v3.oas.annotations.Operation; ...@@ -9,16 +9,15 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.SpringQueryMap; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid; import javax.validation.Valid;
@Slf4j @Slf4j
@Tag(name = "订单数据Api接口") @Tag(name = "订单数据Api接口")
@RestController @RestController
@RequestMapping(value = "/api/order") @RequestMapping(value = "/api/")
@ResponseResultBody @ResponseResultBody
public class OrderApiController implements ShopmallOrderApiService { 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!