diff --git a/gulimall-coupon/pom.xml b/gulimall-coupon/pom.xml
index 5193f0622921b8c45c0a15876b32b79a25588d38..ea01519cec7dcbc513db6fff257866577fd99ea7 100644
--- a/gulimall-coupon/pom.xml
+++ b/gulimall-coupon/pom.xml
@@ -8,7 +8,7 @@
2.3.5.RELEASE
- com.coupon.gulimall
+ com.forth.gulimall
gulimall-coupon
0.0.1-SNAPSHOT
gulimall-coupon
@@ -16,7 +16,7 @@
1.8
- Hoxton.SR9
+ Hoxton.SR8
diff --git a/gulimall-coupon/src/main/java/com/coupon/gulimall/coupon/GulimallCouponApplication.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/GulimallCouponApplication.java
similarity index 57%
rename from gulimall-coupon/src/main/java/com/coupon/gulimall/coupon/GulimallCouponApplication.java
rename to gulimall-coupon/src/main/java/com/forth/gulimall/coupon/GulimallCouponApplication.java
index b5e9f5d1d9dd4f8ef4fc33d5797c5ff167131f9c..b19ce61d88aca77533b2b7839b4ff639f11f287d 100644
--- a/gulimall-coupon/src/main/java/com/coupon/gulimall/coupon/GulimallCouponApplication.java
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/GulimallCouponApplication.java
@@ -1,8 +1,12 @@
-package com.coupon.gulimall.coupon;
+package com.forth.gulimall.coupon;
+import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+@EnableDiscoveryClient
+@MapperScan("com.forth.gulimall.coupon.dao")
@SpringBootApplication
public class GulimallCouponApplication {
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponController.java
new file mode 100644
index 0000000000000000000000000000000000000000..39f10f8419e5500dee4e77f8d90f59c943caa0df
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.CouponEntity;
+import com.forth.gulimall.coupon.service.CouponService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 优惠券信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/coupon")
+public class CouponController {
+ @Autowired
+ private CouponService couponService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:coupon:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = couponService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:coupon:info")
+ public R info(@PathVariable("id") Long id){
+ CouponEntity coupon = couponService.getById(id);
+
+ return R.ok().put("coupon", coupon);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:coupon:save")
+ public R save(@RequestBody CouponEntity coupon){
+ couponService.save(coupon);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:coupon:update")
+ public R update(@RequestBody CouponEntity coupon){
+ couponService.updateById(coupon);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:coupon:delete")
+ public R delete(@RequestBody Long[] ids){
+ couponService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponHistoryController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponHistoryController.java
new file mode 100644
index 0000000000000000000000000000000000000000..aff008e062975c35a61a4b06dcccd371178ce434
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponHistoryController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.CouponHistoryEntity;
+import com.forth.gulimall.coupon.service.CouponHistoryService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 优惠券领取历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/couponhistory")
+public class CouponHistoryController {
+ @Autowired
+ private CouponHistoryService couponHistoryService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:couponhistory:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = couponHistoryService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:couponhistory:info")
+ public R info(@PathVariable("id") Long id){
+ CouponHistoryEntity couponHistory = couponHistoryService.getById(id);
+
+ return R.ok().put("couponHistory", couponHistory);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:couponhistory:save")
+ public R save(@RequestBody CouponHistoryEntity couponHistory){
+ couponHistoryService.save(couponHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:couponhistory:update")
+ public R update(@RequestBody CouponHistoryEntity couponHistory){
+ couponHistoryService.updateById(couponHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:couponhistory:delete")
+ public R delete(@RequestBody Long[] ids){
+ couponHistoryService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuCategoryRelationController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuCategoryRelationController.java
new file mode 100644
index 0000000000000000000000000000000000000000..db234033704aea0f0bf20861f94d587d985d42d3
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuCategoryRelationController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.CouponSpuCategoryRelationEntity;
+import com.forth.gulimall.coupon.service.CouponSpuCategoryRelationService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 优惠券分类关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/couponspucategoryrelation")
+public class CouponSpuCategoryRelationController {
+ @Autowired
+ private CouponSpuCategoryRelationService couponSpuCategoryRelationService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:couponspucategoryrelation:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = couponSpuCategoryRelationService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:couponspucategoryrelation:info")
+ public R info(@PathVariable("id") Long id){
+ CouponSpuCategoryRelationEntity couponSpuCategoryRelation = couponSpuCategoryRelationService.getById(id);
+
+ return R.ok().put("couponSpuCategoryRelation", couponSpuCategoryRelation);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:couponspucategoryrelation:save")
+ public R save(@RequestBody CouponSpuCategoryRelationEntity couponSpuCategoryRelation){
+ couponSpuCategoryRelationService.save(couponSpuCategoryRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:couponspucategoryrelation:update")
+ public R update(@RequestBody CouponSpuCategoryRelationEntity couponSpuCategoryRelation){
+ couponSpuCategoryRelationService.updateById(couponSpuCategoryRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:couponspucategoryrelation:delete")
+ public R delete(@RequestBody Long[] ids){
+ couponSpuCategoryRelationService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuRelationController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuRelationController.java
new file mode 100644
index 0000000000000000000000000000000000000000..654c54c530cb90dabfccb5502328a359f6103789
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/CouponSpuRelationController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.CouponSpuRelationEntity;
+import com.forth.gulimall.coupon.service.CouponSpuRelationService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 优惠券与产品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:51
+ */
+@RestController
+@RequestMapping("coupon/couponspurelation")
+public class CouponSpuRelationController {
+ @Autowired
+ private CouponSpuRelationService couponSpuRelationService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:couponspurelation:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = couponSpuRelationService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:couponspurelation:info")
+ public R info(@PathVariable("id") Long id){
+ CouponSpuRelationEntity couponSpuRelation = couponSpuRelationService.getById(id);
+
+ return R.ok().put("couponSpuRelation", couponSpuRelation);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:couponspurelation:save")
+ public R save(@RequestBody CouponSpuRelationEntity couponSpuRelation){
+ couponSpuRelationService.save(couponSpuRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:couponspurelation:update")
+ public R update(@RequestBody CouponSpuRelationEntity couponSpuRelation){
+ couponSpuRelationService.updateById(couponSpuRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:couponspurelation:delete")
+ public R delete(@RequestBody Long[] ids){
+ couponSpuRelationService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeAdvController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeAdvController.java
new file mode 100644
index 0000000000000000000000000000000000000000..b0db7b9e930609baa865f57b7ac6a036f60af3de
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeAdvController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.HomeAdvEntity;
+import com.forth.gulimall.coupon.service.HomeAdvService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 首页轮播广告
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/homeadv")
+public class HomeAdvController {
+ @Autowired
+ private HomeAdvService homeAdvService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:homeadv:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = homeAdvService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:homeadv:info")
+ public R info(@PathVariable("id") Long id){
+ HomeAdvEntity homeAdv = homeAdvService.getById(id);
+
+ return R.ok().put("homeAdv", homeAdv);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:homeadv:save")
+ public R save(@RequestBody HomeAdvEntity homeAdv){
+ homeAdvService.save(homeAdv);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:homeadv:update")
+ public R update(@RequestBody HomeAdvEntity homeAdv){
+ homeAdvService.updateById(homeAdv);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:homeadv:delete")
+ public R delete(@RequestBody Long[] ids){
+ homeAdvService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectController.java
new file mode 100644
index 0000000000000000000000000000000000000000..ac797e24d03365e9dd75612bce7fd3cdcc5b72da
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.HomeSubjectEntity;
+import com.forth.gulimall.coupon.service.HomeSubjectService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/homesubject")
+public class HomeSubjectController {
+ @Autowired
+ private HomeSubjectService homeSubjectService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:homesubject:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = homeSubjectService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:homesubject:info")
+ public R info(@PathVariable("id") Long id){
+ HomeSubjectEntity homeSubject = homeSubjectService.getById(id);
+
+ return R.ok().put("homeSubject", homeSubject);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:homesubject:save")
+ public R save(@RequestBody HomeSubjectEntity homeSubject){
+ homeSubjectService.save(homeSubject);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:homesubject:update")
+ public R update(@RequestBody HomeSubjectEntity homeSubject){
+ homeSubjectService.updateById(homeSubject);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:homesubject:delete")
+ public R delete(@RequestBody Long[] ids){
+ homeSubjectService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectSpuController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectSpuController.java
new file mode 100644
index 0000000000000000000000000000000000000000..cc99980bf8d6069f2fb56e3e6e61ec9e48bc3695
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/HomeSubjectSpuController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.HomeSubjectSpuEntity;
+import com.forth.gulimall.coupon.service.HomeSubjectSpuService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 专题商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/homesubjectspu")
+public class HomeSubjectSpuController {
+ @Autowired
+ private HomeSubjectSpuService homeSubjectSpuService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:homesubjectspu:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = homeSubjectSpuService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:homesubjectspu:info")
+ public R info(@PathVariable("id") Long id){
+ HomeSubjectSpuEntity homeSubjectSpu = homeSubjectSpuService.getById(id);
+
+ return R.ok().put("homeSubjectSpu", homeSubjectSpu);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:homesubjectspu:save")
+ public R save(@RequestBody HomeSubjectSpuEntity homeSubjectSpu){
+ homeSubjectSpuService.save(homeSubjectSpu);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:homesubjectspu:update")
+ public R update(@RequestBody HomeSubjectSpuEntity homeSubjectSpu){
+ homeSubjectSpuService.updateById(homeSubjectSpu);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:homesubjectspu:delete")
+ public R delete(@RequestBody Long[] ids){
+ homeSubjectSpuService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/MemberPriceController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/MemberPriceController.java
new file mode 100644
index 0000000000000000000000000000000000000000..ab427d3cecfb5b3b29f941fcd1110f7749548d88
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/MemberPriceController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.MemberPriceEntity;
+import com.forth.gulimall.coupon.service.MemberPriceService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 商品会员价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/memberprice")
+public class MemberPriceController {
+ @Autowired
+ private MemberPriceService memberPriceService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:memberprice:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberPriceService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:memberprice:info")
+ public R info(@PathVariable("id") Long id){
+ MemberPriceEntity memberPrice = memberPriceService.getById(id);
+
+ return R.ok().put("memberPrice", memberPrice);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:memberprice:save")
+ public R save(@RequestBody MemberPriceEntity memberPrice){
+ memberPriceService.save(memberPrice);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:memberprice:update")
+ public R update(@RequestBody MemberPriceEntity memberPrice){
+ memberPriceService.updateById(memberPrice);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:memberprice:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberPriceService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillPromotionController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillPromotionController.java
new file mode 100644
index 0000000000000000000000000000000000000000..7a76e2ec6f98a2824c952d2b67dbbedc3b7dee2c
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillPromotionController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SeckillPromotionEntity;
+import com.forth.gulimall.coupon.service.SeckillPromotionService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 秒杀活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/seckillpromotion")
+public class SeckillPromotionController {
+ @Autowired
+ private SeckillPromotionService seckillPromotionService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:seckillpromotion:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = seckillPromotionService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:seckillpromotion:info")
+ public R info(@PathVariable("id") Long id){
+ SeckillPromotionEntity seckillPromotion = seckillPromotionService.getById(id);
+
+ return R.ok().put("seckillPromotion", seckillPromotion);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:seckillpromotion:save")
+ public R save(@RequestBody SeckillPromotionEntity seckillPromotion){
+ seckillPromotionService.save(seckillPromotion);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:seckillpromotion:update")
+ public R update(@RequestBody SeckillPromotionEntity seckillPromotion){
+ seckillPromotionService.updateById(seckillPromotion);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:seckillpromotion:delete")
+ public R delete(@RequestBody Long[] ids){
+ seckillPromotionService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSessionController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSessionController.java
new file mode 100644
index 0000000000000000000000000000000000000000..0582bf2a8fed51d8c18fcb6ac265076a3846a39b
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSessionController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SeckillSessionEntity;
+import com.forth.gulimall.coupon.service.SeckillSessionService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 秒杀活动场次
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/seckillsession")
+public class SeckillSessionController {
+ @Autowired
+ private SeckillSessionService seckillSessionService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:seckillsession:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = seckillSessionService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:seckillsession:info")
+ public R info(@PathVariable("id") Long id){
+ SeckillSessionEntity seckillSession = seckillSessionService.getById(id);
+
+ return R.ok().put("seckillSession", seckillSession);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:seckillsession:save")
+ public R save(@RequestBody SeckillSessionEntity seckillSession){
+ seckillSessionService.save(seckillSession);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:seckillsession:update")
+ public R update(@RequestBody SeckillSessionEntity seckillSession){
+ seckillSessionService.updateById(seckillSession);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:seckillsession:delete")
+ public R delete(@RequestBody Long[] ids){
+ seckillSessionService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuNoticeController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuNoticeController.java
new file mode 100644
index 0000000000000000000000000000000000000000..aa507f64b7e98a9f9285636796790c7ff7fb0c56
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuNoticeController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SeckillSkuNoticeEntity;
+import com.forth.gulimall.coupon.service.SeckillSkuNoticeService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 秒杀商品通知订阅
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/seckillskunotice")
+public class SeckillSkuNoticeController {
+ @Autowired
+ private SeckillSkuNoticeService seckillSkuNoticeService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:seckillskunotice:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = seckillSkuNoticeService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:seckillskunotice:info")
+ public R info(@PathVariable("id") Long id){
+ SeckillSkuNoticeEntity seckillSkuNotice = seckillSkuNoticeService.getById(id);
+
+ return R.ok().put("seckillSkuNotice", seckillSkuNotice);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:seckillskunotice:save")
+ public R save(@RequestBody SeckillSkuNoticeEntity seckillSkuNotice){
+ seckillSkuNoticeService.save(seckillSkuNotice);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:seckillskunotice:update")
+ public R update(@RequestBody SeckillSkuNoticeEntity seckillSkuNotice){
+ seckillSkuNoticeService.updateById(seckillSkuNotice);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:seckillskunotice:delete")
+ public R delete(@RequestBody Long[] ids){
+ seckillSkuNoticeService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuRelationController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuRelationController.java
new file mode 100644
index 0000000000000000000000000000000000000000..fc1d24b13bce46aadaafb4fd2ba3e6d7f3f178bc
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SeckillSkuRelationController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SeckillSkuRelationEntity;
+import com.forth.gulimall.coupon.service.SeckillSkuRelationService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 秒杀活动商品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/seckillskurelation")
+public class SeckillSkuRelationController {
+ @Autowired
+ private SeckillSkuRelationService seckillSkuRelationService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:seckillskurelation:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = seckillSkuRelationService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:seckillskurelation:info")
+ public R info(@PathVariable("id") Long id){
+ SeckillSkuRelationEntity seckillSkuRelation = seckillSkuRelationService.getById(id);
+
+ return R.ok().put("seckillSkuRelation", seckillSkuRelation);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:seckillskurelation:save")
+ public R save(@RequestBody SeckillSkuRelationEntity seckillSkuRelation){
+ seckillSkuRelationService.save(seckillSkuRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:seckillskurelation:update")
+ public R update(@RequestBody SeckillSkuRelationEntity seckillSkuRelation){
+ seckillSkuRelationService.updateById(seckillSkuRelation);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:seckillskurelation:delete")
+ public R delete(@RequestBody Long[] ids){
+ seckillSkuRelationService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuFullReductionController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuFullReductionController.java
new file mode 100644
index 0000000000000000000000000000000000000000..9b480ad295cf790c152f7358e9a6700538760859
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuFullReductionController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SkuFullReductionEntity;
+import com.forth.gulimall.coupon.service.SkuFullReductionService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 商品满减信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@RestController
+@RequestMapping("coupon/skufullreduction")
+public class SkuFullReductionController {
+ @Autowired
+ private SkuFullReductionService skuFullReductionService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:skufullreduction:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = skuFullReductionService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:skufullreduction:info")
+ public R info(@PathVariable("id") Long id){
+ SkuFullReductionEntity skuFullReduction = skuFullReductionService.getById(id);
+
+ return R.ok().put("skuFullReduction", skuFullReduction);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:skufullreduction:save")
+ public R save(@RequestBody SkuFullReductionEntity skuFullReduction){
+ skuFullReductionService.save(skuFullReduction);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:skufullreduction:update")
+ public R update(@RequestBody SkuFullReductionEntity skuFullReduction){
+ skuFullReductionService.updateById(skuFullReduction);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:skufullreduction:delete")
+ public R delete(@RequestBody Long[] ids){
+ skuFullReductionService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuLadderController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuLadderController.java
new file mode 100644
index 0000000000000000000000000000000000000000..4d17624d95cc215ab08c9c86d4bf156eb9e328aa
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SkuLadderController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SkuLadderEntity;
+import com.forth.gulimall.coupon.service.SkuLadderService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 商品阶梯价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/skuladder")
+public class SkuLadderController {
+ @Autowired
+ private SkuLadderService skuLadderService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:skuladder:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = skuLadderService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:skuladder:info")
+ public R info(@PathVariable("id") Long id){
+ SkuLadderEntity skuLadder = skuLadderService.getById(id);
+
+ return R.ok().put("skuLadder", skuLadder);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:skuladder:save")
+ public R save(@RequestBody SkuLadderEntity skuLadder){
+ skuLadderService.save(skuLadder);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:skuladder:update")
+ public R update(@RequestBody SkuLadderEntity skuLadder){
+ skuLadderService.updateById(skuLadder);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:skuladder:delete")
+ public R delete(@RequestBody Long[] ids){
+ skuLadderService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SpuBoundsController.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SpuBoundsController.java
new file mode 100644
index 0000000000000000000000000000000000000000..d47402e29c5f9e51361e45b419e4e00ab2c7c8f1
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/controller/SpuBoundsController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.coupon.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.coupon.entity.SpuBoundsEntity;
+import com.forth.gulimall.coupon.service.SpuBoundsService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 商品spu积分设置
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@RestController
+@RequestMapping("coupon/spubounds")
+public class SpuBoundsController {
+ @Autowired
+ private SpuBoundsService spuBoundsService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("coupon:spubounds:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = spuBoundsService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("coupon:spubounds:info")
+ public R info(@PathVariable("id") Long id){
+ SpuBoundsEntity spuBounds = spuBoundsService.getById(id);
+
+ return R.ok().put("spuBounds", spuBounds);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("coupon:spubounds:save")
+ public R save(@RequestBody SpuBoundsEntity spuBounds){
+ spuBoundsService.save(spuBounds);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("coupon:spubounds:update")
+ public R update(@RequestBody SpuBoundsEntity spuBounds){
+ spuBoundsService.updateById(spuBounds);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("coupon:spubounds:delete")
+ public R delete(@RequestBody Long[] ids){
+ spuBoundsService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..93fba9bfc7133445558118410fccf728c3cbdd90
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.CouponEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 优惠券信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface CouponDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponHistoryDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponHistoryDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..6f0ef7c4333e50b6fdd0553f67102433c198692c
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponHistoryDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.CouponHistoryEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 优惠券领取历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface CouponHistoryDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuCategoryRelationDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuCategoryRelationDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..8045f61ebff5fe94fd8f6d16293dc15e73817256
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuCategoryRelationDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.CouponSpuCategoryRelationEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 优惠券分类关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface CouponSpuCategoryRelationDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuRelationDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuRelationDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..ef1dd0e91c0b526bc3741bb2f0b137c27c97d4fb
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/CouponSpuRelationDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.CouponSpuRelationEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 优惠券与产品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:51
+ */
+@Mapper
+public interface CouponSpuRelationDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeAdvDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeAdvDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..e264135932f4a52db08d683fc57b367705a043af
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeAdvDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.HomeAdvEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 首页轮播广告
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface HomeAdvDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..19ca2db649fd1b42ddcb36627b1a8ffdcf586630
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.HomeSubjectEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface HomeSubjectDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectSpuDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectSpuDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..efe2ed6a7fe31f42bbd974937b1294c5bac03418
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/HomeSubjectSpuDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.HomeSubjectSpuEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 专题商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface HomeSubjectSpuDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/MemberPriceDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/MemberPriceDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..09ff4e43c577aa69889a9ad4ffc45be121afa4e2
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/MemberPriceDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.MemberPriceEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 商品会员价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface MemberPriceDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillPromotionDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillPromotionDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..953ea523fbe82f8762b78f31576e54898eb91b97
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillPromotionDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SeckillPromotionEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 秒杀活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface SeckillPromotionDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSessionDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSessionDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..e0ed8175947eb6127fdeb9e797a53432dd735884
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSessionDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SeckillSessionEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 秒杀活动场次
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface SeckillSessionDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuNoticeDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuNoticeDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..6de09d6a48cc9e74e7de763c7a8e65ee3bc085c3
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuNoticeDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SeckillSkuNoticeEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 秒杀商品通知订阅
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface SeckillSkuNoticeDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuRelationDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuRelationDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..e8faed108bfb97638214095f38811cf5467b2dd6
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SeckillSkuRelationDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SeckillSkuRelationEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 秒杀活动商品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface SeckillSkuRelationDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuFullReductionDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuFullReductionDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..15ad9a071895a5e2a91b7a2da2b2b9bc1db119d7
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuFullReductionDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SkuFullReductionEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 商品满减信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Mapper
+public interface SkuFullReductionDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuLadderDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuLadderDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..0bea2c2d911db25b09b10583915fabece9d8fa77
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SkuLadderDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SkuLadderEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 商品阶梯价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface SkuLadderDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SpuBoundsDao.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SpuBoundsDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..9ef61ffd4e001100daee27f3877d1e3debe22843
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/dao/SpuBoundsDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.coupon.dao;
+
+import com.forth.gulimall.coupon.entity.SpuBoundsEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 商品spu积分设置
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Mapper
+public interface SpuBoundsDao extends BaseMapper {
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..2dddfdfa0ceb9a333b42c02fe0cdc2e7b8132e78
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponEntity.java
@@ -0,0 +1,105 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 优惠券信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_coupon")
+public class CouponEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 优惠卷类型[0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券]
+ */
+ private Integer couponType;
+ /**
+ * 优惠券图片
+ */
+ private String couponImg;
+ /**
+ * 优惠卷名字
+ */
+ private String couponName;
+ /**
+ * 数量
+ */
+ private Integer num;
+ /**
+ * 金额
+ */
+ private BigDecimal amount;
+ /**
+ * 每人限领张数
+ */
+ private Integer perLimit;
+ /**
+ * 使用门槛
+ */
+ private BigDecimal minPoint;
+ /**
+ * 开始时间
+ */
+ private Date startTime;
+ /**
+ * 结束时间
+ */
+ private Date endTime;
+ /**
+ * 使用类型[0->全场通用;1->指定分类;2->指定商品]
+ */
+ private Integer useType;
+ /**
+ * 备注
+ */
+ private String note;
+ /**
+ * 发行数量
+ */
+ private Integer publishCount;
+ /**
+ * 已使用数量
+ */
+ private Integer useCount;
+ /**
+ * 领取数量
+ */
+ private Integer receiveCount;
+ /**
+ * 可以领取的开始日期
+ */
+ private Date enableStartTime;
+ /**
+ * 可以领取的结束日期
+ */
+ private Date enableEndTime;
+ /**
+ * 优惠码
+ */
+ private String code;
+ /**
+ * 可以领取的会员等级[0->不限等级,其他-对应等级]
+ */
+ private Integer memberLevel;
+ /**
+ * 发布状态[0-未发布,1-已发布]
+ */
+ private Integer publish;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponHistoryEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponHistoryEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..d4ce9b8bbf2e76bd1433aa569b32a360faebc0dc
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponHistoryEntity.java
@@ -0,0 +1,64 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 优惠券领取历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_coupon_history")
+public class CouponHistoryEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 优惠券id
+ */
+ private Long couponId;
+ /**
+ * 会员id
+ */
+ private Long memberId;
+ /**
+ * 会员名字
+ */
+ private String memberNickName;
+ /**
+ * 获取方式[0->后台赠送;1->主动领取]
+ */
+ private Integer getType;
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+ /**
+ * 使用状态[0->未使用;1->已使用;2->已过期]
+ */
+ private Integer useType;
+ /**
+ * 使用时间
+ */
+ private Date useTime;
+ /**
+ * 订单id
+ */
+ private Long orderId;
+ /**
+ * 订单号
+ */
+ private Long orderSn;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuCategoryRelationEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuCategoryRelationEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..1f8606d9e57d9cbb005f01593f822b2253df3b7c
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuCategoryRelationEntity.java
@@ -0,0 +1,40 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 优惠券分类关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_coupon_spu_category_relation")
+public class CouponSpuCategoryRelationEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 优惠券id
+ */
+ private Long couponId;
+ /**
+ * 产品分类id
+ */
+ private Long categoryId;
+ /**
+ * 产品分类名称
+ */
+ private String categoryName;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuRelationEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuRelationEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..4d097c0e79d7788cbbdbef1420d1d8fc1eb8bb66
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/CouponSpuRelationEntity.java
@@ -0,0 +1,40 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 优惠券与产品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:51
+ */
+@Data
+@TableName("sms_coupon_spu_relation")
+public class CouponSpuRelationEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 优惠券id
+ */
+ private Long couponId;
+ /**
+ * spu_id
+ */
+ private Long spuId;
+ /**
+ * spu_name
+ */
+ private String spuName;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeAdvEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeAdvEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..2b61bf7633670b81859e4ec59a41eef0a8f3c78a
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeAdvEntity.java
@@ -0,0 +1,72 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 首页轮播广告
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_home_adv")
+public class HomeAdvEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 名字
+ */
+ private String name;
+ /**
+ * 图片地址
+ */
+ private String pic;
+ /**
+ * 开始时间
+ */
+ private Date startTime;
+ /**
+ * 结束时间
+ */
+ private Date endTime;
+ /**
+ * 状态
+ */
+ private Integer status;
+ /**
+ * 点击数
+ */
+ private Integer clickCount;
+ /**
+ * 广告详情连接地址
+ */
+ private String url;
+ /**
+ * 备注
+ */
+ private String note;
+ /**
+ * 排序
+ */
+ private Integer sort;
+ /**
+ * 发布者
+ */
+ private Long publisherId;
+ /**
+ * 审核者
+ */
+ private Long authId;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..bf172cba1915cbb113175d5996c1920493f00879
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectEntity.java
@@ -0,0 +1,56 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_home_subject")
+public class HomeSubjectEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 专题名字
+ */
+ private String name;
+ /**
+ * 专题标题
+ */
+ private String title;
+ /**
+ * 专题副标题
+ */
+ private String subTitle;
+ /**
+ * 显示状态
+ */
+ private Integer status;
+ /**
+ * 详情连接
+ */
+ private String url;
+ /**
+ * 排序
+ */
+ private Integer sort;
+ /**
+ * 专题图片地址
+ */
+ private String img;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectSpuEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectSpuEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..9736f0b8be69c91e69f82ad8052099a22c4e63eb
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/HomeSubjectSpuEntity.java
@@ -0,0 +1,44 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 专题商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_home_subject_spu")
+public class HomeSubjectSpuEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 专题名字
+ */
+ private String name;
+ /**
+ * 专题id
+ */
+ private Long subjectId;
+ /**
+ * spu_id
+ */
+ private Long spuId;
+ /**
+ * 排序
+ */
+ private Integer sort;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/MemberPriceEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/MemberPriceEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..24c965ab1df24ff4ccd92e57ef594ba50a6c594f
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/MemberPriceEntity.java
@@ -0,0 +1,49 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 商品会员价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_member_price")
+public class MemberPriceEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * sku_id
+ */
+ private Long skuId;
+ /**
+ * 会员等级id
+ */
+ private Long memberLevelId;
+ /**
+ * 会员等级名
+ */
+ private String memberLevelName;
+ /**
+ * 会员对应价格
+ */
+ private BigDecimal memberPrice;
+ /**
+ * 可否叠加其他优惠[0-不可叠加优惠,1-可叠加]
+ */
+ private Integer addOther;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillPromotionEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillPromotionEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..0defa645bbc478e330673c9da9b401ea80aa5008
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillPromotionEntity.java
@@ -0,0 +1,52 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 秒杀活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_seckill_promotion")
+public class SeckillPromotionEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 活动标题
+ */
+ private String title;
+ /**
+ * 开始日期
+ */
+ private Date startTime;
+ /**
+ * 结束日期
+ */
+ private Date endTime;
+ /**
+ * 上下线状态
+ */
+ private Integer status;
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+ /**
+ * 创建人
+ */
+ private Long userId;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSessionEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSessionEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..7267d05c1d743886a56aa66cdcb266f589e253d0
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSessionEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 秒杀活动场次
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_seckill_session")
+public class SeckillSessionEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 场次名称
+ */
+ private String name;
+ /**
+ * 每日开始时间
+ */
+ private Date startTime;
+ /**
+ * 每日结束时间
+ */
+ private Date endTime;
+ /**
+ * 启用状态
+ */
+ private Integer status;
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuNoticeEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuNoticeEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..5a5af197ee4b3cda9a198c4ba49d606c0bf47509
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuNoticeEntity.java
@@ -0,0 +1,52 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 秒杀商品通知订阅
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_seckill_sku_notice")
+public class SeckillSkuNoticeEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * sku_id
+ */
+ private Long skuId;
+ /**
+ * 活动场次id
+ */
+ private Long sessionId;
+ /**
+ * 订阅时间
+ */
+ private Date subcribeTime;
+ /**
+ * 发送时间
+ */
+ private Date sendTime;
+ /**
+ * 通知方式[0-短信,1-邮件]
+ */
+ private Integer noticeType;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuRelationEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuRelationEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..58a82a1ef9f2d1f3181fb137762e88d0c0e995cf
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SeckillSkuRelationEntity.java
@@ -0,0 +1,57 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 秒杀活动商品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_seckill_sku_relation")
+public class SeckillSkuRelationEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 活动id
+ */
+ private Long promotionId;
+ /**
+ * 活动场次id
+ */
+ private Long promotionSessionId;
+ /**
+ * 商品id
+ */
+ private Long skuId;
+ /**
+ * 秒杀价格
+ */
+ private BigDecimal seckillPrice;
+ /**
+ * 秒杀总量
+ */
+ private BigDecimal seckillCount;
+ /**
+ * 每人限购数量
+ */
+ private BigDecimal seckillLimit;
+ /**
+ * 排序
+ */
+ private Integer seckillSort;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuFullReductionEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuFullReductionEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..dc51b3900b682f9b1f7884e61d8d46a2e5681e1d
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuFullReductionEntity.java
@@ -0,0 +1,45 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 商品满减信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+@Data
+@TableName("sms_sku_full_reduction")
+public class SkuFullReductionEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * spu_id
+ */
+ private Long skuId;
+ /**
+ * 满多少
+ */
+ private BigDecimal fullPrice;
+ /**
+ * 减多少
+ */
+ private BigDecimal reducePrice;
+ /**
+ * 是否参与其他优惠
+ */
+ private Integer addOther;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuLadderEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuLadderEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..9058347618e804bdbd06ebc999e2828a1cd47d08
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SkuLadderEntity.java
@@ -0,0 +1,49 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 商品阶梯价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_sku_ladder")
+public class SkuLadderEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * spu_id
+ */
+ private Long skuId;
+ /**
+ * 满几件
+ */
+ private Integer fullCount;
+ /**
+ * 打几折
+ */
+ private BigDecimal discount;
+ /**
+ * 折后价
+ */
+ private BigDecimal price;
+ /**
+ * 是否叠加其他优惠[0-不可叠加,1-可叠加]
+ */
+ private Integer addOther;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SpuBoundsEntity.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SpuBoundsEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..1e2ebb91b7263dcfe38f29f43a4f101005f63838
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/entity/SpuBoundsEntity.java
@@ -0,0 +1,45 @@
+package com.forth.gulimall.coupon.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 商品spu积分设置
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+@Data
+@TableName("sms_spu_bounds")
+public class SpuBoundsEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ *
+ */
+ private Long spuId;
+ /**
+ * 成长积分
+ */
+ private BigDecimal growBounds;
+ /**
+ * 购物积分
+ */
+ private BigDecimal buyBounds;
+ /**
+ * 优惠生效情况[1111(四个状态位,从右到左);0 - 无优惠,成长积分是否赠送;1 - 无优惠,购物积分是否赠送;2 - 有优惠,成长积分是否赠送;3 - 有优惠,购物积分是否赠送【状态位0:不赠送,1:赠送】]
+ */
+ private Integer work;
+
+}
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponHistoryService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponHistoryService.java
new file mode 100644
index 0000000000000000000000000000000000000000..53c710df1e9daa039790fcf6400e67208ad606bd
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponHistoryService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.CouponHistoryEntity;
+
+import java.util.Map;
+
+/**
+ * 优惠券领取历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface CouponHistoryService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponService.java
new file mode 100644
index 0000000000000000000000000000000000000000..edad5a212b1721f17827c5e7b1df596d1a705109
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.CouponEntity;
+
+import java.util.Map;
+
+/**
+ * 优惠券信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface CouponService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuCategoryRelationService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuCategoryRelationService.java
new file mode 100644
index 0000000000000000000000000000000000000000..f654bc170c17095b8cd282e5451e7b7f7d62ff88
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuCategoryRelationService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.CouponSpuCategoryRelationEntity;
+
+import java.util.Map;
+
+/**
+ * 优惠券分类关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface CouponSpuCategoryRelationService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuRelationService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuRelationService.java
new file mode 100644
index 0000000000000000000000000000000000000000..43d46fce18fb4c4559e95760b01d280c741b792e
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/CouponSpuRelationService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.CouponSpuRelationEntity;
+
+import java.util.Map;
+
+/**
+ * 优惠券与产品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:51
+ */
+public interface CouponSpuRelationService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeAdvService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeAdvService.java
new file mode 100644
index 0000000000000000000000000000000000000000..e4505226ef7003b7d119687646fa49f6741aba1c
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeAdvService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.HomeAdvEntity;
+
+import java.util.Map;
+
+/**
+ * 首页轮播广告
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface HomeAdvService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectService.java
new file mode 100644
index 0000000000000000000000000000000000000000..f03e64386c06955e86a39cb802ff854256dd799e
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.HomeSubjectEntity;
+
+import java.util.Map;
+
+/**
+ * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface HomeSubjectService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectSpuService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectSpuService.java
new file mode 100644
index 0000000000000000000000000000000000000000..c02776855cca9569d5b2452cee19cc52f12f57ea
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/HomeSubjectSpuService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.HomeSubjectSpuEntity;
+
+import java.util.Map;
+
+/**
+ * 专题商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface HomeSubjectSpuService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/MemberPriceService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/MemberPriceService.java
new file mode 100644
index 0000000000000000000000000000000000000000..ecc73a9472980533158bba83bd9595ce91af38df
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/MemberPriceService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.MemberPriceEntity;
+
+import java.util.Map;
+
+/**
+ * 商品会员价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface MemberPriceService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillPromotionService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillPromotionService.java
new file mode 100644
index 0000000000000000000000000000000000000000..678b0f9074a8208890e511671e2d836b9a07d1f2
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillPromotionService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SeckillPromotionEntity;
+
+import java.util.Map;
+
+/**
+ * 秒杀活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface SeckillPromotionService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSessionService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSessionService.java
new file mode 100644
index 0000000000000000000000000000000000000000..50e2989766df49341849fad1b02e87477b3955b4
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSessionService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SeckillSessionEntity;
+
+import java.util.Map;
+
+/**
+ * 秒杀活动场次
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface SeckillSessionService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuNoticeService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuNoticeService.java
new file mode 100644
index 0000000000000000000000000000000000000000..e007f51cb655075a2832ff36840100687157d892
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuNoticeService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SeckillSkuNoticeEntity;
+
+import java.util.Map;
+
+/**
+ * 秒杀商品通知订阅
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface SeckillSkuNoticeService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuRelationService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuRelationService.java
new file mode 100644
index 0000000000000000000000000000000000000000..366c7fb12c519e9ca742a2de92de1b31940ea006
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SeckillSkuRelationService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SeckillSkuRelationEntity;
+
+import java.util.Map;
+
+/**
+ * 秒杀活动商品关联
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface SeckillSkuRelationService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuFullReductionService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuFullReductionService.java
new file mode 100644
index 0000000000000000000000000000000000000000..24041adea117a63870a8bf1c9491fa486854c136
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuFullReductionService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SkuFullReductionEntity;
+
+import java.util.Map;
+
+/**
+ * 商品满减信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:49
+ */
+public interface SkuFullReductionService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuLadderService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuLadderService.java
new file mode 100644
index 0000000000000000000000000000000000000000..36b576528fbaaade2cd562d11fe5e2c979c0ad40
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SkuLadderService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SkuLadderEntity;
+
+import java.util.Map;
+
+/**
+ * 商品阶梯价格
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface SkuLadderService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SpuBoundsService.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SpuBoundsService.java
new file mode 100644
index 0000000000000000000000000000000000000000..4c697ad23671503099cf13524b877522ec4a4665
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/SpuBoundsService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.coupon.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.coupon.entity.SpuBoundsEntity;
+
+import java.util.Map;
+
+/**
+ * 商品spu积分设置
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 10:16:50
+ */
+public interface SpuBoundsService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponHistoryServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponHistoryServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..e9f6f63487f756b9980dac03ff33c74e7a5dfdbc
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponHistoryServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.CouponHistoryDao;
+import com.forth.gulimall.coupon.entity.CouponHistoryEntity;
+import com.forth.gulimall.coupon.service.CouponHistoryService;
+
+
+@Service("couponHistoryService")
+public class CouponHistoryServiceImpl extends ServiceImpl implements CouponHistoryService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..fba7ec95c728da346b1194204ca29452bfc9b269
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.CouponDao;
+import com.forth.gulimall.coupon.entity.CouponEntity;
+import com.forth.gulimall.coupon.service.CouponService;
+
+
+@Service("couponService")
+public class CouponServiceImpl extends ServiceImpl implements CouponService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..f879c8bc28ed39b0a2e44d1dc8453da5d0ba24ba
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.CouponSpuCategoryRelationDao;
+import com.forth.gulimall.coupon.entity.CouponSpuCategoryRelationEntity;
+import com.forth.gulimall.coupon.service.CouponSpuCategoryRelationService;
+
+
+@Service("couponSpuCategoryRelationService")
+public class CouponSpuCategoryRelationServiceImpl extends ServiceImpl implements CouponSpuCategoryRelationService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuRelationServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuRelationServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..0e5e636053c12aae98dcad5540bbc033016bc3f8
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/CouponSpuRelationServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.CouponSpuRelationDao;
+import com.forth.gulimall.coupon.entity.CouponSpuRelationEntity;
+import com.forth.gulimall.coupon.service.CouponSpuRelationService;
+
+
+@Service("couponSpuRelationService")
+public class CouponSpuRelationServiceImpl extends ServiceImpl implements CouponSpuRelationService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeAdvServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeAdvServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..64007bceec920efc4ea55e8c2e3c7394e8a0b952
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeAdvServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.HomeAdvDao;
+import com.forth.gulimall.coupon.entity.HomeAdvEntity;
+import com.forth.gulimall.coupon.service.HomeAdvService;
+
+
+@Service("homeAdvService")
+public class HomeAdvServiceImpl extends ServiceImpl implements HomeAdvService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..f2f4f8f529654fc48db19f5cb3a4eda364681716
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.HomeSubjectDao;
+import com.forth.gulimall.coupon.entity.HomeSubjectEntity;
+import com.forth.gulimall.coupon.service.HomeSubjectService;
+
+
+@Service("homeSubjectService")
+public class HomeSubjectServiceImpl extends ServiceImpl implements HomeSubjectService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectSpuServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectSpuServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..ba6b4bf1b152a905c46644d63cf483fab5fdd257
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/HomeSubjectSpuServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.HomeSubjectSpuDao;
+import com.forth.gulimall.coupon.entity.HomeSubjectSpuEntity;
+import com.forth.gulimall.coupon.service.HomeSubjectSpuService;
+
+
+@Service("homeSubjectSpuService")
+public class HomeSubjectSpuServiceImpl extends ServiceImpl implements HomeSubjectSpuService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/MemberPriceServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/MemberPriceServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..85bb7eafb800fe797a4cdaf8a74624cad52adfbd
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/MemberPriceServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.MemberPriceDao;
+import com.forth.gulimall.coupon.entity.MemberPriceEntity;
+import com.forth.gulimall.coupon.service.MemberPriceService;
+
+
+@Service("memberPriceService")
+public class MemberPriceServiceImpl extends ServiceImpl implements MemberPriceService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillPromotionServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillPromotionServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..1beca37e73eb15ddfeace753c19642f467ba7829
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillPromotionServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SeckillPromotionDao;
+import com.forth.gulimall.coupon.entity.SeckillPromotionEntity;
+import com.forth.gulimall.coupon.service.SeckillPromotionService;
+
+
+@Service("seckillPromotionService")
+public class SeckillPromotionServiceImpl extends ServiceImpl implements SeckillPromotionService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSessionServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSessionServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..af0ba9fce72a506124eb9bfae150fb6faf10647e
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSessionServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SeckillSessionDao;
+import com.forth.gulimall.coupon.entity.SeckillSessionEntity;
+import com.forth.gulimall.coupon.service.SeckillSessionService;
+
+
+@Service("seckillSessionService")
+public class SeckillSessionServiceImpl extends ServiceImpl implements SeckillSessionService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..a04bc8de9cfb916c6ede8b40de26b5728f9e85a9
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SeckillSkuNoticeDao;
+import com.forth.gulimall.coupon.entity.SeckillSkuNoticeEntity;
+import com.forth.gulimall.coupon.service.SeckillSkuNoticeService;
+
+
+@Service("seckillSkuNoticeService")
+public class SeckillSkuNoticeServiceImpl extends ServiceImpl implements SeckillSkuNoticeService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuRelationServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuRelationServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..b1926dfb650dd550c533fbaae70ca5c803d903c5
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SeckillSkuRelationServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SeckillSkuRelationDao;
+import com.forth.gulimall.coupon.entity.SeckillSkuRelationEntity;
+import com.forth.gulimall.coupon.service.SeckillSkuRelationService;
+
+
+@Service("seckillSkuRelationService")
+public class SeckillSkuRelationServiceImpl extends ServiceImpl implements SeckillSkuRelationService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuFullReductionServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuFullReductionServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..4d3e4b02e58193bd6a01b957a2ffc8add24eb249
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuFullReductionServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SkuFullReductionDao;
+import com.forth.gulimall.coupon.entity.SkuFullReductionEntity;
+import com.forth.gulimall.coupon.service.SkuFullReductionService;
+
+
+@Service("skuFullReductionService")
+public class SkuFullReductionServiceImpl extends ServiceImpl implements SkuFullReductionService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuLadderServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuLadderServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..2ad703269d331d03e3e2407aa87a3c2fc38fa212
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SkuLadderServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SkuLadderDao;
+import com.forth.gulimall.coupon.entity.SkuLadderEntity;
+import com.forth.gulimall.coupon.service.SkuLadderService;
+
+
+@Service("skuLadderService")
+public class SkuLadderServiceImpl extends ServiceImpl implements SkuLadderService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SpuBoundsServiceImpl.java b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SpuBoundsServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..27f2ef7aed24460ac48ba90d0af22c474cc0bc3b
--- /dev/null
+++ b/gulimall-coupon/src/main/java/com/forth/gulimall/coupon/service/impl/SpuBoundsServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.coupon.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.coupon.dao.SpuBoundsDao;
+import com.forth.gulimall.coupon.entity.SpuBoundsEntity;
+import com.forth.gulimall.coupon.service.SpuBoundsService;
+
+
+@Service("spuBoundsService")
+public class SpuBoundsServiceImpl extends ServiceImpl implements SpuBoundsService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/application.properties b/gulimall-coupon/src/main/resources/application.properties
deleted file mode 100644
index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000
--- a/gulimall-coupon/src/main/resources/application.properties
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/gulimall-coupon/src/main/resources/application.yml b/gulimall-coupon/src/main/resources/application.yml
new file mode 100644
index 0000000000000000000000000000000000000000..170739006064079e6343c924a85ffa7dd6b999fe
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/application.yml
@@ -0,0 +1,21 @@
+server:
+ port: 4005
+spring:
+ datasource:
+ username: root
+ password: root
+ url: jdbc:mysql://39.97.249.66:3306/gulimall_sms
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ application:
+ name: coupon
+mybatis-plus:
+ mapper-locations: classpath:/mapper/**/*.xml
+ global-config:
+ db-config:
+ id-type: auto
+
+
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/CouponDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/CouponDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..79b43abbbca211d99bbdc6365dc1a9f5799b5243
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/CouponDao.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ab1d4509277144dbed2c0d7f02bf3cdc1046420c
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ed45b22f022134138d46e0e871fc7d47a6f65619
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..da44ee26786084f6f54743cdd422b8c1b1a40cca
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..883e43146cfbecf050ef4ba52d38e822b9cc064f
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f7cc2b14311872567179a078c077027d42c8b0da
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..0b9d35e283a778d4fd63e8051075b2b5678f10d6
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2e445187649c260b22338de5af7eadac69f32dda
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1c0e83282e29c41fd73f11cadcb5edc45c570f4d
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..97a9b71af001cbb39010e1c5f810896b42ba3eae
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6ad46c02a4da14bd9df846bd8a056e4fad690e01
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..590fe19761f560ee04d00b45412efd0ae726c4ee
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ee00341fe5f69e08b67654858859778bf1052009
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f7c47cc819ef0566b9e2f85a9ffda1553e4d942c
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml b/gulimall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..81482ac4e0cd40738c77c90e3f2536ee76c2be42
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..8a1af997364be9dfeb46d332f628b435118f9bd6
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue
@@ -0,0 +1,246 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue
new file mode 100644
index 0000000000000000000000000000000000000000..8aeadb423a668735b492de8540468ee4f55fc952
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue
@@ -0,0 +1,271 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..f05d4f135bf8fb570e4812723779476997143d3f
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue
new file mode 100644
index 0000000000000000000000000000000000000000..1576a541db8763a100e3cf255e579435111beb2d
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..6a1be43fbdbe5ce7a46493666a50da4e583e1fea
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue
new file mode 100644
index 0000000000000000000000000000000000000000..c8ef56bde53f6e6b2301839803dc8375479352ff
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..b60c2935e8edf01a3e9c8bf760075a135f43c0cb
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue
new file mode 100644
index 0000000000000000000000000000000000000000..60f64b9ae7e3b72facbb47d797dbbbd12c28b974
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..301ad84782490e62f7b4b2b25a30415f2ba07742
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue
new file mode 100644
index 0000000000000000000000000000000000000000..611f49592525d75be1fdadff7ec4756e27e04acc
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..a143b61c353bba5dae39c66f7dbadcf2bb0746fe
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue
new file mode 100644
index 0000000000000000000000000000000000000000..45c9dcdcc000dbfc3527b1a2a183301b5c4164f7
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..5403bbf00911abd1fa74a12f285beb9282ea859d
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue
new file mode 100644
index 0000000000000000000000000000000000000000..8502733bc074642ed7df3867310e93a57319e478
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..19118007b73cbe210301b6377321dc0f2f83630b
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue
new file mode 100644
index 0000000000000000000000000000000000000000..7a7554b8544085796de7fe22ae9ba7e97f1f5f5d
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..6d3004f03a3ed1840ace254fc8b8a16a9194a054
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue
new file mode 100644
index 0000000000000000000000000000000000000000..abe040994ae14921b1f3b5943fde241f79138881
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..35e3c8f42870441eaf9b09a8e3032300f79699fa
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue
new file mode 100644
index 0000000000000000000000000000000000000000..502aa140e1ca195ae872719a3a79bf8bf5faad36
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..ff57a485cbc975ba73b5432082632b3627ea389d
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue
new file mode 100644
index 0000000000000000000000000000000000000000..d802abd11f59d2af096d49589a0b6035e042dcda
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..358fbac2e917eea9919fb822762d9b1a8f58873e
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue
new file mode 100644
index 0000000000000000000000000000000000000000..9f0cf092da50c6f8eca9032877a941bf93d90252
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..021c0f741f7013be0a44dedae3dd3e6359ea574b
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue
new file mode 100644
index 0000000000000000000000000000000000000000..f03cb23be37761a0b37fc5cde6483203591a9866
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..7ee79d9349d92df9981fb59842d6cee295ea4020
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue
new file mode 100644
index 0000000000000000000000000000000000000000..3aa0c70e0a60d86216f493265257d7f138163454
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..cdedb51dda1d1e56e5468e6f41cc13ca998ca3e2
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue b/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue
new file mode 100644
index 0000000000000000000000000000000000000000..75930a59b5227e015a50a4225e394e0b35d2dd73
--- /dev/null
+++ b/gulimall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-coupon/src/test/java/com/coupon/gulimall/coupon/GulimallCouponApplicationTests.java b/gulimall-coupon/src/test/java/com/coupon/gulimall/coupon/GulimallCouponApplicationTests.java
deleted file mode 100644
index aa7dd7a4b606c80662ddb4bfef902f29a8008d4b..0000000000000000000000000000000000000000
--- a/gulimall-coupon/src/test/java/com/coupon/gulimall/coupon/GulimallCouponApplicationTests.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.coupon.gulimall.coupon;
-
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.context.SpringBootTest;
-
-@SpringBootTest
-class GulimallCouponApplicationTests {
-
- @Test
- void contextLoads() {
- }
-
-}
diff --git a/gulimall-coupon/src/test/java/com/forth/gulimall/coupon/GulimallCouponApplicationTests.java b/gulimall-coupon/src/test/java/com/forth/gulimall/coupon/GulimallCouponApplicationTests.java
new file mode 100644
index 0000000000000000000000000000000000000000..1fef888243120b23d193806f498a5f3389240714
--- /dev/null
+++ b/gulimall-coupon/src/test/java/com/forth/gulimall/coupon/GulimallCouponApplicationTests.java
@@ -0,0 +1,23 @@
+package com.forth.gulimall.coupon;
+
+import com.forth.gulimall.coupon.entity.CouponEntity;
+import com.forth.gulimall.coupon.service.CouponService;
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class GulimallCouponApplicationTests {
+
+ @Autowired
+ CouponService couponService;
+
+ @Test
+ void contextLoads() {
+ CouponEntity couponEntity = new CouponEntity();
+ couponEntity.setCode("123456");
+ couponService.save(couponEntity);
+ System.out.println("success");
+ }
+
+}
diff --git a/gulimall-member/pom.xml b/gulimall-member/pom.xml
index 7628078e6a00e9d26cccb7e92eb0a083931ad860..0677a4689d167b2cf0cbd76c137ff94fee26e177 100644
--- a/gulimall-member/pom.xml
+++ b/gulimall-member/pom.xml
@@ -8,7 +8,7 @@
2.3.5.RELEASE
- com.forth.member
+ com.forth.gulimall
gulimall-member
0.0.1-SNAPSHOT
gulimall-member
@@ -16,7 +16,7 @@
1.8
- Hoxton.SR9
+ Hoxton.SR8
diff --git a/gulimall-member/src/main/java/com/forth/member/member/GulimallMemberApplication.java b/gulimall-member/src/main/java/com/forth/gulimall/member/GulimallMemberApplication.java
similarity index 57%
rename from gulimall-member/src/main/java/com/forth/member/member/GulimallMemberApplication.java
rename to gulimall-member/src/main/java/com/forth/gulimall/member/GulimallMemberApplication.java
index a7cf01c303bb29f998511165a9ef1b37af9ad746..e9b69298104bd55413c5f6f37fb1f81d98d72cb4 100644
--- a/gulimall-member/src/main/java/com/forth/member/member/GulimallMemberApplication.java
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/GulimallMemberApplication.java
@@ -1,8 +1,12 @@
-package com.forth.member.member;
+package com.forth.gulimall.member;
+import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+@EnableDiscoveryClient
+@MapperScan("com.forth.gulimall.member.dao")
@SpringBootApplication
public class GulimallMemberApplication {
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/GrowthChangeHistoryController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/GrowthChangeHistoryController.java
new file mode 100644
index 0000000000000000000000000000000000000000..535a2c912d624fff3089e11dfe1e3b932f438921
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/GrowthChangeHistoryController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.GrowthChangeHistoryEntity;
+import com.forth.gulimall.member.service.GrowthChangeHistoryService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 成长值变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@RestController
+@RequestMapping("member/growthchangehistory")
+public class GrowthChangeHistoryController {
+ @Autowired
+ private GrowthChangeHistoryService growthChangeHistoryService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:growthchangehistory:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = growthChangeHistoryService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:growthchangehistory:info")
+ public R info(@PathVariable("id") Long id){
+ GrowthChangeHistoryEntity growthChangeHistory = growthChangeHistoryService.getById(id);
+
+ return R.ok().put("growthChangeHistory", growthChangeHistory);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:growthchangehistory:save")
+ public R save(@RequestBody GrowthChangeHistoryEntity growthChangeHistory){
+ growthChangeHistoryService.save(growthChangeHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:growthchangehistory:update")
+ public R update(@RequestBody GrowthChangeHistoryEntity growthChangeHistory){
+ growthChangeHistoryService.updateById(growthChangeHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:growthchangehistory:delete")
+ public R delete(@RequestBody Long[] ids){
+ growthChangeHistoryService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/IntegrationChangeHistoryController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/IntegrationChangeHistoryController.java
new file mode 100644
index 0000000000000000000000000000000000000000..61d5dc7dcf37d5d3bad9527a963be1d2a81fa2cc
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/IntegrationChangeHistoryController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.IntegrationChangeHistoryEntity;
+import com.forth.gulimall.member.service.IntegrationChangeHistoryService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 积分变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@RestController
+@RequestMapping("member/integrationchangehistory")
+public class IntegrationChangeHistoryController {
+ @Autowired
+ private IntegrationChangeHistoryService integrationChangeHistoryService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:integrationchangehistory:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = integrationChangeHistoryService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:integrationchangehistory:info")
+ public R info(@PathVariable("id") Long id){
+ IntegrationChangeHistoryEntity integrationChangeHistory = integrationChangeHistoryService.getById(id);
+
+ return R.ok().put("integrationChangeHistory", integrationChangeHistory);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:integrationchangehistory:save")
+ public R save(@RequestBody IntegrationChangeHistoryEntity integrationChangeHistory){
+ integrationChangeHistoryService.save(integrationChangeHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:integrationchangehistory:update")
+ public R update(@RequestBody IntegrationChangeHistoryEntity integrationChangeHistory){
+ integrationChangeHistoryService.updateById(integrationChangeHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:integrationchangehistory:delete")
+ public R delete(@RequestBody Long[] ids){
+ integrationChangeHistoryService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSpuController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSpuController.java
new file mode 100644
index 0000000000000000000000000000000000000000..1b691de2cc510ce4899184c0152637e0d208cec8
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSpuController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberCollectSpuEntity;
+import com.forth.gulimall.member.service.MemberCollectSpuService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员收藏的商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@RestController
+@RequestMapping("member/membercollectspu")
+public class MemberCollectSpuController {
+ @Autowired
+ private MemberCollectSpuService memberCollectSpuService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:membercollectspu:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberCollectSpuService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:membercollectspu:info")
+ public R info(@PathVariable("id") Long id){
+ MemberCollectSpuEntity memberCollectSpu = memberCollectSpuService.getById(id);
+
+ return R.ok().put("memberCollectSpu", memberCollectSpu);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:membercollectspu:save")
+ public R save(@RequestBody MemberCollectSpuEntity memberCollectSpu){
+ memberCollectSpuService.save(memberCollectSpu);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:membercollectspu:update")
+ public R update(@RequestBody MemberCollectSpuEntity memberCollectSpu){
+ memberCollectSpuService.updateById(memberCollectSpu);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:membercollectspu:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberCollectSpuService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSubjectController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSubjectController.java
new file mode 100644
index 0000000000000000000000000000000000000000..4153e650c96fd2c55ece9d1fc43cc960bba66a56
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberCollectSubjectController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberCollectSubjectEntity;
+import com.forth.gulimall.member.service.MemberCollectSubjectService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员收藏的专题活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@RestController
+@RequestMapping("member/membercollectsubject")
+public class MemberCollectSubjectController {
+ @Autowired
+ private MemberCollectSubjectService memberCollectSubjectService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:membercollectsubject:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberCollectSubjectService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:membercollectsubject:info")
+ public R info(@PathVariable("id") Long id){
+ MemberCollectSubjectEntity memberCollectSubject = memberCollectSubjectService.getById(id);
+
+ return R.ok().put("memberCollectSubject", memberCollectSubject);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:membercollectsubject:save")
+ public R save(@RequestBody MemberCollectSubjectEntity memberCollectSubject){
+ memberCollectSubjectService.save(memberCollectSubject);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:membercollectsubject:update")
+ public R update(@RequestBody MemberCollectSubjectEntity memberCollectSubject){
+ memberCollectSubjectService.updateById(memberCollectSubject);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:membercollectsubject:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberCollectSubjectService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberController.java
new file mode 100644
index 0000000000000000000000000000000000000000..50322f12a67de9a26acd5e493377959d178c36be
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberEntity;
+import com.forth.gulimall.member.service.MemberService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@RestController
+@RequestMapping("member/member")
+public class MemberController {
+ @Autowired
+ private MemberService memberService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:member:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:member:info")
+ public R info(@PathVariable("id") Long id){
+ MemberEntity member = memberService.getById(id);
+
+ return R.ok().put("member", member);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:member:save")
+ public R save(@RequestBody MemberEntity member){
+ memberService.save(member);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:member:update")
+ public R update(@RequestBody MemberEntity member){
+ memberService.updateById(member);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:member:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLevelController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLevelController.java
new file mode 100644
index 0000000000000000000000000000000000000000..8fcaf785569371a4ce266180f1ce65976f04df75
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLevelController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberLevelEntity;
+import com.forth.gulimall.member.service.MemberLevelService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员等级
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@RestController
+@RequestMapping("member/memberlevel")
+public class MemberLevelController {
+ @Autowired
+ private MemberLevelService memberLevelService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:memberlevel:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberLevelService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:memberlevel:info")
+ public R info(@PathVariable("id") Long id){
+ MemberLevelEntity memberLevel = memberLevelService.getById(id);
+
+ return R.ok().put("memberLevel", memberLevel);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:memberlevel:save")
+ public R save(@RequestBody MemberLevelEntity memberLevel){
+ memberLevelService.save(memberLevel);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:memberlevel:update")
+ public R update(@RequestBody MemberLevelEntity memberLevel){
+ memberLevelService.updateById(memberLevel);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:memberlevel:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberLevelService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLoginLogController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLoginLogController.java
new file mode 100644
index 0000000000000000000000000000000000000000..3ed0ca37a8b84ce3dbfb66e1e88ba4952be4efa7
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberLoginLogController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberLoginLogEntity;
+import com.forth.gulimall.member.service.MemberLoginLogService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员登录记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@RestController
+@RequestMapping("member/memberloginlog")
+public class MemberLoginLogController {
+ @Autowired
+ private MemberLoginLogService memberLoginLogService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:memberloginlog:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberLoginLogService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:memberloginlog:info")
+ public R info(@PathVariable("id") Long id){
+ MemberLoginLogEntity memberLoginLog = memberLoginLogService.getById(id);
+
+ return R.ok().put("memberLoginLog", memberLoginLog);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:memberloginlog:save")
+ public R save(@RequestBody MemberLoginLogEntity memberLoginLog){
+ memberLoginLogService.save(memberLoginLog);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:memberloginlog:update")
+ public R update(@RequestBody MemberLoginLogEntity memberLoginLog){
+ memberLoginLogService.updateById(memberLoginLog);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:memberloginlog:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberLoginLogService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberReceiveAddressController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberReceiveAddressController.java
new file mode 100644
index 0000000000000000000000000000000000000000..59db558cd100d4f1d266b2f71aef83b0258fac57
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberReceiveAddressController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberReceiveAddressEntity;
+import com.forth.gulimall.member.service.MemberReceiveAddressService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员收货地址
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@RestController
+@RequestMapping("member/memberreceiveaddress")
+public class MemberReceiveAddressController {
+ @Autowired
+ private MemberReceiveAddressService memberReceiveAddressService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:memberreceiveaddress:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberReceiveAddressService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:memberreceiveaddress:info")
+ public R info(@PathVariable("id") Long id){
+ MemberReceiveAddressEntity memberReceiveAddress = memberReceiveAddressService.getById(id);
+
+ return R.ok().put("memberReceiveAddress", memberReceiveAddress);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:memberreceiveaddress:save")
+ public R save(@RequestBody MemberReceiveAddressEntity memberReceiveAddress){
+ memberReceiveAddressService.save(memberReceiveAddress);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:memberreceiveaddress:update")
+ public R update(@RequestBody MemberReceiveAddressEntity memberReceiveAddress){
+ memberReceiveAddressService.updateById(memberReceiveAddress);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:memberreceiveaddress:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberReceiveAddressService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberStatisticsInfoController.java b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberStatisticsInfoController.java
new file mode 100644
index 0000000000000000000000000000000000000000..b8e472a04b72dddee0dbeed1475799b24a1da0e1
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/controller/MemberStatisticsInfoController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.member.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.member.entity.MemberStatisticsInfoEntity;
+import com.forth.gulimall.member.service.MemberStatisticsInfoService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 会员统计信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@RestController
+@RequestMapping("member/memberstatisticsinfo")
+public class MemberStatisticsInfoController {
+ @Autowired
+ private MemberStatisticsInfoService memberStatisticsInfoService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("member:memberstatisticsinfo:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = memberStatisticsInfoService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("member:memberstatisticsinfo:info")
+ public R info(@PathVariable("id") Long id){
+ MemberStatisticsInfoEntity memberStatisticsInfo = memberStatisticsInfoService.getById(id);
+
+ return R.ok().put("memberStatisticsInfo", memberStatisticsInfo);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("member:memberstatisticsinfo:save")
+ public R save(@RequestBody MemberStatisticsInfoEntity memberStatisticsInfo){
+ memberStatisticsInfoService.save(memberStatisticsInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("member:memberstatisticsinfo:update")
+ public R update(@RequestBody MemberStatisticsInfoEntity memberStatisticsInfo){
+ memberStatisticsInfoService.updateById(memberStatisticsInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("member:memberstatisticsinfo:delete")
+ public R delete(@RequestBody Long[] ids){
+ memberStatisticsInfoService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/GrowthChangeHistoryDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/GrowthChangeHistoryDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..74b508c01d43dfd94ac7233dcea3845e74915deb
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/GrowthChangeHistoryDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.GrowthChangeHistoryEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 成长值变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Mapper
+public interface GrowthChangeHistoryDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/IntegrationChangeHistoryDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/IntegrationChangeHistoryDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..1420521694c0c08dee927b331aecfdf989fa2334
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/IntegrationChangeHistoryDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.IntegrationChangeHistoryEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 积分变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Mapper
+public interface IntegrationChangeHistoryDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSpuDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSpuDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..db098d80453e1beb1e5b0e460c05eecb0d3e9a56
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSpuDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberCollectSpuEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员收藏的商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Mapper
+public interface MemberCollectSpuDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSubjectDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSubjectDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..ce029ec5a4537a5893839b0ff81135d598dd86bb
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberCollectSubjectDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberCollectSubjectEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员收藏的专题活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Mapper
+public interface MemberCollectSubjectDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..0939ee6b02bb122012cd64b5fa2d52c7e98ff0e9
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Mapper
+public interface MemberDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLevelDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLevelDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..5582c8032c3452fd8c135c776967567cdfb42e4d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLevelDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberLevelEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员等级
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Mapper
+public interface MemberLevelDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLoginLogDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLoginLogDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..ad77f653a879b5ff87a1aba29f336793cc6769bf
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberLoginLogDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberLoginLogEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员登录记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Mapper
+public interface MemberLoginLogDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberReceiveAddressDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberReceiveAddressDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..338731f26b310b9370439d09b34f07faeb51f0af
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberReceiveAddressDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberReceiveAddressEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员收货地址
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Mapper
+public interface MemberReceiveAddressDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberStatisticsInfoDao.java b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberStatisticsInfoDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..48ef757d7b85b38da90c068f923224d3881d828d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/dao/MemberStatisticsInfoDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.member.dao;
+
+import com.forth.gulimall.member.entity.MemberStatisticsInfoEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 会员统计信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Mapper
+public interface MemberStatisticsInfoDao extends BaseMapper {
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/GrowthChangeHistoryEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/GrowthChangeHistoryEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..c8894e200864fa214a9455a3b9b87567e82a56e8
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/GrowthChangeHistoryEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 成长值变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Data
+@TableName("ums_growth_change_history")
+public class GrowthChangeHistoryEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * create_time
+ */
+ private Date createTime;
+ /**
+ * 改变的值(正负计数)
+ */
+ private Integer changeCount;
+ /**
+ * 备注
+ */
+ private String note;
+ /**
+ * 积分来源[0-购物,1-管理员修改]
+ */
+ private Integer sourceType;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/IntegrationChangeHistoryEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/IntegrationChangeHistoryEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..04c9ceacce90f4417c62be9238e8e863aebaa4bf
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/IntegrationChangeHistoryEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 积分变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Data
+@TableName("ums_integration_change_history")
+public class IntegrationChangeHistoryEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * create_time
+ */
+ private Date createTime;
+ /**
+ * 变化的值
+ */
+ private Integer changeCount;
+ /**
+ * 备注
+ */
+ private String note;
+ /**
+ * 来源[0->购物;1->管理员修改;2->活动]
+ */
+ private Integer sourceTyoe;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSpuEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSpuEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..6cfff75a69ff9a3e421cfd6c4ee8d54fd42638ab
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSpuEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员收藏的商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Data
+@TableName("ums_member_collect_spu")
+public class MemberCollectSpuEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 会员id
+ */
+ private Long memberId;
+ /**
+ * spu_id
+ */
+ private Long spuId;
+ /**
+ * spu_name
+ */
+ private String spuName;
+ /**
+ * spu_img
+ */
+ private String spuImg;
+ /**
+ * create_time
+ */
+ private Date createTime;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSubjectEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSubjectEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..31ac0fea5e9e45590ae3feb4151c042560cd48d9
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberCollectSubjectEntity.java
@@ -0,0 +1,44 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员收藏的专题活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Data
+@TableName("ums_member_collect_subject")
+public class MemberCollectSubjectEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * subject_id
+ */
+ private Long subjectId;
+ /**
+ * subject_name
+ */
+ private String subjectName;
+ /**
+ * subject_img
+ */
+ private String subjectImg;
+ /**
+ * 活动url
+ */
+ private String subjectUrll;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..0c1b9b270a99b81ae512b67998c8c39e69f7ebb3
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberEntity.java
@@ -0,0 +1,96 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Data
+@TableName("ums_member")
+public class MemberEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 会员等级id
+ */
+ private Long levelId;
+ /**
+ * 用户名
+ */
+ private String username;
+ /**
+ * 密码
+ */
+ private String password;
+ /**
+ * 昵称
+ */
+ private String nickname;
+ /**
+ * 手机号码
+ */
+ private String mobile;
+ /**
+ * 邮箱
+ */
+ private String email;
+ /**
+ * 头像
+ */
+ private String header;
+ /**
+ * 性别
+ */
+ private Integer gender;
+ /**
+ * 生日
+ */
+ private Date birth;
+ /**
+ * 所在城市
+ */
+ private String city;
+ /**
+ * 职业
+ */
+ private String job;
+ /**
+ * 个性签名
+ */
+ private String sign;
+ /**
+ * 用户来源
+ */
+ private Integer sourceType;
+ /**
+ * 积分
+ */
+ private Integer integration;
+ /**
+ * 成长值
+ */
+ private Integer growth;
+ /**
+ * 启用状态
+ */
+ private Integer status;
+ /**
+ * 注册时间
+ */
+ private Date createTime;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLevelEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLevelEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..8db393086d312cde571123b69ab0f18aa0d36b6d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLevelEntity.java
@@ -0,0 +1,65 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员等级
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Data
+@TableName("ums_member_level")
+public class MemberLevelEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 等级名称
+ */
+ private String name;
+ /**
+ * 等级需要的成长值
+ */
+ private Integer growthPoint;
+ /**
+ * 是否为默认等级[0->不是;1->是]
+ */
+ private Integer defaultStatus;
+ /**
+ * 免运费标准
+ */
+ private BigDecimal freeFreightPoint;
+ /**
+ * 每次评价获取的成长值
+ */
+ private Integer commentGrowthPoint;
+ /**
+ * 是否有免邮特权
+ */
+ private Integer priviledgeFreeFreight;
+ /**
+ * 是否有会员价格特权
+ */
+ private Integer priviledgeMemberPrice;
+ /**
+ * 是否有生日特权
+ */
+ private Integer priviledgeBirthday;
+ /**
+ * 备注
+ */
+ private String note;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLoginLogEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLoginLogEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..9e2e7b6587eead043a45d90a366ab05e85e7e26d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberLoginLogEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员登录记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Data
+@TableName("ums_member_login_log")
+public class MemberLoginLogEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+ /**
+ * ip
+ */
+ private String ip;
+ /**
+ * city
+ */
+ private String city;
+ /**
+ * 登录类型[1-web,2-app]
+ */
+ private Integer loginType;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberReceiveAddressEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberReceiveAddressEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..e4d680796f88e2488110545f61eb8d94ecd2220d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberReceiveAddressEntity.java
@@ -0,0 +1,68 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员收货地址
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+@Data
+@TableName("ums_member_receive_address")
+public class MemberReceiveAddressEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * 收货人姓名
+ */
+ private String name;
+ /**
+ * 电话
+ */
+ private String phone;
+ /**
+ * 邮政编码
+ */
+ private String postCode;
+ /**
+ * 省份/直辖市
+ */
+ private String province;
+ /**
+ * 城市
+ */
+ private String city;
+ /**
+ * 区
+ */
+ private String region;
+ /**
+ * 详细地址(街道)
+ */
+ private String detailAddress;
+ /**
+ * 省市区代码
+ */
+ private String areacode;
+ /**
+ * 是否默认
+ */
+ private Integer defaultStatus;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberStatisticsInfoEntity.java b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberStatisticsInfoEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..2bbebffbcd40fc9a5e7411ca55f958c6d3f35ba0
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/entity/MemberStatisticsInfoEntity.java
@@ -0,0 +1,85 @@
+package com.forth.gulimall.member.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 会员统计信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+@Data
+@TableName("ums_member_statistics_info")
+public class MemberStatisticsInfoEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 会员id
+ */
+ private Long memberId;
+ /**
+ * 累计消费金额
+ */
+ private BigDecimal consumeAmount;
+ /**
+ * 累计优惠金额
+ */
+ private BigDecimal couponAmount;
+ /**
+ * 订单数量
+ */
+ private Integer orderCount;
+ /**
+ * 优惠券数量
+ */
+ private Integer couponCount;
+ /**
+ * 评价数
+ */
+ private Integer commentCount;
+ /**
+ * 退货数量
+ */
+ private Integer returnOrderCount;
+ /**
+ * 登录次数
+ */
+ private Integer loginCount;
+ /**
+ * 关注数量
+ */
+ private Integer attendCount;
+ /**
+ * 粉丝数量
+ */
+ private Integer fansCount;
+ /**
+ * 收藏的商品数量
+ */
+ private Integer collectProductCount;
+ /**
+ * 收藏的专题活动数量
+ */
+ private Integer collectSubjectCount;
+ /**
+ * 收藏的评论数量
+ */
+ private Integer collectCommentCount;
+ /**
+ * 邀请的朋友数量
+ */
+ private Integer inviteFriendCount;
+
+}
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/GrowthChangeHistoryService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/GrowthChangeHistoryService.java
new file mode 100644
index 0000000000000000000000000000000000000000..7ec60aa4751efb457ced55fe7ab62653772f110a
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/GrowthChangeHistoryService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.GrowthChangeHistoryEntity;
+
+import java.util.Map;
+
+/**
+ * 成长值变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+public interface GrowthChangeHistoryService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/IntegrationChangeHistoryService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/IntegrationChangeHistoryService.java
new file mode 100644
index 0000000000000000000000000000000000000000..96b78a01371933bf705132487cfc0da76a8a38cf
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/IntegrationChangeHistoryService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.IntegrationChangeHistoryEntity;
+
+import java.util.Map;
+
+/**
+ * 积分变化历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+public interface IntegrationChangeHistoryService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSpuService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSpuService.java
new file mode 100644
index 0000000000000000000000000000000000000000..3d43ddc5965e72df08dea2823586bd8ef7d93cc8
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSpuService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberCollectSpuEntity;
+
+import java.util.Map;
+
+/**
+ * 会员收藏的商品
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+public interface MemberCollectSpuService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSubjectService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSubjectService.java
new file mode 100644
index 0000000000000000000000000000000000000000..29158acaf0d77c249ff701fd0d6664fdf393c35f
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberCollectSubjectService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberCollectSubjectEntity;
+
+import java.util.Map;
+
+/**
+ * 会员收藏的专题活动
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+public interface MemberCollectSubjectService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLevelService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLevelService.java
new file mode 100644
index 0000000000000000000000000000000000000000..ba695b46c1e4198db4932668d86013991ab0ce6d
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLevelService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberLevelEntity;
+
+import java.util.Map;
+
+/**
+ * 会员等级
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+public interface MemberLevelService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLoginLogService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLoginLogService.java
new file mode 100644
index 0000000000000000000000000000000000000000..c9feddd76353ec416b65edf9221043fefb177159
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberLoginLogService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberLoginLogEntity;
+
+import java.util.Map;
+
+/**
+ * 会员登录记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+public interface MemberLoginLogService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberReceiveAddressService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberReceiveAddressService.java
new file mode 100644
index 0000000000000000000000000000000000000000..131639f78e624c54b76fc18d9fbb75b306236a48
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberReceiveAddressService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberReceiveAddressEntity;
+
+import java.util.Map;
+
+/**
+ * 会员收货地址
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:55
+ */
+public interface MemberReceiveAddressService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberService.java
new file mode 100644
index 0000000000000000000000000000000000000000..1078cbd7329330685dfd6a7b2cce9060c650d590
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberEntity;
+
+import java.util.Map;
+
+/**
+ * 会员
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+public interface MemberService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberStatisticsInfoService.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberStatisticsInfoService.java
new file mode 100644
index 0000000000000000000000000000000000000000..57ea678f899ee0b4b42de0cf3af8944dac1d749b
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/MemberStatisticsInfoService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.member.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.member.entity.MemberStatisticsInfoEntity;
+
+import java.util.Map;
+
+/**
+ * 会员统计信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:30:56
+ */
+public interface MemberStatisticsInfoService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/GrowthChangeHistoryServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/GrowthChangeHistoryServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..cfb3cb5fdb30186bbb55402bc8519827d14ce200
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/GrowthChangeHistoryServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.GrowthChangeHistoryDao;
+import com.forth.gulimall.member.entity.GrowthChangeHistoryEntity;
+import com.forth.gulimall.member.service.GrowthChangeHistoryService;
+
+
+@Service("growthChangeHistoryService")
+public class GrowthChangeHistoryServiceImpl extends ServiceImpl implements GrowthChangeHistoryService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/IntegrationChangeHistoryServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/IntegrationChangeHistoryServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..1ee5eace8b1c30491d84278d1d06ebdda311df80
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/IntegrationChangeHistoryServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.IntegrationChangeHistoryDao;
+import com.forth.gulimall.member.entity.IntegrationChangeHistoryEntity;
+import com.forth.gulimall.member.service.IntegrationChangeHistoryService;
+
+
+@Service("integrationChangeHistoryService")
+public class IntegrationChangeHistoryServiceImpl extends ServiceImpl implements IntegrationChangeHistoryService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSpuServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSpuServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..a69646d38f63d61bdbeb85d952b920e8abc0f1e1
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSpuServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberCollectSpuDao;
+import com.forth.gulimall.member.entity.MemberCollectSpuEntity;
+import com.forth.gulimall.member.service.MemberCollectSpuService;
+
+
+@Service("memberCollectSpuService")
+public class MemberCollectSpuServiceImpl extends ServiceImpl implements MemberCollectSpuService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSubjectServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSubjectServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..eacdedf80fcd02178478f7ece27028d5de34a674
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberCollectSubjectServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberCollectSubjectDao;
+import com.forth.gulimall.member.entity.MemberCollectSubjectEntity;
+import com.forth.gulimall.member.service.MemberCollectSubjectService;
+
+
+@Service("memberCollectSubjectService")
+public class MemberCollectSubjectServiceImpl extends ServiceImpl implements MemberCollectSubjectService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLevelServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLevelServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..579aad7636bab50d7c579c39d3fac866d3e0ae05
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLevelServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberLevelDao;
+import com.forth.gulimall.member.entity.MemberLevelEntity;
+import com.forth.gulimall.member.service.MemberLevelService;
+
+
+@Service("memberLevelService")
+public class MemberLevelServiceImpl extends ServiceImpl implements MemberLevelService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLoginLogServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLoginLogServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..5035118b016cc14bf26b2fd45171ee3716655854
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberLoginLogServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberLoginLogDao;
+import com.forth.gulimall.member.entity.MemberLoginLogEntity;
+import com.forth.gulimall.member.service.MemberLoginLogService;
+
+
+@Service("memberLoginLogService")
+public class MemberLoginLogServiceImpl extends ServiceImpl implements MemberLoginLogService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberReceiveAddressServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberReceiveAddressServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..e5a424ecbd531e0dd388406e348d8b968ddd35ad
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberReceiveAddressServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberReceiveAddressDao;
+import com.forth.gulimall.member.entity.MemberReceiveAddressEntity;
+import com.forth.gulimall.member.service.MemberReceiveAddressService;
+
+
+@Service("memberReceiveAddressService")
+public class MemberReceiveAddressServiceImpl extends ServiceImpl implements MemberReceiveAddressService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..e09cf662da6072b754a7abbb780e14f93519c8d1
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberDao;
+import com.forth.gulimall.member.entity.MemberEntity;
+import com.forth.gulimall.member.service.MemberService;
+
+
+@Service("memberService")
+public class MemberServiceImpl extends ServiceImpl implements MemberService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberStatisticsInfoServiceImpl.java b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberStatisticsInfoServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..26877a8077957a25ac3f04ce8488b98fe2b3698c
--- /dev/null
+++ b/gulimall-member/src/main/java/com/forth/gulimall/member/service/impl/MemberStatisticsInfoServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.member.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.member.dao.MemberStatisticsInfoDao;
+import com.forth.gulimall.member.entity.MemberStatisticsInfoEntity;
+import com.forth.gulimall.member.service.MemberStatisticsInfoService;
+
+
+@Service("memberStatisticsInfoService")
+public class MemberStatisticsInfoServiceImpl extends ServiceImpl implements MemberStatisticsInfoService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage page = this.page(
+ new Query().getPage(params),
+ new QueryWrapper()
+ );
+
+ return new PageUtils(page);
+ }
+
+}
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/application.properties b/gulimall-member/src/main/resources/application.properties
deleted file mode 100644
index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000
--- a/gulimall-member/src/main/resources/application.properties
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/gulimall-member/src/main/resources/application.yml b/gulimall-member/src/main/resources/application.yml
new file mode 100644
index 0000000000000000000000000000000000000000..d1f78e72f18f121c9daf68551c2833f4f965f3eb
--- /dev/null
+++ b/gulimall-member/src/main/resources/application.yml
@@ -0,0 +1,21 @@
+server:
+ port: 4002
+spring:
+ datasource:
+ username: root
+ password: root
+ url: jdbc:mysql://39.97.249.66:3306/gulimall_ums
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ application:
+ name: member
+mybatis-plus:
+ mapper-locations: classpath:/mapper/**/*.xml
+ global-config:
+ db-config:
+ id-type: auto
+
+
diff --git a/gulimall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml b/gulimall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5a2b262e7be5605ae6946c53d71fe07907306abd
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml b/gulimall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..31295d3afae7722ea57e303fdda09349691b3c7c
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c28711a4130ea0e1cd2acebb074352768f0288d2
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..48f3f4b8ac17a360eee0fcee458b28149d2ada63
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8bcd99ba753c174bb42db671a3b6aceb8f224363
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberDao.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberLevelDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberLevelDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c8395271624516b94006d56df520abcfba4fb7b1
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberLevelDao.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c87909f0d1cdd2ef3488d313b9f0b2a9c0bfcc0b
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..cb120d60ee3156fa483d4fc6a80bb33ba3c849ff
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml b/gulimall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f52835ee8f03a3a076271d3833e100afa7a2e2a3
--- /dev/null
+++ b/gulimall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..38cf0214f069e773733ae4fa3fa614d33aeec08b
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue b/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue
new file mode 100644
index 0000000000000000000000000000000000000000..a23fd63d7e56fa45a2830c72071e85c86cc9f3c2
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..d1a087060e835c41abb9ab8bbc811298fa87659e
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue b/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue
new file mode 100644
index 0000000000000000000000000000000000000000..e572f502902e6466715ad1109388bfa4f2c89833
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..e4983cc7e2d6bb21d31ed6546de1c62b1a7e448f
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/member.vue b/gulimall-member/src/main/resources/src/views/modules/member/member.vue
new file mode 100644
index 0000000000000000000000000000000000000000..62f747257ad564a8b9dc5e492be9db577ec6fcd6
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/member.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..919766517274cfc89fb98dbd12936d5393835a71
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu.vue b/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu.vue
new file mode 100644
index 0000000000000000000000000000000000000000..587c95f1d67b0f54c8d19346654c3b0c0a977c29
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/membercollectspu.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..f30455d10c8f14ead982aebe612563bd2c7e7297
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue b/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue
new file mode 100644
index 0000000000000000000000000000000000000000..98bfccf1eafa18ade31c926fbc795c9f7964d1dc
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..962a28e52c25f22644234a904f0658b932d1b521
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberlevel.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberlevel.vue
new file mode 100644
index 0000000000000000000000000000000000000000..002679682a52eb357a358e096b9c957037bda251
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberlevel.vue
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..eeeb0598b3ec41f59173ba420f1cad4f0d244247
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog.vue
new file mode 100644
index 0000000000000000000000000000000000000000..43a8074fed4b0f85f3a94df565376ca32fc32a70
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberloginlog.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..77dda3b5e498f7af170ebd0405eb6f2a06447978
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue
new file mode 100644
index 0000000000000000000000000000000000000000..763e037ac58ca78b5c2d376b29e450c486dea9fe
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue
new file mode 100644
index 0000000000000000000000000000000000000000..dbfbbf35c2735e592cbe829663de25115f7d62dd
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue
@@ -0,0 +1,201 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue b/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue
new file mode 100644
index 0000000000000000000000000000000000000000..8228149d0a02ebea096dd720389c7e70b91f1f35
--- /dev/null
+++ b/gulimall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue
@@ -0,0 +1,241 @@
+
+
+
+
+
+
+
+ 查询
+ 新增
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gulimall-member/src/test/java/com/forth/gulimall/member/GulimallMemberApplicationTests.java b/gulimall-member/src/test/java/com/forth/gulimall/member/GulimallMemberApplicationTests.java
new file mode 100644
index 0000000000000000000000000000000000000000..8775a0619e1e34f639365d2720dcae23861525d9
--- /dev/null
+++ b/gulimall-member/src/test/java/com/forth/gulimall/member/GulimallMemberApplicationTests.java
@@ -0,0 +1,23 @@
+package com.forth.gulimall.member;
+
+import com.forth.gulimall.member.entity.MemberEntity;
+import com.forth.gulimall.member.service.MemberService;
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class GulimallMemberApplicationTests {
+
+ @Autowired
+ MemberService memberService;
+
+ @Test
+ void contextLoads() {
+ MemberEntity memberEntity = new MemberEntity();
+ memberEntity.setCity("新乡");
+ memberService.save(memberEntity);
+ System.out.println("success");
+ }
+
+}
diff --git a/gulimall-member/src/test/java/com/forth/member/member/GulimallMemberApplicationTests.java b/gulimall-member/src/test/java/com/forth/member/member/GulimallMemberApplicationTests.java
deleted file mode 100644
index f20b07210985f81975cf93d5dbc328826085ba09..0000000000000000000000000000000000000000
--- a/gulimall-member/src/test/java/com/forth/member/member/GulimallMemberApplicationTests.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.forth.member.member;
-
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.context.SpringBootTest;
-
-@SpringBootTest
-class GulimallMemberApplicationTests {
-
- @Test
- void contextLoads() {
- }
-
-}
diff --git a/gulimall-order/pom.xml b/gulimall-order/pom.xml
index c23aac699531ae022cd910f575e58b5f8459ea2c..93a74b1dfcec80777746cc04082c33be4533a183 100644
--- a/gulimall-order/pom.xml
+++ b/gulimall-order/pom.xml
@@ -16,10 +16,15 @@
1.8
- Hoxton.SR9
+ Hoxton.SR8
+
+ com.forth.gulimall
+ gulimall-common
+ 0.0.1-SNAPSHOT
+
org.springframework.boot
spring-boot-starter-web
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/GulimallOrderApplication.java b/gulimall-order/src/main/java/com/forth/gulimall/order/GulimallOrderApplication.java
index 6aa646b3cc6e05e8afaa73d7369993f21718cab7..9d8be202d9de34014a6351c93b8bacc3ecfdbf09 100644
--- a/gulimall-order/src/main/java/com/forth/gulimall/order/GulimallOrderApplication.java
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/GulimallOrderApplication.java
@@ -1,8 +1,12 @@
package com.forth.gulimall.order;
+import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+@EnableDiscoveryClient
+@MapperScan("com.forth.gulimall.order.dao")
@SpringBootApplication
public class GulimallOrderApplication {
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderController.java
new file mode 100644
index 0000000000000000000000000000000000000000..0a324862a84009226cd97236d592d1a4874999f4
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderEntity;
+import com.forth.gulimall.order.service.OrderService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 订单
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@RestController
+@RequestMapping("order/order")
+public class OrderController {
+ @Autowired
+ private OrderService orderService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:order:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:order:info")
+ public R info(@PathVariable("id") Long id){
+ OrderEntity order = orderService.getById(id);
+
+ return R.ok().put("order", order);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:order:save")
+ public R save(@RequestBody OrderEntity order){
+ orderService.save(order);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:order:update")
+ public R update(@RequestBody OrderEntity order){
+ orderService.updateById(order);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:order:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderItemController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderItemController.java
new file mode 100644
index 0000000000000000000000000000000000000000..f4fc82264187c2d8cc3fbf039ef93b18817a4411
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderItemController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderItemEntity;
+import com.forth.gulimall.order.service.OrderItemService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 订单项信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@RestController
+@RequestMapping("order/orderitem")
+public class OrderItemController {
+ @Autowired
+ private OrderItemService orderItemService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:orderitem:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderItemService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:orderitem:info")
+ public R info(@PathVariable("id") Long id){
+ OrderItemEntity orderItem = orderItemService.getById(id);
+
+ return R.ok().put("orderItem", orderItem);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:orderitem:save")
+ public R save(@RequestBody OrderItemEntity orderItem){
+ orderItemService.save(orderItem);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:orderitem:update")
+ public R update(@RequestBody OrderItemEntity orderItem){
+ orderItemService.updateById(orderItem);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:orderitem:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderItemService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderOperateHistoryController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderOperateHistoryController.java
new file mode 100644
index 0000000000000000000000000000000000000000..f919cffcc2c7d4d4b1d2d44eaf5b1d330f809137
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderOperateHistoryController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderOperateHistoryEntity;
+import com.forth.gulimall.order.service.OrderOperateHistoryService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 订单操作历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/orderoperatehistory")
+public class OrderOperateHistoryController {
+ @Autowired
+ private OrderOperateHistoryService orderOperateHistoryService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:orderoperatehistory:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderOperateHistoryService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:orderoperatehistory:info")
+ public R info(@PathVariable("id") Long id){
+ OrderOperateHistoryEntity orderOperateHistory = orderOperateHistoryService.getById(id);
+
+ return R.ok().put("orderOperateHistory", orderOperateHistory);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:orderoperatehistory:save")
+ public R save(@RequestBody OrderOperateHistoryEntity orderOperateHistory){
+ orderOperateHistoryService.save(orderOperateHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:orderoperatehistory:update")
+ public R update(@RequestBody OrderOperateHistoryEntity orderOperateHistory){
+ orderOperateHistoryService.updateById(orderOperateHistory);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:orderoperatehistory:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderOperateHistoryService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnApplyController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnApplyController.java
new file mode 100644
index 0000000000000000000000000000000000000000..3fa15d423e725ef54e16cd32082756dc533d6b54
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnApplyController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderReturnApplyEntity;
+import com.forth.gulimall.order.service.OrderReturnApplyService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 订单退货申请
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/orderreturnapply")
+public class OrderReturnApplyController {
+ @Autowired
+ private OrderReturnApplyService orderReturnApplyService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:orderreturnapply:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderReturnApplyService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:orderreturnapply:info")
+ public R info(@PathVariable("id") Long id){
+ OrderReturnApplyEntity orderReturnApply = orderReturnApplyService.getById(id);
+
+ return R.ok().put("orderReturnApply", orderReturnApply);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:orderreturnapply:save")
+ public R save(@RequestBody OrderReturnApplyEntity orderReturnApply){
+ orderReturnApplyService.save(orderReturnApply);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:orderreturnapply:update")
+ public R update(@RequestBody OrderReturnApplyEntity orderReturnApply){
+ orderReturnApplyService.updateById(orderReturnApply);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:orderreturnapply:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderReturnApplyService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnReasonController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnReasonController.java
new file mode 100644
index 0000000000000000000000000000000000000000..ea341753a69b7c481d55165a49f3732813b2b266
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderReturnReasonController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderReturnReasonEntity;
+import com.forth.gulimall.order.service.OrderReturnReasonService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 退货原因
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/orderreturnreason")
+public class OrderReturnReasonController {
+ @Autowired
+ private OrderReturnReasonService orderReturnReasonService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:orderreturnreason:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderReturnReasonService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:orderreturnreason:info")
+ public R info(@PathVariable("id") Long id){
+ OrderReturnReasonEntity orderReturnReason = orderReturnReasonService.getById(id);
+
+ return R.ok().put("orderReturnReason", orderReturnReason);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:orderreturnreason:save")
+ public R save(@RequestBody OrderReturnReasonEntity orderReturnReason){
+ orderReturnReasonService.save(orderReturnReason);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:orderreturnreason:update")
+ public R update(@RequestBody OrderReturnReasonEntity orderReturnReason){
+ orderReturnReasonService.updateById(orderReturnReason);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:orderreturnreason:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderReturnReasonService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderSettingController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderSettingController.java
new file mode 100644
index 0000000000000000000000000000000000000000..e8adac771d91a68aea206494c062063e971fbc4e
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/OrderSettingController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.OrderSettingEntity;
+import com.forth.gulimall.order.service.OrderSettingService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 订单配置信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/ordersetting")
+public class OrderSettingController {
+ @Autowired
+ private OrderSettingService orderSettingService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:ordersetting:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = orderSettingService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:ordersetting:info")
+ public R info(@PathVariable("id") Long id){
+ OrderSettingEntity orderSetting = orderSettingService.getById(id);
+
+ return R.ok().put("orderSetting", orderSetting);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:ordersetting:save")
+ public R save(@RequestBody OrderSettingEntity orderSetting){
+ orderSettingService.save(orderSetting);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:ordersetting:update")
+ public R update(@RequestBody OrderSettingEntity orderSetting){
+ orderSettingService.updateById(orderSetting);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:ordersetting:delete")
+ public R delete(@RequestBody Long[] ids){
+ orderSettingService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/PaymentInfoController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/PaymentInfoController.java
new file mode 100644
index 0000000000000000000000000000000000000000..d43676a5a0b59ea9f2a64bd29304127e55d0996c
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/PaymentInfoController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.PaymentInfoEntity;
+import com.forth.gulimall.order.service.PaymentInfoService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 支付信息表
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/paymentinfo")
+public class PaymentInfoController {
+ @Autowired
+ private PaymentInfoService paymentInfoService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:paymentinfo:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = paymentInfoService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:paymentinfo:info")
+ public R info(@PathVariable("id") Long id){
+ PaymentInfoEntity paymentInfo = paymentInfoService.getById(id);
+
+ return R.ok().put("paymentInfo", paymentInfo);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:paymentinfo:save")
+ public R save(@RequestBody PaymentInfoEntity paymentInfo){
+ paymentInfoService.save(paymentInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:paymentinfo:update")
+ public R update(@RequestBody PaymentInfoEntity paymentInfo){
+ paymentInfoService.updateById(paymentInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:paymentinfo:delete")
+ public R delete(@RequestBody Long[] ids){
+ paymentInfoService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/controller/RefundInfoController.java b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/RefundInfoController.java
new file mode 100644
index 0000000000000000000000000000000000000000..4b03d50980214d61769e7c7aadd212273b989d4e
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/controller/RefundInfoController.java
@@ -0,0 +1,90 @@
+package com.forth.gulimall.order.controller;
+
+import java.util.Arrays;
+import java.util.Map;
+
+//import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.forth.gulimall.order.entity.RefundInfoEntity;
+import com.forth.gulimall.order.service.RefundInfoService;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.R;
+
+
+
+/**
+ * 退款信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@RestController
+@RequestMapping("order/refundinfo")
+public class RefundInfoController {
+ @Autowired
+ private RefundInfoService refundInfoService;
+
+ /**
+ * 列表
+ */
+ @RequestMapping("/list")
+ //@RequiresPermissions("order:refundinfo:list")
+ public R list(@RequestParam Map params){
+ PageUtils page = refundInfoService.queryPage(params);
+
+ return R.ok().put("page", page);
+ }
+
+
+ /**
+ * 信息
+ */
+ @RequestMapping("/info/{id}")
+ //@RequiresPermissions("order:refundinfo:info")
+ public R info(@PathVariable("id") Long id){
+ RefundInfoEntity refundInfo = refundInfoService.getById(id);
+
+ return R.ok().put("refundInfo", refundInfo);
+ }
+
+ /**
+ * 保存
+ */
+ @RequestMapping("/save")
+ //@RequiresPermissions("order:refundinfo:save")
+ public R save(@RequestBody RefundInfoEntity refundInfo){
+ refundInfoService.save(refundInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 修改
+ */
+ @RequestMapping("/update")
+ //@RequiresPermissions("order:refundinfo:update")
+ public R update(@RequestBody RefundInfoEntity refundInfo){
+ refundInfoService.updateById(refundInfo);
+
+ return R.ok();
+ }
+
+ /**
+ * 删除
+ */
+ @RequestMapping("/delete")
+ //@RequiresPermissions("order:refundinfo:delete")
+ public R delete(@RequestBody Long[] ids){
+ refundInfoService.removeByIds(Arrays.asList(ids));
+
+ return R.ok();
+ }
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..6b654cc179ffae56c4bea9dac5a376c1db89e2c7
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 订单
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@Mapper
+public interface OrderDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderItemDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderItemDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..50d0321523e79019c3e60de26264ff454685b256
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderItemDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderItemEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 订单项信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@Mapper
+public interface OrderItemDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderOperateHistoryDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderOperateHistoryDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..e2d0f45dd79831f6cc7f67d39dfcdf6341f8bb29
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderOperateHistoryDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderOperateHistoryEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 订单操作历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface OrderOperateHistoryDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnApplyDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnApplyDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..7f70d8141c8c118611c8cd7e3fd6813f8b7064c9
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnApplyDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderReturnApplyEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 订单退货申请
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface OrderReturnApplyDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnReasonDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnReasonDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..a248fa15ebfe60e5c28257ab0db56352dc008cd6
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderReturnReasonDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderReturnReasonEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 退货原因
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface OrderReturnReasonDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderSettingDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderSettingDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..c03e20278c6bc73274d4006b70876187441311ba
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/OrderSettingDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.OrderSettingEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 订单配置信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface OrderSettingDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/PaymentInfoDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/PaymentInfoDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..9229a50b7dd48fa60ebeb8e6e10cd4f4342b2c70
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/PaymentInfoDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.PaymentInfoEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 支付信息表
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface PaymentInfoDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/dao/RefundInfoDao.java b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/RefundInfoDao.java
new file mode 100644
index 0000000000000000000000000000000000000000..27cc5ffd8ec7b6cd8ed7f28f942dcd11860f6896
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/dao/RefundInfoDao.java
@@ -0,0 +1,17 @@
+package com.forth.gulimall.order.dao;
+
+import com.forth.gulimall.order.entity.RefundInfoEntity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 退款信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Mapper
+public interface RefundInfoDao extends BaseMapper {
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..84d324726e7e8d43447b5e15f1bcb7bdfe334dac
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderEntity.java
@@ -0,0 +1,193 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 订单
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@Data
+@TableName("oms_order")
+public class OrderEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * member_id
+ */
+ private Long memberId;
+ /**
+ * 订单号
+ */
+ private String orderSn;
+ /**
+ * 使用的优惠券
+ */
+ private Long couponId;
+ /**
+ * create_time
+ */
+ private Date createTime;
+ /**
+ * 用户名
+ */
+ private String memberUsername;
+ /**
+ * 订单总额
+ */
+ private BigDecimal totalAmount;
+ /**
+ * 应付总额
+ */
+ private BigDecimal payAmount;
+ /**
+ * 运费金额
+ */
+ private BigDecimal freightAmount;
+ /**
+ * 促销优化金额(促销价、满减、阶梯价)
+ */
+ private BigDecimal promotionAmount;
+ /**
+ * 积分抵扣金额
+ */
+ private BigDecimal integrationAmount;
+ /**
+ * 优惠券抵扣金额
+ */
+ private BigDecimal couponAmount;
+ /**
+ * 后台调整订单使用的折扣金额
+ */
+ private BigDecimal discountAmount;
+ /**
+ * 支付方式【1->支付宝;2->微信;3->银联; 4->货到付款;】
+ */
+ private Integer payType;
+ /**
+ * 订单来源[0->PC订单;1->app订单]
+ */
+ private Integer sourceType;
+ /**
+ * 订单状态【0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单】
+ */
+ private Integer status;
+ /**
+ * 物流公司(配送方式)
+ */
+ private String deliveryCompany;
+ /**
+ * 物流单号
+ */
+ private String deliverySn;
+ /**
+ * 自动确认时间(天)
+ */
+ private Integer autoConfirmDay;
+ /**
+ * 可以获得的积分
+ */
+ private Integer integration;
+ /**
+ * 可以获得的成长值
+ */
+ private Integer growth;
+ /**
+ * 发票类型[0->不开发票;1->电子发票;2->纸质发票]
+ */
+ private Integer billType;
+ /**
+ * 发票抬头
+ */
+ private String billHeader;
+ /**
+ * 发票内容
+ */
+ private String billContent;
+ /**
+ * 收票人电话
+ */
+ private String billReceiverPhone;
+ /**
+ * 收票人邮箱
+ */
+ private String billReceiverEmail;
+ /**
+ * 收货人姓名
+ */
+ private String receiverName;
+ /**
+ * 收货人电话
+ */
+ private String receiverPhone;
+ /**
+ * 收货人邮编
+ */
+ private String receiverPostCode;
+ /**
+ * 省份/直辖市
+ */
+ private String receiverProvince;
+ /**
+ * 城市
+ */
+ private String receiverCity;
+ /**
+ * 区
+ */
+ private String receiverRegion;
+ /**
+ * 详细地址
+ */
+ private String receiverDetailAddress;
+ /**
+ * 订单备注
+ */
+ private String note;
+ /**
+ * 确认收货状态[0->未确认;1->已确认]
+ */
+ private Integer confirmStatus;
+ /**
+ * 删除状态【0->未删除;1->已删除】
+ */
+ private Integer deleteStatus;
+ /**
+ * 下单时使用的积分
+ */
+ private Integer useIntegration;
+ /**
+ * 支付时间
+ */
+ private Date paymentTime;
+ /**
+ * 发货时间
+ */
+ private Date deliveryTime;
+ /**
+ * 确认收货时间
+ */
+ private Date receiveTime;
+ /**
+ * 评价时间
+ */
+ private Date commentTime;
+ /**
+ * 修改时间
+ */
+ private Date modifyTime;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderItemEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderItemEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..29fc0fcb847dea96acb7939ffe2e713e3a4e99a6
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderItemEntity.java
@@ -0,0 +1,105 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 订单项信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+@Data
+@TableName("oms_order_item")
+public class OrderItemEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * order_id
+ */
+ private Long orderId;
+ /**
+ * order_sn
+ */
+ private String orderSn;
+ /**
+ * spu_id
+ */
+ private Long spuId;
+ /**
+ * spu_name
+ */
+ private String spuName;
+ /**
+ * spu_pic
+ */
+ private String spuPic;
+ /**
+ * 品牌
+ */
+ private String spuBrand;
+ /**
+ * 商品分类id
+ */
+ private Long categoryId;
+ /**
+ * 商品sku编号
+ */
+ private Long skuId;
+ /**
+ * 商品sku名字
+ */
+ private String skuName;
+ /**
+ * 商品sku图片
+ */
+ private String skuPic;
+ /**
+ * 商品sku价格
+ */
+ private BigDecimal skuPrice;
+ /**
+ * 商品购买的数量
+ */
+ private Integer skuQuantity;
+ /**
+ * 商品销售属性组合(JSON)
+ */
+ private String skuAttrsVals;
+ /**
+ * 商品促销分解金额
+ */
+ private BigDecimal promotionAmount;
+ /**
+ * 优惠券优惠分解金额
+ */
+ private BigDecimal couponAmount;
+ /**
+ * 积分优惠分解金额
+ */
+ private BigDecimal integrationAmount;
+ /**
+ * 该商品经过优惠后的分解金额
+ */
+ private BigDecimal realAmount;
+ /**
+ * 赠送积分
+ */
+ private Integer giftIntegration;
+ /**
+ * 赠送成长值
+ */
+ private Integer giftGrowth;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderOperateHistoryEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderOperateHistoryEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..e963eba46802ba18b48800c96e5911a672d296e0
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderOperateHistoryEntity.java
@@ -0,0 +1,48 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 订单操作历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_order_operate_history")
+public class OrderOperateHistoryEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 订单id
+ */
+ private Long orderId;
+ /**
+ * 操作人[用户;系统;后台管理员]
+ */
+ private String operateMan;
+ /**
+ * 操作时间
+ */
+ private Date createTime;
+ /**
+ * 订单状态【0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单】
+ */
+ private Integer orderStatus;
+ /**
+ * 备注
+ */
+ private String note;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnApplyEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnApplyEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..f3af98d9bede0f1345c331adcb6d66b6f0f750ea
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnApplyEntity.java
@@ -0,0 +1,137 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 订单退货申请
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_order_return_apply")
+public class OrderReturnApplyEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * order_id
+ */
+ private Long orderId;
+ /**
+ * 退货商品id
+ */
+ private Long skuId;
+ /**
+ * 订单编号
+ */
+ private String orderSn;
+ /**
+ * 申请时间
+ */
+ private Date createTime;
+ /**
+ * 会员用户名
+ */
+ private String memberUsername;
+ /**
+ * 退款金额
+ */
+ private BigDecimal returnAmount;
+ /**
+ * 退货人姓名
+ */
+ private String returnName;
+ /**
+ * 退货人电话
+ */
+ private String returnPhone;
+ /**
+ * 申请状态[0->待处理;1->退货中;2->已完成;3->已拒绝]
+ */
+ private Integer status;
+ /**
+ * 处理时间
+ */
+ private Date handleTime;
+ /**
+ * 商品图片
+ */
+ private String skuImg;
+ /**
+ * 商品名称
+ */
+ private String skuName;
+ /**
+ * 商品品牌
+ */
+ private String skuBrand;
+ /**
+ * 商品销售属性(JSON)
+ */
+ private String skuAttrsVals;
+ /**
+ * 退货数量
+ */
+ private Integer skuCount;
+ /**
+ * 商品单价
+ */
+ private BigDecimal skuPrice;
+ /**
+ * 商品实际支付单价
+ */
+ private BigDecimal skuRealPrice;
+ /**
+ * 原因
+ */
+ private String reason;
+ /**
+ * 描述
+ */
+ private String description述;
+ /**
+ * 凭证图片,以逗号隔开
+ */
+ private String descPics;
+ /**
+ * 处理备注
+ */
+ private String handleNote;
+ /**
+ * 处理人员
+ */
+ private String handleMan;
+ /**
+ * 收货人
+ */
+ private String receiveMan;
+ /**
+ * 收货时间
+ */
+ private Date receiveTime;
+ /**
+ * 收货备注
+ */
+ private String receiveNote;
+ /**
+ * 收货电话
+ */
+ private String receivePhone;
+ /**
+ * 公司收货地址
+ */
+ private String companyAddress;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnReasonEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnReasonEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..bf37ac0ca5d02e2b60390cc72148f9a0de2da896
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderReturnReasonEntity.java
@@ -0,0 +1,44 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 退货原因
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_order_return_reason")
+public class OrderReturnReasonEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 退货原因名
+ */
+ private String name;
+ /**
+ * 排序
+ */
+ private Integer sort;
+ /**
+ * 启用状态
+ */
+ private Integer status;
+ /**
+ * create_time
+ */
+ private Date createTime;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderSettingEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderSettingEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..4de168a040561b291460fda1b636658bdf8d9ba0
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/OrderSettingEntity.java
@@ -0,0 +1,52 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 订单配置信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_order_setting")
+public class OrderSettingEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 秒杀订单超时关闭时间(分)
+ */
+ private Integer flashOrderOvertime;
+ /**
+ * 正常订单超时时间(分)
+ */
+ private Integer normalOrderOvertime;
+ /**
+ * 发货后自动确认收货时间(天)
+ */
+ private Integer confirmOvertime;
+ /**
+ * 自动完成交易时间,不能申请退货(天)
+ */
+ private Integer finishOvertime;
+ /**
+ * 订单完成后自动好评时间(天)
+ */
+ private Integer commentOvertime;
+ /**
+ * 会员等级【0-不限会员等级,全部通用;其他-对应的其他会员等级】
+ */
+ private Integer memberLevel;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/PaymentInfoEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/PaymentInfoEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..ea6cc098e096a586a08917ab38e2e3fef61ff8da
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/PaymentInfoEntity.java
@@ -0,0 +1,69 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 支付信息表
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_payment_info")
+public class PaymentInfoEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 订单号(对外业务号)
+ */
+ private String orderSn;
+ /**
+ * 订单id
+ */
+ private Long orderId;
+ /**
+ * 支付宝交易流水号
+ */
+ private String alipayTradeNo;
+ /**
+ * 支付总金额
+ */
+ private BigDecimal totalAmount;
+ /**
+ * 交易内容
+ */
+ private String subject;
+ /**
+ * 支付状态
+ */
+ private String paymentStatus;
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+ /**
+ * 确认时间
+ */
+ private Date confirmTime;
+ /**
+ * 回调内容
+ */
+ private String callbackContent;
+ /**
+ * 回调时间
+ */
+ private Date callbackTime;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/entity/RefundInfoEntity.java b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/RefundInfoEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..ab20ee706d6b0e4e43b240bb6a0aa4df82ea90d9
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/entity/RefundInfoEntity.java
@@ -0,0 +1,53 @@
+package com.forth.gulimall.order.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.math.BigDecimal;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 退款信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+@Data
+@TableName("oms_refund_info")
+public class RefundInfoEntity implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * id
+ */
+ @TableId
+ private Long id;
+ /**
+ * 退款的订单
+ */
+ private Long orderReturnId;
+ /**
+ * 退款金额
+ */
+ private BigDecimal refund;
+ /**
+ * 退款交易流水号
+ */
+ private String refundSn;
+ /**
+ * 退款状态
+ */
+ private Integer refundStatus;
+ /**
+ * 退款渠道[1-支付宝,2-微信,3-银联,4-汇款]
+ */
+ private Integer refundChannel;
+ /**
+ *
+ */
+ private String refundContent;
+
+}
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderItemService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderItemService.java
new file mode 100644
index 0000000000000000000000000000000000000000..d41d5bae89d1137a3e0b472e7cf28dc6d0e61fbf
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderItemService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderItemEntity;
+
+import java.util.Map;
+
+/**
+ * 订单项信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+public interface OrderItemService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderOperateHistoryService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderOperateHistoryService.java
new file mode 100644
index 0000000000000000000000000000000000000000..a9e8d70bb0536e049349fa7dcf98379ccd901cef
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderOperateHistoryService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderOperateHistoryEntity;
+
+import java.util.Map;
+
+/**
+ * 订单操作历史记录
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface OrderOperateHistoryService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnApplyService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnApplyService.java
new file mode 100644
index 0000000000000000000000000000000000000000..70e09abfbc136ac90976dc035e66fc4855f86f0e
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnApplyService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderReturnApplyEntity;
+
+import java.util.Map;
+
+/**
+ * 订单退货申请
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface OrderReturnApplyService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnReasonService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnReasonService.java
new file mode 100644
index 0000000000000000000000000000000000000000..afb72ac7515fa0028270208e27d829fd1d500c1b
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderReturnReasonService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderReturnReasonEntity;
+
+import java.util.Map;
+
+/**
+ * 退货原因
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface OrderReturnReasonService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderService.java
new file mode 100644
index 0000000000000000000000000000000000000000..a9ce303d6e4ae0942c04b50fed6ea78fc5794ad1
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderEntity;
+
+import java.util.Map;
+
+/**
+ * 订单
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:19
+ */
+public interface OrderService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderSettingService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderSettingService.java
new file mode 100644
index 0000000000000000000000000000000000000000..37dc34872ce4e6dd78584681088b2047afce44a7
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/OrderSettingService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.OrderSettingEntity;
+
+import java.util.Map;
+
+/**
+ * 订单配置信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface OrderSettingService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/PaymentInfoService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/PaymentInfoService.java
new file mode 100644
index 0000000000000000000000000000000000000000..f8ce4b0eb6f2a5cd4ff29d350a2176fcd49da66e
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/PaymentInfoService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.PaymentInfoEntity;
+
+import java.util.Map;
+
+/**
+ * 支付信息表
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface PaymentInfoService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/RefundInfoService.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/RefundInfoService.java
new file mode 100644
index 0000000000000000000000000000000000000000..46d1f0cf3926ff758d56003399ea19d6ce660f21
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/RefundInfoService.java
@@ -0,0 +1,20 @@
+package com.forth.gulimall.order.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.forth.common.utils.PageUtils;
+import com.forth.gulimall.order.entity.RefundInfoEntity;
+
+import java.util.Map;
+
+/**
+ * 退款信息
+ *
+ * @author fourth-miaowei
+ * @email 2608957980@qq.com
+ * @date 2020-11-12 09:13:18
+ */
+public interface RefundInfoService extends IService {
+
+ PageUtils queryPage(Map params);
+}
+
diff --git a/gulimall-order/src/main/java/com/forth/gulimall/order/service/impl/OrderItemServiceImpl.java b/gulimall-order/src/main/java/com/forth/gulimall/order/service/impl/OrderItemServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..22ed3f8d798c30719826e9f2bbd1767b559cbfb7
--- /dev/null
+++ b/gulimall-order/src/main/java/com/forth/gulimall/order/service/impl/OrderItemServiceImpl.java
@@ -0,0 +1,29 @@
+package com.forth.gulimall.order.service.impl;
+
+import org.springframework.stereotype.Service;
+import java.util.Map;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.forth.common.utils.PageUtils;
+import com.forth.common.utils.Query;
+
+import com.forth.gulimall.order.dao.OrderItemDao;
+import com.forth.gulimall.order.entity.OrderItemEntity;
+import com.forth.gulimall.order.service.OrderItemService;
+
+
+@Service("orderItemService")
+public class OrderItemServiceImpl extends ServiceImpl implements OrderItemService {
+
+ @Override
+ public PageUtils queryPage(Map params) {
+ IPage