Kaynağa Gözat

feat 商品模块结构生成

classic_blue 1 ay önce
ebeveyn
işleme
4d04d62474
52 değiştirilmiş dosya ile 858 ekleme ve 0 silme
  1. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/BaseCountryServiceImpl.java
  2. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopAddressServiceImpl.java
  3. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopBannerServiceImpl.java
  4. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCategoryServiceImpl.java
  5. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopComplaintPictureServiceImpl.java
  6. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCountryCurrencyServiceImpl.java
  7. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCountryPayServiceImpl.java
  8. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCurrencyServiceImpl.java
  9. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopFavoriteServiceImpl.java
  10. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopMgLabelServiceImpl.java
  11. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopOpinionServiceImpl.java
  12. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopOpinionTypeServiceImpl.java
  13. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopParametersServiceImpl.java
  14. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopPayServiceImpl.java
  15. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductImageServiceImpl.java
  16. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductParametersServiceImpl.java
  17. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductServiceImpl.java
  18. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductSkuServiceImpl.java
  19. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductSpecServiceImpl.java
  20. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopReviewServiceImpl.java
  21. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSearchRecordsServiceImpl.java
  22. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopServiceChargeServiceImpl.java
  23. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopShoppingCartServiceImpl.java
  24. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSkuSpecValueServiceImpl.java
  25. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSpecServiceImpl.java
  26. 0 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSpecValueServiceImpl.java
  27. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/BaseCountryController.java
  28. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopAddressController.java
  29. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopBannerController.java
  30. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCategoryController.java
  31. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopComplaintPictureController.java
  32. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCountryCurrencyController.java
  33. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCountryPayController.java
  34. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCurrencyController.java
  35. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopFavoriteController.java
  36. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopMgLabelController.java
  37. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopOpinionController.java
  38. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopOpinionTypeController.java
  39. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopParametersController.java
  40. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopPayController.java
  41. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductController.java
  42. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductImageController.java
  43. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductParametersController.java
  44. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductSkuController.java
  45. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductSpecController.java
  46. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopReviewController.java
  47. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSearchRecordsController.java
  48. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopServiceChargeController.java
  49. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopShoppingCartController.java
  50. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSkuSpecValueController.java
  51. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSpecController.java
  52. 33 0
      edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSpecValueController.java

+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/BaseCountryServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/BaseCountryServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopAddressServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopAddressServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopBannerServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopBannerServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopCategoryServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCategoryServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopComplaintPictureServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopComplaintPictureServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopCountryCurrencyServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCountryCurrencyServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopCountryPayServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCountryPayServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopCurrencyServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopCurrencyServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopFavoriteServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopFavoriteServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopMgLabelServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopMgLabelServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopOpinionServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopOpinionServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopOpinionTypeServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopOpinionTypeServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopParametersServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopParametersServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopPayServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopPayServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopProductImageServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductImageServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopProductParametersServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductParametersServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopProductServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopProductSkuServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductSkuServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopProductSpecServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopProductSpecServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopReviewServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopReviewServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopSearchRecordsServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSearchRecordsServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopServiceChargeServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopServiceChargeServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopShoppingCartServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopShoppingCartServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopSkuSpecValueServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSkuSpecValueServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopSpecServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSpecServiceImpl.java


+ 0 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/serviceImpl/ShopSpecValueServiceImpl.java → edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/ShopSpecValueServiceImpl.java


+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/BaseCountryController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.BaseCountry;
+import edu.travel.commodity.serviceImpl.BaseCountryService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 国家表(base_country)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/base_country")
+public class BaseCountryController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private BaseCountryService baseCountryService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public BaseCountry selectOne(Integer id) {
+    return baseCountryService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopAddressController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopAddress;
+import edu.travel.commodity.serviceImpl.ShopAddressService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 地址表(shop_address)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_address")
+public class ShopAddressController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopAddressService shopAddressService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopAddress selectOne(Integer id) {
+    return shopAddressService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopBannerController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopBanner;
+import edu.travel.commodity.serviceImpl.ShopBannerService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 轮播图(shop_banner)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_banner")
+public class ShopBannerController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopBannerService shopBannerService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopBanner selectOne(Integer id) {
+    return shopBannerService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCategoryController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopCategory;
+import edu.travel.commodity.serviceImpl.ShopCategoryService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品类型(shop_category)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_category")
+public class ShopCategoryController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopCategoryService shopCategoryService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopCategory selectOne(Integer id) {
+    return shopCategoryService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopComplaintPictureController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopComplaintPicture;
+import edu.travel.commodity.serviceImpl.ShopComplaintPictureService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 意见图片表(shop_complaint_picture)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_complaint_picture")
+public class ShopComplaintPictureController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopComplaintPictureService shopComplaintPictureService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopComplaintPicture selectOne(Integer id) {
+    return shopComplaintPictureService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCountryCurrencyController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopCountryCurrency;
+import edu.travel.commodity.serviceImpl.ShopCountryCurrencyService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 国家支持的货币(shop_country_currency)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_country_currency")
+public class ShopCountryCurrencyController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopCountryCurrencyService shopCountryCurrencyService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopCountryCurrency selectOne(Integer id) {
+    return shopCountryCurrencyService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCountryPayController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopCountryPay;
+import edu.travel.commodity.serviceImpl.ShopCountryPayService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 支付方式表(shop_country_pay)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_country_pay")
+public class ShopCountryPayController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopCountryPayService shopCountryPayService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopCountryPay selectOne(Integer id) {
+    return shopCountryPayService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopCurrencyController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopCurrency;
+import edu.travel.commodity.serviceImpl.ShopCurrencyService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 货币表(shop_currency)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_currency")
+public class ShopCurrencyController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopCurrencyService shopCurrencyService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopCurrency selectOne(Integer id) {
+    return shopCurrencyService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopFavoriteController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopFavorite;
+import edu.travel.commodity.serviceImpl.ShopFavoriteService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 收藏表(shop_favorite)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_favorite")
+public class ShopFavoriteController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopFavoriteService shopFavoriteService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopFavorite selectOne(Integer id) {
+    return shopFavoriteService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopMgLabelController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopMgLabel;
+import edu.travel.commodity.serviceImpl.ShopMgLabelService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品评论表(shop_mg_label)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_mg_label")
+public class ShopMgLabelController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopMgLabelService shopMgLabelService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopMgLabel selectOne(Integer id) {
+    return shopMgLabelService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopOpinionController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopOpinion;
+import edu.travel.commodity.serviceImpl.ShopOpinionService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 意见表(shop_opinion)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_opinion")
+public class ShopOpinionController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopOpinionService shopOpinionService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopOpinion selectOne(Integer id) {
+    return shopOpinionService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopOpinionTypeController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopOpinionType;
+import edu.travel.commodity.serviceImpl.ShopOpinionTypeService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 意见类型(shop_opinion_type)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_opinion_type")
+public class ShopOpinionTypeController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopOpinionTypeService shopOpinionTypeService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopOpinionType selectOne(Integer id) {
+    return shopOpinionTypeService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopParametersController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopParameters;
+import edu.travel.commodity.serviceImpl.ShopParametersService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品参数(shop_parameters)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_parameters")
+public class ShopParametersController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopParametersService shopParametersService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopParameters selectOne(Integer id) {
+    return shopParametersService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopPayController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopPay;
+import edu.travel.commodity.serviceImpl.ShopPayService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 支付方式表(shop_pay)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_pay")
+public class ShopPayController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopPayService shopPayService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopPay selectOne(Integer id) {
+    return shopPayService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopProduct;
+import edu.travel.commodity.serviceImpl.ShopProductService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品表(shop_product)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_product")
+public class ShopProductController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopProductService shopProductService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopProduct selectOne(Integer id) {
+    return shopProductService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductImageController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopProductImage;
+import edu.travel.commodity.serviceImpl.ShopProductImageService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品图片表(shop_product_image)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_product_image")
+public class ShopProductImageController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopProductImageService shopProductImageService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopProductImage selectOne(Integer id) {
+    return shopProductImageService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductParametersController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopProductParameters;
+import edu.travel.commodity.serviceImpl.ShopProductParametersService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品参数值(shop_product_parameters)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_product_parameters")
+public class ShopProductParametersController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopProductParametersService shopProductParametersService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopProductParameters selectOne(Integer id) {
+    return shopProductParametersService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductSkuController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopProductSku;
+import edu.travel.commodity.serviceImpl.ShopProductSkuService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品SKU表(shop_product_sku)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_product_sku")
+public class ShopProductSkuController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopProductSkuService shopProductSkuService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopProductSku selectOne(Integer id) {
+    return shopProductSkuService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopProductSpecController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopProductSpec;
+import edu.travel.commodity.serviceImpl.ShopProductSpecService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品规格表(shop_product_spec)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_product_spec")
+public class ShopProductSpecController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopProductSpecService shopProductSpecService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopProductSpec selectOne(Integer id) {
+    return shopProductSpecService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopReviewController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopReview;
+import edu.travel.commodity.serviceImpl.ShopReviewService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 商品评论表(shop_review)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_review")
+public class ShopReviewController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopReviewService shopReviewService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopReview selectOne(Integer id) {
+    return shopReviewService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSearchRecordsController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopSearchRecords;
+import edu.travel.commodity.serviceImpl.ShopSearchRecordsService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 列表搜索记录表(shop_search_records)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_search_records")
+public class ShopSearchRecordsController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopSearchRecordsService shopSearchRecordsService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopSearchRecords selectOne(Integer id) {
+    return shopSearchRecordsService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopServiceChargeController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopServiceCharge;
+import edu.travel.commodity.serviceImpl.ShopServiceChargeService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 服务费(shop_service_charge)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_service_charge")
+public class ShopServiceChargeController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopServiceChargeService shopServiceChargeService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopServiceCharge selectOne(Integer id) {
+    return shopServiceChargeService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopShoppingCartController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopShoppingCart;
+import edu.travel.commodity.serviceImpl.ShopShoppingCartService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 购物车表(shop_shopping_cart)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_shopping_cart")
+public class ShopShoppingCartController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopShoppingCartService shopShoppingCartService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopShoppingCart selectOne(Integer id) {
+    return shopShoppingCartService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSkuSpecValueController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopSkuSpecValue;
+import edu.travel.commodity.serviceImpl.ShopSkuSpecValueService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* SKU规格值关联表(shop_sku_spec_value)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_sku_spec_value")
+public class ShopSkuSpecValueController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopSkuSpecValueService shopSkuSpecValueService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopSkuSpecValue selectOne(Integer id) {
+    return shopSkuSpecValueService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSpecController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopSpec;
+import edu.travel.commodity.serviceImpl.ShopSpecService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 规格表(shop_spec)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_spec")
+public class ShopSpecController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopSpecService shopSpecService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopSpec selectOne(Integer id) {
+    return shopSpecService.selectByPrimaryKey(id);
+    }
+
+}

+ 33 - 0
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/ShopSpecValueController.java

@@ -0,0 +1,33 @@
+package edu.travel.commodity.web;
+import edu.travel.commodity.entity.ShopSpecValue;
+import edu.travel.commodity.serviceImpl.ShopSpecValueService;
+import org.springframework.web.bind.annotation.*;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+* 规格值表(shop_spec_value)表控制层
+*
+* @author xxxxx
+*/
+@RestController
+@RequestMapping("/shop_spec_value")
+public class ShopSpecValueController {
+/**
+* 服务对象
+*/
+    @Autowired
+    private ShopSpecValueService shopSpecValueService;
+
+    /**
+    * 通过主键查询单条数据
+    *
+    * @param id 主键
+    * @return 单条数据
+    */
+    @GetMapping("selectOne")
+    public ShopSpecValue selectOne(Integer id) {
+    return shopSpecValueService.selectByPrimaryKey(id);
+    }
+
+}