1924 Commits
v4.1 ... v4.3

Author SHA1 Message Date
Chopper711
1798916bf9 fix: 特殊情况下,平台会同时开启多个楼层问题处理 2023-08-18 15:39:18 +08:00
Chopper711
5af1238e02 fix: minio 无法删除磁盘文件问题处理 2023-08-18 15:20:48 +08:00
Chopper711
a62db61221 improvement:调优sql关键词过滤方法 2023-08-16 16:37:58 +08:00
Chopper711
8104947aec sql 排序关键字 orderby注入风险处理 2023-08-16 13:39:57 +08:00
Chopper711
d5f9fbf99d Merge branch 'master' of github.com:lilishop/lilishop 2023-08-16 12:41:50 +08:00
Chopper711
d3910bb931 update readme 2023-08-16 11:49:34 +08:00
Chopper711
7cac57bd79 update readme 2023-08-16 11:47:40 +08:00
misworga831
07874ca210 Merge pull request #91
pg
2023-08-16 10:54:21 +08:00
chc
0267597b20 fix: 联合登录 2023-08-14 14:30:21 +08:00
Chopper711
1cc939f457 fix : 行政地区无法删除或修改,由于缓存没有被清空导致问题处理 2023-08-10 16:08:23 +08:00
Chopper711
b12245bb94 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-08-10 13:34:09 +08:00
Chopper711
006ec15000 fix:砍价商品活动结束后,点击跳转后报错信息优化 2023-08-10 13:34:07 +08:00
misworga831
4f4593e5f7 fix: 优化微信登录异常问题 2023-08-10 11:52:36 +08:00
pikachu1995@126.com
58ff71a863 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-08-04 18:23:09 +08:00
pikachu1995@126.com
7d8a31c55a APP端第三方登录 2023-08-04 18:23:03 +08:00
OceansDeep
29e6637399 !301 fix & improve
Merge pull request !301 from OceansDeep/pg
2023-08-03 08:18:06 +00:00
misworga831
d61fc41465 fix: 优化消费者部分异常处理 2023-08-03 16:16:55 +08:00
misworga831
1cc692a3c9 fix: 优化消费者部分异常处理 2023-08-03 16:13:52 +08:00
OceansDeep
a2a1bed3e0 !300 fix & improve
Merge pull request !300 from OceansDeep/pg
2023-08-03 07:58:37 +00:00
misworga831
557366a3ec fix: 优化elasticsearch 配置,解决I/O reactor问题。 2023-08-03 15:57:57 +08:00
Chopper711
80c8b4b4d4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-08-03 12:57:08 +08:00
Chopper711
9dd6bc2d6f fix:地区修改后不生效,需要清空缓存才能得到最新的数据问题处理 2023-08-03 12:57:01 +08:00
pikachu1995@126.com
9c1db92824 腾讯云COS 使用地域标识路径 2023-07-31 15:35:15 +08:00
misworga831
e3172c28b7 Merge pull request #90
pg
2023-07-28 16:20:10 +08:00
OceansDeep
b0b3747760 !299 fix & improve
Merge pull request !299 from OceansDeep/pg
2023-07-28 08:18:04 +00:00
misworga831
e8af34995b fix: 优化elasticsearch 配置,解决I/O reactor问题。 2023-07-28 16:16:16 +08:00
Chopper711
9f17dcafbb 商品导入消息不够明确问题处理 2023-07-21 18:45:00 +08:00
Chopper711
347877cdad Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-07-21 18:30:01 +08:00
Chopper711
8f1541c338 fix:秒杀活动异常消息resultcode 修正 2023-07-21 18:29:58 +08:00
chc
89f3e8f980 fix: sku的商品视频 2023-07-20 14:23:12 +08:00
OceansDeep
e945f93032 !297 fix & improve
Merge pull request !297 from OceansDeep/pg
2023-07-19 03:11:19 +00:00
misworga831
4f9841d443 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-07-19 11:10:40 +08:00
misworga831
c73204a828 fix: 增加文件上传类型,video格式支持 2023-07-19 11:10:19 +08:00
OceansDeep
b2681d443d !296 fix: 优化拼团活动流程,活动结束时间小于24小时则按照拼团结束时间延时
Merge pull request !296 from OceansDeep/pg
2023-07-17 09:57:15 +00:00
misworga831
05a1d880c5 Merge pull request #89
pg
2023-07-17 17:56:39 +08:00
misworga831
7b13ae13ad fix: 优化拼团活动流程,活动结束时间小于24小时则按照拼团结束时间延时 2023-07-17 17:55:34 +08:00
pikachu1995@126.com
ecb330cc57 fix:删除遗留引用 2023-07-13 16:04:35 +08:00
pikachu1995@126.com
af5e866853 不同的对象存储渠道有不同的图片压缩规则。 2023-07-13 16:03:38 +08:00
OceansDeep
007b145c2e !295 fix & improve
Merge pull request !295 from OceansDeep/pg
2023-06-16 09:01:20 +00:00
misworga831
201943994b fix: 修复添加管理员失败无信息提示 2023-06-16 16:21:57 +08:00
misworga831
b17f3c08b7 Merge pull request #88
pg
2023-06-13 10:51:59 +08:00
OceansDeep
c46c59e4a1 !294 fix: 修复移除@Resource后的订单每日任务,执行sql错误问题
Merge pull request !294 from OceansDeep/pg
2023-06-13 02:49:56 +00:00
misworga831
0bdb39797d fix: 修复移除@Resource后的订单每日任务,执行sql错误问题 2023-06-13 10:48:03 +08:00
Chopper711
71061ad861 fix:用户足迹的处理sql已经在逻辑中处理好了数据问题,这这里的事务在特殊情况下会导致sql异常,将非必要的事务注解去除即可。 2023-06-09 15:42:50 +08:00
Chopper711
f14875e679 fix:在redis集群中,促销库存与商品库存不在同一个槽内会导致执行异常 2023-06-09 15:27:56 +08:00
misworga831
e8a1f6a02f Merge pull request #87
pg
2023-06-07 11:08:31 +08:00
OceansDeep
036035f51b !292 fix & improve
Merge pull request !292 from OceansDeep/pg
2023-06-06 11:14:20 +00:00
misworga831
104b6c2f5d fix: 修复权限更新后,登录用户权限没有更新问题。 2023-06-06 19:13:52 +08:00
OceansDeep
7dffd7dcb9 !291 fix & improve
Merge pull request !291 from OceansDeep/pg
2023-06-06 10:07:14 +00:00
misworga831
63f1f0df21 fix: 修复权限更新后,登录用户权限没有更新问题。 2023-06-06 18:06:41 +08:00
OceansDeep
dda955219a !290 fix & improve
Merge pull request !290 from OceansDeep/pg
2023-06-06 09:27:11 +00:00
misworga831
5d6e99dc8a fix: 移除@Resource注解,修复权限更新后,登录用户权限没有更新问题。 2023-06-06 17:26:04 +08:00
Chopper711
b61a5e8f7b style: 代码扫描规范问题处理 2023-06-05 10:05:40 +08:00
Chopper711
d9018ef317 fix:邀新赠券邀请人信息写入代码被删除问题还原 2023-06-01 18:51:49 +08:00
Chopper711
9993b9bbf6 fix:虚拟成团无法成功触发问题处理 2023-05-31 15:42:17 +08:00
Chopper711
03fd9b222a !288 拼团订单延时任务优化
Merge pull request !288 from hucker520
2023-05-31 07:41:12 +00:00
Chopper711
3d7cfb1c63 fix:描述问题处理,将代码枚举注释更加接近逻辑寓意 2023-05-31 15:03:50 +08:00
Chopper711
ca6e45fb92 fix: 重复退货时,商品数量问题处理 2023-05-31 15:02:22 +08:00
Chopper711
e9950652a6 fix:缺少java引用问题处理 2023-05-31 13:43:43 +08:00
Chopper711
cddc6571f7 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-05-30 18:15:24 +08:00
Chopper711
708ba929f0 1 2023-05-30 18:15:22 +08:00
hucker520
6e820d745c 触发器参数 object 是 PintuanOrderMessage 对象,见第35行,直接转为 Pintuan 对象必为空,须要根据id重新查询
Signed-off-by: hucker520 <505169544@qq.com>
2023-05-26 09:02:41 +00:00
Chopper711
ae9e0e27ff !287 分销订单列表查询结束时间优化 from@hucker520
Merge pull request !287 from hucker520/N/A
2023-05-26 07:23:46 +00:00
hucker520
3485c5a5dd 分销订单列表查询结束日期,默认查询到当天0点,导致当天0点后的订单查询不出来,优化后成查询到结束日期当天23:59:59:999
Signed-off-by: hucker520 <505169544@qq.com>
2023-05-26 03:33:55 +00:00
misworga831
62ac16b705 Merge pull request #86
pg
2023-05-17 14:23:10 +08:00
OceansDeep
048ca0e64a !286 fix & improve
Merge pull request !286 from OceansDeep/pg
2023-05-17 06:17:41 +00:00
misworga831
d413de75d3 fix: 修复购物车商品促销价格特殊情况处理中优惠券金额为0的情况(购物车商品促销价格特殊情况处理只处理优惠券不足的情况) 2023-05-17 14:16:16 +08:00
Chopper711
4f8d4f7a74 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-05-11 11:21:34 +08:00
Chopper711
a0619abfc4 补充参考配置文档 2023-05-11 11:21:27 +08:00
OceansDeep
5e950b9766 !285 fix & improve
Merge pull request !285 from OceansDeep/pg
2023-05-10 06:53:45 +00:00
misworga831
1f02818692 fix: 优化购物车商品促销价格特殊情况处理 2023-05-10 14:50:19 +08:00
Chopper711
c0a370ad47 fix:交易投诉,交易售后,兼容设置中描述的内容:设置为0则表示不限制 2023-05-10 14:44:55 +08:00
Chopper711
a502420c5f refactor: 去除两个无效引用 2023-05-10 14:07:30 +08:00
Chopper711
b4aef1461c fix: 订单定时任务可能存在极端情况,影响其他业务流程,做一下兼容处理,以免部分数据导致订单定时任务无法处理 2023-05-10 14:03:16 +08:00
OceansDeep
54b40c35f4 !284 fix & improve
Merge pull request !284 from OceansDeep/pg
2023-05-09 06:01:31 +00:00
misworga831
a33e053bc7 fix: 特殊情况处理,如参与多个促销活动,部分商品在其他促销计算后的金额不足以满足与当前参与的促销活动的优惠金额 2023-05-09 13:59:55 +08:00
misworga831
ae93661763 fix: 优化es搜索,增加如搜索超过10000条信息的处理 2023-05-09 13:59:23 +08:00
OceansDeep
349bee7405 !283 fix & improve
Merge pull request !283 from OceansDeep/pg
2023-05-08 10:50:06 +00:00
misworga831
c286d05ad8 fix: 促销状态更新和满减活动范围商品判定 2023-05-08 18:49:37 +08:00
chc
49b2c2f7a3 fix: 导入商品增加填写验证 2023-05-08 18:35:57 +08:00
chc
b469fcfee3 Merge remote-tracking branch 'origin/master' 2023-05-08 17:59:09 +08:00
chc
5e6fde594b fix: 店铺设置是自提、楼层为空导致无法保存 2023-05-08 17:59:01 +08:00
OceansDeep
5d598d9034 !282 优化es生成索引sku取分可能为复数问题
Merge pull request !282 from OceansDeep/pg
2023-05-08 09:38:19 +00:00
misworga831
8181f2602a fix: 优化es生成索引sku取分可能为复数问题 2023-05-08 17:37:29 +08:00
misworga831
3e74697215 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-05-08 16:51:01 +08:00
Chopper711
fac10debd5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-05-06 16:32:48 +08:00
Chopper711
74941f7243 feat: 兼容提现失败场景,对失败消息持久化 2023-05-06 16:32:42 +08:00
chc
621b2e322c fix: 快递鸟抛出异常 2023-05-05 13:40:38 +08:00
pikachu1995@126.com
948b67558a 微信小程序/公众号发送消息。 2023-05-05 07:12:39 +08:00
pikachu1995@126.com
dcf48db2ac fix:用户后期通过小程序登录,保存用户手机号 2023-04-28 08:47:09 +08:00
pikachu1995@126.com
072d31e8df fix:微信小程序登录记录手机号信息 2023-04-26 05:58:56 +08:00
pikachu1995@126.com
25240f445d fix:阿里登录没有传source 2023-04-25 18:40:39 +08:00
pikachu1995@126.com
279b473793 使用手机号为唯一身份进行登录 2023-04-25 17:59:42 +08:00
pikachu1995@126.com
959e24f51b fix:使用用户openID错误 2023-04-25 14:16:36 +08:00
pikachu1995@126.com
c720d53389 fix:合并代码错误,解决小程序无法登录问题。 2023-04-25 14:01:49 +08:00
17600048398
335d3f7ff1 1.修改商品分类同步分类名称 2.修改店铺名称同步对应店铺名称场景 2023-04-25 11:31:54 +08:00
Chopper711
16608d4950 fix:售后日志注解异常抛出问题 2023-04-19 16:16:01 +08:00
Chopper711
7b6a150bd2 fix: 用户被禁用、店铺被禁用、管理员被禁用,token未被清除问题处理。 2023-04-19 12:08:47 +08:00
17600048398
1f21d80dc0 用户签到为空时 无法签到问题 2023-04-18 10:57:41 +08:00
misworga831
76c8a23721 Merge pull request #85
pg
2023-04-18 10:36:44 +08:00
misworga831
08933ad92f fix: 优化足迹搜索 2023-04-18 10:35:56 +08:00
misworga831
06d0fb5b86 Merge pull request #83
pg
2023-04-17 16:42:37 +08:00
OceansDeep
05c3c8a80c !279 fix: 优化足迹搜索
Merge pull request !279 from OceansDeep/pg
2023-04-17 07:38:52 +00:00
misworga831
41796774dc fix: 优化足迹搜索 2023-04-17 15:37:05 +08:00
Chopper711
4594752470 签到代码问题回滚 2023-04-14 18:29:51 +08:00
chc
d818b396c4 fix: 腾讯云COS问题处理 2023-04-14 11:20:54 +08:00
OceansDeep
cf7b333662 !278 fix & improve
Merge pull request !278 from OceansDeep/pg
2023-04-13 07:45:50 +00:00
misworga831
7cc0a90acf fix: 修复签到条件判定错误问题 2023-04-13 15:44:40 +08:00
misworga831
f9eed2f2ab Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-04-13 15:38:02 +08:00
chc
f8ff163aee fix: 审核商铺后删除缓存 2023-04-13 15:04:32 +08:00
misworga831
38ad5bb394 fix: 优化更新促销状态流程,增加促销检查 2023-04-12 16:13:29 +08:00
misworga831
b2fb415ab5 fix: 优化足迹搜索 2023-04-12 16:12:53 +08:00
最菜的蔡
4c03676a3e !269 存在问题
Merge pull request !269 from zhaoyang0415/N/A
2023-04-11 09:03:38 +00:00
Chopper711
efce977bd6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-04-10 18:26:43 +08:00
Chopper711
071974c74b fix:足迹保留100条 2023-04-10 18:26:39 +08:00
OceansDeep
7f202506b5 !277 fix & improve
Merge pull request !277 from OceansDeep/pg
2023-04-10 10:13:06 +00:00
misworga831
a9c9886210 fix: 优化购物车对于更新商品的检查验证 2023-04-10 14:43:47 +08:00
misworga831
e18b62da6e fix: 优化促销相关流程,修复部分促销相关bug。 2023-04-10 14:43:04 +08:00
Chopper711
59c6dedd35 merge master 2023-04-10 10:06:34 +08:00
Chopper711
a673db222e refactor:微信小程序登录兼容没有手机号的情况 2023-04-10 10:04:41 +08:00
misworga831
1cb72a5bdd Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-04-10 09:58:38 +08:00
misworga831
c1e45242a7 fix: 优化编辑商品,没有清除商品缓存问题 2023-04-07 16:47:32 +08:00
misworga831
efe9a1a6e4 fix: 修复管理员修改会员收货地址无效问题 2023-04-07 16:45:50 +08:00
OceansDeep
e91f0e7ee4 !276 fix & improve
Merge pull request !276 from OceansDeep/pg
2023-04-06 02:30:29 +00:00
misworga831
3716691366 merge code 2023-04-06 10:29:47 +08:00
misworga831
675830045d fix: 修复更新es商品索引促销信息时,批量更新分页起始页错误问题 2023-04-06 10:28:54 +08:00
pikachu1995@126.com
9294f77163 微信小程序登录错误 2023-04-06 08:16:23 +08:00
pikachu1995@126.com
864701adfb wrapper 错误 2023-04-05 10:28:19 +08:00
chc
81f47a7fb6 fix: 优惠券时间查询问题 2023-04-04 17:55:47 +08:00
OceansDeep
a56ceca3c5 !275 fix: 优化生成es索引,只生成库存大于0的商品
Merge pull request !275 from OceansDeep/pg
2023-03-31 10:42:29 +00:00
misworga831
bc670d263d fix: 优化生成es索引,只生成库存大于0的商品 2023-03-31 18:23:30 +08:00
OceansDeep
36068d7197 !274 fix & improve
Merge pull request !274 from OceansDeep/pg
2023-03-31 09:15:41 +00:00
misworga831
4ebe0d4f43 fix: 优化生成es索引,只生成库存大于0的商品 2023-03-31 16:58:34 +08:00
misworga831
9f01078fe0 feat: 升级druid依赖,解决mysql一直打印日志问题 2023-03-31 16:50:53 +08:00
misworga831
b07fc790e5 fix: 优化es商品搜索返回结果。减少重复返回结果 2023-03-31 16:49:42 +08:00
misworga831
ab2bb11eee fix: 增加mac m芯片启动支持 2023-03-31 16:48:43 +08:00
Chopper711
919367162b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-31 15:22:55 +08:00
Chopper711
ec4d91b37f 修改资源目录 2023-03-31 15:22:48 +08:00
misworga831
799aa8f90c Merge pull request #82
pg
2023-03-30 16:06:22 +08:00
OceansDeep
cfbd1d68ee !273 fix: 优化es日志createTime类型
Merge pull request !273 from OceansDeep/pg
2023-03-30 08:05:22 +00:00
misworga831
4cf8c4e81f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-03-30 16:02:52 +08:00
misworga831
87bde2c53f fix: 优化es日志createTime类型 2023-03-30 16:02:41 +08:00
Chopper711
2aaf677605 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-29 16:05:04 +08:00
Chopper711
fad7c4a39d fix: 商家修改商品价格后,购物车的商品价格不变动不提示问题。购物车sku集合引用地址修改无效导致。 2023-03-29 16:04:53 +08:00
OceansDeep
fc464c0564 !271 fix
Merge pull request !271 from OceansDeep/pg
2023-03-27 07:24:56 +00:00
misworga831
53c28359bb fix: 优化es搜索相关品牌、分类及属性为分页查询。修改全部查询可能会导致es默认返回集不能大于100m问题 2023-03-27 15:24:18 +08:00
pikachu1995@126.com
4737cc5ae8 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-03-27 11:01:21 +08:00
pikachu1995@126.com
97845bbaf5 修改订单金额不能小于等于0 2023-03-27 11:00:50 +08:00
chc
8f516f7be7 fix: 修改商品后清除商品缓存,修改Store、StoreServiceImpl的注释 2023-03-24 18:30:55 +08:00
chc
5c164f89cc fix: config/application.yml 地址更改127 2023-03-24 17:39:43 +08:00
chc
da28859398 fix: 关闭物流公司无效问题 2023-03-24 16:27:20 +08:00
Chopper711
25f8b103bf fix:代码中两次对店铺进行保存问题处理,以及店铺写入属性的无效代码去除 2023-03-23 16:54:28 +08:00
Chopper711
8b0513aece Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-23 16:45:21 +08:00
Chopper711
b95712aef3 fix: 店铺被拒绝后无法再次申请店铺问题修正。修改为店铺状态在申请中、开启、关闭状态时无法申请 2023-03-23 16:45:14 +08:00
17600048398
917d9437b6 分销订单佣金结算 2023-03-23 11:31:30 +08:00
zhaoyang0415
123388d059 查询店铺详情实现中管理端操作是从缓存取得,状态更新后未及时清空缓存,导致详情信息不是最新的
Signed-off-by: zhaoyang0415 <944381517@qq.com>
2023-03-23 02:33:19 +00:00
OceansDeep
226d66c22e !268 优化、修复和升级
Merge pull request !268 from OceansDeep/pg
2023-03-23 02:01:47 +00:00
misworga831
d8f09b6039 Merge pull request #81
pg
2023-03-23 10:00:18 +08:00
misworga831
fae4dcaae2 fix: 优化会员优惠券退还后,可能无法再次使用问题。优化删除商品索引,可能失败问题 2023-03-23 09:59:35 +08:00
misworga831
b957df648b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-03-23 09:56:25 +08:00
Chopper711
a21f4800ab > feat: 新功能(feature)热词过滤sql注入关键字问题, 2023-03-22 17:34:57 +08:00
misworga831
4abf2205c1 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into pg 2023-03-21 14:39:57 +08:00
misworga831
0c652eac63 fix: hutool 依赖更新,依赖优化,获取商品详情优化 2023-03-21 14:39:53 +08:00
Chopper711
3fef330707 update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2023-03-21 06:26:02 +00:00
chc
c2abc4e2e4 fix: 修复IM新用户与自己对话问题 2023-03-20 12:03:34 +08:00
pikachu1995@126.com
d48e5a05a6 修改华为云obs引入版本
微信jsapi支付修改使用openID
2023-03-20 08:43:13 +08:00
chc
72471168d7 更新read me 交流群 5 2023-03-17 19:34:24 +08:00
Chopper711
08a2f7dfcd refactor:演示站点微信消息相关限制,由于出现部分微信消息被删问题 2023-03-17 08:57:01 +08:00
Chopper711
ceb61318f0 refactor:代码逻辑可能出现问题,重构代码执行顺序 2023-03-17 08:55:25 +08:00
Chopper711
11778a632a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-17 08:29:18 +08:00
Chopper711
f3e11fd368 fix:店员可编辑店长问题处理 2023-03-17 08:29:15 +08:00
Chopper711
69fdd4b756 !260 修改
Merge pull request !260 from zhaoyang0415/N/A
2023-03-16 11:09:06 +00:00
Chopper711
507a6e6525 !262 修改 Merge pull request !262 from zhaoyang0415/N/A
Merge pull request !262 from zhaoyang0415/N/A
2023-03-16 11:01:29 +00:00
17600048398
82a9c6dbf7 分销金额显示错误 2023-03-15 16:28:48 +08:00
17600048398
21d66f719d 分销佣金为空时计算错误 2023-03-15 16:22:03 +08:00
misworga831
c793c47d45 fix: 优化日志搜索,关闭商品删除索引 2023-03-14 19:37:22 +08:00
Chopper711
a81faf4ba4 fix : 批量商品选择状态问题 尝试处理 2023-03-13 16:09:51 +08:00
Chopper711
e60d47163e Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-13 10:33:08 +08:00
Chopper711
e7215cec9e improvement: 优化日志级别问题,减少无效日志输出 2023-03-13 10:33:01 +08:00
17600048398
f7e6789e23 会员收藏功能拆分 2023-03-10 17:42:48 +08:00
17600048398
4af58aea4a 商品结算时无快递费用 2023-03-10 16:36:33 +08:00
chc
4d379d6006 fix: 聊天无法获取问题 2023-03-10 14:49:27 +08:00
Chopper711
519ccb7ddd fix: 足迹模块sql优化,增加事务控制 2023-03-10 10:38:46 +08:00
Chopper711
79ccab6869 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-03-10 09:37:34 +08:00
Chopper711
ccac5226d5 fix: httpclient 在请求后会在final中进行关闭,导致无法再次请求 2023-03-10 09:37:11 +08:00
pikachu1995@126.com
674e585eff 去除错误打印内容 2023-03-10 07:45:56 +08:00
pikachu1995@126.com
7e1b7f2725 微信小程序,添加来源 2023-03-10 07:32:30 +08:00
pikachu1995@126.com
256f2ba480 微信-公众号登录,还原内容 2023-03-10 07:25:06 +08:00
pikachu1995@126.com
72f63e7e31 修复:第三方登录(微信)重复赋值 2023-03-10 07:14:23 +08:00
pikachu1995@126.com
606f9d2ccf 添加第三方登录,判断是否为当前用户信息 2023-03-10 06:46:21 +08:00
pikachu1995@126.com
0261b7e9ab 小程序赋值unionId 2023-03-10 06:20:14 +08:00
pikachu1995@126.com
71abf32d82 Merge branch 'master' into Bulbsaur 2023-03-09 17:57:52 +08:00
Chopper711
f6030cc918 fix: 微信消息格式化问题处理,最新版本无法正常发送公众号消息问题处理。以及订单状态判定修复,之前存在消息发送状态判定错误问题 2023-03-09 16:54:47 +08:00
misworga831
f7ba021799 Merge pull request #80
pg
2023-03-09 16:45:27 +08:00
pikachu1995@126.com
f506fa86cc APP第三方信任登录通过unionid进行登录 2023-03-09 15:39:50 +08:00
Chopper711
1a0130dd1a fix:微信消息发送字符串格式化问题导致无法正确发送消息,尝试解决 2023-03-09 11:55:45 +08:00
pikachu1995@126.com
6f746e3aff 微信登录业务进行调整 2023-03-08 19:44:06 +08:00
pikachu1995@126.com
36a3a0a0e1 Merge branch 'master' into Bulbsaur 2023-03-08 18:27:39 +08:00
chc
323e1cd6eb fix: ShunfengPlugin无法创建问题 2023-03-08 18:07:14 +08:00
chc
06fb54c65c feat: 集成顺丰开放平台功能,增加商家忘记密码,手机号登录功能 2023-03-08 10:32:47 +08:00
chc
07d4a2cda9 fix: 去除无用的ImUserController,调整IM代码 2023-03-02 15:10:51 +08:00
pikachu1995@126.com
53e753c3ef 解决问题:短信发送,未调用实际发送短信方法 2023-03-02 11:00:05 +08:00
pikachu1995@126.com
8d8cffca71 第三方登录集成unionID 2023-03-02 10:45:43 +08:00
chc
352a19b91c 修改物流模板,清除商品缓存 2023-03-01 17:09:20 +08:00
pikachu1995@126.com
74972eaa37 合并master,解决冲突 2023-03-01 11:50:54 +08:00
pikachu1995@126.com
5ee07ec34d 用户提现-第三方支付提现,功能完善 2023-03-01 10:59:27 +08:00
Chopper711
61104b9cd3 fixbug:提现申请充值业务问题处理 2023-03-01 10:37:08 +08:00
zhaoyang0415
032ecc4a3e UpdateWrapper替换为QueryWrapper
Signed-off-by: zhaoyang0415 <944381517@qq.com>
2023-02-25 14:52:47 +00:00
zhaoyang0415
7337cf6fa5 修改了商品参数集合判空方式
Signed-off-by: zhaoyang0415 <944381517@qq.com>
2023-02-25 14:11:46 +00:00
pikachu1995@126.com
967852f84d 去除误提交代码 2023-02-24 14:55:29 +08:00
pikachu1995@126.com
17734e7a3d 银联支付-云闪付 2023-02-24 14:53:49 +08:00
pikachu1995@126.com
b8398ac1d1 微信、支付宝提现 2023-02-23 17:50:56 +08:00
OceansDeep
0a3696ac56 !257 优化生成索引,增加批量生成参数
Merge pull request !257 from OceansDeep/pg
2023-02-21 04:09:16 +00:00
misworga831
8e0b77c232 fix: 优化生成索引,增加批量生成参数 2023-02-21 12:08:33 +08:00
misworga831
88efc2da38 fix: 优化生成索引,修改批量生成 2023-02-21 12:04:56 +08:00
Chopper711
48f9398e72 fix:去除无效类 2023-02-17 08:09:42 +08:00
pikachu1995@126.com
b147bbef3d 解决编译错误问题。 2023-02-17 07:31:23 +08:00
pikachu1995@126.com
013e8f8f70 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-02-16 18:16:43 +08:00
pikachu1995@126.com
98907b33aa 存储新增:腾讯云、华为云
短信新增:腾讯云、华为云
物流新增:快递100
物流查询方式新增:快递查询地图轨迹
2023-02-16 18:16:37 +08:00
Chopper711
49003f4d9a refactor:当token过期,重新生成token时,authuser对象中的字段与方法参数重复,进行优化 2023-02-16 16:25:39 +08:00
Chopper711
46c869ca8a fix:jwt中长期有效标识字段赋值错误bug修复。 2023-02-16 16:24:28 +08:00
pikachu1995@126.com
f92756c103 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-02-13 16:46:04 +08:00
Chopper711
57c3fa04db update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2023-02-10 03:37:37 +00:00
Chopper711
30d8d34976 update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2023-02-10 03:35:55 +00:00
pikachu1995@126.com
c49f968d82 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-02-09 16:24:19 +08:00
misworga831
894a75beb3 Merge pull request #76
pg
2023-02-09 16:06:45 +08:00
misworga831
cb7e1cc03e fix: 优化代码结构 2023-02-08 00:56:08 +08:00
misworga831
9e1837e89c fix: 优化商品根据id搜索 2023-02-04 11:13:32 +08:00
misworga831
475f96d00a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-02-03 17:55:54 +08:00
misworga831
96854ca00c fix: 优化商品根据id搜索 2023-02-03 17:55:38 +08:00
misworga831
0bf6aab43b fix: 增加获取购物车商品日志,修复可能出现的获取购物车空指针问题 2023-02-03 17:54:50 +08:00
chc
856aee6c18 选择自提购物车商品不取消问题 2023-02-03 17:26:08 +08:00
misworga831
0f2ed23b02 fix: 优化购物车检查数据集合操作问题 2023-02-03 15:34:00 +08:00
chc
10b4d0b16b 自提功能完善核销功能 2023-02-02 17:05:35 +08:00
chc
7f44b29fbc 电子面单报错信息问题修改 2023-02-01 17:12:50 +08:00
chc
a66c6e5504 购物车商品失效问题 2023-02-01 15:51:11 +08:00
chc
255d5a4550 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-01-31 18:03:24 +08:00
chc
6df2b92bc6 增加IM接口 2023-01-31 18:03:14 +08:00
misworga831
8c38c9e145 fix: 修复会员签到判断条件错误问题 2023-01-31 16:45:23 +08:00
Chopper711
501b9777b5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-01-29 10:02:50 +08:00
Chopper711
8fc18458c2 冲突处理 2023-01-29 10:02:44 +08:00
chc
457793b4d2 订单选择自提提示无法配送问题 2023-01-19 17:27:21 +08:00
Chopper
4bb00bc006 删除缓存修复 2023-01-16 14:56:41 +08:00
17600048398
1a0515361e Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-01-13 17:10:27 +08:00
17600048398
2df8df1a0d im功能拆分 2023-01-13 17:10:15 +08:00
misworga831
96a9a32079 fix: 增加获取购物车商品日志,修复可能出现的获取购物车空指针问题 2023-01-13 14:37:13 +08:00
misworga831
5d6b475e09 fix: 增加获取购物车商品日志,修复可能出现的获取购物车空指针问题 2023-01-13 14:22:44 +08:00
Chopper711
cb3eca29d8 店铺更新店铺信息,缓存未同步问题处理 2023-01-13 10:07:57 +08:00
Chopper711
bdb62de868 im问题部分处理 2023-01-12 15:44:44 +08:00
misworga831
b416e56b98 Merge pull request #75
feature/pg
2023-01-11 11:38:47 +08:00
Chopper711
1728be9c36 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-01-11 11:38:12 +08:00
Chopper711
ea85710c05 优惠券活动领取周期问题 2023-01-11 11:38:01 +08:00
OceansDeep
e1af67beb3 !256 resolve issue
Merge pull request !256 from OceansDeep/feature/pg
2023-01-11 03:36:50 +00:00
Chopper711
d9de601e8a 售后数量问题梳理解决 2023-01-11 11:34:54 +08:00
paulGao
3c568a7d42 fix: 修复商品索引初始化时,店铺全品类优惠券和平台全品类优惠券没有区分问题 2023-01-11 11:32:27 +08:00
paulGao
5080cf65c7 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2023-01-10 14:34:52 +08:00
paulGao
eefca656c6 fix: 优化会员优惠券搜索 2023-01-10 14:34:48 +08:00
Chopper711
3a63f87807 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2023-01-10 09:25:24 +08:00
Chopper711
d71628adfe 多websocket掉线问题处理 2023-01-10 09:25:18 +08:00
chc
585fc96bca 历史足迹sql 2023-01-10 09:11:37 +08:00
chc
28b1820bfa 历史足迹sql 2023-01-10 09:11:13 +08:00
chc
85e74014b1 im和自提的SQL 2023-01-09 18:33:53 +08:00
Chopper711
cc12cecc2a merge 自提、IM功能 2023-01-09 18:00:40 +08:00
Chopper711
197a7bcc43 '秒杀活动额外适配' 2023-01-09 11:21:46 +08:00
Chopper711
613f397c33 '优惠券领取改良完成' 2023-01-05 18:02:40 +08:00
pikachu1995@126.com
a3bd0f2c0b Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2023-01-05 15:31:22 +08:00
paulGao
bda297b90d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2023-01-05 14:39:33 +08:00
paulGao
8ddba831f0 feat: 增加根据促销活动搜索商品索引。增加获取优惠券领取记录。增加优惠券关闭后同时作废所有会员领取的优惠券。 2023-01-05 14:39:23 +08:00
Chopper711
5218702005 '商品索引空处理' 2023-01-03 11:52:30 +08:00
Chopper711
fbabd2f340 '快递鸟报错兼容问题' 2023-01-03 11:52:02 +08:00
chc
a38bc6b534 IM功能 2023-01-03 09:30:43 +08:00
chc
73aa36fc69 IM消息功能 2022-12-27 18:14:47 +08:00
pikachu1995@126.com
d627fca7d6 分销员 分销佣金添加默认值 2022-12-27 16:35:07 +08:00
Chopper711
06325a7ce1 '促销详情完善' 2022-12-26 19:00:13 +08:00
Chopper711
903b779ebe '价格记录详细处理' 2022-12-26 10:55:37 +08:00
Chopper711
0e3d582d13 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-12-23 15:13:08 +08:00
Chopper711
cd17f3d755 '构建促销详情模型' 2022-12-23 15:13:05 +08:00
Chopper711
8543a228fd '优惠券功能改版' 2022-12-23 14:51:06 +08:00
chc
b97c8e7fda 商品价格修改后同步到购物车 2022-12-22 18:19:52 +08:00
chc
1346614a30 站点图标与logo分开添加与展示 2022-12-22 15:17:54 +08:00
paulGao
0eec40673f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-12-07 15:17:12 +08:00
Chopper711
602678e2b9 '搜索商品功能过滤关键字以及特殊字符' 2022-12-07 15:14:25 +08:00
Chopper711
d6393e39f7 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-12-07 09:49:15 +08:00
Chopper711
b3f22866b5 '店铺申请流程规范化,防止恶意攻击' 2022-12-07 09:38:10 +08:00
Chopper711
51d2880392 '增加优惠券关闭作废优惠券' 2022-12-07 09:37:50 +08:00
paulGao
ede7a37e37 fix: 修复修改商品库存时,促销商品库存没有同步修改问题 2022-12-05 17:17:05 +08:00
pikachu1995@126.com
8373303651 储存OrderVO的订单货物列表错误。 2022-12-05 11:30:32 +08:00
OceansDeep
f3ccabe253 !255 fix: 优化es价格搜索,设置超出限制,则默认搜索最大值
Merge pull request !255 from OceansDeep/feature/pg
2022-11-29 07:04:32 +00:00
paulGao
ba6bb56e81 fix: 优化es价格搜索,设置超出限制,则默认搜索最大值 2022-11-29 15:03:16 +08:00
OceansDeep
73124f016d !254 fix: 优化批发商品,没有匹配规则时,显示异常,不在默认为第一个规则
Merge pull request !254 from OceansDeep/feature/pg
2022-11-28 10:30:35 +00:00
paulGao
32ca2e4298 fix: 优化批发商品,没有匹配规则时,提示的错误信息 2022-11-28 15:47:41 +08:00
paulGao
1cc7486b0a fix: 优化批发商品,没有匹配规则时,显示异常,不在默认为第一个规则 2022-11-28 10:52:34 +08:00
paulGao
26b58442c5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-11-28 10:44:33 +08:00
lilili
20de17bef1 重复签到 2022-11-27 20:13:15 +08:00
chc
54e04be768 im 2022-11-24 18:13:30 +08:00
chc
49b517f1ab im 2022-11-23 18:44:54 +08:00
chc
fc71d2d1ca Merge branch 'lili_self' of https://gitee.com/beijing_hongye_huicheng/lilishop into lili_self 2022-11-22 17:32:20 +08:00
chc
340b5b7248 im 2022-11-22 17:31:45 +08:00
chc
cfd292ef18 自提 2022-11-22 17:20:17 +08:00
paulGao
f7ea17a9cf Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-11-22 15:29:27 +08:00
paulGao
096ab34ae8 fix: 优化文件上传,删除冗余文件 2022-11-22 15:29:22 +08:00
Chopper711
e72b35c7eb update LICENSE.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-11-21 03:21:52 +00:00
Chopper711
9141f21cf8 LICENSE
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-11-21 03:02:55 +00:00
paulGao
65d9efef94 fix: 增加店员错误信息回
2022-11-18 10:15:50 +08:00
OceansDeep
c5b19db662 !253 fix: 修复下载商品导入模版错误问题
Merge pull request !253 from OceansDeep/feature/pg
2022-11-17 10:36:42 +00:00
paulGao
f6a50cc43a fix: 修复下载商品导入模版错误问题 2022-11-17 18:36:04 +08:00
Chopper711
a13260b8c6 '楼层参数写入错误修正' 2022-11-14 09:44:53 +08:00
Chopper711
66c0200457 '商家楼层装修权限放开' 2022-11-14 09:31:20 +08:00
Chopper711
e244883165 '两个装修类合并' 2022-11-14 09:21:35 +08:00
Chopper711
92367c9020 '店铺保存模板配置问题处理' 2022-11-14 09:05:43 +08:00
Chopper711
e78ea60644 '限制演示站点部分功能' 2022-11-11 15:18:48 +08:00
Chopper711
29f73eaaa1 '楼层装修演示站点被覆盖问题处理' 2022-11-08 14:35:29 +08:00
OceansDeep
22c004a892 !250 pref: 优化es生成全部商品索引,减少数据库操作 优化文件
Merge pull request !250 from OceansDeep/feature/pg
2022-11-02 12:02:48 +00:00
paulGao
ef0507cf1d fix: 优化文件 2022-11-02 19:59:13 +08:00
paulGao
9df9e33ce1 fix: 优化代码 2022-11-02 19:54:57 +08:00
paulGao
52a2caaa6d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-11-02 19:43:44 +08:00
paulGao
0b6aa9e857 fix: 优化代码 2022-11-02 19:43:38 +08:00
paulGao
3b078cfd6b pref: 优化es生成全部商品索引,减少数据库操作 2022-11-02 19:43:17 +08:00
Chopper711
67b746998f update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-10-31 03:04:13 +00:00
Chopper711
52f62f0c1d update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-10-31 03:04:01 +00:00
Chopper711
ca23b5ab33 防重复提交问题å‘处理 2022-10-28 17:58:28 +08:00
Chopper711
5a14790ec2 平台脱敏 2022-10-28 17:33:06 +08:00
Chopper711
67542eebfb 用户信息脱敏 2022-10-28 16:58:30 +08:00
Chopper711
88c62bc238 用戶信息查看脫敏字段處理 2022-10-28 16:09:26 +08:00
Chopper711
0c4ed91335 update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-10-27 07:31:48 +00:00
Chopper711
74dbb611ab update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-10-27 07:31:19 +00:00
Chopper711
07e72c7e72 !248 更新无法更新分销员待提现总金额的bug Merge pull request !248 from 隔壁老黄/tempbranch 2022-10-27 01:30:00 +00:00
chc
2c0700c10e lilishop.sql 2022-10-26 17:38:51 +08:00
Chopper711
191cee25a4 !246 fix: 限流次数不对 Merge pull request !246 from @xiaochangbai/pr/optime_lock
Merge pull request !246 from @xiaochangbai/pr/optime_lock
2022-10-26 09:26:19 +00:00
Chopper711
1b4fad72ed !249 修改xxl-job合并冲突配置文件 Merge pull request !249 from 欢哥/master
Merge pull request !249 from 欢哥/master
2022-10-26 09:13:43 +00:00
code huan
3fce0dba48 fix 修改合并冲突文件 2022-10-26 14:58:55 +08:00
chc
706346338b 获取店铺首页 2022-10-25 19:13:03 +08:00
neo0820
aee846764b 更新无法更新分销员待提现总金额的bug 2022-10-25 19:00:59 +08:00
chc
391b35ef1f sql错误 2022-10-25 18:37:12 +08:00
蔡洪呈
9364841cf4 update README.md.
Signed-off-by: 蔡洪呈 <1501738723@qq.com>
2022-10-24 08:39:35 +00:00
OceansDeep
0d7b44fe51 !247 fix: 优化生成商品索引,取消检查库存不为0 优化es商品搜索及es商品特定查询条件的分页
Merge pull request !247 from OceansDeep/feature/pg
2022-10-24 06:40:33 +00:00
paulGao
47734cfca6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-10-24 14:38:08 +08:00
paulGao
a272e53519 fix: 优化es商品搜索及es商品特定查询条件的分页 2022-10-24 14:37:36 +08:00
xiaochangbai
710fe1998b fix: 限流次数不对 2022-10-21 17:36:26 +08:00
蔡洪呈
31c76c08b8 update pom.xml.
修改revision版本号

Signed-off-by: 蔡洪呈 <1501738723@qq.com>
2022-10-21 08:48:17 +00:00
chc
e8e2e8e315 v4.2.5 2022-10-21 11:27:28 +08:00
chc
5a1c6b9e7f v4.2.5 2022-10-21 11:26:55 +08:00
chc
1d98d8eecb 店员 2022-10-20 17:28:37 +08:00
paulGao
7d5e609f7b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-10-18 17:47:14 +08:00
paulGao
4d2cb2d1dc fix: 优化生成商品索引,取消检查库存不为0 2022-10-18 17:46:46 +08:00
OceansDeep
fa2806e3aa !245 fix: 修复商品模版/商品草稿时,增加检查sku列表和配送规则列表不为空
Merge pull request !245 from OceansDeep/feature/pg
2022-10-18 02:35:59 +00:00
paulGao
761d9f45da fix: 修复商品模版/商品草稿时,增加检查sku列表和配送规则列表不为空 2022-10-18 10:34:33 +08:00
OceansDeep
07d9cfe5bc !244 fix: 修复商品模版/商品草稿,保存批发规则无效问题
Merge pull request !244 from OceansDeep/feature/pg
2022-10-14 07:47:57 +00:00
paulGao
b9d7e0787c fix: 修复商品模版/商品草稿,保存批发规则无效问题 2022-10-14 10:31:47 +08:00
paulGao
4ea6660402 fix: 修复售后订单完成后没有返还优惠券问题 2022-10-14 10:30:27 +08:00
Chopper
8391596e2a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-10-13 14:32:46 +08:00
Chopper
0f1cfc129c keys判定优化为精准判定 2022-10-13 14:32:40 +08:00
OceansDeep
3e33f9b363 !242 修复bug,优化代码
Merge pull request !242 from OceansDeep/feature/pg
2022-10-13 04:04:40 +00:00
paulGao
a76cc4693f fix: 修复首页获取秒杀活动时,有时会报错问题 2022-10-13 12:03:01 +08:00
paulGao
d75bb7b7cf pref:
优化商品草稿/商品模版,sku和批发规则保存规则。

BREAKING CHANGE: li_wholesale 表 增加 template_id(商品模版id)字段
2022-10-13 12:02:02 +08:00
paulGao
6c87de7a97 pref: 优化售后日志,状态显示 2022-10-13 11:56:16 +08:00
paulGao
0ba493d71d fix: 修复店铺商品标签排序不正确问题 2022-10-13 11:55:25 +08:00
paulGao
bd0f1f0b23 fix: 修复退还优惠券时,不能同时退还商家和平台 2022-10-13 11:54:36 +08:00
Chopper
d45a96a919 购物车渲染注释修正 2022-10-13 11:06:53 +08:00
Chopper
55e02dde5e token无法验证问题处理 2022-10-12 10:36:38 +08:00
chc
cb7814cbd6 买家端专题 2022-10-11 17:13:12 +08:00
Chopper
2b1abc8aeb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-10-10 15:22:55 +08:00
OceansDeep
3376ce54cc !241 fix: 更新商品状态时,更新es索引信息
Merge pull request !241 from OceansDeep/feature/pg
2022-10-08 03:54:30 +00:00
paulGao
d35b4d1ad6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-10-08 11:52:00 +08:00
paulGao
7a2c45ddb5 fix: 更新商品状态时,更新es索引信息 2022-10-08 11:51:36 +08:00
Chopper
d3648a7e89 无关紧要的地方减少keys使用,改为精准匹配 2022-09-29 09:26:48 +08:00
Chopper
c794bb6a26 redis keys命令可能导致阻塞问题解决以及单元测试 2022-09-29 09:26:18 +08:00
Chopper711
3f8b2f7a30 !233 导出待发货订单bug修复 商品价格显示成订单价格 from lqc520
Merge pull request !233 from lqc520/master

感谢反馈
2022-09-28 07:46:31 +00:00
Chopper711
2bc6d1bc9a !240 🐛 修复在部分linux服务器上由此导致接口中中文参数乱码问题 from 聆听
Merge pull request !240 from 聆听/N/A
感谢反馈
2022-09-28 07:45:46 +00:00
聆听
ee53ddd097 🐛 修复在部分linux服务器上由此导致接口中中文参数乱码问题
Signed-off-by: 聆听 <sunlisten.gzm@foxmail.com>
2022-09-23 09:29:30 +00:00
OceansDeep
1705817128 !239 fix: 更新商品状态时,更新es索引信息
Merge pull request !239 from OceansDeep/feature/pg
2022-09-22 10:40:13 +00:00
paulGao
0f8936e9a9 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-09-22 18:36:50 +08:00
paulGao
e3792cde12 fix: 更新商品状态时,更新es索引信息 2022-09-22 18:36:26 +08:00
Chopper
4792d83119 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-09-22 17:51:26 +08:00
Chopper
27888f503a 去除无效的控制器,规范站点基础设置控制器的规范 2022-09-22 17:51:18 +08:00
OceansDeep
8b0823f504 !238 fix: 优化统一接口返回值
Merge pull request !238 from OceansDeep/feature/pg
2022-09-21 08:34:52 +00:00
paulGao
12476fc173 fix: 优化统一接口返回值 2022-09-21 16:28:46 +08:00
OceansDeep
56cc0a92f6 !237 fix: 修复查询系统日志报错问题,修复添加直播商品报错问题
Merge pull request !237 from OceansDeep/feature/pg
2022-09-20 11:07:12 +00:00
paulGao
88db57c64b fix: 修复查询系统日志报错问题,修复添加直播商品报错问题 2022-09-20 19:06:21 +08:00
OceansDeep
cd1f465a81 !236 fix: 优化库存扣减后清除商品缓存信息
Merge pull request !236 from OceansDeep/feature/pg
2022-09-20 02:17:47 +00:00
paulGao
a80b5ed961 fix: 优化库存扣减后清除商品缓存信息 2022-09-20 09:52:22 +08:00
OceansDeep
7f54cb0de8 !235 fix: 优化扫描登录相关代码
Merge pull request !235 from OceansDeep/feature/pg
2022-09-19 01:30:54 +00:00
paulGao
3549b216b0 fix: 优化扫描登录相关代码 2022-09-19 09:23:56 +08:00
OceansDeep
3786c53cad !219 app端扫码登录
Merge pull request !219 from @xiaochangbai/feature/code_scanning_login
2022-09-16 02:14:49 +00:00
OceansDeep
178e0d18cd !234 修复查询满减活动和优惠券活动报错问题
Merge pull request !234 from OceansDeep/feature/pg
2022-09-14 09:13:56 +00:00
paulGao
cbdcb6f1ce fix: 修复查询满减活动和优惠券活动报错问题 2022-09-14 17:11:26 +08:00
Chopper
74cc5af5c9 被批量请求报错信息导致磁盘沾满问题处理 2022-09-14 01:32:36 +08:00
lqc520
392d90db57 导出待发货订单bug 商品价格显示成订单价格 2022-09-13 17:23:24 +08:00
Chopper
c87081f673 活动商品在商品下架或者删除时数据未能同步处理的问题 2022-09-13 15:17:53 +08:00
paulGao
f375432e7d fix: 为部分异常捕捉添加错误日志展示 2022-09-13 11:33:39 +08:00
OceansDeep
3011645c44 !232 fix: 修复编辑规格值顺序错误问题
Merge pull request !232 from OceansDeep/feature/pg
2022-09-09 11:41:28 +00:00
paulGao
322256cc5a fix: 修复编辑规格值顺序错误问题 2022-09-09 19:08:24 +08:00
OceansDeep
02d017eb9e !231 fix: 修复保存草稿商品规格顺序问题
Merge pull request !231 from OceansDeep/feature/pg
2022-09-09 07:40:59 +00:00
paulGao
2f13bce20d fix: 修复保存草稿商品规格顺序问题 2022-09-09 15:32:49 +08:00
Chopper
e2bf90e340 编译问题处理 2022-09-06 19:36:11 +08:00
Chopper
9bc1247544 促销活动清洗,先处理砍价,其他的后续处理 2022-09-06 19:34:43 +08:00
Chopper
90a2ec9719 商品删除则删除相关促销商品 2022-09-06 19:22:34 +08:00
Chopper
b61cfe8b6b 虚拟商品设置物流模版问题兼容处理 2022-09-06 19:16:26 +08:00
Chopper711
28d57dff72 update README.md.
Signed-off-by: Chopper711 <1814994716@qq.com>
2022-09-06 02:39:07 +00:00
chc
55270548c7 SQL,福禄清除 2022-09-05 14:43:37 +08:00
Chopper
a45f9e7843 特喵的 mybatis bug方法名重复会出现问题,唉服了 2022-09-02 20:43:18 +08:00
Chopper
37cfcde476 参数无法识别问题处理 2022-09-02 20:02:39 +08:00
Chopper
9517f0eedf 统计占位符问题处理 2022-09-02 19:45:52 +08:00
Chopper
a9da0cdcc8 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-09-02 19:09:22 +08:00
Chopper
b3c537d034 订单统计付款人数bug处理 2022-09-02 19:09:17 +08:00
chc
2d4cf29da8 导出功能,福禄清除 2022-09-02 10:31:35 +08:00
chc
eea47aea55 导出 2022-09-02 09:52:11 +08:00
chc
2648a0b57e 店员,商品导入,sql 2022-09-01 18:53:12 +08:00
OceansDeep
46dfe4650e !230 优化规格信息存储顺序,HashMap 替换为 LinkedHashMap
Merge pull request !230 from OceansDeep/feature/pg
2022-09-01 09:37:12 +00:00
paulGao
7eca11d51b 优化规格信息存储顺序,HashMap 替换为 LinkedHashMap 2022-09-01 17:27:13 +08:00
Chopper711
43022a9838 !229 bug 优惠券领取数量错误 from @Fxz
Merge pull request !229 from Fxz/N/A
2022-09-01 01:59:23 +00:00
chc
b873ec2095 电子面单接口完善,商家导入商品功能 2022-08-31 17:37:07 +08:00
Fxz
18f8718de2 bug 优惠券领取数量错误
对于每一张优惠券扣减数量应该是会员数量 * 每张优惠券发放的数量 
即memberList.size()*couponActivityItem.getNum() 也就是memberCouponList.size()

![](https://minio.pigx.vip/oss/2022/08/nb5p9Y.png)
![](https://minio.pigx.vip/oss/2022/08/eMZZnl.png)

如演示环境,3人没人领取3张,应该是9张

Signed-off-by: Fxz <2235602974@qq.com>
2022-08-31 09:11:06 +00:00
OceansDeep
c6c0801d14 !228 优惠券折扣条件判断不可能同时成立
Merge pull request !228 from Fxz/N/A
2022-08-30 09:18:23 +00:00
Chopper
196d27b7c5 店铺入驻问题处理 2022-08-29 15:48:39 +08:00
Fxz
daed961a99 优惠券折扣条件判断不可能同时成立
Signed-off-by: Fxz <2235602974@qq.com>
2022-08-27 06:07:44 +00:00
OceansDeep
8387e03254 !227 修复consumer每日任务更新会员评价异常问题;优化生成每日秒杀活动
Merge pull request !227 from OceansDeep/feature/pg
2022-08-25 02:48:55 +00:00
paulGao
b6d43a069f a 2022-08-25 10:47:31 +08:00
paulGao
558eea94e2 修复consumer每日任务更新会员评价异常问题;优化生成每日秒杀活动 2022-08-25 10:43:56 +08:00
OceansDeep
f5f99efff6 !226 增加商品sku参数空值判断
Merge pull request !226 from OceansDeep/feature/pg
2022-08-19 09:47:26 +00:00
paulGao
cc95fa92e7 增加商品sku参数空值判断 2022-08-19 17:46:12 +08:00
OceansDeep
9eba3287b2 !225 增加订单取消返还优惠券
Merge pull request !225 from OceansDeep/feature/pg
2022-08-16 00:36:58 +00:00
paulGao
46845dd4b9 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-08-15 09:42:52 +08:00
paulGao
c3be2cdfe5 增加订单取消返还优惠券 2022-08-12 17:35:42 +08:00
OceansDeep
443cf1829e !224 修复秒杀活动商品时间不正确问题
Merge pull request !224 from OceansDeep/feature/pg
2022-08-12 03:02:33 +00:00
paulGao
ae833b245e 修复秒杀活动商品时间不正确问题 2022-08-12 11:00:33 +08:00
OceansDeep
88338877b0 !223 优化秒杀活动获取时,当前时间大于活动最后一个时间时,显示最后一个时间
Merge pull request !223 from OceansDeep/feature/pg
2022-08-11 12:25:57 +00:00
paulGao
0d74a4aecc 优化秒杀活动获取时,当前时间大于活动最后一个时间时,显示最后一个时间。优化订单促销类型显示 2022-08-11 20:17:58 +08:00
OceansDeep
1cf0496cd1 !222 优化清除无效促销活动任务,改为批量清除
Merge pull request !222 from OceansDeep/feature/pg
2022-08-11 04:01:38 +00:00
paulGao
050b026166 优化清除无效促销活动任务,改为批量清除 2022-08-11 11:57:58 +08:00
Chopper
8d95319e39 每日任务日志前缀修复 2022-08-11 10:16:53 +08:00
OceansDeep
fe12b0a665 !221 修复新增编辑商品时,生成商品索引时,参数没有传递问题。优化商品新增编辑代码
Merge pull request !221 from OceansDeep/feature/pg
2022-08-10 12:37:17 +00:00
paulGao
93dd2e06d8 修复新增编辑商品时,生成商品索引时,参数没有传递问题。优化商品新增编辑代码 2022-08-10 20:27:38 +08:00
fengtianyangyang
05f29a264e 启动报错 2022-08-09 20:26:40 +08:00
fengtianyangyang
26dd8ed13a Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop into fengtianyangyang_clerk
 Conflicts:
	DB/version4.2.3toMASTER.sql
	common-api/src/main/java/cn/lili/controller/common/SiteController.java
	common-api/src/main/java/cn/lili/controller/common/UploadController.java
	config/application.yml
	framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java
	framework/src/main/java/cn/lili/modules/member/serviceimpl/MemberServiceImpl.java
	framework/src/main/java/cn/lili/modules/order/order/serviceimpl/OrderServiceImpl.java
	framework/src/main/java/cn/lili/modules/page/serviceimpl/PageDataServiceImpl.java
2022-08-09 18:54:19 +08:00
Chopper
72c58059bd 优惠券活动创建限制 2022-08-09 16:08:54 +08:00
xiaochangbai
7e596d47a6 fix: 修复相关bug 2022-08-08 11:11:28 +08:00
Chopper
c38a8c0475 地址重复存在的问题处理 2022-08-08 09:14:15 +08:00
xiaochangbai
15adbf489e feat: app扫码登录 2022-08-07 21:35:27 +08:00
Chopper
98b863be6f 后台操作店铺验证存在问题处理 2022-08-05 17:14:20 +08:00
Chopper
ecd40523d4 演示站点限制修改密码 2022-08-04 11:17:14 +08:00
OceansDeep
7f6de6e64e !218 修复商品索引生成报错问题
Merge pull request !218 from OceansDeep/feature/pg
2022-08-02 07:22:56 +00:00
paulGao
002163fbdc 修复商品索引生成报错问题 2022-08-02 15:21:00 +08:00
paulGao
da9ea504fb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-08-02 15:15:43 +08:00
Chopper
bb171f6e23 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
# Conflicts:
#	framework/src/main/java/cn/lili/modules/search/serviceimpl/EsGoodsIndexServiceImpl.java
2022-08-02 10:57:31 +08:00
Chopper
b860c2eed0 优化结构 2022-08-02 10:52:47 +08:00
Chopper
fdf81d1b39 分词问题优化 2022-08-02 10:51:10 +08:00
paulGao
40bf6d3010 优化获取秒杀活动 2022-07-27 22:13:56 +08:00
OceansDeep
2d63d36f51 !217 优化促销验证商品,检查商品是否可以参与促销
Merge pull request !217 from OceansDeep/feature/pg
2022-07-27 09:22:37 +00:00
paulGao
ed976e90dc 优化促销验证商品,检查商品是否可以参与促销 2022-07-27 17:21:48 +08:00
OceansDeep
6f4994b5da !216 add transactional
Merge pull request !216 from OceansDeep/feature/pg
2022-07-27 04:07:29 +00:00
paulGao
a2a923809e add transactional 2022-07-27 12:06:47 +08:00
OceansDeep
8d06ccace9 !215 修复小程序注册用户没有发送会员注册信息问题
Merge pull request !215 from OceansDeep/feature/pg
2022-07-26 11:30:20 +00:00
paulGao
99479e722a 修复小程序注册用户没有发送会员注册信息问题 2022-07-26 19:18:01 +08:00
OceansDeep
70890cdc19 !214 修复积分商品购买时,价格问题
Merge pull request !214 from OceansDeep/feature/pg
2022-07-25 13:00:47 +00:00
paulGao
0eebc544a6 修复积分商品购买时,价格问题 2022-07-25 20:52:03 +08:00
OceansDeep
12280e5769 !213 优化代码,修复自动生成的es分词无效问题
Merge pull request !213 from OceansDeep/feature/pg
2022-07-21 03:53:36 +00:00
paulGao
4ec2c1b943 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-07-21 11:52:17 +08:00
paulGao
d6edb93403 优化代码,修复自动生成的es分词无效问题 2022-07-21 11:52:12 +08:00
Chopper
3236a05ae9 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-07-19 18:45:42 +08:00
Chopper
5576ae7305 解决 lilishop4.2.4中存在序列化购物车,促销信息会在序列化后丢失,无法反序列化。 2022-07-19 18:45:08 +08:00
Chopper
d5aadf6926 店铺入驻分批保存可能存在无法入住问题解决 2022-07-19 18:38:38 +08:00
paulGao
2eb469b228 improve code 2022-07-19 15:24:39 +08:00
Chopper
088c6faae1 店铺保存问题处理,解决可能存在多次入驻店铺无法申请失败问题 2022-07-19 15:15:59 +08:00
OceansDeep
04f7d22e3f !212 优化商品索引的促销信息生成。优化批量生成分词
Merge pull request !212 from OceansDeep/feature/pg
2022-07-18 11:12:12 +00:00
paulGao
950274f6be 优化商品索引的促销信息生成。优化批量生成分词 2022-07-18 19:06:17 +08:00
OceansDeep
c6596fff1a !211 更新部分es日志
Merge pull request !211 from OceansDeep/feature/pg
2022-07-18 04:11:55 +00:00
paulGao
7cbbc57514 更新部分es日志 2022-07-18 12:11:16 +08:00
fengtianyangyang
8041a4a4fc 店铺退款流水金额计算错误 2022-07-15 14:27:10 +08:00
OceansDeep
1fa247aa35 !210 优化保存楼层装修。优化管理端优惠券搜索
Merge pull request !210 from OceansDeep/feature/pg
2022-07-13 13:05:15 +00:00
paulGao
7de49dcfb8 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-07-13 20:03:12 +08:00
paulGao
b21e307640 优化保存楼层装修。优化管理端优惠券搜索 2022-07-13 20:03:05 +08:00
Chopper
aae7eedd49 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-07-13 19:06:06 +08:00
Chopper
bce60310c5 minio增加字段,可配置前端访问地址。endpoint可以继续走局域网ip 2022-07-13 19:05:59 +08:00
OceansDeep
d17cb4ce96 !209 修复批发商品订单下单时,订单单项价格错误问题
Merge pull request !209 from OceansDeep/feature/pg
2022-07-12 09:16:09 +00:00
paulGao
4b25a03b1d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-07-12 17:13:35 +08:00
paulGao
682433efe4 修复批发商品订单下单时,订单单项价格错误问题 2022-07-12 17:13:17 +08:00
Chopper
a6f28d67eb 代码格式化一下 2022-07-12 10:17:34 +08:00
Chopper
c663aa2799 minio上传失败前端无感知问题处理 2022-07-11 18:53:07 +08:00
Chopper
2c02b816b5 一个分销时间展示以及一个字段没有正确的存储值问题处理 2022-07-11 18:52:31 +08:00
Chopper711
d14b87729a !208 解决短信发送失败 时,前端无感知问题。from zypy333/N/A
Merge pull request !208 from zypy333/N/A
2022-07-11 03:51:16 +00:00
fengtianyangyang
70b41ab8a8 sql修改 2022-07-08 15:17:59 +08:00
zypy333
d185b548f7 update framework/src/main/java/cn/lili/modules/sms/impl/SmsUtilAliImplService.java.
抛出返回码错误
2022-07-08 03:57:53 +00:00
OceansDeep
4b5dcec08b !207 优化取消订单生成店铺流水
Merge pull request !207 from OceansDeep/feature/pg
2022-07-07 10:11:04 +00:00
paulGao
13a7a875a4 优化取消订单生成店铺流水 2022-07-07 18:10:31 +08:00
OceansDeep
8743bf4b93 !206 增加取消订单生成店铺流水,优化代码
Merge pull request !206 from OceansDeep/feature/pg
2022-07-07 09:26:32 +00:00
paulGao
d8792e9e27 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-07-07 17:25:36 +08:00
paulGao
82a0cd0336 增加取消订单生成店铺流水,优化代码 2022-07-07 17:25:15 +08:00
Chopper
60ae5b8965 后台用户编辑问题处理 2022-07-06 17:30:01 +08:00
Chopper
4d4b54ec36 分销订单0元佣金记录订单问题处理 2022-07-06 16:41:40 +08:00
Chopper
53f6910a34 积分商品不允许使用优惠券 2022-07-06 15:57:49 +08:00
OceansDeep
826c3a8f8f !205 代码优化,修复订单投诉问题
Merge pull request !205 from OceansDeep/feature/pg
2022-07-04 10:32:34 +00:00
paulGao
727ddd3198 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-07-04 18:31:49 +08:00
paulGao
7b535434ae 代码优化,修复订单投诉问题 2022-07-04 18:31:36 +08:00
Chopper711
da8ed53c60 !204 修正方法命名
Merge pull request !204 from zypy333/N/A 感谢支持
2022-07-04 09:14:40 +00:00
Chopper
40e9d6f392 时间不归零导致无法展示订单统计历史数据 2022-07-01 15:36:07 +08:00
zypy333
d189f55de1 修正方法命名 2022-07-01 03:18:20 +00:00
Chopper711
893f4a0388 !202 update framework/src/main/java/cn/lili/modules/member/serviceimpl/MemberServiceImpl.java.
Merge pull request !202 from zypy333/N/A
2022-06-30 07:21:35 +00:00
zypy333
a28547c581 update framework/src/main/java/cn/lili/modules/member/serviceimpl/MemberServiceImpl.java.
修正错别字
2022-06-29 03:10:05 +00:00
OceansDeep
a8079e0d35 !201 优化生成索引时,自动将分词信息添加到分词表
Merge pull request !201 from OceansDeep/feature/pg
2022-06-29 01:42:36 +00:00
paulGao
60a210a45f 优化生成索引时,自动将分词信息添加到分词表 2022-06-29 09:33:02 +08:00
Chopper
170aa01946 变更购物车会导致优惠券金额错误问题处理 2022-06-27 17:57:48 +08:00
OceansDeep
f4c8e5d493 !200 优化商品索引,如数据库中无当前商品则删除商品索引
Merge pull request !200 from OceansDeep/feature/pg
2022-06-23 01:58:22 +00:00
paulGao
b3a0a402d7 优化监听事务提交发送mq事件,为订单变更发送mq增加事务提交监听 2022-06-23 09:55:52 +08:00
Chopper711
b6c70d1530 update README.md. 2022-06-23 01:46:05 +00:00
Chopper
8fbc7b9f5c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-06-23 09:11:37 +08:00
Chopper
3c2e73b5f5 调整es日志级别 2022-06-23 09:11:33 +08:00
paulGao
1a221eefe3 优化商品索引,如数据库中无当前商品则删除商品索引 2022-06-22 18:42:04 +08:00
OceansDeep
5912428c00 !199 优化监听事务提交发送mq事件,为订单变更发送mq增加事务提交监听
Merge pull request !199 from OceansDeep/feature/pg
2022-06-22 09:46:45 +00:00
paulGao
f01236cc96 优化监听事务提交发送mq事件,为订单变更发送mq增加事务提交监听 2022-06-22 17:44:40 +08:00
paulGao
ad1f5a297e 修复获取会员钱包可能发生的异常 2022-06-22 17:32:19 +08:00
paulGao
96697e11fd 优化监听事务提交发送mq事件,为订单变更发送mq增加事务提交监听 2022-06-22 17:31:26 +08:00
OceansDeep
25e8b9b578 !198 修复编辑有参加商品的促销活动的时间时,原参与活动的商品的时间没有更新问题
Merge pull request !198 from OceansDeep/feature/pg
2022-06-22 07:06:39 +00:00
paulGao
49603e29bd 修复编辑有参加商品的促销活动的时间时,原参与活动的商品的时间没有更新问题 2022-06-22 15:05:25 +08:00
OceansDeep
6a18489c15 !197 代码结构优化。默认拼团结束时间修改为24小时
Merge pull request !197 from OceansDeep/feature/pg
2022-06-22 06:53:21 +00:00
paulGao
cb52fca2a4 代码结构优化。默认拼团结束时间修改为24小时 2022-06-22 14:44:58 +08:00
paulGao
00964e6bbf Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-06-20 15:29:10 +08:00
Chopper
ea1b91af2a 日志内容意义不明确优化,补充备注。去除一行无效的代码。 2022-06-20 12:01:32 +08:00
Chopper
8894e5482f minio删除文件错误bug修复 2022-06-20 11:06:20 +08:00
paulGao
e17e3474ca 优化商品索引搜索 2022-06-17 19:08:08 +08:00
paulGao
6d09bd4987 优化商品索引搜索 2022-06-17 15:40:52 +08:00
OceansDeep
84f3907140 !194 修复生成索引时no such index问题
Merge pull request !194 from OceansDeep/feature/pg
2022-06-17 03:21:07 +00:00
paulGao
d704e2eb55 修复生成索引时no such index问题 2022-06-17 11:20:22 +08:00
OceansDeep
2e4c6f4284 !193 增加批发商品不能参加促销活动的限制 修复批发商品购买数量限制
Merge pull request !193 from OceansDeep/feature/pg
2022-06-16 08:47:21 +00:00
paulGao
61c77e0047 修复批发商品购买数量限制 2022-06-16 16:46:09 +08:00
paulGao
cf1e6fc283 增加批发商品不能参加促销活动的限制 2022-06-16 16:40:28 +08:00
OceansDeep
b361e46fb7 !192 优化代码,修复bug
Merge pull request !192 from OceansDeep/feature/pg
2022-06-16 02:22:47 +00:00
paulGao
7bb06e7fdc 优化代码,修复bug 2022-06-16 10:21:41 +08:00
caihongcheng
9f83b40be4 错误提交 2022-06-15 18:21:06 +08:00
caihongcheng
1edd3441bc 电子面单 2022-06-15 18:09:55 +08:00
OceansDeep
079a4a2cf6 !191 优化编辑店铺信息后,清除缓存
Merge pull request !191 from OceansDeep/feature/pg
2022-06-14 07:38:31 +00:00
paulGao
049a759cda 优化编辑店铺信息后,清除缓存 2022-06-14 15:36:29 +08:00
OceansDeep
a6ff38159f !190 优化索引生成,商品索引查询
Merge pull request !190 from OceansDeep/feature/pg
2022-06-13 10:51:16 +00:00
paulGao
056f040317 优化索引生成,商品索引查询 2022-06-13 18:50:09 +08:00
chopper711
c161206832 update README.md. 2022-06-13 06:54:12 +00:00
chopper711
e9a0c293f8 update README.md. 2022-06-13 06:53:48 +00:00
OceansDeep
24de62f5f4 !189 优化代码结构
Merge pull request !189 from OceansDeep/feature/pg
2022-06-10 10:43:28 +00:00
paulGao
b7b278f296 优化代码结构 2022-06-10 18:42:56 +08:00
OceansDeep
712941038b !188 优化初始化商品索引,增加编辑商品时,保留原商品的销量、好评率和评价量
Merge pull request !188 from OceansDeep/feature/pg
2022-06-09 08:46:56 +00:00
paulGao
4316fa8953 优化初始化商品索引,增加编辑商品时,保留原商品的销量、好评率和评价量 2022-06-09 16:43:16 +08:00
paulGao
d14763d52c 优化代码,增加buyer启动时检测es索引存在,如不存在则自动创建 2022-06-09 15:32:24 +08:00
OceansDeep
79e1f34890 !187 优化代码,修复bug
Merge pull request !187 from OceansDeep/feature/pg
2022-06-09 01:19:19 +00:00
paulGao
3cb8e066b3 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-06-09 09:16:18 +08:00
paulGao
5e6a56e193 优化代码,修改一个可能出现的获取商品分类的错误 2022-06-09 09:15:57 +08:00
paulGao
478ba2048a 修改商品有效性判定中,根据商品更新时间比较改为商品创建时间比较(因修改了商品更新逻辑,每次都是删除后新增,所以无商品更新时间) 2022-06-09 09:13:13 +08:00
paulGao
8426294a0f 修复判断会员存在条件参数传递顺序错误问题 2022-06-08 16:35:44 +08:00
OceansDeep
178954c8b2 !186 适配优化的sql,将平台id改为0
Merge pull request !186 from OceansDeep/feature/pg
2022-06-08 08:16:05 +00:00
paulGao
6ce2b65d89 适配优化的sql,将平台id改为0 2022-06-08 16:15:14 +08:00
fengtianyangyang
fb45fee426 提现申请时,预存款金额为0无法审核通过错误 2022-06-07 18:41:31 +08:00
Chopper
ffca49f469 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-06-07 18:30:24 +08:00
Chopper
f32c7a7253 运费计算模式调整 同一运费模版的商品,采用累加计算,起送费/虚件(重)费用。 2022-06-07 18:30:21 +08:00
OceansDeep
a64ccdba78 !185 修复一个可能出现的获取促销信息的bug
Merge pull request !185 from OceansDeep/feature/pg
2022-06-07 07:24:58 +00:00
paulGao
5f6bae6fa9 修复一个可能出现的获取促销信息的bug 2022-06-07 15:18:07 +08:00
OceansDeep
fd503b4071 !184 过滤无效促销信息异常增加日志
Merge pull request !184 from OceansDeep/feature/pg
2022-06-07 07:07:54 +00:00
paulGao
9ece357e39 过滤无效促销信息异常增加日志 2022-06-07 15:07:14 +08:00
OceansDeep
d53c8362a2 !183 修复一个可能出现的获取促销信息的bug
Merge pull request !183 from OceansDeep/feature/pg
2022-06-07 04:31:08 +00:00
paulGao
8f3ca8c28d 修复一个可能出现的获取促销信息的bug 2022-06-07 12:30:29 +08:00
OceansDeep
7f5675ae3c !182 修复一个可能出现的获取促销信息的bug
Merge pull request !182 from OceansDeep/feature/pg
2022-06-07 04:16:37 +00:00
paulGao
7b9f4be98c 修复一个可能出现的获取促销信息的bug 2022-06-07 12:16:08 +08:00
Chopper
ca352ca341 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-06-07 09:37:25 +08:00
Chopper
a22ccbdda5 兼容MINIO 2022-06-07 09:35:58 +08:00
OceansDeep
e6b50248de !181 修复券活动获取的优惠券某些情况不能使用问题
Merge pull request !181 from OceansDeep/feature/pg
2022-06-06 07:26:12 +00:00
paulGao
ee3f8a9261 修复券活动获取的优惠券某些情况不能使用问题 2022-06-06 15:24:52 +08:00
OceansDeep
922d7222cd !180 修复一个可能发生的获取订单信息时发生的错误
Merge pull request !180 from OceansDeep/feature/pg
2022-06-06 02:13:39 +00:00
paulGao
4a8900105b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-06-06 10:12:17 +08:00
paulGao
65a4bb7778 修复一个可能发生的获取订单信息时发生的错误 2022-06-06 10:12:09 +08:00
OceansDeep
3944551c06 !179 修复取消订单商品时库存更新问题
Merge pull request !179 from OceansDeep/feature/pg
2022-06-02 09:13:07 +00:00
paulGao
66d7ffbb17 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-06-02 16:58:42 +08:00
paulGao
c4d879a0ad 修复取消订单商品时库存更新问题 2022-06-02 16:50:26 +08:00
OceansDeep
b97f77c740 !176 智能商品推荐
Merge pull request !176 from viper/Intelligent_recommendation
2022-06-02 07:17:40 +00:00
OceansDeep
27ad9b0599 !177 增加结算时当前商品促销最新状态的查询
Merge pull request !177 from OceansDeep/feature/pg
2022-06-02 02:32:37 +00:00
paulGao
234b8ab31c 增加结算时当前商品促销最新状态的查询(修复手动删除或下架促销活动时,购物车商品还是促销价格问题) 2022-06-02 10:31:24 +08:00
Chopper
519a608316 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-06-02 09:16:46 +08:00
Chopper
d4a13c8a82 店铺商品数量,店铺缓存数据2小时。优化 2022-06-02 09:16:30 +08:00
xiaochangbai
ccb57411a2 refactor:优化代码 2022-06-01 21:27:51 +08:00
xiaochangbai
486bebe6d2 feat:智能商品推荐 2022-06-01 18:03:30 +08:00
OceansDeep
5b3129bf01 !174 优化商品信息变更时,删除商品缓存流程
Merge pull request !174 from OceansDeep/feature/pg
2022-06-01 07:24:22 +00:00
paulGao
23c742c4c6 优化商品信息变更时,删除商品缓存流程 2022-06-01 15:23:21 +08:00
OceansDeep
90d3bbd79e !173 修复新增商品时,批发商品规则没有保存问题
Merge pull request !173 from OceansDeep/feature/pg
2022-05-31 09:27:36 +00:00
paulGao
400a06d2ac 修复新增商品时,批发商品规则没有保存问题 2022-05-31 17:23:21 +08:00
OceansDeep
594d2f620c !172 修复编辑商品时默认读取缓存中的数据
Merge pull request !172 from OceansDeep/feature/pg
2022-05-31 09:01:34 +00:00
paulGao
1a6ec578de 修复编辑商品时默认读取缓存中的数据 2022-05-31 17:01:01 +08:00
OceansDeep
e009604595 !171 修复无法新建批发商品
Merge pull request !171 from OceansDeep/feature/pg
2022-05-31 08:34:24 +00:00
paulGao
8b23c623d1 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-05-31 16:34:01 +08:00
paulGao
a3c4e72902 修复无法新建批发商品 2022-05-31 16:33:10 +08:00
chopper711
7e54412fc3 !167 修复直播延迟消息状态错误
Merge pull request !167 from viper/fix_broadcast-status-msg
2022-05-31 08:09:02 +00:00
OceansDeep
564970a324 !170 分类编辑时,清除缓存;优化代码
Merge pull request !170 from OceansDeep/feature/pg
2022-05-31 06:38:52 +00:00
paulGao
1ecd32027e 分类编辑时,清除缓存;优化代码 2022-05-31 14:37:18 +08:00
OceansDeep
ceb5727337 !169 修复新增编辑商品无商品图片问题
Merge pull request !169 from OceansDeep/feature/pg
2022-05-30 02:42:56 +00:00
paulGao
17c7552f7f 增加商品批发销售模式的处理。优化生成商品sku的结构。 2022-05-30 10:39:12 +08:00
OceansDeep
8fbcad8856 !168 增加商品批发销售模式的处理。优化生成商品sku的结构。
Merge pull request !168 from OceansDeep/feature/pg
2022-05-27 10:28:46 +00:00
paulGao
a61fd454b4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-05-27 16:32:56 +08:00
paulGao
c0337afbaa 优化代码。升级hutool和lombok依赖 2022-05-27 16:32:39 +08:00
paulGao
acb9e78a36 增加商品批发销售模式的处理。优化生成商品sku的结构。 2022-05-27 16:32:00 +08:00
xiaochangbai
431ff04644 fix: 修复直播延迟消息状态错误 2022-05-26 16:24:39 +08:00
Chopper
201fb0a136 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-25 17:41:36 +08:00
Chopper
90671729ea 上一周期数据问题处理 2022-05-25 17:41:31 +08:00
OceansDeep
8596175f8e !166 修复商品编辑规格时,删除规格后。es中没有删除问题。
Merge pull request !166 from OceansDeep/feature/pg
2022-05-25 03:25:34 +00:00
paulGao
e9fdec6bb0 修复商品编辑规格时,删除规格后。es中没有删除问题。 2022-05-25 11:22:53 +08:00
OceansDeep
026b6aca07 !165 优化更新商品sku的方式
Merge pull request !165 from OceansDeep/feature/pg
2022-05-19 09:41:30 +00:00
paulGao
fafe3c0c55 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-05-19 17:35:23 +08:00
paulGao
f2b327c811 添加一种更新商品sku的方式。mysql replace into(先查找,如存在则删除,新增。如不存在新增) 2022-05-19 17:34:55 +08:00
caihongcheng
7fccbc2aa2 根据类型查看文章接口缺失 2022-05-19 15:23:44 +08:00
Chopper
7c40f5988b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-18 22:38:18 +08:00
Chopper
b19e4043cd 字符串长度处理 2022-05-18 22:38:13 +08:00
OceansDeep
db75aa1cab !159 优化修改sku时,如存在sku则不新增
Merge pull request !159 from OceansDeep/feature/pg
2022-05-18 14:02:16 +00:00
paulGao
f5718b4062 优化修改sku时,如存在sku则不新增 2022-05-18 22:00:42 +08:00
Chopper
d25f17782b 规范长度限制 2022-05-18 21:35:17 +08:00
Chopper
e3626a094d 支付参数长度进行限制 2022-05-18 16:48:03 +08:00
Chopper
fc7b17fe40 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-18 15:15:31 +08:00
Chopper
87e13b3677 支付问题处理 2022-05-18 15:15:22 +08:00
caihongcheng
a540e42460 siteController 2022-05-18 14:35:34 +08:00
OceansDeep
c4e24fb0a3 !158 优化生成商品索引,分批生成
Merge pull request !158 from OceansDeep/feature/pg
2022-05-13 10:19:42 +00:00
paulGao
31fb55635e 优化生成商品索引,分批生成 2022-05-13 18:18:46 +08:00
Chopper
3dcff0b682 在线人数流量展示少一个小时问题处理 2022-05-13 17:42:36 +08:00
Chopper
81f48d9c92 对上一周期的参数赋值做处理 2022-05-13 11:45:30 +08:00
Chopper
6331b0d587 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-13 11:19:11 +08:00
Chopper
57cf3b94e0 足迹分页相关问题处理 2022-05-13 11:19:02 +08:00
OceansDeep
b683eac996 !157 优化修改sku时,如存在sku则不新增
Merge pull request !157 from OceansDeep/feature/pg
2022-05-13 03:09:18 +00:00
paulGao
ccdcb1d0f6 优化修改sku时,如存在sku则不新增 2022-05-13 11:03:26 +08:00
Chopper
4f5f02f030 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-13 09:19:24 +08:00
Chopper
0629ce51af 默认值给予0 2022-05-13 09:19:21 +08:00
paulGao
46f1fcc269 优化修改sku时,如存在sku则不新增 2022-05-13 09:01:06 +08:00
fengtianyangyang
b49b0290f8 还原多合并代码 2022-05-12 15:30:53 +08:00
fengtianyangyang
7ca351f7cd 结算单-平台优惠券补贴金额错误修改 2022-05-11 19:20:35 +08:00
Chopper
850b124da3 流量统计增加对上一周期的数据填充 2022-05-11 17:49:44 +08:00
OceansDeep
49a2d3cab3 !156 更新阿里云maven地址。更新部分依赖到最新
Merge pull request !156 from OceansDeep/feature/pg
2022-05-10 06:47:19 +00:00
paulGao
038eda1562 更新阿里云maven地址。更新部分依赖到最新 2022-05-10 14:38:57 +08:00
caihongcheng
b91c8e34c2 电子面单 2022-05-09 09:27:30 +08:00
caihongcheng
0a631a7c93 requestData多了个引号 2022-05-07 21:24:51 +08:00
caihongcheng
4705c2595a 追踪物流信息增加手机号后四位参数 2022-05-06 16:16:34 +08:00
Chopper
0ff6809d63 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-05-06 15:51:19 +08:00
Chopper
a375feabfc 售后流水问题,售后代码被多个地方调用的方式优化,以后只有一个入口 2022-05-06 15:51:13 +08:00
OceansDeep
5b9fd139a3 !155 修复结算时,清空购物车问题
Merge pull request !155 from OceansDeep/feature/pg
2022-05-06 07:51:04 +00:00
paulGao
fd92d93289 修复结算时,清空购物车问题 2022-05-06 15:50:20 +08:00
paulGao
840637c0d0 优化编辑商品状态时,商品缓存的删除 2022-05-05 17:58:13 +08:00
OceansDeep
f41f5386cc !154 修复防重复提交bug
Merge pull request !154 from OceansDeep/feature/pg
2022-05-05 04:01:58 +00:00
paulGao
f4a7d8ea92 修复防重复提交bug 2022-05-05 11:57:05 +08:00
OceansDeep
26c9160c75 !152 优化默认生成的es商品索引结构。解决初次启动时,搜索商品报错
Merge pull request !152 from OceansDeep/feature/pg
2022-04-27 10:17:58 +00:00
paulGao
4c1955da75 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-27 18:15:30 +08:00
paulGao
66e6272571 优化默认生成的es商品索引结构。解决初次启动时,搜索商品报错 2022-04-27 18:15:11 +08:00
Chopper
e9d5e705ed Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-04-26 14:16:44 +08:00
Chopper
16fdb28141 多修改的代码还原 2022-04-26 14:16:39 +08:00
OceansDeep
e289cf29fe !151 优化合并
Merge pull request !151 from OceansDeep/feature/pg
2022-04-26 03:40:22 +00:00
paulGao
1cd74cc26a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-26 11:37:53 +08:00
paulGao
27112e35b3 优化搜索关键字不能为空格。优化管理端商品上下架时没有清空goods缓存问题 2022-04-26 11:37:48 +08:00
paulGao
b2a8578f43 增加异常重试机制。(目前作用于es批量更新删除时,有时会出现的内容版本冲突问题) 2022-04-26 11:36:28 +08:00
Chopper
0e0a8b039d 管理员用户权限不再放在永久缓存,而是放在临时缓存(5分钟),由于访问频率较低,在加上涉及的业务太复杂,所以去除了之前对权限的永久缓存以及模糊删除用户权限缓存相关代码 2022-04-26 09:33:54 +08:00
Chopper
cbd201c43b 还原配置 2022-04-25 18:58:01 +08:00
Chopper
a6d734bacf Merge branch 'hotwords'
热词功能,管理端权限存在的问题处理
# Conflicts:
#	framework/src/main/java/cn/lili/modules/order/order/serviceimpl/StoreFlowServiceImpl.java
#	framework/src/main/java/cn/lili/modules/search/serviceimpl/EsGoodsSearchServiceImpl.java
#	manager-api/src/main/java/cn/lili/controller/hotwords/HotWordsManagerController.java
2022-04-25 18:32:46 +08:00
Chopper
8dc86e0482 热词功能完善 2022-04-25 18:08:06 +08:00
paulGao
d0226611d7 增加初始化生成索引日志 2022-04-25 17:34:24 +08:00
OceansDeep
2b21c3cd09 !150 优化生成索引mapping日志
Merge pull request !150 from OceansDeep/feature/pg
2022-04-25 09:23:34 +00:00
paulGao
b1bdd9b8a5 优化生成索引mapping日志 2022-04-25 17:22:52 +08:00
Chopper
bb50510ecb 解决管理员权限相关问题 2022-04-25 10:31:39 +08:00
paulGao
aa185c8bd2 优化consumer生成商品索引。改为批量生成 2022-04-25 10:26:51 +08:00
fengtianyangyang
99e3b234c9 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2022-04-22 18:47:10 +08:00
fengtianyangyang
5168d8d08d 配置文件还原 2022-04-22 18:45:43 +08:00
fengtianyangyang
230a8810ef 积分商品,砍价商品结算单错误问题 2022-04-22 18:44:32 +08:00
OceansDeep
e8e8c1abcc !149 修复结算时,无有效商品,造成空订单问题
Merge pull request !149 from OceansDeep/feature/pg
2022-04-22 08:50:52 +00:00
paulGao
0354d6dc3e 修复结算时,无有效商品,造成空订单问题 2022-04-22 16:27:13 +08:00
fengtianyangyang
47ad388f7d 售后申请数量错误 2022-04-22 11:10:42 +08:00
fengtianyangyang
2d57483805 结算单优惠券退款异常 2022-04-22 11:02:23 +08:00
OceansDeep
363dbd3a7f !148 修复项目启动时可能会造成es client must not be null的问题
Merge pull request !148 from OceansDeep/feature/pg
2022-04-22 01:13:07 +00:00
paulGao
5b5863c899 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-22 09:12:11 +08:00
paulGao
4c1ae8c3cc 修复一个项目启动时可能会造成es client must not be null的问题 2022-04-22 09:11:51 +08:00
OceansDeep
29ed211519 !147 优化
Merge pull request !147 from OceansDeep/feature/pg
2022-04-21 08:28:26 +00:00
paulGao
9f965c4e56 修复主订单取消后赠品订单不会取消问题。优化热词 2022-04-21 16:25:43 +08:00
Chopper
0148868129 分类递归错误的参数传递问题解决 2022-04-21 15:49:53 +08:00
paulGao
d46863b5b5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-21 15:12:27 +08:00
fengtianyangyang
1917aa13d5 店铺结算空指针问题 2022-04-21 10:51:12 +08:00
Chopper
2994131048 当结算周期只有一天时,无法结算问题处理 2022-04-21 10:11:21 +08:00
paulGao
f0d6938127 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-20 17:54:21 +08:00
paulGao
0203630d6a 增加店铺商品索引操作 2022-04-20 09:39:03 +08:00
Chopper
89c5c2dd83 评价数量展示异常问题处理 2022-04-19 10:18:25 +08:00
Chopper
ce1954e7d3 消费者一个错误处理 2022-04-19 09:39:33 +08:00
Chopper
947a82eac5 热词统计,热词功能改版 2022-04-19 09:28:26 +08:00
fengtianyangyang
9dc01f6057 店铺结算单结算问题 2022-04-18 19:09:05 +08:00
paulGao
37c5ce541b 优化楼层装修 2022-04-17 21:46:34 +08:00
paulGao
726eb06714 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-17 21:45:49 +08:00
fengtianyangyang
df505e0e17 店铺结算单金额问题 2022-04-15 19:05:27 +08:00
paulGao
06fffac835 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-14 09:09:25 +08:00
paulGao
264a423444 remove invalid class 2022-04-14 09:09:22 +08:00
Chopper
6ae9692358 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-04-13 16:58:23 +08:00
Chopper
7270564b10 由于代码调用顺序错误,导致总是输出一段错误的日志内容。 2022-04-13 16:58:19 +08:00
paulGao
a485a29868 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-13 14:30:40 +08:00
fengtianyangyang
ec04c3221f 移除文章类型删除 2022-04-13 12:00:40 +08:00
Chopper
761982474c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-04-13 11:49:32 +08:00
Chopper
d13b0404fb 增加一下短信验证码在info级别的日志打印 2022-04-13 11:49:23 +08:00
fengtianyangyang
6966376f91 文章增加文章类型修改及文章类型删除 2022-04-13 11:06:51 +08:00
Chopper
2720f5c0bb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-04-11 14:18:42 +08:00
paulGao
881f039e44 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-11 14:18:39 +08:00
Chopper
81c7a72b9c 解决优惠券在购物车中缓存会出现的一些极端bug 2022-04-11 14:18:37 +08:00
fengtianyangyang
c0391e3fc1 微信同步消息时删除模板问题 2022-04-11 11:23:02 +08:00
paulGao
7e542750f6 增加每次获取优惠券信息时,检查优惠券是否过期 2022-04-08 16:59:12 +08:00
fengtianyangyang
7cbf638822 配置文件修改 2022-04-07 17:37:59 +08:00
fengtianyangyang
4cdb461c22 配置文件修改及sql 2022-04-07 17:35:22 +08:00
fengtianyangyang
ba57f19ee7 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/shengxing into clerk 2022-04-07 17:13:04 +08:00
fengtianyangyang
9ba2693698 店员错误 2022-04-07 17:09:25 +08:00
OceansDeep
3439b7aee5 !146 修复秒杀活动相同商品参与时,删除其他活动商品信息问题
Merge pull request !146 from OceansDeep/feature/pg
2022-04-07 08:31:23 +00:00
paulGao
63b23fbe76 修复秒杀活动相同商品参与时,删除其他活动商品信息问题 2022-04-07 16:06:23 +08:00
paulGao
63fff2398e Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-07 14:32:12 +08:00
chopper711
db8796df99 update README.md. 2022-04-07 04:07:23 +00:00
Chopper
4095481411 会员促销运算时,优惠券会被缓存,可能导致无效数据返回。 2022-04-07 10:19:19 +08:00
paulGao
8e30defa0e 优化es商品搜索,全分词匹配改为2分词匹配 2022-04-06 10:39:51 +08:00
paulGao
06ee6d6359 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-06 09:29:38 +08:00
paulGao
a988dedfbf 增加根据名称获取地址信息 2022-04-02 18:42:03 +08:00
fengtianyangyang
f90c6fb27d 注释 2022-04-01 21:59:44 +08:00
OceansDeep
5292d6ef90 !145 fix bugs and improve code
Merge pull request !145 from OceansDeep/feature/pg
2022-04-01 07:25:20 +00:00
paulGao
e760af7216 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-04-01 15:21:55 +08:00
paulGao
e4889d82f2 替换弃用的hutool的SSLSocketFactoryBuilder 2022-04-01 15:21:28 +08:00
paulGao
9d170ecc30 修复获取店铺分类缓存key错误问题 2022-04-01 15:18:35 +08:00
Chopper
cf01011504 注销功能接口提供完善 2022-03-31 16:49:12 +08:00
Chopper
b1291d3c43 文件内容错误,恢复内容 2022-03-31 14:04:56 +08:00
Chopper
82546eed06 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-03-31 09:21:23 +08:00
Chopper
bf667e2aa6 签到问题处理 2022-03-31 09:21:18 +08:00
OceansDeep
5b6f208f53 !144 修复更新商品索引促销时,更新的促销信息不正确问题
Merge pull request !144 from OceansDeep/feature/pg
2022-03-30 09:24:23 +00:00
paulGao
210d56447c 优化更新全部商品索引时的性能 2022-03-30 17:21:57 +08:00
paulGao
c093261369 修复更新商品索引促销时,更新的促销信息不正确问题 2022-03-30 17:17:09 +08:00
paulGao
ee4f87d12d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-03-30 14:27:29 +08:00
paulGao
74b0a5b081 修复一个搜索es商品时可能会发生的date格式转换问题 2022-03-30 14:27:12 +08:00
Chopper
f51774c077 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-03-30 11:54:58 +08:00
Chopper
bd9f7b8b9f 收款单创建时间字段问题处理 2022-03-30 11:54:56 +08:00
chopper711
dc55bd63f5 !141 ResultCode虚拟商品无需配送模板提示更正 from @Assure
Merge pull request !141 from Assure/master
2022-03-29 09:05:26 +00:00
chopper711
07ce947f78 !142 优化CommonUtil.getRandomNum() 提升随机数性能。 from @原批王
Merge pull request !142 from 原批王/master
2022-03-29 09:02:36 +00:00
OceansDeep
0f6cc70f66 !143 修复秒杀活动时间段为一个时。不显示问题。修复可能会出现的es代码编译问题。improve code
Merge pull request !143 from OceansDeep/feature/pg
2022-03-29 06:16:14 +00:00
paulGao
6d014a01bc 修复秒杀活动时间段为一个时。不显示问题。修复可能会出现的es代码编译问题。improve code 2022-03-29 10:04:36 +08:00
***
de5e97ac3a 优化cn.lili.common.utils.CommonUtil.getRandomNum方法逻辑 2022-03-27 07:41:34 +08:00
胡程
40e866aadd fix:修复配虚拟商品送模板提示 2022-03-25 18:12:40 +08:00
Chopper
36ce7593a9 由于铭感信息过滤手机号,导致管理端无法修改会员问题处理 2022-03-18 17:41:05 +08:00
Chopper
a2a28af41d 微信消息删除调用时,微信返回参数无法解析,尝试解决此问题。 2022-03-15 17:16:24 +08:00
Chopper
203a30a236 商品评价问题处理 2022-03-14 15:50:55 +08:00
Chopper
b7d418b5b7 修复虚拟订单核销校验问题 2022-03-14 10:44:06 +08:00
Chopper
1625f7ca76 自动关闭售后字段读取错误,修正 2022-03-10 15:52:12 +08:00
Chopper
8a67b905fc Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-03-10 15:31:39 +08:00
Chopper
9ee76b5328 取消一个无实际作用的限流注解
订单买家端可以查询到别人的订单问题处理
2022-03-10 15:31:23 +08:00
paulGao
df9dd7f435 merge conflict origin/master 2022-03-09 18:39:48 +08:00
paulGao
9d0d318d66 优化更新es商品促销流程 2022-03-09 18:39:04 +08:00
Chopper
ee1723a76b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-03-08 20:37:17 +08:00
Chopper
c715422814 会员签到接口限制问题 2022-03-08 20:37:12 +08:00
fengtianyangyang
72e7941230 '权限修改' 2022-03-08 14:19:22 +08:00
paulGao
ac475ca456 增加促销活动更新日志 2022-03-08 12:08:12 +08:00
Chopper
ee5355668d 创建时间字段自动插入问题处理,签到增加访问限制 2022-03-08 11:57:48 +08:00
paulGao
1b30f0ad31 优化代码,修复编辑秒杀活动时执行顺序问题 2022-03-07 14:54:15 +08:00
paulGao
348f362b30 优化代码,修复编辑秒杀活动时执行顺序问题 2022-03-07 14:43:17 +08:00
fengtianyangyang
6bef12b91b '合并' 2022-03-03 18:36:42 +08:00
fengtianyangyang
5b4113be4d Merge branch 'clerk' of https://gitee.com/beijing_hongye_huicheng/lilishop
 Conflicts:
	config/application.yml
2022-03-03 18:05:32 +08:00
fengtianyangyang
a82d3fe57c '店员权限bug处理合并' 2022-03-03 18:03:04 +08:00
fengtianyangyang
4d551366ed Merge branches 'clerk' and 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop into clerk 2022-03-03 17:44:53 +08:00
fengtianyangyang
441cb6ddcb '代码合并' 2022-03-03 17:22:13 +08:00
itheinjury@163.com
f14efa2612 BUG修改 2022-03-03 16:11:08 +08:00
OceansDeep
f4d7c07f57 !137 修复更新秒杀活动时间,秒杀活动商品更新数据问题
Merge pull request !137 from OceansDeep/feature/pg
2022-03-03 03:27:08 +00:00
paulGao
66b2f1f55d 修复更新秒杀活动时间,秒杀活动商品更新数据问题 2022-03-03 11:22:20 +08:00
OceansDeep
b9b2c10ca0 !136 增加检测促销商品库存
Merge pull request !136 from OceansDeep/feature/pg
2022-03-02 12:41:01 +00:00
paulGao
0d5f871da7 增加检测促销商品库存 2022-03-02 20:39:17 +08:00
paulGao
1688a7ba15 修复秒杀活动 2022-03-02 20:33:45 +08:00
paulGao
3506e1c738 增加检测促销商品库存 2022-03-02 20:26:50 +08:00
lifenlong
ae0c4aea12 展示店铺设置 2022-03-02 18:42:56 +08:00
itheinjury@163.com
a52b672e9b 更新,BUG修改 2022-03-02 15:17:06 +08:00
paulGao
c4307aa821 修复秒杀商品下单时,不会更新秒杀商品的出售数量问题 2022-03-02 11:49:41 +08:00
OceansDeep
a2c32009f5 !135 修复未开始的秒杀活动修改时,先添加秒杀商品后修改时间时,秒杀活动商品时间没有改变问题
Merge pull request !135 from OceansDeep/feature/pg
2022-03-01 03:50:15 +00:00
paulGao
e27185d424 修复未开始的秒杀活动修改时,先添加秒杀商品后修改时间时,秒杀活动商品时间没有改变问题 2022-03-01 11:49:35 +08:00
paulGao
0714480e01 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-03-01 09:12:02 +08:00
lifenlong
504ee766f8 店铺楼层装修 2022-02-28 09:08:43 +08:00
paulGao
7358fd0c23 增加搜索商品时,无商品索引时初始化索引 2022-02-25 16:23:35 +08:00
OceansDeep
25be7094a2 !134 优化代码
Merge pull request !134 from OceansDeep/feature/pg
2022-02-24 02:17:05 +00:00
paulGao
627a1d7d5a 优化代码 2022-02-24 09:33:36 +08:00
Chopper
63b84ee69d 敏感词为空极端情况处理 2022-02-23 16:23:00 +08:00
Chopper
5eb76176ab Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-02-23 14:38:29 +08:00
Chopper
6115ecf673 秒杀活动自动新增bug处理 2022-02-23 14:38:23 +08:00
OceansDeep
d1a112d3a3 !133 修复秒杀活动
Merge pull request !133 from OceansDeep/feature/pg
2022-02-22 14:46:15 +00:00
paulGao
7d67e6a007 修复秒杀活动 2022-02-22 22:37:51 +08:00
Chopper
b824ee625e Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-02-21 22:59:59 +08:00
Chopper
961ac20213 更新IM相关 2022-02-21 22:59:55 +08:00
OceansDeep
f213b6f53f !132 优化rocketmq日志到logback
Merge pull request !132 from OceansDeep/feature/pg
2022-02-21 04:04:15 +00:00
paulGao
631600ab3f 优化rocketmq日志到logback 2022-02-21 12:03:07 +08:00
Chopper
d95fce2efb 注解日志异常问题处理 2022-02-21 10:57:57 +08:00
OceansDeep
1c6c009f14 !131 优化自动生成秒杀活动
Merge pull request !131 from OceansDeep/feature/pg
2022-02-18 12:27:53 +00:00
paulGao
f555f6423a 优化自动生成秒杀活动 2022-02-18 20:26:35 +08:00
paulGao
cd374f2d98 关闭consumer spring security身份验证页面 2022-02-18 15:38:58 +08:00
itheinjury@163.com
c62f31c387 更新 2022-02-18 11:14:01 +08:00
itheinjury@163.com
87ccad6ec7 更新 2022-02-18 11:04:56 +08:00
itheinjury@163.com
1600f7cdab 更新 2022-02-18 10:52:03 +08:00
itheinjury@163.com
dc3256566b 更新 2022-02-18 00:09:09 +08:00
itheinjury@163.com
b0858429fb 更新 2022-02-17 13:58:46 +08:00
itheinjury@163.com
2f3e2a5ae8 更新 2022-02-17 13:58:16 +08:00
itheinjury@163.com
f280ab88ec 更新 2022-02-17 13:57:43 +08:00
Chopper
9616c27efa Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-02-16 17:54:46 +08:00
Chopper
0b5f830d7c 删除模版缓存注解问题处理 2022-02-16 17:54:40 +08:00
OceansDeep
d0f952bd68 !130 修复秒杀每日清除无效活动错误
Merge pull request !130 from OceansDeep/feature/pg
2022-02-16 09:49:38 +00:00
paulGao
2876a39ff5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-02-16 17:48:46 +08:00
paulGao
6bcf6da165 修复秒杀每日清除无效活动错误 2022-02-16 17:48:29 +08:00
Chopper
9fe633d228 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-02-16 17:42:18 +08:00
Chopper
b32bf41443 消费者执行异常问题处理:包含系统自动评价问题,和自动新增秒杀活动问题 2022-02-16 17:42:12 +08:00
paulGao
e4e073b6f0 修复满优惠活动搜索名称问题 2022-02-15 16:51:40 +08:00
paulGao
e960ee2f40 Merge branch 'master' of github.com:lilishop/lilishop 2022-02-15 15:30:38 +08:00
itheinjury@163.com
5b1b75cbbe 更新 2022-02-15 15:30:33 +08:00
paulGao
a689bb83ee Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-02-15 15:29:59 +08:00
paulGao
0940d9aec8 增加刷新token白名单 2022-02-15 15:29:32 +08:00
itheinjury@163.com
b5e709f5e5 更新 2022-02-15 15:29:09 +08:00
Chopper
c5da640432 昵称和用户名如果用手机号,也进行脱敏 2022-02-15 14:51:15 +08:00
Chopper
a5f924841a 会员用户名脱敏 2022-02-15 11:38:41 +08:00
Chopper
fda3b5b1cc 会员脱敏处理,之前有人恶意联系注册用户。
管理平台用户返回VO格式化一下
2022-02-15 11:24:52 +08:00
Hacker_Lei
10b8f83737 Merge pull request #38
feature/pg
2022-02-15 11:05:41 +08:00
OceansDeep
ea5da365c7 !129 更新配置文件
Merge pull request !129 from OceansDeep/feature/pg
2022-02-15 03:01:01 +00:00
paulGao
f6eb72332b 更新配置文件 2022-02-15 11:00:15 +08:00
OceansDeep
fcb401c89b !128 更新版本号
Merge pull request !128 from OceansDeep/feature/pg
2022-02-15 02:52:36 +00:00
Hacker_Lei
2b0dc1d0a3 Merge pull request #37
feature/pg
2022-02-15 10:41:05 +08:00
paulGao
a0139b84e1 更新版本号 2022-02-15 10:39:38 +08:00
itheinjury@163.com
65bd2ff35f 删除更新后文件 2022-02-14 20:01:44 +08:00
itheinjury@163.com
4468657030 删除更新后文件 2022-02-14 20:00:35 +08:00
itheinjury@163.com
4ad95a65cf 删除更新后文件 2022-02-14 19:57:32 +08:00
itheinjury@163.com
31f6c19e87 删除更新后文件 2022-02-14 19:55:43 +08:00
itheinjury@163.com
612d1d1646 删除更新后文件 2022-02-14 19:32:47 +08:00
itheinjury@163.com
eddf3ecdeb 删除更新后文件 2022-02-14 19:27:45 +08:00
Hacker_Lei
6cb511ba10 Merge pull request #36
feature/pg
2022-02-14 18:33:46 +08:00
OceansDeep
7483f19fc6 !127 适配修改的api
Merge pull request !127 from OceansDeep/feature/pg
2022-02-14 10:33:07 +00:00
paulGao
f8d2ab5e17 适配修改的api 2022-02-14 18:32:28 +08:00
chopper711
9cd591efe3 update README.md. 2022-02-14 10:09:37 +00:00
OceansDeep
e655fdf67f !126 适配优化的api地址,补充缺失的事务处理
Merge pull request !126 from OceansDeep/feature/pg
2022-02-14 06:19:45 +00:00
paulGao
9aa253b56f 补充缺失的事务处理 2022-02-14 14:17:19 +08:00
paulGao
1d5a2008e1 适配优化的api地址 2022-02-12 17:17:52 +08:00
paulGao
1f1b534b13 适配优化的api地址 2022-02-12 15:05:42 +08:00
itheinjury@163.com
bf8f8d9382 初始化代码 2022-02-11前 最新版本 2022-02-11 19:30:50 +08:00
paulGao
5c78711d8e merge conflict origin/master 2022-02-11 15:33:28 +08:00
OceansDeep
191709e983 !125 优化redisson配置
Merge pull request !125 from OceansDeep/feature/pg
2022-02-11 06:57:37 +00:00
paulGao
da6a17cd61 优化代码 2022-02-11 14:56:25 +08:00
paulGao
acb88a6b2a 优化redisson配置 2022-02-11 14:54:56 +08:00
zhenghao
d5091bf659 店员 2022-02-10 20:29:53 +08:00
zhenghao
fd003eff8b 店员 2022-02-10 20:18:05 +08:00
zhenghao
4d1dfebacd 店员 2022-02-10 20:05:00 +08:00
OceansDeep
96b5b50ee0 !124 优化代码,增加redisson配置
Merge pull request !124 from OceansDeep/feature/pg
2022-02-10 03:28:39 +00:00
paulGao
6639ec8971 优化代码,增加redisson配置 2022-02-10 11:27:20 +08:00
paulGao
9aa7a6dcf3 优化代码,增加redisson配置 2022-02-10 11:26:10 +08:00
paulGao
4dc183cdf5 merge conflict origin/master 2022-02-09 16:52:28 +08:00
paulGao
bbe3399c90 升级项目依赖,解决安全问题 2022-02-09 16:50:37 +08:00
paulGao
29e43d299a 修复系统日志查询问题 2022-02-09 16:49:14 +08:00
zhenghao
a4ee4df71b 解决预存款事务问题 2022-02-09 12:56:38 +08:00
Chopper
64dbe6708a 短信模版演示站点操作限制 2022-02-08 16:11:27 +08:00
Chopper
f375a9f9db 库存扣减前,库存判定存在问题,进行处理 2022-01-28 16:13:56 +08:00
OceansDeep
15a8800b15 !123 修复微信支付配置报错
Merge pull request !123 from OceansDeep/feature/pg
2022-01-27 03:27:43 +00:00
paulGao
77e526c22f 修复微信支付配置报错 2022-01-27 11:26:17 +08:00
paulGao
f235f66c19 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-27 11:23:05 +08:00
paulGao
1b44bedf42 merge conflict origin/master 2022-01-27 11:22:59 +08:00
Chopper
40e16c4d1b 类名问题处理 2022-01-27 11:22:22 +08:00
paulGao
0c383ac7e9 优化自动生成限时抢购活动 2022-01-27 11:20:25 +08:00
Chopper
0ec2688f17 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-01-27 11:12:29 +08:00
Chopper
346550182f 位置支付配置相关还原,之前的修改会导致支付无法配置 2022-01-27 11:12:24 +08:00
paulGao
24568e0f00 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-26 17:54:15 +08:00
paulGao
64f2f4668b 优化代码 2022-01-26 17:54:09 +08:00
chopper711
f4e1d891a7 !122 api端防重复提交
Merge pull request !122 from chopper711/liushuai
2022-01-25 02:24:25 +00:00
Chopper
3972e0231c api端防重复提交 2022-01-25 10:22:45 +08:00
OceansDeep
039e85d5e5 update config/application.yml. 2022-01-24 11:30:35 +00:00
Chopper
936397c59f 自动好评存在一个全线判定问题处理 2022-01-24 18:11:10 +08:00
Chopper
23ddca6f82 签到存在事务问题处理。优化这块逻辑相关 2022-01-24 17:30:52 +08:00
Chopper
286214d9c3 微信APP支付提示签名问题的情况,提供一个解决方案,验证无误 2022-01-24 16:50:42 +08:00
Hacker_Lei
6d0dd09b5b Merge pull request #35
feature/pg
2022-01-21 19:05:22 +08:00
OceansDeep
38469d42ef !120 修复促销优惠券获取时,活动优惠券查询问题;修复手机登录后,手机号为脱敏后问题
Merge pull request !120 from OceansDeep/feature/pg
2022-01-21 11:05:03 +00:00
paulGao
696bfe0a2c 增加默认不脱敏 2022-01-21 19:03:43 +08:00
paulGao
3de2b9834d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-21 19:01:10 +08:00
paulGao
d5fdc47936 修复促销优惠券获取时,活动优惠券查询问题 2022-01-21 19:01:02 +08:00
paulGao
27e82423f0 修复手机登录后,手机号为脱敏后问题 2022-01-21 19:00:20 +08:00
Chopper
576b5b213e 调整图片地址 2022-01-21 17:00:10 +08:00
Chopper
145406be32 对商品名称包含逗号可能导致的问题处理 2022-01-21 16:31:06 +08:00
Chopper
a65f0ad384 积分设置相关优化 2022-01-21 16:18:16 +08:00
Chopper
5051fc7b0b 赠品订单无法核销问题处理 2022-01-21 15:39:18 +08:00
Chopper
7164036d4c 修改订单价格时,订单update price字段问题处理 2022-01-21 14:34:05 +08:00
Chopper
cb0a9121e5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-01-21 12:08:40 +08:00
Chopper
96e779eb28 对交易状态的判定问题处理 2022-01-21 12:07:16 +08:00
OceansDeep
27397f1602 !119 优化consumer延时任务执行器(修复一个高版本的redis可能导致redis连接不上问题)
Merge pull request !119 from OceansDeep/feature/pg
2022-01-20 08:22:33 +00:00
paulGao
2d1cfde76b 优化consumer延时任务执行器(修复一个高版本的redis可能导致redis连接不上问题) 2022-01-20 16:19:52 +08:00
Chopper
007d69a887 支付完成判定 2022-01-20 15:59:26 +08:00
Chopper
f3965cecd5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2022-01-20 11:04:57 +08:00
Chopper
4fb170e5c7 支付宝支付结果校验 2022-01-20 11:01:24 +08:00
Chopper
8e1ade5423 支付参数判定重复代码处理 2022-01-20 09:27:07 +08:00
OceansDeep
0b081c2d85 !118 优化编辑商品时的生成索引和操作促销活动时更新索引促销信息,增加事务监听在事务提交后发
Merge pull request !118 from OceansDeep/feature/pg
2022-01-19 06:17:35 +00:00
paulGao
ab1e9f806f 优化编辑商品时的生成索引和操作促销活动时更新索引促销信息,增加事务监听在事务提交后发送mq信息 2022-01-19 14:16:02 +08:00
paulGao
e961711dcb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-19 10:21:19 +08:00
paulGao
90185d8c32 优化编辑商品时的生成索引和操作促销活动时更新索引促销信息,增加事务监听在事务提交后发送mq信息 2022-01-19 10:18:33 +08:00
paulGao
68ef46195c 升级依赖包版本,解决安全问题 2022-01-19 10:16:15 +08:00
chopper711
0c234e78af !117 压测期间对代码进行性能优化,以及部分代码优化
Merge pull request !117 from chopper711/test
2022-01-19 02:03:47 +00:00
Chopper
ca1851570b 还原下单接口代码,这里存在规范问题日后与前端一起协调修改 2022-01-19 10:02:22 +08:00
Chopper
cf0d1378c8 压测相关还原 2022-01-18 11:03:15 +08:00
Chopper
b13a5d5f2a Merge branch 'master' into test 2022-01-18 09:51:09 +08:00
Chopper
575458afb3 1、去除非必要事务
2、对分布式多节点并发时可能存在生成相同的雪花算法id问题进行处理
3、其他问题优化
2022-01-18 09:50:26 +08:00
OceansDeep
b2d4b7bb23 !116 优化管理端登录和xss
Merge pull request !116 from OceansDeep/feature/pg
2022-01-17 10:01:58 +00:00
paulGao
def6247e9f 优化管理端登录和xss 2022-01-17 17:42:42 +08:00
fengtianyangyang
6409d0dc2d '更新' 2022-01-14 11:47:56 +08:00
OceansDeep
f253ae9c31 !115 修复店铺优惠券为部分商品分类。部分商品分类使用优惠券无效
Merge pull request !115 from OceansDeep/feature/pg
2022-01-13 09:39:10 +00:00
paulGao
b93d10eeea 修复店铺优惠券为部分商品分类。部分商品分类使用优惠券无效 2022-01-13 17:38:36 +08:00
OceansDeep
801f1cbd4c !114 修复店铺优惠券为部分商品。部分商品使用优惠券无效
Merge pull request !114 from OceansDeep/feature/pg
2022-01-13 09:12:00 +00:00
paulGao
f8260c3b29 修复店铺优惠券为部分商品。部分商品使用优惠券无效 2022-01-13 17:04:01 +08:00
paulGao
9e74c15413 代码优化 2022-01-12 19:46:07 +08:00
Chopper
65e7f9750a 增加获取uuid的方法,为压测环境的同一token购物车重复问题处理 2022-01-12 11:20:27 +08:00
Chopper
62804941c2 Merge remote-tracking branch 'origin/feature/pg' into test
# Conflicts:
#	framework/src/main/java/cn/lili/modules/order/order/serviceimpl/TradeServiceImpl.java
2022-01-11 17:39:46 +08:00
Chopper
05818baf7a 优化一些配置项,优化部分路基 2022-01-11 17:34:48 +08:00
paulGao
1c28e0bd5f 优化结算时获取用户优惠券信息(增加redis存储) 2022-01-11 17:34:00 +08:00
Chopper
0460e219f9 购物车创建时减少一次redis的读写 2022-01-11 16:34:18 +08:00
Chopper
eec3611218 优化sql 2022-01-11 15:16:02 +08:00
fengtianyangyang
87f637099c '合并master' 2022-01-11 14:50:06 +08:00
Chopper
5f0241768d 去除事务注解 2022-01-11 14:48:11 +08:00
fengtianyangyang
60b4ab5c5b '路径问题' 2022-01-11 14:32:01 +08:00
OceansDeep
bbed7afdcb !113 修复商品审核和编辑商品缺失对es操作问题
Merge pull request !113 from OceansDeep/feature/pg
2022-01-11 04:11:31 +00:00
paulGao
459a736ebc 修复商品审核和编辑商品缺失对es操作问题 2022-01-11 12:10:54 +08:00
OceansDeep
bdbc620515 !112 优化es商品索引的mapping的促销存储结构
Merge pull request !112 from OceansDeep/feature/pg
2022-01-11 03:39:13 +00:00
paulGao
3c905ffd8b 优化es商品索引的mapping的促销存储结构(解决促销过多时,mapping explosion问题) 2022-01-11 11:38:30 +08:00
OceansDeep
20d32b1f8f !111 优化es商品索引的mapping的促销存储结构,增加自定义xss过滤策略
Merge pull request !111 from OceansDeep/feature/pg
2022-01-11 03:27:44 +00:00
paulGao
f57a373d47 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-11 11:26:28 +08:00
paulGao
77a714e64c 优化es商品索引的mapping的促销存储结构(解决促销过多时,mapping explosion问题) 2022-01-11 11:25:56 +08:00
Chopper
4a3c978e07 用户校验问题处理 2022-01-11 11:23:38 +08:00
paulGao
a4d458bace 增加自定义xss过滤策略(可保存iframe) 2022-01-11 11:20:54 +08:00
Chopper
b0843aa744 token相关类使用泛型,优化代码 2022-01-11 11:16:17 +08:00
Chopper
eddcbc2ecb 增加会员登录事件,对token处理优化 2022-01-11 11:12:19 +08:00
OceansDeep
62fd1f3012 !110 优化编辑商品时的生成索引,修复店铺结算单结算金额对于积分商品和砍价商品重复计算问题
Merge pull request !110 from OceansDeep/feature/pg
2022-01-10 11:46:18 +00:00
paulGao
23264d5d9b merge conflict origin/master 2022-01-10 19:10:42 +08:00
Chopper
cc7d2c0c82 地址问题处理 2022-01-10 18:55:37 +08:00
Chopper
9bed8e57df 代码处理 2022-01-10 18:34:23 +08:00
paulGao
ad35168876 优化编辑商品时的生成索引,增加事务监听在提交后发送mq信息 2022-01-10 18:05:53 +08:00
paulGao
ec8d511e9e 修复店铺结算单结算金额对于积分商品和砍价商品重复计算问题 2022-01-10 18:04:38 +08:00
paulGao
d2cab9f4a1 修复店铺结算单结算金额对于积分商品和砍价商品重复计算问题 2022-01-10 18:04:21 +08:00
Chopper
c1ca4764f0 短信验证码验证暂时关闭 2022-01-10 17:15:53 +08:00
Chopper
366d1b8846 对限流暂时关闭 2022-01-10 17:10:19 +08:00
Chopper
7a8dd54e5c 给予测试环境默认收货地址 2022-01-10 17:01:28 +08:00
Chopper
37393bb7f8 修改api下单时的提交参数类型 2022-01-10 16:55:06 +08:00
Chopper
3904bfd91d 自动登录成功 2022-01-10 15:53:17 +08:00
Chopper
f720e00132 验证码验证默认通过 2022-01-10 15:42:32 +08:00
Chopper
f723c11a84 测试 2022-01-10 14:48:05 +08:00
Chopper
643e8c8157 连续加减方法运用 2022-01-10 09:48:44 +08:00
Chopper
11f9ddaeb6 更优雅的实现价格加减法运算 2022-01-10 09:41:07 +08:00
OceansDeep
5d96d434d6 !109 优化生成索引
Merge pull request !109 from OceansDeep/feature/pg
2022-01-07 10:24:02 +00:00
paulGao
ad1f086e4d 优化生成索引 2022-01-07 18:23:14 +08:00
OceansDeep
3fa3991cfa !108 优化xss过滤,使用owasp的预设规则过滤。优化代码
Merge pull request !108 from OceansDeep/feature/pg
2022-01-07 09:48:07 +00:00
paulGao
9a6102e887 优化xss过滤,使用owasp的预设规则过滤。优化代码 2022-01-07 17:46:42 +08:00
OceansDeep
e23d3a48cc !107 优化代码修复bug
Merge pull request !107 from OceansDeep/feature/pg
2022-01-04 11:56:40 +00:00
paulGao
ddd7c336cf 优化代码修复bug 2022-01-04 19:55:51 +08:00
OceansDeep
ee79b19d20 !106 修复部分查询,时间查询问题
Merge pull request !106 from OceansDeep/feature/pg
2022-01-04 01:13:18 +00:00
paulGao
383cbc0b53 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2022-01-04 09:06:32 +08:00
paulGao
e8d9556a4b 修复部分查询,时间查询问题 2022-01-04 09:06:23 +08:00
OceansDeep
5958f06986 !105 修复拼团商品使用优惠券无效问题,修复拼团活动延时任务无效问题
Merge pull request !105 from OceansDeep/feature/pg
2021-12-31 07:20:54 +00:00
paulGao
0c4aef307a 修复拼团商品使用优惠券无效问题,修复拼团活动延时任务无效问题 2021-12-31 15:19:17 +08:00
OceansDeep
20436653af !104 优化代码,修复bug
Merge pull request !104 from OceansDeep/feature/pg
2021-12-30 09:02:56 +00:00
paulGao
814533a2c2 修复分销商品佣金提现参数校验无效问题 2021-12-30 17:01:32 +08:00
paulGao
d4ca3d5817 修复秒杀库存前后端显示不一致问题 2021-12-30 17:00:32 +08:00
paulGao
194d0b6ac2 优化es索引更新,把单次更新优化为批量更新 2021-12-30 16:59:45 +08:00
Chopper
832b065a46 密码重置可以被多次调用问题处理 2021-12-30 16:49:55 +08:00
Chopper
fa443a091f 短信验证码验证结果未生效问题处理 2021-12-30 16:44:50 +08:00
OceansDeep
31c2f555fc !103 修复扣减商品库存问题
Merge pull request !103 from OceansDeep/feature/pg
2021-12-30 02:32:54 +00:00
paulGao
74e5e86eff 修复扣减商品库存问题 2021-12-30 10:31:56 +08:00
OceansDeep
a318eb82c7 !102 适配优化更新索引促销方式的结算
Merge pull request !102 from OceansDeep/feature/pg
2021-12-30 01:53:48 +00:00
paulGao
6465dc2b73 适配优化更新索引促销方式的结算。 2021-12-30 09:52:54 +08:00
OceansDeep
082d241c8f !101 适配优化更新索引促销方式的结算。
Merge pull request !101 from OceansDeep/feature/pg
2021-12-29 18:30:22 +00:00
paulGao
5a6012530e 适配优化更新索引促销方式的结算。 2021-12-30 02:28:27 +08:00
OceansDeep
35e4538160 !100 增加索引时间格式化格式
Merge pull request !100 from OceansDeep/feature/pg
2021-12-29 12:16:06 +00:00
paulGao
125bb372ed 增加索引时间格式化格式 2021-12-29 20:15:36 +08:00
OceansDeep
92e56d7153 !99 优化更新索引失败异常信息
Merge pull request !99 from OceansDeep/feature/pg
2021-12-29 12:07:16 +00:00
paulGao
c8272ec90d 优化更新索引失败异常信息 2021-12-29 20:06:20 +08:00
OceansDeep
b6d01cb850 !98 优化更新索引促销方式,以更新部分字段的方式更新。不在以刷新索引的方式更新。
Merge pull request !98 from OceansDeep/feature/pg
2021-12-29 11:48:56 +00:00
paulGao
5e1eb3e03b 优化更新索引促销方式,以更新部分字段的方式更新。不在以刷新索引的方式更新。 2021-12-29 19:48:09 +08:00
chopper711
f4c94bd8d6 !92 修复店铺列表永远查询到禁用店铺的bug Merge pull request !92 from ray/master
Merge pull request !92 from ray/master
2021-12-29 10:18:46 +00:00
OceansDeep
8484d3f810 !97 修改异步更新日志显示级别
Merge pull request !97 from OceansDeep/feature/pg
2021-12-29 10:16:22 +00:00
paulGao
07f5fbca47 修改异步更新日志显示级别 2021-12-29 18:11:28 +08:00
OceansDeep
68d03196af !96 优化更新索引促销方式,以更新部分字段的方式更新。不在以刷新索引的方式更新。
Merge pull request !96 from OceansDeep/feature/pg
2021-12-29 09:55:05 +00:00
paulGao
a9ef62dfb0 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-12-29 17:54:23 +08:00
paulGao
9f6d33f6e8 优化更新索引促销方式,以更新部分字段的方式更新。不在以刷新索引的方式更新。 2021-12-29 17:53:40 +08:00
Chopper
ff158fd0e4 token中增加头像 2021-12-29 17:45:31 +08:00
OceansDeep
4de5e616e5 !95 优化促销更新
Merge pull request !95 from OceansDeep/feature/pg
2021-12-29 04:22:43 +00:00
paulGao
b6db829b04 优化促销更新 2021-12-29 12:19:17 +08:00
OceansDeep
821aa74669 !94 优化代码结构
Merge pull request !94 from OceansDeep/feature/pg
2021-12-29 03:54:59 +00:00
paulGao
c3221a6fff 优化代码结构。优化促销更新。 2021-12-29 11:53:46 +08:00
OceansDeep
cbbfbae772 !93 fix bugs
Merge pull request !93 from OceansDeep/feature/pg
2021-12-28 12:02:05 +00:00
paulGao
c65fd99b15 优化更新商品索引促销信息时为异步执行。 2021-12-28 19:59:52 +08:00
paulGao
4d49d3c77a 修复订单收货时,更新订单完成时间。 2021-12-28 19:59:00 +08:00
paulGao
aad32a4a1f 修复满额活动赠品订单错误问题 2021-12-28 19:58:20 +08:00
zhanglei829
ec912efa01 fix bug 2021-12-28 15:18:13 +08:00
OceansDeep
bf2fdc2761 !91 修复下架商品没有删除商品索引问题。修复下单使用优惠券使金额变为0元时消费服务获取数据不正确。
Merge pull request !91 from OceansDeep/feature/pg
2021-12-27 10:03:12 +00:00
paulGao
168c630a13 修复下架商品没有删除商品索引问题。修复下单使用优惠券使金额变为0元时消费服务获取数据不正确导致没有及时更新订单状态问题。 2021-12-27 18:01:58 +08:00
paulGao
e7563203fe Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-12-27 14:39:19 +08:00
paulGao
9bf1dbe030 修复清除无效索引时的异常。某些情况下新建用户会创建两条member_wallet数据。优化代码。 2021-12-27 14:38:45 +08:00
OceansDeep
dbcee40b93 !90 修复优化促销
Merge pull request !90 from OceansDeep/feature/pg
2021-12-25 11:08:54 +00:00
paulGao
2af334d793 merge branch "master" 2021-12-25 19:08:18 +08:00
paulGao
f9a8675942 修复优化促销 2021-12-25 18:35:44 +08:00
fengtianyangyang
521a6174fe '修改路径' 2021-12-25 15:38:02 +08:00
Chopper
c85bc7b8ea Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-25 09:32:00 +08:00
OceansDeep
825e44b353 !89 修复首次发布商品不会生成商品索引问题
Merge pull request !89 from OceansDeep/feature/pg
2021-12-24 08:21:02 +00:00
paulGao
ed840a95a1 优化搜索热词管理,增加搜索热词删除 2021-12-24 16:11:53 +08:00
Chopper
ef31d6af83 砍价商品获取错误问题处理 2021-12-24 15:56:41 +08:00
Chopper
b1e70ebf12 促销金额大于商品金额的极端情况显示问题处理 2021-12-24 15:46:25 +08:00
Chopper
3af0031214 注册赠券功能bug修复 2021-12-24 15:45:48 +08:00
paulGao
b648aa94b3 修复首次发布商品不会生成商品索引问题;代码优化;修复bug; 2021-12-24 14:59:38 +08:00
Chopper
0e864043a6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-24 11:13:42 +08:00
OceansDeep
eb25827937 !88 修复文章内容编辑无格式问题
Merge pull request !88 from OceansDeep/feature/pg
2021-12-23 11:23:18 +00:00
paulGao
f4a07b2911 修复文章内容编辑无格式问题 2021-12-23 19:22:00 +08:00
paulGao
cdfeb5dbdc 修复更新订单的售后商品数量时,传递goodsId改成goodsSkuId 2021-12-23 17:17:31 +08:00
Chopper
40bc890870 空品牌问题处理 2021-12-23 15:27:06 +08:00
paulGao
18874e3755 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-12-23 13:59:56 +08:00
Chopper
a3d2b84ecb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-23 11:58:53 +08:00
Chopper
5f16a5c791 各个应用微信支付配置分开 2021-12-23 11:58:47 +08:00
paulGao
f086a58096 添加xss过滤sell关键字 2021-12-23 10:58:19 +08:00
paulGao
dfcf71aec7 移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题 2021-12-23 10:55:43 +08:00
OceansDeep
f2e8d03f80 !87 修复管理员上下架商品报错问题
Merge pull request !87 from OceansDeep/feature/pg
2021-12-23 00:37:38 +00:00
paulGao
0736f1c550 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-12-23 08:17:50 +08:00
paulGao
bdd1195d20 修复管理员上下架商品报错问题 2021-12-23 08:17:45 +08:00
Chopper
e5511d5c09 订单联合查询将innerjoin 修改为 left join 2021-12-22 17:57:49 +08:00
Chopper
7634801f7c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
# Conflicts:
#	framework/src/main/java/cn/lili/modules/order/cart/render/impl/SkuPromotionRender.java
2021-12-22 17:04:12 +08:00
Chopper
1db86f2865 es中商品索引信息,以及虚拟商品会携带大量优惠券信息下单问题处理 2021-12-22 17:00:30 +08:00
OceansDeep
626e58b515 !86 修复结算时促销为空的问题
Merge pull request !86 from OceansDeep/feature/pg
2021-12-22 08:51:27 +00:00
paulGao
787617f504 修复结算时促销为空的问题 2021-12-22 16:50:50 +08:00
OceansDeep
3fb4e488bb !85 修复结算时无促销报错问题
Merge pull request !85 from OceansDeep/feature/pg
2021-12-22 07:40:24 +00:00
paulGao
c5187a63b9 修复结算时无促销报错问题 2021-12-22 15:34:20 +08:00
Chopper
e5f725cf16 索引初始化对商品删除与否增加判定 2021-12-22 12:51:33 +08:00
Chopper
3d56c9cc81 商品非空判定处理 2021-12-22 12:42:04 +08:00
Chopper
0ae1ae5df4 如果无法获取到消息,则不记录足迹,不再抛出异常 2021-12-22 12:27:46 +08:00
Chopper
c0c530adad 增加对商品为空的判定 2021-12-22 12:22:52 +08:00
Chopper
e962a594ba 商品信息获取逻辑调整 2021-12-22 12:13:43 +08:00
Chopper
0ac7900948 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-21 19:29:59 +08:00
Chopper
6748b2911a 去除一个无效的类 2021-12-21 19:29:54 +08:00
OceansDeep
3e4152fd9b !84 优化促销。移除结算时促销的依赖。规范部分isxxx字段命名
Merge pull request !84 from OceansDeep/feature/pg
2021-12-21 10:58:54 +00:00
paulGao
7dfffd60b8 merge master 2021-12-21 18:56:39 +08:00
paulGao
3ba4d24041 优化促销。移除结算时促销的依赖。规范部分isxxx字段命名 2021-12-21 18:54:11 +08:00
Chopper
e99d0f45fd 修改一个错误的非空判断 2021-12-21 16:59:57 +08:00
Chopper
351745d31f 促销类型错误的写入一个促销状态字段问题处理 2021-12-21 16:08:24 +08:00
Chopper
bfa960d803 管理端商品上下架问题处理 2021-12-21 14:47:39 +08:00
Chopper
7572e8d56f 解决如果商品sku参数为空等异常情况导致无法发布的问题 2021-12-21 11:33:55 +08:00
Chopper
82e773243f 增加readme描述 2021-12-21 10:38:02 +08:00
Chopper
795440850b 更名 2021-12-21 10:27:22 +08:00
Chopper
6adcb46f29 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-21 10:25:45 +08:00
Chopper
6cd31e630c 更新升级sql 2021-12-21 10:25:38 +08:00
fengtianyangyang
23b3e72579 '商品es初始化索引问题' 2021-12-20 14:56:17 +08:00
fengtianyangyang
bda7a12c2a '商品es索引初始化问题' 2021-12-20 14:38:41 +08:00
Chopper
e8f44ef6f2 短信验证码缓存key未包含uuid问题处理 2021-12-20 09:37:34 +08:00
paulGao
e4047fbd30 merge branch "master" 2021-12-16 15:02:54 +08:00
paulGao
7dcdb43acf 优化促销相关代码,修复bug 2021-12-16 15:02:06 +08:00
Chopper
9f75e1fae8 sql描述文字优化 2021-12-16 09:33:37 +08:00
Chopper
78c0de664c 优化数据库提示语 2021-12-16 09:30:26 +08:00
fengtianyangyang
efc4b37782 'RequestMapping请求路径统一处理' 2021-12-15 18:32:59 +08:00
OceansDeep
6253590326 !82 修复查询积分商品参数问题
Merge pull request !82 from OceansDeep/feature/pg
2021-12-15 09:59:54 +00:00
paulGao
f0b43ddd32 修复查询积分商品参数问题 2021-12-15 17:58:55 +08:00
OceansDeep
51e7b4f15d !81 修复查询积分商品sql语句错误问题
Merge pull request !81 from OceansDeep/feature/pg
2021-12-15 09:43:22 +00:00
paulGao
0ef244b373 移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题 2021-12-15 17:42:03 +08:00
OceansDeep
97a1502eb2 !80 修复查询积分商品参数问题
Merge pull request !80 from OceansDeep/feature/pg
2021-12-15 09:32:39 +00:00
paulGao
2536e3b9f6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-12-15 17:32:02 +08:00
paulGao
7aed7254a0 修复查询积分商品参数问题 2021-12-15 17:31:39 +08:00
OceansDeep
44e061f321 !79 修复商品审核关闭后,修改商品不生成索引问题。升级mybatis-plus和hutool版本
Merge pull request !79 from OceansDeep/feature/pg
2021-12-15 03:37:52 +00:00
paulGao
a9ddcfeb95 修复商品审核关闭后,修改商品不生成索引问题。升级mybatis-plus版本至 3.4.3.4 和hutool版本至 5.7.16。适配新版本mybatis-plus 2021-12-15 11:35:41 +08:00
OceansDeep
822e332aaa !78 移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题
Merge pull request !78 from OceansDeep/feature/pg
2021-12-13 10:18:58 +00:00
paulGao
c3fbad7dbf 移除mongo,将系统日志存储在es。修复拼团商品的正常购买价格为拼团价格问题 2021-12-13 18:15:37 +08:00
Chopper
07348357d0 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-13 16:22:27 +08:00
Chopper
947fc457f2 修改im平台id字段类型为string 2021-12-13 16:21:59 +08:00
OceansDeep
b719e96838 !77 修复获取拼团订单时,搜索条件默认锁定了当前会员id问题
Merge pull request !77 from OceansDeep/feature/pg
2021-12-13 06:50:50 +00:00
paulGao
cafeb1f20f 修复获取拼团订单时,搜索条件默认锁定了当前会员id问题 2021-12-13 14:49:57 +08:00
OceansDeep
9ae798a11a !76 修复无登录用户时,查询报错
Merge pull request !76 from OceansDeep/feature/pg
2021-12-13 04:28:37 +00:00
paulGao
d188068b10 修复无登录用户时,查询报错 2021-12-13 12:27:13 +08:00
Chopper
abb4b8cb66 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-13 09:32:14 +08:00
Chopper
ef8615cfe5 支付时间为空问题处理 2021-12-13 09:32:10 +08:00
OceansDeep
ee0cb6d225 !75 修复秒杀统计根据状态查询bug
Merge pull request !75 from OceansDeep/feature/pg
2021-12-13 01:15:16 +00:00
paulGao
0da8f7f8f6 修复秒杀统计根据状态查询bug 2021-12-13 09:13:45 +08:00
chopper711
f8b44d9f9b !73 【轻量级 PR】:避免redis缓存二次读取
Merge pull request !73 from yk_ang/master
2021-12-13 01:08:48 +00:00
OceansDeep
b55f5ab6ae !74 重构优化促销模块。移除促销相关的mongo
Merge pull request !74 from OceansDeep/feature/pg
2021-12-12 17:09:36 +00:00
paulGao
90e550934d merge branch "master" 2021-12-11 17:45:25 +08:00
yangkang
ff757d2151 避免redis缓存二次读取。 2021-12-11 16:07:41 +08:00
yangkang
a3f838d8e6 Merge remote-tracking branch 'origin/master' 2021-12-11 15:58:36 +08:00
paulGao
d9d19f8cbd 重构优化促销模块。移除促销相关的mongo 2021-12-10 20:15:03 +08:00
Chopper
036ad6defb 店铺udesk设置支持 2021-12-09 19:52:40 +08:00
Chopper
520c09b801 当用户一个权限都没有时,会导致用户无法进入管理端页面,问题修复 2021-12-08 20:21:51 +08:00
Chopper
f850e4adaa 日志打印更完善 2021-12-08 19:53:29 +08:00
Chopper
450041bb02 权限非空判定问题处理 2021-12-08 19:35:18 +08:00
Chopper
2e99c26654 权限为空时问题处理 2021-12-08 19:26:37 +08:00
Chopper
2e5f383db4 店铺流水查询交互参数从querywrapper调整为DTO 2021-12-08 14:36:14 +08:00
Chopper
357b214192 店铺流水业务模块参数解耦 2021-12-08 11:39:09 +08:00
Chopper
c301c55905 去除无效引用 2021-12-08 10:42:15 +08:00
Chopper
1764e6956b 售后与子订单模块参数解耦 2021-12-08 10:40:45 +08:00
Chopper
a7509e1125 微信服务与端链接传递参数为querywrapper调整 2021-12-08 10:03:34 +08:00
Chopper
9ec3322574 商品模块与店铺模块交接处以query wrapper衔接存在问题,改用普通参数 2021-12-08 09:50:19 +08:00
yangkang
3658f027bb Merge remote-tracking branch 'origin/master' 2021-12-07 19:45:41 +08:00
Chopper
9a04bb2d71 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-07 18:15:25 +08:00
Chopper
343e5e332c 店铺首页统计bug代码修复 2021-12-07 18:15:18 +08:00
yangkang
28a6cf1cb1 Merge remote-tracking branch 'origin/master' 2021-12-07 17:43:42 +08:00
chopper711
e2777b2f0a !72 模块继续分离,包含一个错误读取两次库存的问题修改,会员消息模块/微信模块/消息模块独立,分销模块拆离
Merge pull request !72 from chopper711/liushuai
2021-12-07 08:37:22 +00:00
Chopper
d8da258898 分销模块拆离 2021-12-07 09:00:59 +08:00
Chopper
8616854e00 消息模块,会员模块,微信模块独立 2021-12-07 05:47:17 +08:00
Chopper
7b98d1d9d0 几个代码编译问题处理 2021-12-07 04:33:51 +08:00
Chopper
b8b14df39b message模块拆离优化 2021-12-07 04:12:51 +08:00
Chopper
8ddf622d0f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-06 17:45:31 +08:00
Chopper
00ffd246a9 业务代码模块trade统一更名为order 2021-12-06 17:45:16 +08:00
yangkang
ac86715062 Merge remote-tracking branch 'origin/master' 2021-12-06 16:58:14 +08:00
yangkang
2c8df21671 Merge remote-tracking branch 'origin/master' 2021-12-06 16:55:48 +08:00
Chopper
d16cf44f4a 获取两次商品库存代码优化 2021-12-06 15:59:13 +08:00
chopper711
6d3fbd7cf0 !71 业务代码拆分优化
Merge pull request !71 from chopper711/liushuai
2021-12-06 07:40:54 +00:00
chopper711
f9f723c47a !70 修复store/promotion/pintuan这个接口中,获取拼团列表查询bug。
Merge pull request !70 from yk_ang/master
2021-12-06 07:40:19 +00:00
yangkang
3ac28ac218 修复store/promotion/pintuan这个接口中,获取拼团列表查询bug。 2021-12-06 15:18:39 +08:00
yangkang
ece66ba16a 修复store/promotion/pintuan这个接口中,获取拼团列表查询bug。 2021-12-06 15:18:03 +08:00
Chopper
f24019d306 订单流水与订单业务重叠代码优化 2021-12-06 15:07:28 +08:00
Chopper
ea80777ef6 优化代码结构 2021-12-06 14:57:29 +08:00
Chopper
f7ab6dc6ae 统计模块继续独立,拆分业务 2021-12-06 11:37:21 +08:00
Chopper
a8698fbd1a 迁移会员统计业务至统计模块 2021-12-06 11:12:00 +08:00
Chopper
62b5162c7e 去除无效引用 2021-12-06 11:02:42 +08:00
Chopper
aa9466b8d1 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-03 18:31:30 +08:00
Chopper
70b12dfd3e 统计模块隔离业务,重构统计模块 2021-12-03 18:31:14 +08:00
chopper711
0912872de2 !69 去除多余的对象和引用。
Merge pull request !69 from yk_ang/master
2021-12-03 06:12:41 +00:00
yangkang
9016090c67 去掉无用的对象和引用。 2021-12-03 12:40:37 +08:00
chopper711
79e4386d1e !68 去除无效类,优化无效引用
Merge pull request !68 from chopper711/liushuai
2021-12-03 02:34:25 +00:00
Chopper
5e4973fae5 去除无效的工具类 2021-12-03 10:25:08 +08:00
Chopper
4228ac4570 es无效引用 2021-12-02 19:49:26 +08:00
chopper711
152dbac29d !67 mq订阅标签规范代码 店铺流水调用售后模块直接船渡wrapper调整 去除无效的注解
Merge pull request !67 from chopper711/liushuai
2021-12-02 09:07:01 +00:00
Chopper
2241e90798 去除无效的注解 2021-12-02 17:05:58 +08:00
Chopper
613a808cec 店铺流水调用售后模块直接船渡wrapper调整 2021-12-02 14:42:46 +08:00
Chopper
af52a68abc mq订阅标签规范代码 2021-12-01 15:49:28 +08:00
chopper711
9c2738399e !66 店铺流水相关代码优化,流水与结算单业务隔离。联合登陆信息查询代码优化,更优雅的实现,优化规范余额相关模型传递问题
Merge pull request !66 from chopper711/liushuai
2021-12-01 07:22:55 +00:00
Chopper
385a4ae618 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-12-01 15:21:57 +08:00
Chopper
b0d39324ef 联合登陆信息查询代码优化,更优雅的实现 2021-12-01 15:21:43 +08:00
Chopper
c224ad568e 优化规范余额相关模型传递问题 2021-12-01 09:58:21 +08:00
Chopper
6184ba9b82 店铺流水相关代码优化,流水与结算单业务隔离。
相关方法进行优化,迁移。
2021-11-30 16:57:19 +08:00
Chopper
bea807c7b4 demosite相关补充提交 2021-11-30 16:55:58 +08:00
Chopper
323bc6b775 将限制项提高到框架common模块 2021-11-30 16:53:37 +08:00
fengtianyangyang
7c87d13ba2 '去除4.24订单处理功能' 2021-11-30 15:28:12 +08:00
fengtianyangyang
3e10c891ab '去除处理4.24版本之前订单功能' 2021-11-30 15:19:42 +08:00
fengtianyangyang
643d966740 Merge remote-tracking branch 'origin/master' 2021-11-30 15:07:14 +08:00
fengtianyangyang
94968799c3 '合并订单多售后功能' 2021-11-30 15:03:49 +08:00
Chopper
30d53fa41e 去除无效的引用 2021-11-30 15:03:17 +08:00
chopper711
00805d6a49 !65 规范代码,收藏功能完善优化
Merge pull request !65 from chopper711/liushuai
2021-11-30 07:02:31 +00:00
Chopper
0e7665f59d 店铺收藏/商品收藏问题处理优化 2021-11-30 15:00:30 +08:00
fengtianyangyang
96cc2bd37f '代码规范' 2021-11-30 14:54:05 +08:00
Chopper
71e51b3b6f 规范店铺模块调用商品模块方法 2021-11-30 10:00:46 +08:00
fengtianyangyang
5f90e422e6 '代码格式优化及去除orderItem多余字段' 2021-11-29 17:43:17 +08:00
chopper711
b65cdfc1fb !64 规范service调用,简化readme
Merge pull request !64 from chopper711/liushuai
2021-11-29 08:47:57 +00:00
Chopper
a3c597b3c5 简化readme 2021-11-29 16:47:22 +08:00
Chopper
db587fda30 规范service调用 2021-11-29 16:38:53 +08:00
chopper711
7170e3a16a !63 敏感词加载继续优化一下,初始化放在consumer中执行
Merge pull request !63 from chopper711/liushuai
2021-11-29 03:48:17 +00:00
Chopper
61aa3ca3d2 敏感词加载继续优化一下,初始化放在consumer中执行 2021-11-29 11:47:54 +08:00
chopper711
96f57b7df8 !62 功能模块优化,敏感词模块优化
Merge pull request !62 from chopper711/liushuai
2021-11-29 03:47:20 +00:00
Chopper
d16df738d3 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-29 11:17:20 +08:00
lifenlong
9ae0921f69 同步在阿里云修改的短信签名 2021-11-26 08:39:01 +08:00
lifenlong
5dd1c95294 短信签名缺失ID 2021-11-25 11:09:55 +08:00
Chopper
404fecd83c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-25 09:50:22 +08:00
Chopper
a4fb3db3cd 结算业务代码优化调整 2021-11-24 16:23:27 +08:00
Chopper
92d64db0b7 去除创建店铺自动创建店铺楼层装修 2021-11-24 15:44:21 +08:00
chopper711
033ec0fd61 !61 CurrencyUtil 修正 来自@BigBender 同学的pr
Merge pull request !61 from BigBender/master
2021-11-24 06:48:34 +00:00
yc_l_zZ_admin
dc36274212 替换 BigDecimal.ROUND_HALF_UP 为 RoundingMode.HALF_UP, 减少冗余代码 2021-11-24 14:08:38 +08:00
Chopper
817587522b 去除一个无效控制器 2021-11-24 10:30:34 +08:00
Chopper
58648c3ece 模块隔离优化 2021-11-24 10:30:21 +08:00
Chopper
16f314bd80 敏感词更新策略问题调整,敏感词迁移至公共工具类 2021-11-23 16:56:03 +08:00
Chopper
f8408030a9 敏感词更新策略问题调整,敏感词迁移至公共工具类 2021-11-23 16:53:53 +08:00
Chopper
c276b1595c 微信参数小写处理 2021-11-22 18:30:11 +08:00
Chopper
71cc57959b Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-22 18:20:41 +08:00
Chopper
dbd35c18b5 微信支付签名被xss过滤问题处理忽略 2021-11-22 18:20:06 +08:00
OceansDeep
1e868c2335 修复未登录用户,浏览积分商品报错 2021-11-22 10:18:39 +00:00
Chopper
59461175d9 修复支付宝配置私钥后无法支付问题 2021-11-22 16:45:54 +08:00
fengtianyangyang
aee5d4be2e '修改DBsql错误版本文件名称' 2021-11-22 15:35:40 +08:00
fengtianyangyang
e9c18935c5 '修改DBsql文件错误字段' 2021-11-22 15:29:27 +08:00
fengtianyangyang
b80aa48735 '项目启动处理4.24版本之前订单问题' 2021-11-22 15:24:23 +08:00
Chopper
c32999aa03 缩略图相关方法调整 2021-11-22 14:55:16 +08:00
Chopper
56d486e010 将http工具类整合在一起 2021-11-22 10:53:27 +08:00
fengtianyangyang
d83f82a340 '增加项目启动时对4.2.4之前版本orderItem订单处理' 2021-11-19 18:42:47 +08:00
chopper711
2f49292672 update README.md. 2021-11-19 04:05:17 +00:00
chopper711
c09b6061fc update README.md. 2021-11-19 04:03:23 +00:00
fengtianyangyang
1d14a0adb5 '修改注释规范' 2021-11-19 11:41:31 +08:00
fengtianyangyang
840a2eabdb '买家端取消售后及管理端终止售后,买家端重新发起售后问题' 2021-11-19 11:24:50 +08:00
fengtianyangyang
f2be8e6abd 'DB-新增字段' 2021-11-19 09:26:14 +08:00
fengtianyangyang
71fb4b2b2b '多数量商品售后功能' 2021-11-18 19:26:47 +08:00
Chopper
3cabf0a32c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-18 17:23:52 +08:00
Chopper
8416fd49ae 优化代码结构,分包更清晰。
去除无效逻辑。
2021-11-18 17:23:18 +08:00
chopper711
3a15c2eaa7 !59 优惠券过期处理bug修复
Merge pull request !59 from CodeNose/fixbug_20211117_couponRemoveBug
2021-11-18 03:36:45 +00:00
OceansDeep
e0eb76e120 !60 升级版本号
Merge pull request !60 from OceansDeep/feature/pg
2021-11-17 10:31:56 +00:00
paulGao
8a29ce048d 升级版本号 2021-11-17 18:30:08 +08:00
hhf
d43b679f8d 优惠券过期删除bug修复 2021-11-17 17:48:45 +08:00
OceansDeep
74abc4b360 !58 优化es默认搜索
Merge pull request !58 from OceansDeep/feature/pg
2021-11-17 09:13:52 +00:00
paulGao
f1c0207a3d 优化es默认搜索 2021-11-17 17:06:46 +08:00
Chopper
f61f98d288 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-17 16:55:09 +08:00
Chopper
3727b67a23 商品分类控制器无效注入去除,页面请求埋点request替换为静态方法 2021-11-17 16:55:05 +08:00
paulGao
dae52cd68f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-11-17 16:23:31 +08:00
paulGao
805197c127 增加订单查询参数(按照评论状态) 2021-11-16 18:27:54 +08:00
OceansDeep
aca627e137 !57 增加订单查询参数(按照评论状态)
Merge pull request !57 from OceansDeep/feature/pg
2021-11-16 09:55:41 +00:00
paulGao
1b6a650ba4 增加订单查询参数(按照评论状态) 2021-11-16 17:54:39 +08:00
OceansDeep
7d43279b49 !56 修复获取售后信息无权限问题,修复xss忽略过滤转义问题
Merge pull request !56 from OceansDeep/feature/pg
2021-11-16 09:00:39 +00:00
paulGao
a843081663 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg
# Conflicts:
#	framework/src/main/java/cn/lili/common/security/filter/XssHttpServletRequestWrapper.java
2021-11-16 16:58:41 +08:00
paulGao
2765dd8fd9 修复获取售后信息无权限问题,修复xss忽略过滤转义问题 2021-11-16 16:55:58 +08:00
Chopper
0e7c703dfd xss 过滤放掉邮箱 2021-11-16 15:58:22 +08:00
Chopper
f9112c4b39 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-16 15:27:47 +08:00
Chopper
1707563118 VO增加注册时间字段 2021-11-16 15:27:43 +08:00
fengtianyangyang
803bd32f4b 增加店铺字符串'null'处理 2021-11-15 18:21:30 +08:00
Chopper
31728300e1 规范参数命名 2021-11-14 15:42:43 +08:00
Chopper
1d317998af 增加说明 2021-11-14 15:41:16 +08:00
Chopper
078af06b63 增加过滤筛选项 2021-11-14 15:39:59 +08:00
Chopper
155d98e8b9 忽略加密参数xss,增加微信调试信息 2021-11-14 15:33:30 +08:00
Chopper
3c6d6e67bd Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-14 14:17:41 +08:00
Chopper
4dc5950191 尝试解决无法base64解析错误 2021-11-14 14:17:38 +08:00
Bulbasaur
4b3935339e !55 修复编辑店铺报错电子邮箱报错
Merge pull request !55 from Bulbasaur/feature/pg
2021-11-12 10:17:40 +00:00
paulGao
e218738fda 修复编辑店铺报错电子邮箱报错 2021-11-12 18:13:02 +08:00
Bulbasaur
dc4c529c2c !54 去除部分脱敏
Merge pull request !54 from Bulbasaur/feature/pg
2021-11-12 09:56:02 +00:00
paulGao
617cf98bc0 去除部分脱敏 2021-11-12 17:54:25 +08:00
Chopper
7aa2c05d92 格式化忽略文件,去除无效文件夹 2021-11-12 13:22:25 +08:00
Chopper
505f3fcf96 增加xxl-job说明 2021-11-12 13:19:54 +08:00
Chopper
920d095fda 调整描述文字 2021-11-12 13:07:19 +08:00
Bulbasaur
2369b61243 !53 修复安全漏洞。优化代码
Merge pull request !53 from Bulbasaur/feature/pg
2021-11-11 10:21:56 +00:00
paulGao
89420f5c1e Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg
# Conflicts:
#	buyer-api/src/main/java/cn/lili/controller/member/MemberAddressBuyerController.java
2021-11-11 18:18:00 +08:00
paulGao
6f13218564 修复安全漏洞。优化代码 2021-11-11 18:15:21 +08:00
chopper711
5cd0c9a205 update README.md. 2021-11-10 09:57:22 +00:00
Bulbasaur
2fbdfb293a !52 优化商品参数修改代码
Merge pull request !52 from Bulbasaur/feature/pg
2021-11-10 06:30:58 +00:00
paulGao
9fd75c65e1 优化商品参数 2021-11-10 14:15:10 +08:00
OceansDeep
9fda721bd4 !51 修复PayKit使用字符编码报错问题
Merge pull request !51 from OceansDeep/feature/pg
2021-11-09 09:23:51 +00:00
paulGao
8854a97547 修复PayKit使用字符编码报错问题 2021-11-09 17:22:42 +08:00
Chopper
c1d84a7130 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-09 15:17:39 +08:00
Chopper
0ff0f266d4 会员收货地址管理类位置规范 2021-11-09 15:17:26 +08:00
OceansDeep
93d9b217ca !50 修复PayKit使用字符编码报错问题
Merge pull request !50 from OceansDeep/feature/pg
2021-11-09 01:48:07 +00:00
paulGao
725e65cffb 修复PayKit使用字符编码报错问题 2021-11-09 09:45:27 +08:00
OceansDeep
3dd61f47fc !49 优化商品搜索(增加商品基础分数,同goodsId递减。增加销量分数占比)
Merge pull request !49 from OceansDeep/feature/pg
2021-11-08 08:27:48 +00:00
paulGao
05eee7fca5 优化商品搜索(增加商品基础分数,同goodsId递减。增加销量分数占比) 2021-11-08 16:24:23 +08:00
paulGao
0ae97b71dd 优化商品搜索(增加商品基础分数,同goodsId递减。增加销量分数占比) 2021-11-08 16:23:54 +08:00
paulGao
3dbc340e6d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-11-08 16:21:12 +08:00
paulGao
d877a24dec 优化商品搜索(增加商品基础分数,同goodsId递减。增加销量分数占比) 2021-11-08 16:20:44 +08:00
paulGao
c4feaa1546 优化商品搜索(增加商品基础分数,同goodsId递减。增加销量分数占比) 2021-11-08 16:18:30 +08:00
Chopper
5eded10d19 代码对价格处理可能存在跨店铺计算问题处理 2021-11-08 11:21:19 +08:00
Chopper
65f6cf3b54 在线人数代码更优雅,去除繁琐的判定和无效的代码 2021-11-08 10:45:40 +08:00
Chopper
f216957cb4 代码格式化规范 2021-11-08 10:36:03 +08:00
Chopper
8ba0212f37 自动删除优惠券存在时间类型问题,修正这个问题 2021-11-08 10:35:38 +08:00
Chopper
8982db255d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-11-05 17:50:11 +08:00
Chopper
f0f343aa23 去除无效的代码,代码 格式、位置 调整 2021-11-05 17:49:57 +08:00
OceansDeep
5fe7459e6e !48 增加参数
Merge pull request !48 from OceansDeep/feature/pg
2021-11-05 03:06:53 +00:00
paulGao
b98e01b261 增加参数 2021-11-05 11:05:43 +08:00
OceansDeep
27efe772ab !47 优化合并
Merge pull request !47 from OceansDeep/feature/pg
2021-11-04 06:46:21 +00:00
paulGao
a44f06b3e8 优化管理端登录,权限菜单读取缓存 2021-11-04 14:42:12 +08:00
paulGao
8ddd39d6e5 优化xss过滤,增加忽略xss过滤列表 2021-11-04 14:41:01 +08:00
paulGao
c5f5128b1b 优化LOGBACK文件,logstash参数读取spring配置文件 2021-11-04 14:39:59 +08:00
paulGao
10c3e90f54 更改mongo连接配置参数为可集群 2021-11-04 14:38:26 +08:00
Chopper
14ce522539 去除无效业务类 2021-11-04 10:19:52 +08:00
Chopper
6770f058d5 代码规范问题处理,包结构调整。 2021-11-04 10:09:31 +08:00
paulGao
c85caab197 merge origin master 2021-11-03 15:29:48 +08:00
paulGao
58ce721674 增加es异常日志 2021-11-03 15:25:28 +08:00
Chopper
ec020535e2 未知购物车的情景下,购物车内容互通问题处理。 2021-11-03 15:06:02 +08:00
Chopper
af9ffd1cbf 解决admin项目无法启动问题。
完善验证码模块优化需要优化的项目
2021-11-03 09:36:25 +08:00
Chopper
956a6e465a 优化验证码模块相关代码,解决一个可能由于并发导致多发短信,或者多生成验证结果的情景。 2021-11-03 09:14:05 +08:00
Chopper
af37386821 命名处理 2021-11-02 16:03:07 +08:00
Chopper
9baafd55be 库存判定问题处理 2021-11-02 12:59:58 +08:00
Chopper
394ee27525 库存字段类型不一致问题处理 2021-11-02 12:45:52 +08:00
Chopper
7e58b98e74 解决一个可能导致优惠券在购物车条件不满足就可以选择优惠券的问题 2021-11-02 10:31:54 +08:00
Chopper
a2fd6dd8d1 还原默认数据库名称 2021-11-01 09:04:50 +08:00
Chopper
afd5eba986 i18n数据库配置 2021-10-29 10:18:15 +08:00
Chopper
585e2c4ccc 品牌删除导致商品没有品牌,前端es有空品牌问题处理 2021-10-28 19:24:28 +08:00
Chopper
44e36f0bcd 搜索参数问题处理 2021-10-28 18:35:23 +08:00
Chopper
a535b5c54c 配置文件中的sql显示默认配置开启 2021-10-28 17:28:59 +08:00
Chopper
adf353790b 调整下错误提示语 2021-10-28 17:28:36 +08:00
Chopper
57594f3f07 有一个空品牌问题处理 2021-10-28 17:09:51 +08:00
Chopper
036ad56093 商品索引生成代码迁移,结构稍微优化 2021-10-28 14:40:38 +08:00
Chopper
bc8885c5b8 一个错误描述修正 2021-10-28 11:43:22 +08:00
Chopper
dd1bf2eec0 拼团活动被异常操作后,商品索引没有更新问题处理 2021-10-27 12:16:40 +08:00
chopper711
ab0b7f1591 !46 双重校验锁实现单例需加上volatile禁止指令重排
Merge pull request !46 from CodeNose/fixbug_20211026_DCLBug
2021-10-27 02:42:29 +00:00
hhf
5872049391 双重校验锁bug修复 2021-10-26 18:01:45 +08:00
Chopper
676c432ded 购物车相关代码优惠券选择自动取消问题处理 2021-10-26 09:23:25 +08:00
Chopper
234f355661 注释处理 2021-10-22 15:37:15 +08:00
Chopper
61914d04f0 分销订单无法正确生成问题处理 2021-10-22 12:06:13 +08:00
Chopper
f42f7c7ba1 自动关闭售后,自动关闭申诉判定问题处理 2021-10-21 17:52:26 +08:00
Chopper
c61bcfa5c1 订单自动好评,订单自动好评条件判定问题处理 2021-10-21 17:49:59 +08:00
Chopper
18f6e279d2 订单自动完成代码被回滚问题处理 2021-10-21 17:43:21 +08:00
Chopper
fe9a5fb71d Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-10-21 17:16:02 +08:00
chopper711
961703a3b2 !45 修正注释含义
Merge pull request !45 from Lex.Chen/N/A
2021-10-21 07:58:56 +00:00
Chopper
8382101520 特殊优惠券没有开始时间,导致无法使用问题处理 2021-10-21 15:39:08 +08:00
Chopper
8de80d2e8e 分销商品重复返回问题处理 2021-10-21 14:48:17 +08:00
Lex.Chen
cc3bd71610 修正注释含义
修正注释含义
2021-10-21 06:47:27 +00:00
chopper711
db90d83951 !44 修正错误描述
Merge pull request !44 from Lex.Chen/N/A
2021-10-20 06:24:49 +00:00
chopper711
64e9e1bfeb !43 删除无用代码
Merge pull request !43 from 张磊/master
2021-10-20 06:22:38 +00:00
Lex.Chen
7da2d6a16b 修正错误描述
修正错误描述,此处应为“货号”
2021-10-20 04:57:01 +00:00
zhanglei829
744d882831 删除无用代码 2021-10-20 11:29:03 +08:00
OceansDeep
2bf232b5fd !42 更新更改商品索引部分字段的方式。新增参数组名称修改后,同步到参数组下所有参数。
Merge pull request !42 from OceansDeep/feature/pg
2021-10-20 02:04:28 +00:00
paulGao
6e653519d8 merge origin master 2021-10-20 10:03:15 +08:00
paulGao
6e58b1e1e6 更新更改商品索引部分字段的方式。新增参数组名称修改后,同步到参数组下所有参数。 2021-10-20 10:01:55 +08:00
Chopper
ebe4a01448 ui项目各个端描述一下 2021-10-19 10:52:25 +08:00
Chopper
123626dbba 订单库存回滚判定问题处理 2021-10-18 10:30:31 +08:00
Chopper
6c95a784f8 砍价活动极端情况为负数问题处理。
砍价金额保留两位小数
2021-10-15 15:24:33 +08:00
OceansDeep
15c6b74829 !41 修复满优惠券活动赠优惠券/积分/商品不生效问题
Merge pull request !41 from OceansDeep/feature/pg
2021-10-15 06:30:36 +00:00
paulGao
e630420910 Merge branch 'master' of github.com:lilishop/lilishop into feature/pg 2021-10-15 12:00:17 +08:00
paulGao
3cc4fbb377 修复满优惠券活动赠优惠券/积分/商品不生效问题 2021-10-15 11:57:41 +08:00
OceansDeep
7907f16359 !40 add elasticsearch setting index.mapping.total_fields.limit
Merge pull request !40 from OceansDeep/feature/pg
2021-10-15 02:34:09 +00:00
paulGao
d838f7f3f0 add elasticsearch setting index.mapping.total_fields.limit 2021-10-15 10:33:35 +08:00
OceansDeep
ead6a72dec !39 优化商品索引更新字段方法
Merge pull request !39 from OceansDeep/feature/pg
2021-10-14 07:40:11 +00:00
paulGao
55c9a63301 优化商品索引更新字段方法;
修复店铺信息修改后,商品索引的店铺信息不会随之更改;
2021-10-14 15:37:57 +08:00
paulGao
099708390d 增加结算时,检查使用的优惠券是否存在与用户持有的优惠券中 2021-10-14 15:33:28 +08:00
OceansDeep
dea2881aa8 !38 修复券活动单独发放部分会员不生效问题
Merge pull request !38 from OceansDeep/feature/pg
2021-10-13 07:49:30 +00:00
paulGao
76c253041a 修复券活动单独发放部分会员不生效问题 2021-10-13 15:48:00 +08:00
Chopper
7cf180fda0 移动端响应跳转问题处理 2021-10-12 16:13:52 +08:00
Chopper
b03fdd3bbe 支付宝h5支付同步回调报错问题处理 2021-10-12 15:53:07 +08:00
Chopper
0d5be1372c 尝试解决H5支付宝支付无法回调问题 2021-10-12 15:25:19 +08:00
lifenlong
5cee705d63 添加报价单子内容 2021-10-12 09:36:30 +08:00
lifenlong
ec132009ef 展示报价单详细内容 2021-10-11 12:36:12 +08:00
lifenlong
7cd07a8503 报价单查询错误 2021-10-11 11:12:12 +08:00
lifenlong
9ec208fd9e Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-10-11 10:56:55 +08:00
lifenlong
cf5ce47f32 报价单查询错误 2021-10-11 10:56:20 +08:00
Chopper
b90ee161b5 udesk im集成问题,店铺获取im配置时,未返回问题处理 2021-10-11 10:23:44 +08:00
Chopper
e28d26556a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-10-09 19:20:28 +08:00
Chopper
eb6e29fb33 im控制器问题处理 2021-10-09 19:20:21 +08:00
lifenlong
c8ac7159cf 采购单初期版本 2021-10-09 08:08:24 +08:00
OceansDeep
b91927bfde !37 修复拼团活动单独购买显示拼团价格问题;优化限时抢购和拼团信息显示
Merge pull request !37 from OceansDeep/feature/pg
2021-10-08 08:31:29 +00:00
paulGao
5d6ea5b48d 修复拼团活动单独购买显示拼团价格问题;优化限时抢购和拼团信息显示 2021-10-08 16:24:20 +08:00
Chopper
cbacab6bdf 微信枚举类重名,导致代码很难看,代码简单调整 2021-10-06 11:37:29 +08:00
OceansDeep
d041e7b5b4 !36 优化logback日志
Merge pull request !36 from OceansDeep/feature/pg
2021-09-30 07:27:21 +00:00
paulGao
0440ecea23 优化logback日志 2021-09-30 14:48:53 +08:00
paulGao
cdeebc7afb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-30 10:48:37 +08:00
Chopper
5181a19f29 与微信交互的参数一起打印 2021-09-30 10:24:15 +08:00
Chopper
e2f5b6031a 微信消息初始化,日志打印增加 2021-09-30 10:09:19 +08:00
Chopper
acf2e56ffc 文字错误描述修改 2021-09-30 09:15:46 +08:00
Chopper
95095f35c0 创建管理员时,头像无法存储问题处理 2021-09-29 14:52:27 +08:00
Chopper
50c08c0e01 解决买家未登录获取店铺详情403问题 2021-09-29 14:40:25 +08:00
Chopper
f4cd51120b 更新readme 2021-09-28 16:27:17 +08:00
Chopper
a550e4051d 微信支付部分退款问题处理 2021-09-27 18:19:20 +08:00
Chopper
d432b0a183 swagger ui 优化
无效类去除精简
修改用户上下文获取request/response的方式
2021-09-27 18:13:39 +08:00
Chopper
444b617c63 去除无效依赖 2021-09-27 14:50:19 +08:00
Chopper
87c82ce4d3 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
合并之前代码,解决部分参数校验问题,解决消息发送加入到两个mq队列通道问题,取消两个无效maven依赖
2021-09-27 14:31:25 +08:00
paulGao
bdf0f65963 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-27 10:06:30 +08:00
paulGao
794a932340 删除管理端自定义分词Controller重复问题。限时抢购活动,修改时增加检查秒杀参数校验 2021-09-27 10:06:19 +08:00
Chopper
504941eafb 文章展示内容问题处理 2021-09-26 17:46:49 +08:00
OceansDeep
7fafdc087e !35 修复支付宝支付回调转义问题;修复限时抢购时,结束时间为空的问题
Merge pull request !35 from OceansDeep/feature/pg
2021-09-26 09:15:30 +00:00
paulGao
c8b2e87570 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-26 17:13:54 +08:00
paulGao
81ce0f4682 修复支付宝支付回调转义问题;修复限时抢购时,结束时间为空的问题 2021-09-26 17:13:50 +08:00
Chopper
87e5404aa8 文章分类参数校验问题 2021-09-26 16:12:59 +08:00
Chopper
2f31946a17 增加字段,标识客服,提供im服务 2021-09-26 15:44:36 +08:00
Chopper
a23b8ac642 商品发布,参数校验调整,分类校验调整 2021-09-26 14:40:22 +08:00
Chopper
071f8c9d56 优惠券查询接口替换为lambda 2021-09-26 10:19:45 +08:00
Chopper
76fcf84043 Merge branch 'liushuai'
解决积分商品购买问题,部分参数校验问题,等各种问题优化

# Conflicts:
#	framework/src/main/java/cn/lili/modules/goods/entity/dto/GoodsOperationDTO.java
2021-09-24 18:17:59 +08:00
Chopper
d9b1d78c61 积分赠送以及返还问题处理。
积分购买时预校验,以免下单后取消订单,积分返还无效操作
额外的一些代码完善问题处理
2021-09-24 18:15:29 +08:00
OceansDeep
c8de423e7c !34 DraftGoods get intro and mobileIntro method by HTML unescape
Merge pull request !34 from OceansDeep/feature/pg
2021-09-24 08:20:58 +00:00
paulGao
a4648ac40f DraftGoods get intro and mobileIntro method by HTML unescape 2021-09-24 16:20:01 +08:00
pikachu
af5c0a4641 商品添加校验完善 2021-09-23 23:38:11 +08:00
Chopper
ff24c95d02 连续签到积分无法正常获取问题。 2021-09-23 11:42:03 +08:00
Chopper
ac936caf17 sql状态判定处理 2021-09-23 09:34:19 +08:00
Chopper
be1c9772ad 参数校验问题处理 2021-09-23 09:27:22 +08:00
Chopper
50b52f07c6 分类绑定品牌规范问题处理 2021-09-22 12:13:04 +08:00
Chopper
57a5c5a0f1 分类绑定品牌问题处理 2021-09-22 11:19:28 +08:00
Chopper
4f4704ab50 分类与各个参数绑定后,删除关系未清理干净问题处理。
品牌删除时,与分类发生绑定,则返回分类信息,协助解除绑定。
2021-09-22 11:10:34 +08:00
Chopper
505366d9bc Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-09-22 09:56:47 +08:00
Chopper
c5e8afd841 时间查询问题处理 2021-09-22 09:56:14 +08:00
OceansDeep
1de4dea1fb !33 修复文章获取内容转义,限时抢购无参加商品不开启,商品搜索报错
Merge pull request !33 from OceansDeep/feature/pg
2021-09-22 01:51:12 +00:00
paulGao
6fb9afd411 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-22 09:50:42 +08:00
Chopper
a2d896c9b2 移动端无法展示优惠券问题处理 2021-09-22 09:46:43 +08:00
paulGao
e5e809ed72 fix es goods search category name length does not match category path length 2021-09-22 09:45:51 +08:00
paulGao
d4c9b0f147 fix promotion seckill for no join goods is not autostart 2021-09-22 09:43:11 +08:00
paulGao
ac60f27814 Article get content method by HTML unescape 2021-09-22 09:40:05 +08:00
Chopper
42ce0814ae Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-09-22 09:19:14 +08:00
Chopper
f3f3d3f936 分类API接口代码完善 2021-09-22 09:17:59 +08:00
OceansDeep
8c3bc6e06e !31 fix member wallet insert db duplication
Merge pull request !31 from OceansDeep/feature/pg
2021-09-18 07:05:20 +00:00
paulGao
6dfde467b4 fix member wallet insert db duplication
add store goods label order by field sort
2021-09-18 11:43:00 +08:00
Chopper
e0e5106eed Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-09-17 14:47:27 +08:00
Chopper
9cee1093f4 IM完善 2021-09-17 14:47:25 +08:00
OceansDeep
a3d73bf7ad !30 unescape to goods get the intro
Merge pull request !30 from OceansDeep/feature/pg
2021-09-17 06:28:25 +00:00
paulGao
1f7dff38fc unescape to goods get the intro 2021-09-17 14:27:20 +08:00
OceansDeep
f7fc9a1299 !29 improved Broken Access Control check of goods
Merge pull request !29 from OceansDeep/feature/pg
2021-09-16 09:19:38 +00:00
paulGao
6ef7a98d81 improved Broken Access Control check of goods 2021-09-16 17:02:20 +08:00
paulGao
31a16b77df Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-16 16:54:02 +08:00
Chopper
3459169885 IM 相关配置提交 2021-09-16 15:32:09 +08:00
paulGao
8ae04e7ee6 fix manager api calling updateGoodsMarketAble error
fix manager api es generator get progress error info
2021-09-16 11:55:58 +08:00
Chopper
a3564c746c 镜像配置相关提交 2021-09-15 17:20:01 +08:00
OceansDeep
b0dc4db48a !28 fix xss filter parse array error
Merge pull request !28 from OceansDeep/feature/pg
2021-09-14 10:27:42 +00:00
paulGao
471b128f22 fix xss filter parse array error 2021-09-14 18:26:12 +08:00
Chopper
7727c1a45b 调整验证码模块,对演示站点做权限处理 2021-09-14 16:43:48 +08:00
Chopper
2bc381dad5 楼层装修转译导致无法正常展示问题处理 2021-09-14 10:03:34 +08:00
OceansDeep
13c5ceea96 !27 fix seckill error
Merge pull request !27 from OceansDeep/feature/pg
2021-09-13 07:24:49 +00:00
paulGao
5ce5384230 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-13 15:22:59 +08:00
paulGao
36528ae416 fix seckill error 2021-09-13 15:22:38 +08:00
Chopper
327926adb9 脱敏配置注释补充。 2021-09-13 10:32:30 +08:00
Chopper
a210565387 增加脱敏配置。
lili:
  system:
    sensitiveLevel: 2
2021-09-13 10:30:56 +08:00
Chopper
d1d91b78fc 手机号脱敏处理暂时还原,找其他方式解决 2021-09-10 16:15:51 +08:00
Chopper
6006c3eeff Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-09-10 15:54:36 +08:00
Chopper
7c2234b1a9 售后注解问题;
微信支付退款错误日志记录。
2021-09-10 15:54:26 +08:00
OceansDeep
3f92034dd1 !26 fix coupon get error
Merge pull request !26 from OceansDeep/feature/pg
2021-09-10 02:58:35 +00:00
paulGao
f99b65b2e6 fix coupon get error 2021-09-10 10:57:34 +08:00
OceansDeep
19ab3789e5 !25 fix seckill get error
Merge pull request !25 from OceansDeep/feature/pg
2021-09-10 02:50:09 +00:00
paulGao
0bbefb516d fix seckill get error 2021-09-10 10:49:27 +08:00
OceansDeep
48a2502467 !24 fix seckill abnormal open
Merge pull request !24 from OceansDeep/feature/pg
2021-09-10 02:38:13 +00:00
paulGao
47620a61ef Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-10 10:37:49 +08:00
paulGao
f44e787f72 fix seckill abnormal open 2021-09-10 10:36:27 +08:00
lifenlong
ae745ef518 手机号敏感信息过滤 2021-09-09 17:01:26 +08:00
OceansDeep
11baa30a9a !23 fix XSS and BAC, improve code style
Merge pull request !23 from OceansDeep/feature/pg
2021-09-09 08:50:37 +00:00
paulGao
9b7be69c6c Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-09 16:47:43 +08:00
paulGao
d3e1de5620 fix XSS and BAC, improve code style 2021-09-09 16:47:14 +08:00
Chopper
8784da3449 h5 微信登录后支付问题。 2021-09-09 14:01:42 +08:00
Chopper
006218e15a 活动判定问题,暂时注释处理 2021-09-08 15:15:25 +08:00
paulGao
d470192ac6 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-08 11:29:19 +08:00
OceansDeep
97cac9916d !22 improve and fix
Merge pull request !22 from OceansDeep/feature/pg
2021-09-06 18:06:36 +00:00
paulGao
cf6b1a60f4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-07 02:05:14 +08:00
paulGao
5fcdbe8df9 fix settlement seckill promotion is not punctuality 2021-09-07 02:04:31 +08:00
paulGao
4063c8b063 improve esGoods parameter selector buckets(not get category and brand from db, add EsGoodsIndex Field BrandName,BrandUrl,CategoryNamePath) 2021-09-07 01:55:58 +08:00
Chopper
d84f3b547b 订单取消会员积分返回判定问题处理 2021-09-06 15:11:39 +08:00
Chopper
80492903ae 修改数据库文件夹名称 2021-09-03 16:13:59 +08:00
Chopper
3c6d7162e8 增加一个sql的readme文件 2021-09-03 16:13:16 +08:00
Chopper
daa0320d78 尝试解决最新版本打包报错问题 2021-09-02 15:18:11 +08:00
Chopper
82d7ab1440 代码错误补充 2021-09-02 15:05:45 +08:00
Chopper
315ab4d132 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-09-02 14:47:47 +08:00
Chopper
a08373d6a8 使用绑定满减活动的优惠券无法正常使用问题处理 2021-09-02 14:38:16 +08:00
OceansDeep
7ac15d1abe !21 升级spring boot 版本,完善Elasticsearch搜索
Merge pull request !21 from OceansDeep/feature/pg
2021-09-02 03:44:14 +00:00
paulGao
8f10b6b2a6 improvement generator goods index to asynchronization 2021-09-02 11:40:26 +08:00
Chopper
a9f0eac6f7 默认收货地址代码优化。
积分商品/砍价商品库存问题处理
2021-09-02 10:00:57 +08:00
paulGao
fe675d6ac4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-02 09:07:07 +08:00
Chopper
fb006e13a0 拼团活动同一店铺同一时间限制一个活动取消。
积分订单库存扣减,积分返还处理。
其他促销相关优化
2021-09-01 19:10:16 +08:00
paulGao
318cc04566 add order by goods parameters field sort to aggregation elasticsearch 2021-09-01 19:07:30 +08:00
paulGao
2e80478203 upgrade spring boot 2.3 to 2.4 2021-09-01 19:03:36 +08:00
Chopper
42e9ee06f4 优惠券获取,超出当前时间被渲染问题处理,增加状态和时间判定 2021-09-01 14:49:59 +08:00
Chopper
88109995bb 打折券计算方式调整 2021-09-01 11:35:32 +08:00
Chopper
3c9c3c2c17 店铺商品数量变更问题处理。 2021-09-01 10:42:47 +08:00
Chopper
b78f1e512e 下方qq群问题处理 2021-09-01 09:40:18 +08:00
Chopper
7492abf4a3 增加qq1群已满提示。 2021-09-01 09:39:36 +08:00
Chopper
2973bcdc7a 商品审核后,消费者类型转换异常问题处理 2021-09-01 09:37:27 +08:00
paulGao
98df40a9a1 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-09-01 09:15:40 +08:00
paulGao
e35eb6961d fix elasticseach config injection to @Autowried 2021-09-01 09:15:35 +08:00
Chopper
36beadbc03 sql 查询参数问题处理 2021-08-31 17:56:14 +08:00
Chopper
e9075a94f3 秒杀活动自动创建调整为7天 2021-08-31 17:42:27 +08:00
Chopper
c12dd02f8a 秒杀注释增加,秒杀设置天数变为常量设置 2021-08-31 17:20:49 +08:00
Chopper
eb19b8f218 打折优惠券计算错误问题处理 2021-08-31 14:55:41 +08:00
Chopper
37ec1bf771 退货退款商家端统计问题 2021-08-31 10:14:21 +08:00
Chopper
d7e4948447 解决几个阿里规约相关的代码问题 2021-08-30 18:00:41 +08:00
Chopper
e08e187526 去除无效类,版本号切换,准备打版 2021-08-30 16:58:47 +08:00
Chopper
f8c1e9d8b8 去除jpa依赖,部分不相关的代码去除。 2021-08-30 14:32:49 +08:00
lifenlong
74f92506d0 修改砍价、积分商品活动库存 2021-08-28 07:56:55 +08:00
lifenlong
b930a598c8 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-28 07:16:59 +08:00
lifenlong
1f15e8da30 砍价活动修改状态 2021-08-28 07:16:43 +08:00
Chopper
07fae7a531 商品价格DTO参与活动问题处理 2021-08-28 03:42:06 +08:00
Chopper
20f1d58386 角色删除,菜单角色关系没有正确的删除问题 2021-08-27 17:12:09 +08:00
Chopper
cdfdf483d6 管理员删除时,管理员角色没有同步删除问题处理 2021-08-27 16:25:37 +08:00
Chopper
771f9668ce 砍价购买问题兼容处理 2021-08-27 15:35:03 +08:00
Chopper
603c1d6935 秒杀活动为空,则不反回秒杀时间段,直接返回异常,告知今日无活动 2021-08-27 11:21:58 +08:00
Chopper
3a14e96c5d 优化一段代码,去除无效的逻辑,增加一个秒杀活动错误码 2021-08-26 15:58:42 +08:00
Chopper
09af55fde1 秒杀活动当前活动展示状态问题处理 2021-08-26 15:57:59 +08:00
Chopper
3d158125f9 满优惠notice调整,满优惠信息写入购物车时机调整。 2021-08-26 11:05:05 +08:00
Chopper
fbb750927f 赠品支付状态显示待支付问题处理 2021-08-26 09:23:12 +08:00
Chopper
55b5710769 购物车失效商品导致的价格运算问题处理 2021-08-25 21:32:05 +08:00
Chopper
a971066909 满减优惠问题相关处理,秒杀商品打开页面异常问题处理 2021-08-25 20:58:09 +08:00
Chopper
d4911d1a32 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-24 17:51:03 +08:00
Chopper
1726e50e46 满减金额无法渲染问题处理 2021-08-24 17:50:18 +08:00
lifenlong
3cd55a55d0 添加qq 2群 2021-08-24 14:57:44 +08:00
Chopper
ef0eeda469 验证码模块完善,增加配置项:
#验证码设置
  verification-code:
    #图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
    effectiveTime: 300
    #水印
    watermark: LILI-SHOP
    #干扰项数量 最大2 默认0
    interfereNum: 1
    #允许误差像素
    faultTolerant: 3
2021-08-23 17:45:25 +08:00
lifenlong
f9308fa5bf 分销佣金计算时间设置 2021-08-23 17:39:02 +08:00
Chopper
1424eaa90f 积分兑换,结算页面积分支付展示问题处理。
店铺商品变更店铺商品数量展示同步。
2021-08-20 16:12:29 +08:00
Chopper
e141d22504 促销相关代码批量提交 2021-08-20 15:47:54 +08:00
lifenlong
7276824a18 秒杀活动启动修改mongo
修改部分代码规范
2021-08-20 09:40:06 +08:00
Chopper
4e2176e049 分布优惠金额问题处理 2021-08-19 18:34:47 +08:00
Chopper
6c871d470e 购物车未勾选的商品价格被累计金额问题处理 2021-08-19 18:01:58 +08:00
Chopper
790dc53ad3 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-19 17:38:48 +08:00
Chopper
ab118a8efc 购物车价格计算全面优化,优惠券分布到每个订单,满减活动没有对参与商品进行判定问题处理。 2021-08-19 17:38:37 +08:00
pikachu
a0638f0f23 修改在已有秒杀商品情况下添加新的秒杀商品 数据保存错误问题 2021-08-16 19:54:02 +08:00
Chopper
f3e0fd7bf5 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-13 18:18:18 +08:00
Chopper
db56984cf3 结算页优惠券金额错误问题处理。
购物车相关金额渲染代码优化
2021-08-13 18:18:01 +08:00
lifenlong
7aa99497e5 添加导出结算单功能 2021-08-13 18:16:13 +08:00
lifenlong
7941b74efb 积分订单取消回退积分 2021-08-13 10:36:15 +08:00
lifenlong
c1d5673837 运营后台,平台审核售后 2021-08-13 09:20:45 +08:00
lifenlong
6c95679ad2 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-12 21:11:18 +08:00
lifenlong
ebeec5e8a4 订单退单扣除积分错误 2021-08-12 21:11:12 +08:00
Chopper
ee77ee6731 变动积分如果为0,则直接返回 2021-08-12 17:30:26 +08:00
OceansDeep
dbc5305ea7 !20 add elasticsearch progress
Merge pull request !20 from OceansDeep/feature/pg
2021-08-11 18:18:15 +00:00
paulGao
48146edee9 add elasticsearch progress 2021-08-12 02:16:20 +08:00
lifenlong
8532400b82 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-12 00:35:50 +08:00
lifenlong
100d5d3317 解决分销佣金冻结错误 2021-08-12 00:35:39 +08:00
Chopper
4d83b63f82 增加订单管理端查看物流接口 2021-08-12 00:30:55 +08:00
Chopper
522ca6f157 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-12 00:29:11 +08:00
Chopper
9e3eb1f74e 订单申诉完成是,无需进行撤销申诉操作 2021-08-12 00:28:46 +08:00
lifenlong
d8155b2c15 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-11 23:18:08 +08:00
lifenlong
700d2eb401 快递鸟调用测试接口,正式版接口为8002/8001 2021-08-11 23:17:58 +08:00
Chopper
d5b6ba5d00 分销订单后台无法查询问题处理 2021-08-11 23:02:33 +08:00
lifenlong
9e8aa7f223 商品评分默认为100 2021-08-11 22:52:42 +08:00
Chopper
99160abd37 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-11 21:19:00 +08:00
Chopper
1195349ebf 分类规格无法读取问题处理 2021-08-11 21:18:54 +08:00
lifenlong
38124a702a 分类去除图片必填 2021-08-11 21:12:21 +08:00
lifenlong
e1ec2b9b27 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-11 20:15:01 +08:00
lifenlong
64e45c10b1 增加店铺企业信息接口
增加删除商品
修复:修改订单金额售后金额不正确
2021-08-11 20:14:56 +08:00
Chopper
69d712c4b1 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-11 20:12:22 +08:00
Chopper
f12c8a1aec 活动时间校验问题处理 2021-08-11 20:12:17 +08:00
pikachu
2c054f27d3 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-11 19:49:36 +08:00
pikachu
28cde4817a 充值订单超时取消功能 2021-08-11 19:49:22 +08:00
Chopper
74cc360900 促销活动创建,时间错误问题处理 2021-08-11 19:13:45 +08:00
Chopper
dd7af218a4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-11 12:19:44 +08:00
Chopper
f9a18ffbe1 super权限无法获取问题处理,拼团表单校验问题,购物车渲染流程优化 2021-08-11 12:18:42 +08:00
chopper711
6464d68133 update framework/src/main/java/cn/lili/modules/system/token/ManagerTokenGenerate.java.
重复权限去除
2021-08-11 03:12:04 +00:00
lifenlong
fc76e74d34 拼团 2021-08-11 09:52:25 +08:00
pikachu
7b7bab44c7 删除积分修复数据 2021-08-10 19:25:30 +08:00
pikachu
0a17fa9f53 修复会员总获得积分api 2021-08-10 19:21:11 +08:00
pikachu
2f48def734 修改分销提现记录文案 2021-08-10 19:05:17 +08:00
lifenlong
e2592a6c38 运营后台添加会员,密码进行二次加密 2021-08-10 16:42:34 +08:00
lifenlong
2da7d51eeb 使用hutool判断string非空 2021-08-10 16:10:03 +08:00
Chopper
45e65e71e1 后台确认收款,订单库存双倍扣除问题处理 2021-08-10 09:53:12 +08:00
Chopper
50dcc461b1 商品分类缓存问题,以及商品页面无法展示完整的平台分类问题处理,店铺分类缓存key优化,逻辑优化 2021-08-09 15:08:53 +08:00
Chopper
50f27e57d4 商品缓存问题处理 2021-08-09 11:46:12 +08:00
Chopper
8ceb214252 订单价格问题处理 2021-08-09 09:50:31 +08:00
Chopper
d6b05d4ff1 订单金额详情全部限制大于0,以防止负数出现 2021-08-09 09:32:22 +08:00
Chopper
bf2882b566 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-08-09 09:14:08 +08:00
Chopper
9a10d2aa7f 修复可能出现订单批量发货需要每次读取数据库的问题 2021-08-09 09:14:04 +08:00
pikachu
17705188e0 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-08-06 19:17:31 +08:00
pikachu
3648929ed3 积分类型修改 2021-08-06 19:17:16 +08:00
Chopper
6c22bf24a6 楼层保存时,如果是演示站点则不能开启楼层 2021-08-06 17:51:36 +08:00
Chopper
c3b6c88471 权限判定处理 2021-08-06 12:02:30 +08:00
Chopper
e01586b394 权限为空问题处理 2021-08-06 11:46:23 +08:00
Chopper
ba81cc5ece 参数被写死问题还原 2021-08-05 20:03:30 +08:00
Chopper
9b7f5f30fa 关闭店铺,如果商品id集合为空,则不做处理,解决空指针问题。 2021-08-05 18:13:43 +08:00
Chopper
bb7ea5881e 店铺收藏点击问题处理 2021-08-05 18:05:27 +08:00
Chopper
74beaf0cf0 去除无效配置 2021-08-05 12:50:19 +08:00
pikachu
4498d63f6c 修复积分类型修改引发的积分对不上问题 2021-08-05 08:26:35 +08:00
Chopper
86d0ecc89e 积分相关小问题处理 2021-08-04 18:58:56 +08:00
Chopper
b0b9420a8e 店铺分类维护信息错误问题处理。 2021-08-04 17:59:40 +08:00
Chopper
d93e11b302 缓存判定问题处理 2021-08-04 16:01:20 +08:00
Chopper
5ee25262aa 注释补充 2021-08-04 09:47:15 +08:00
lifenlong
dbe0821ecf 恢复代码 2021-08-04 09:29:05 +08:00
lifenlong
77a30459cd 恢复代码 2021-08-04 09:27:23 +08:00
Chopper
c1025b7268 代码还原 2021-08-04 09:26:49 +08:00
lifenlong
ce22c9b7ff 初始化索引,按照规格去生成索引 2021-08-03 23:28:16 +08:00
lifenlong
99f93b516a 处理分词可能为空的情况 2021-08-03 21:33:56 +08:00
lifenlong
60cf5c92dd 解决没有关键词显示错误 2021-08-03 17:54:04 +08:00
Chopper
3a2d4e6c91 DTO对象命名规范问题处理 2021-08-03 15:11:04 +08:00
Chopper
7632cf325d 店铺运费模版问题处理 2021-08-03 14:24:59 +08:00
Chopper
f20ce80c96 订单促销类型字段 2021-08-03 14:24:47 +08:00
Chopper
cd7fc4d7ac 订单可能没有订单类型问题,兼容之前代码 2021-08-03 11:38:08 +08:00
Chopper
644de06172 订单平台佣金bug修复,价格计算相关优化 2021-08-02 18:44:05 +08:00
Chopper
083b90a04a 积分商品价格计算在后续已经渲染,所以这个地方代码可以去掉 2021-07-30 18:10:23 +08:00
Chopper
3a4d08980f 代码非空处理,这块需要优化,将积分相关逻辑脱离购物车通用逻辑 2021-07-30 18:04:17 +08:00
Chopper
26c67c72fa 文章分类默认值问题处理 2021-07-30 16:17:44 +08:00
Chopper
829472c6a3 Merge remote-tracking branch 'origin/qiuqiu'
合并砍价/积分相关

# Conflicts:
#	consumer/src/main/java/cn/lili/event/impl/MemberPointExecute.java
#	update-sql/version4.2to4.3.sql
2021-07-30 15:50:36 +08:00
Chopper
8deaef09d7 热词排序count下标从0开始,所以计算时候进行-1处理 2021-07-30 14:59:00 +08:00
Chopper
2018457c28 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-30 14:28:11 +08:00
Chopper
0760c72ef8 热词获取改为根据数量,传递count获取系统热搜词语 2021-07-30 14:27:41 +08:00
chopper711
0c87c6f080 update update-sql/version4.2to4.3.sql.
sql格式化问题存在错误,重新导入
2021-07-30 03:23:23 +00:00
Chopper
6e611d3464 推送github脚本更新 2021-07-30 09:04:07 +08:00
Chopper
f71facf72a 补充注释规范。补充异常消息打印 2021-07-29 18:06:54 +08:00
Chopper
b804fa68cf 鉴权写入前对权限的非空校验 2021-07-29 17:52:42 +08:00
Chopper
363e7f40bf 去除sout 2021-07-29 17:39:33 +08:00
Chopper
02327402a8 代码接口,异常规范问题处理。 2021-07-29 17:00:15 +08:00
Chopper
f8ae17b360 去除无效代码 2021-07-29 15:26:48 +08:00
Chopper
8e30ae435f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-28 11:19:38 +08:00
Chopper
f00386c81d 继续优化代码,调整依赖关系,缩减无效代码 2021-07-28 11:19:33 +08:00
pikachu
f798dbf3ec !18 合并
Merge pull request !18 from pikachu/pipi
2021-07-27 11:48:19 +00:00
pikachu
0dd8488e19 Merge branch 'master' into pipi 2021-07-27 19:44:36 +08:00
pikachu
a7f26ff19e 站内信消息完善 2021-07-27 19:43:16 +08:00
lifenlong
0cad52cfa6 同步master 2021-07-27 17:26:12 +08:00
lifenlong
cd1b67ba84 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-27 17:17:19 +08:00
lifenlong
4ac7c038f2 评价列表展示店铺的评分 2021-07-27 17:17:11 +08:00
lifenlong
ceea01ccf8 评价列表展示店铺的评分 2021-07-27 17:15:52 +08:00
Chopper
b8634e9d59 最新菜单结构 2021-07-27 17:08:30 +08:00
Chopper
5999b5f217 权限改版完成 2021-07-27 17:03:31 +08:00
lifenlong
1b60079481 取消订单,恢复积分 2021-07-27 16:58:38 +08:00
lifenlong
02f3bde2b4 积分订单、用户下单积分数值判断 2021-07-27 15:33:11 +08:00
lifenlong
5a7440c5bf 同步master,解决冲突 2021-07-27 10:00:34 +08:00
Chopper
a407d3a539 修改sql中的菜单名称 2021-07-26 17:21:02 +08:00
Chopper
ad2640dac9 热词菜单处理sql提交 2021-07-26 16:12:59 +08:00
Chopper
8b861e8fe7 热词自定义分数线功能完善 2021-07-26 16:02:03 +08:00
Chopper
fe8523ca3f Merge branch 'backup'
# Conflicts:
#	manager-api/src/main/java/cn/lili/controller/member/MemberManagerController.java
#	manager-api/src/main/java/cn/lili/controller/other/PageDataManagerController.java
#	manager-api/src/main/java/cn/lili/controller/passport/AdminUserManagerController.java
#	manager-api/src/main/java/cn/lili/controller/permission/MenuManagerController.java
#	manager-api/src/main/java/cn/lili/controller/setting/RegionManagerController.java
#	manager-api/src/main/java/cn/lili/controller/store/StoreManagerController.java
2021-07-25 17:51:05 +08:00
Chopper
0514bec994 管理端权限模块校验完善 2021-07-25 17:46:24 +08:00
Chopper
e99aeeede5 热词功能处理,提供redis自定义增加权重值的方法 2021-07-25 17:45:46 +08:00
lifenlong
2e2ba961d9 去掉订单中存入砍价、积分商品的促销商品ID 2021-07-24 17:56:43 +08:00
pikachu
f9d7e9324a !17 提现审核功能
Merge pull request !17 from pikachu/pipi
2021-07-24 09:49:56 +00:00
pikachu
094212e6a2 提现审核 2021-07-24 17:39:49 +08:00
lifenlong
7c48413d6b 结算单添加积分、砍价商品结算价 2021-07-24 17:06:24 +08:00
pikachu
3acdb7733e 添加商品新增视频字段 2021-07-24 11:47:15 +08:00
lifenlong
1ee60c02d3 添加引用 2021-07-23 19:58:32 +08:00
lifenlong
abdc74c773 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-23 19:45:21 +08:00
lifenlong
2c8ac59628 优化商品显示逻辑
售后价格判断
2021-07-23 19:44:46 +08:00
Chopper
280c5dec39 注解包调整 2021-07-22 17:33:57 +08:00
Chopper
58d41775cf 店铺请求不记录PV统计 2021-07-22 17:26:10 +08:00
Chopper
d6b59c23af Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-22 12:17:15 +08:00
Chopper
fdb55bc426 Merge branch 'backup'
# Conflicts:
#	framework/src/main/java/cn/lili/modules/goods/serviceimpl/DraftGoodsServiceImpl.java
#	framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java
#	framework/src/main/java/cn/lili/modules/order/order/serviceimpl/TradeServiceImpl.java
#	framework/src/main/java/cn/lili/modules/promotion/serviceimpl/FullDiscountServiceImpl.java
2021-07-22 12:07:22 +08:00
lifenlong
66e9a4f4cc 解决店铺-商品列表页面库存与Sku库存不对应问题 2021-07-22 10:47:42 +08:00
lifenlong
1c0a420515 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-22 09:17:08 +08:00
lifenlong
0f02a398f6 线下退款判断错误 2021-07-22 09:17:00 +08:00
pikachu
41835aaece 站内信消息优化 2021-07-21 19:38:59 +08:00
pikachu
9f3a4dbf68 去掉无用代码以及对站内信模版等进行了优化 2021-07-21 19:36:04 +08:00
Chopper
0ccdc94644 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-21 17:46:58 +08:00
Chopper
bd3aceaeac 完善方法注释 2021-07-21 17:46:46 +08:00
lifenlong
79da543d57 修改会员评价店铺图片字段类型 2021-07-21 15:54:59 +08:00
lifenlong
c459a9086a 退款金额单价计算错误 2021-07-21 15:43:49 +08:00
Chopper
bc6abdbf1a 初步调整结构完成 2021-07-21 15:23:47 +08:00
lifenlong
dd491e38e5 进行中的满减活动可以关闭 2021-07-21 15:13:50 +08:00
lifenlong
b851de488b 解决店铺导出待发货订单重复问题。 2021-07-21 13:38:42 +08:00
lifenlong
9ff2f50b8f 解决问题:关闭优惠券后,商品页面还是展示优惠券 2021-07-21 12:51:35 +08:00
lifenlong
6f1aa6e3d5 使用hutool做String非空判断 2021-07-21 12:00:03 +08:00
lifenlong
e9663434a2 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-21 11:56:49 +08:00
OceansDeep
6bbd2f8bb8 !16 sql 中 添加分词管理菜单
Merge pull request !16 from OceansDeep/feature/pg
2021-07-21 00:04:55 +00:00
paulGao
13ecd5815b sql 中 添加分词管理菜单 2021-07-21 08:04:19 +08:00
OceansDeep
3576c968cf !15 修复商品搜索为分词搜索
Merge pull request !15 from OceansDeep/feature/pg
2021-07-21 00:02:43 +00:00
paulGao
bdbf4589ea 修复商品搜索为分词搜索 2021-07-21 07:59:58 +08:00
lifenlong
44fb0601a6 解决商品购买但是商品页面的库存显示不正确的问题 2021-07-20 20:25:57 +08:00
Chopper
37348335b2 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
修正优惠券提示语
2021-07-20 19:41:40 +08:00
Chopper
8f351fdb8b 对消息增加默认状态码 2021-07-20 19:38:21 +08:00
lifenlong
f35ae5b1ee Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-20 19:27:48 +08:00
lifenlong
6a13351bc3 满折优惠活动+满折优惠券价格计算不正确。 2021-07-20 19:27:37 +08:00
Chopper
ecfe856fa7 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-20 17:59:10 +08:00
Chopper
0c1d3236e8 商品读取缓存 2021-07-20 17:57:49 +08:00
lifenlong
d6d0afa23a String 类型转换使用hutool 2021-07-20 17:29:08 +08:00
lifenlong
6607506929 砍价订单实现 2021-07-20 16:18:54 +08:00
Chopper
fe021f8a11 暂时备份一下代码,准备切换master 2021-07-20 15:44:09 +08:00
Chopper
4b7ab94ba4 批量调整目录结构 2021-07-19 16:07:02 +08:00
Chopper
15ab6bfda4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-19 15:01:55 +08:00
Chopper
06212c073d 调整目录结构 2021-07-19 15:01:51 +08:00
lifenlong
eef270ff9c 砍价商品添加原价 2021-07-19 11:15:00 +08:00
lifenlong
3c27cd09ff Merge branch 'master' into qiuqiu 2021-07-18 18:32:35 +08:00
lifenlong
eda1e841bb Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-18 18:32:22 +08:00
lifenlong
dd213e7e33 砍价、积分商品订单价格计算 2021-07-18 18:30:37 +08:00
pikachu
9de55088ea 新增站内消息通知模版 2021-07-18 17:12:27 +08:00
lifenlong
451d683c4f Merge branch 'master' into qiuqiu 2021-07-18 13:43:45 +08:00
lifenlong
d4642d85dd Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-18 13:43:34 +08:00
lifenlong
5d211c241d 砍价活动商品购买 2021-07-17 14:02:34 +08:00
Chopper
a9c79eedd4 代码结构优化,缩减。一个多次判定问题处理 2021-07-16 10:40:44 +08:00
Chopper
ac5d04ddc2 调整代码结构 2021-07-16 09:55:38 +08:00
Chopper
caacb9e201 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-15 14:17:58 +08:00
Chopper
844bff971f 无效代码去除 2021-07-15 14:17:53 +08:00
lifenlong
0f8a5aba05 1.完善砍价商品加入购物车。
2.完善砍价帮砍
3.完善砍价价格计算。
2021-07-14 08:47:13 +08:00
pikachu
9ee5b4515a 修改积分参数命名规范 2021-07-13 19:55:42 +08:00
pikachu
2246b498d9 解决如果是扣减积分 积分变化错误 2021-07-13 19:43:49 +08:00
pikachu
93e4998b87 修改积分类型字段类型 2021-07-13 18:48:22 +08:00
lifenlong
4718ce292d 修改砍价活动 2021-07-13 16:17:53 +08:00
Chopper
a360fd2eda maven规范补充 2021-07-13 10:39:27 +08:00
lifenlong
e0ca366431 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-13 10:28:48 +08:00
lifenlong
3d3be0b283 查看店铺经营范围 2021-07-13 10:28:04 +08:00
pikachu
656e2a9307 合并 2021-07-12 23:41:23 +08:00
pikachu
7f08124afc 砍价活动第一版本 2021-07-12 23:38:32 +08:00
Chopper
86f010b87e maven 规范 2021-07-12 16:33:32 +08:00
Chopper
d29d166ce0 banner 统一 2021-07-12 14:44:11 +08:00
Chopper
3c78a06008 订单取消时,如未支付,则不需要进行退款处理 2021-07-12 12:41:00 +08:00
Chopper
b6a5630021 获取用户问题处理 2021-07-12 12:30:22 +08:00
Chopper
560ab5f102 调整readme 2021-07-10 14:13:53 +08:00
Chopper
da1b2c3aa8 精简readme 2021-07-10 14:08:56 +08:00
Chopper
7db5690a26 更新readme 2021-07-10 14:01:55 +08:00
Chopper
a1fcadf8b2 修改readme 2021-07-09 18:42:00 +08:00
Chopper
8302ca2e3a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-09 14:46:12 +08:00
Chopper
17b977ef94 对索引生成判定进行处理 2021-07-09 14:46:03 +08:00
lifenlong
512a298cc9 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-09 11:56:19 +08:00
lifenlong
86625e9e9d 增加订单申请售后失效、订单投诉申请失效天数。 2021-07-09 11:55:43 +08:00
Chopper
a599fb9d01 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
# Conflicts:
#	framework/src/main/java/cn/lili/common/security/context/UserContext.java
#	framework/src/main/java/cn/lili/common/security/context/UserContextInit.java
2021-07-09 11:17:08 +08:00
Chopper
89b057dfca 去除无效代码,规范代码 2021-07-09 11:16:11 +08:00
lifenlong
18d2379a19 采用阿里代码规约,对代码进行优化 2021-07-09 08:42:16 +08:00
lifenlong
3e73257922 采用阿里代码规约,对代码进行优化 2021-07-09 01:56:24 +08:00
lifenlong
9e240f22b6 解决售后单列表的排序问题 2021-07-08 09:59:54 +08:00
lifenlong
6aadd00e45 优惠券按照添加时间进行排序 2021-07-08 09:35:25 +08:00
lifenlong
5fc962b29d Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-07 16:18:04 +08:00
lifenlong
00e93c91f5 优化订单商品类型 2021-07-07 16:17:38 +08:00
pikachu
0e7a4ee06c Merge branch 'master' into qiuqiu 2021-07-06 18:36:01 +08:00
pikachu
531ca13555 砍价商品 2021-07-06 18:35:40 +08:00
Chopper
a903160305 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-06 14:53:34 +08:00
Chopper
cd2942a96b mq单向消息报错问题,先做还原处理 2021-07-06 14:53:17 +08:00
lifenlong
6235faba96 优化颠婆分类 2021-07-06 10:43:16 +08:00
lifenlong
6e7254e765 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-07-06 10:12:16 +08:00
lifenlong
e338229902 优化秒杀初始化方法 2021-07-06 10:12:07 +08:00
Chopper
9ff40291ee Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-05 16:42:31 +08:00
Chopper
4c8375e861 足迹记录mq时,单向发送,不等待mq响应 2021-07-05 16:41:39 +08:00
lifenlong
acc40dc6fc 店铺配送不展示已经禁用的物流公司 2021-07-05 15:45:57 +08:00
lifenlong
177cd86366 支持添加重复名称的商品分类 2021-07-05 11:14:15 +08:00
Chopper
d06b5ceb89 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-07-05 09:25:10 +08:00
Chopper
6926cd583d 商品索引生成是,对索引值的非空处理 2021-07-05 09:25:03 +08:00
Chopper
de2777e244 商品索引包含sku信息问题处理 2021-07-05 09:22:45 +08:00
lifenlong
c10b698aed 支持文章传图 2021-07-03 13:40:18 +08:00
Chopper
256d9e240e 商品参数返回vo处理 2021-07-02 15:05:08 +08:00
pikachu
f9662bd61a Merge branch 'master' into qiuqiu 2021-07-01 18:42:38 +08:00
lifenlong
eedea676aa 商品详情展示参数 2021-07-01 17:06:13 +08:00
lifenlong
92c3c21e32 商品删除,删除分销商品 2021-07-01 14:31:33 +08:00
lifenlong
bd13a9b150 Merge branch 'master' into Bulbasaur 2021-07-01 11:19:16 +08:00
lifenlong
931276f72b 添加ResultCode 2021-07-01 11:17:18 +08:00
OceansDeep
e38f9aa2ff !13 fix https://gitee.com/beijing_hongye_huicheng/lilishop/issues/I3YFU4
Merge pull request !13 from OceansDeep/feature/pg
2021-07-01 02:16:42 +00:00
paulGao
696e075fcd Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-07-01 10:12:40 +08:00
paulGao
d25ba76094 fix https://gitee.com/beijing_hongye_huicheng/lilishop/issues/I3YFU4 2021-07-01 10:12:33 +08:00
lifenlong
cce14b4794 同步 2021-07-01 08:35:18 +08:00
lifenlong
f6706d6394 1.使用hutool进行Object to Int格式转换
2.添加部分resultCode
2021-07-01 08:33:19 +08:00
Chopper
7e3a9eb904 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-30 19:59:42 +08:00
Chopper
079437100d 版本好升级 2021-06-30 19:59:36 +08:00
lifenlong
d7ce709ce6 使用hutool进行格式转换 2021-06-30 16:29:19 +08:00
lifenlong
cff2b95c48 同步 2021-06-30 15:47:33 +08:00
lifenlong
1a77b3cec7 商品数据转换问题 2021-06-30 15:46:52 +08:00
lifenlong
346465630c 添加ResultCode 2021-06-30 15:45:33 +08:00
Chopper
23388eff6b 升级项目版本号 2021-06-30 14:53:26 +08:00
lifenlong
800437473d 1.分销员添加结算银行信息
2.电话校验支持手机号
2021-06-30 12:02:35 +08:00
lifenlong
46f216c191 1.店铺关闭,批量下架店铺商品问题。
2.解决实物/虚拟订单发货逻辑判断问题
2021-06-30 10:26:32 +08:00
lifenlong
a60a535708 修改分销可提现金额 2021-06-30 08:41:04 +08:00
lifenlong
888b5e2558 解决直播间时间不正确问题 2021-06-29 17:01:55 +08:00
lifenlong
1431d990f9 解决直播间时间不正确问题 2021-06-29 16:58:54 +08:00
Chopper
f509b8745d token生成时权限过滤问题处理 2021-06-29 16:43:38 +08:00
Chopper
c1b9f287c7 新增管理员即赋予权限无法生效问题处理。直播间未登录用户报错问题处理 2021-06-29 16:26:52 +08:00
Chopper
3ee3e49d0b 用户在请求直播时没有登录抛出异常问题处理。 2021-06-29 15:40:37 +08:00
Chopper
05904b25c4 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-29 11:56:45 +08:00
Chopper
5e54b2f179 规格值字段新增 2021-06-29 11:56:40 +08:00
lifenlong
e6d045c663 同步 2021-06-29 11:29:05 +08:00
lifenlong
50f96727b3 分销商品VO返回GoodsId 2021-06-29 11:24:53 +08:00
Chopper
39e851ee78 aop积分日志记录兼容问题处理 2021-06-29 11:15:27 +08:00
Chopper
5a415ffc77 条件判定语句顺序调整 2021-06-29 10:25:45 +08:00
Chopper
6a9ba13fc0 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-29 10:13:24 +08:00
Chopper
d96d5edcd5 会员提现api注解问题处理 2021-06-29 10:13:18 +08:00
lifenlong
d35eb293dd Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-29 09:23:37 +08:00
lifenlong
fcfa140a0a 添加注释 2021-06-29 09:23:22 +08:00
chopper711
707c4dbec2 !12 会员消息问题整改
Merge pull request !12 from chopper711/qiuqiu
2021-06-29 01:05:15 +00:00
pikachu
13b1c353b9 Merge branch 'master' into qiuqiu 2021-06-29 08:26:22 +08:00
pikachu
8ed54e061f 会员消息修改 2021-06-29 08:25:54 +08:00
lifenlong
d5fab95707 1.优惠券活动由定时器修改为延时任务执行。
2.修改shopEditDTO,不继承ShopDetail
2021-06-28 18:18:23 +08:00
lifenlong
bbf18b7b0a Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-28 16:09:13 +08:00
lifenlong
fe06555a0b 初始化30天的秒杀活动 2021-06-28 16:09:03 +08:00
Chopper
cf9e6a659a qq联合登录openid问题处理 2021-06-28 15:16:32 +08:00
Chopper
c628c0ebb2 店铺入驻字段缺失问题处理 2021-06-28 14:56:34 +08:00
lifenlong
31479bab19 同步 2021-06-28 11:31:42 +08:00
lifenlong
63802a596b 添加秒杀设置 2021-06-28 11:30:37 +08:00
Chopper
84f6f0e7ee 评价判定问题处理 2021-06-28 11:28:09 +08:00
chopper711
98a2da489d !11 商品参数校验,在线充值回调
Merge pull request !11 from chopper711/qiuqiu
2021-06-28 01:03:41 +00:00
pikachu
5786cb9e55 修改商品参数校验以及充值回调接口 2021-06-26 16:48:06 +08:00
lifenlong
1cbab4a219 店铺评价列表,展示当前店铺数据 2021-06-26 15:24:59 +08:00
lifenlong
873a960d3a 店铺直播列表,展示当前店铺数据 2021-06-26 15:23:00 +08:00
lifenlong
80007a6b86 设定默认商家结算日 2021-06-26 14:44:55 +08:00
lifenlong
467e9887d0 本地校验直播间开始、结束时间 2021-06-26 14:38:27 +08:00
lifenlong
2d5c0d6a1f 删除优惠券,删除优惠券活动关联 2021-06-26 14:07:21 +08:00
lifenlong
d047546374 直播间去重复商品 2021-06-26 11:18:14 +08:00
lifenlong
788e9ca239 添加电话校验 2021-06-26 11:04:20 +08:00
lifenlong
4939e31e71 添加电话校验 2021-06-26 11:02:42 +08:00
pikachu
701ea240ab Merge branch 'master' into qiuqiu 2021-06-26 10:58:57 +08:00
Chopper
b5088415ce Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-25 18:30:03 +08:00
Chopper
df44a7ae30 不能使用余额支付进行充值 2021-06-25 18:29:58 +08:00
lifenlong
4b3c2cbea5 微信小程序接口,调用成功统一处理返回 2021-06-25 17:34:00 +08:00
lifenlong
7dfbb164ae Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-25 16:03:18 +08:00
lifenlong
3c2cf69cbe 微信媒体返回 2021-06-25 16:03:14 +08:00
Chopper
0d6d92139b 余额支付错误的判定问题处理 2021-06-25 16:00:23 +08:00
Chopper
f725b64345 微信退款状态无法变更问题处理 2021-06-25 14:56:16 +08:00
Chopper
efb226b37b 投诉展示相关问题完善 2021-06-25 14:32:39 +08:00
Chopper
14ff0a3501 交易支付后不会自动跳转问题处理 2021-06-25 11:43:56 +08:00
Chopper
39d6032152 订单取消异常 2021-06-25 11:40:05 +08:00
Chopper
b6062f4fb9 订单统计时,店铺参数传递后台,统计结果不变问题处理 2021-06-25 11:35:02 +08:00
Chopper
47c42db720 创建订单,校验参数相关流程调整 2021-06-25 10:48:21 +08:00
Chopper
ac68acda50 兼容性问题处理 2021-06-25 10:37:31 +08:00
Chopper
d99a4d2d50 商品参数编辑问题处理 2021-06-25 10:35:22 +08:00
Chopper
1b5add1d13 购物车获取数量问题 2021-06-25 10:31:10 +08:00
Chopper
54320499e5 错误消息完善 2021-06-25 10:17:58 +08:00
Chopper
e4dd156ae7 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-25 09:47:12 +08:00
Chopper
02d23dc217 1、主要解决商品参数后端存储格式问题,结构问题等
2、配送商品超出配送区域提出警告,但是依然可以下单问题处理
2021-06-25 09:46:38 +08:00
lifenlong
4fd8e4ecef 修改虚拟订单售后类型只支持退款 2021-06-24 18:17:16 +08:00
lifenlong
83367ca96d 解决微信媒体返回错误问题。 2021-06-24 17:30:03 +08:00
lifenlong
30846819d8 解决线上、本地开发重复调用微信token的问题 2021-06-24 17:19:17 +08:00
lifenlong
9c574ad9b7 微信上传媒体提示 2021-06-24 16:03:49 +08:00
lifenlong
e6ad65d8c0 如果发行数量是0,则不限制数量 2021-06-24 15:51:14 +08:00
lifenlong
02becd70b2 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-24 15:29:29 +08:00
lifenlong
bd82387a76 虚拟订单不能修改收件人信息 2021-06-24 15:29:23 +08:00
Chopper
158234412c uv统计 2021-06-24 11:18:13 +08:00
Chopper
d185de27dd Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-24 10:57:40 +08:00
Chopper
c9b7ee2c81 商品发布模块更新 2021-06-24 10:57:27 +08:00
OceansDeep
cf1c138fe8 !10 修复分类参数修改索引属性后没有同步到商品参数问题
Merge pull request !10 from OceansDeep/feature/pg
2021-06-24 01:21:39 +00:00
paulGao
0121c546f4 修复分类参数修改索引属性后没有同步到商品参数问题 2021-06-24 09:20:13 +08:00
lifenlong
155c648186 整理之后新版本功能 2021-06-23 18:58:20 +08:00
lifenlong
943d31de9d 显示小程序的客服配置 2021-06-23 18:06:38 +08:00
lifenlong
8a10382787 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-23 17:44:31 +08:00
lifenlong
3aacd1efbd 修改商品模板的详情字段类型 2021-06-23 17:44:24 +08:00
Chopper
f667822daf Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-23 16:47:45 +08:00
Chopper
8d5d902550 管理端验证码登录校验 2021-06-23 16:47:16 +08:00
Chopper
8cecb69c01 异常模块进一步完善 2021-06-23 16:47:05 +08:00
Chopper
7851e8af39 规格代码相关改版 2021-06-23 16:46:52 +08:00
lifenlong
34ed19373b 修改update.sql,添加新增的表结构 2021-06-23 16:06:50 +08:00
lifenlong
abaf32f3dc Merge branch 'master' into Bulbasaur 2021-06-23 15:38:43 +08:00
lifenlong
ae4253d146 Merge branch 'Bulbasaur' of https://gitee.com/beijing_hongye_huicheng/lilishop into Bulbasaur 2021-06-23 15:38:03 +08:00
lifenlong
c1bce3fc3b 直播间删除商品,返回错误 2021-06-23 15:37:49 +08:00
Chopper
a5fa7cadcd 规格搜索以规格id为准 2021-06-23 09:44:53 +08:00
OceansDeep
6419d5b7e8 !9 修复更新商品状态不会更新缓存商品数据问题
Merge pull request !9 from OceansDeep/feature/pg
2021-06-22 14:43:53 +00:00
paulGao
117fe762a8 修复更新商品状态不会 2021-06-22 22:36:28 +08:00
paulGao
bf67a45d53 Merge branch 'feature/pg' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-06-22 22:34:02 +08:00
paulGao
12238d3989 修复更新商品状态不会更新缓存商品数据问题 2021-06-22 22:33:10 +08:00
Chopper
911df97422 商品规格相关问题处理 2021-06-22 18:58:55 +08:00
Chopper
a3085405fe 消费者配置文件还原 2021-06-22 15:47:44 +08:00
Chopper
d40869fe2a consumer 数据库还原 2021-06-22 15:40:08 +08:00
Chopper
3e237a8488 商品创建订单,提示语问题处理 2021-06-22 15:21:02 +08:00
Chopper
19154aa2b8 虚拟商品重量字段兼容问题处理 2021-06-22 15:08:06 +08:00
Chopper
8f93ac4d49 修改默认错误提示语 2021-06-22 11:50:08 +08:00
Chopper
cfd8bceb10 索引字段问题处理 2021-06-22 09:23:50 +08:00
OceansDeep
5fc1e7b30f !8 修复商品索引参数问题
Merge pull request !8 from OceansDeep/feature/pg
2021-06-21 16:10:17 +00:00
OceansDeep
54408db0f0 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-06-21 16:10:06 +00:00
paulGao
41a86ff7dc 修复商品索引参数问题 2021-06-22 00:07:33 +08:00
Chopper
65d106e515 商品信息编辑时,参数校验问题处理 2021-06-21 17:30:28 +08:00
Chopper
74ae262e79 商品保存时,部分参数逻辑校验 2021-06-21 17:12:55 +08:00
Chopper
cdbaed22d9 验证码模块提交 2021-06-21 16:38:29 +08:00
Chopper
2db8eb7324 订单查询失败问题处理 2021-06-21 15:37:08 +08:00
Chopper
b8a2e90592 规范sql升级 2021-06-21 14:57:20 +08:00
chopper711
eb1b6fac5c !7 会员站内信功能相关合并
Merge pull request !7 from chopper711/qiuqiu
2021-06-21 14:16:44 +08:00
chopper711
4bd4ba7e08 !6 4.1.0功能合并
Merge pull request !6 from chopper711/Bulbasaur
2021-06-21 14:15:41 +08:00
Chopper
c7e4af6175 注释规范 2021-06-21 14:14:07 +08:00
OceansDeep
8403db9e75 !5 修复拼团商品限购数量问题,添加创建订单流程过后清除缓存key
Merge pull request !5 from OceansDeep/feature/pg
2021-06-21 14:03:22 +08:00
paulGao
337775013e 修复拼团商品限购数量问题,添加创建订单流程过后清除缓存key 2021-06-21 14:02:31 +08:00
paulGao
7564a4627a Merge branch 'Bulbasaur' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg 2021-06-21 11:56:25 +08:00
Chopper
1943f0ddea Merge branch 'Bulbasaur' of gitee.com:beijing_hongye_huicheng/lilishop into Bulbasaur 2021-06-21 11:55:41 +08:00
Chopper
50911137cb 购物车逻辑相关处理 2021-06-21 11:55:08 +08:00
lifenlong
b574dfb04f 解决优惠券活动发送多个优惠券问题。 2021-06-21 11:36:14 +08:00
Chopper
9546807031 流量限制设定更合理 2021-06-21 10:53:04 +08:00
pikachu
aaf53440ac 完善消息注视 2021-06-20 11:05:14 +08:00
lifenlong
d7b0ff4cd1 优惠券动态时间判定。 2021-06-19 17:43:04 +08:00
lifenlong
4e87ad22c1 虚拟订单,订单核验码修改为8位 2021-06-19 14:31:56 +08:00
lifenlong
859689eec2 1.直播商品名称不能超过14位。
2.添加虚拟订单类型
2021-06-19 14:11:57 +08:00
Chopper
738a95edb6 分类信息保存增加校验 2021-06-18 17:33:45 +08:00
Chopper
e5b9280b7e 关闭券活动 2021-06-18 16:36:53 +08:00
lifenlong
c20f3ff04d 查询分类下是否存在商品,去除掉已删除商品 2021-06-18 16:22:49 +08:00
Chopper
c787b4762b 优惠券问题粗粝 2021-06-18 16:20:00 +08:00
Chopper
30d34d69f1 Merge branch 'Bulbasaur' of gitee.com:beijing_hongye_huicheng/lilishop into Bulbasaur 2021-06-18 14:23:54 +08:00
Chopper
7113914ccd 交互对象调整 2021-06-18 14:23:51 +08:00
lifenlong
78b5b5a324 冲突 2021-06-18 11:29:46 +08:00
lifenlong
b361fe7d95 展示优惠券活动下的优惠券列表详情 2021-06-18 11:27:38 +08:00
Chopper
daa6236b37 自定义分类无法保存问题处理 2021-06-18 10:27:33 +08:00
lifenlong
24be8f342d 解决冲突 2021-06-18 10:12:15 +08:00
lifenlong
bfc76f7ceb 同步master 2021-06-18 10:03:34 +08:00
pikachu
0cfb196918 Merge branch 'master' into qiuqiu 2021-06-18 07:55:53 +08:00
pikachu
975550374a 新增会员站内信消息 2021-06-18 07:55:25 +08:00
Chopper
cbcadc21a2 xss还原 2021-06-17 16:43:37 +08:00
Chopper
e01c279cfe 支付宝支付h5 无法支付成功,检查时回调参数格式问题,现重新整理上线 2021-06-17 16:31:40 +08:00
Chopper
897600335e 支付title 字符串过滤 2021-06-17 15:06:24 +08:00
Chopper
383dbb2d4e 测试环境短信问题处理 ,默认6个1发送 2021-06-17 15:05:50 +08:00
Chopper
4bc5cb0f1b wap支付失败,看起来是因为超时原因,调试一下 2021-06-17 12:21:41 +08:00
Chopper
4a9d54cbf4 增加日志答应,wap支付3m超时问题尝试解决 2021-06-17 12:12:45 +08:00
lifenlong
67e31bff07 同步master 2021-06-17 11:15:56 +08:00
Chopper
bf023ccad5 去除无效的代码 2021-06-17 10:41:53 +08:00
Chopper
0995a3b75f Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-17 10:38:07 +08:00
Chopper
e4b968e0af 库存扣减,库存回滚问题处理。
之前存在商品取消后,自动回滚库存,可是忽略了商品取消可能是因为库存不足导致的问题。
2021-06-17 10:37:45 +08:00
Chopper
7ce5b517fc 商品评价场景,查询业务重构,代码复用增强,前端可以查看到后端设置隐藏的评价内容问题解决 2021-06-17 10:37:11 +08:00
OceansDeep
9c5cc0bf36 !4 修复拼团商品下单问题和添加商品是否需要索引
Merge pull request !4 from OceansDeep/feature/pg
2021-06-17 09:31:47 +08:00
paulGao
c69cd0c22d 修复拼团商品下单问题和添加商品是否需要索引 2021-06-17 09:11:16 +08:00
lifenlong
fbcd5b7470 app版本修改,过滤当前版本 2021-06-17 00:28:36 +08:00
Chopper
6205693df6 增加下单部分注视,支付宝h5支付日志记录内容 2021-06-16 15:54:54 +08:00
Chopper
00182f5cfb 限制官网地区同步功能 2021-06-16 10:49:17 +08:00
Chopper
841903d2a6 优惠券活动问题处理 2021-06-15 18:10:25 +08:00
Chopper
5f403ec675 合并master业务代码 2021-06-15 16:21:03 +08:00
Chopper
a97b698d8e Merge branch 'master' into Bulbasaur
# Conflicts:
#	consumer/src/main/java/cn/lili/timetask/handler/impl/promotion/PromotionEverydayExecute.java
#	consumer/src/main/java/cn/lili/trigger/executor/PromotionTimeTriggerExecutor.java
#	framework/src/main/java/cn/lili/common/trigger/delay/AbstractDelayQueueMachineFactory.java
#	framework/src/main/java/cn/lili/modules/order/order/serviceimpl/OrderServiceImpl.java
#	framework/src/main/java/cn/lili/modules/promotion/serviceimpl/CouponServiceImpl.java
2021-06-15 15:50:54 +08:00
Chopper
24bb6a4169 代码同步 2021-06-15 15:28:33 +08:00
lifenlong
44d6edd53b 演示站点,支持商品分类添加 2021-06-15 09:59:32 +08:00
lifenlong
10dbed04b6 初始化秒杀活动 2021-06-13 16:27:40 +08:00
lifenlong
a159c0d0db 下载批量发货订单列表 2021-06-13 15:53:19 +08:00
lifenlong
3814b4a9a5 暂提 2021-06-13 14:51:39 +08:00
Chopper
2472cfd93b 批量关闭活动问题处理 2021-06-13 14:48:45 +08:00
lifenlong
5a4f8e2a72 同步 2021-06-13 09:03:16 +08:00
lifenlong
6ef71d9dfe 解决PC页面不传递开启关闭 2021-06-12 15:16:22 +08:00
Chopper
ee01a65d92 买家端登录跳转问题处理 2021-06-11 15:39:55 +08:00
Chopper
8913f37f33 qq联合登录问题处理 2021-06-11 14:48:20 +08:00
Chopper
fcca848e40 去除引用 2021-06-11 12:00:01 +08:00
Chopper
ebebbcac69 延时任务规范,任务调度机制,修改为consumer执行,不再被每个进程监控。 2021-06-11 11:59:21 +08:00
lifenlong
332e287675 修改虚拟订单类型 2021-06-10 20:13:21 +08:00
Chopper
9195292aa9 演示站点部分权限控制 2021-06-10 17:40:53 +08:00
lifenlong
34e5488b9d 创建虚拟订单
由前台处理待发货订单导出
2021-06-10 16:25:40 +08:00
Chopper
89f4b71301 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-10 09:16:36 +08:00
Chopper
fc66db2d13 修改注释 2021-06-10 09:15:31 +08:00
lifenlong
7c8c692e87 去除xss空格过滤 2021-06-09 18:21:11 +08:00
lifenlong
19ae44f851 商品规格添加商品类型 2021-06-09 17:39:57 +08:00
Chopper
590a039f10 商品索引需要手动删除的问题处理 2021-06-09 17:11:21 +08:00
Chopper
f7201342d9 代码规范度问题处理,注释补充。 2021-06-09 16:29:49 +08:00
lifenlong
cf4f9dd6bc 商品模板支持虚拟商品 2021-06-09 16:29:25 +08:00
Chopper
b30a55eafa 收银台参数问题优化,如果不匹配直接跳过。 2021-06-09 09:24:35 +08:00
Chopper
da1863850a 主要完善延时任务相关,缺失的注释信息,log记录的信息完善。目录结构优化。
sql数据过大,展示sql默认为false,需要打开手动打开就好。
2021-06-08 18:40:32 +08:00
Chopper
91baf22841 无效类去除 2021-06-08 09:36:35 +08:00
Chopper
c2367f763f 订单支付金额为0时问题解决。 2021-06-07 17:36:48 +08:00
lifenlong
a51e86fd98 去除e.printStackTrace();使用slf4j实现 2021-06-07 16:49:59 +08:00
Chopper
203abe1087 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-07 16:13:50 +08:00
Chopper
6d7e9e7fdd 阿里sms默认短信验证码配置问题处理 2021-06-07 16:12:07 +08:00
lifenlong
762a7335fe Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-07 15:50:45 +08:00
lifenlong
0bca2d9026 店铺结算设置开始、结束时间 2021-06-07 15:50:36 +08:00
Chopper
0fc179cff2 地区相关问题处理 2021-06-07 15:28:36 +08:00
Chopper
f949896685 地区数据初始化之后,数据无法访问,因为缓存没有更新。现在更新为初始化完成,即清空与地区相关的缓存 2021-06-07 15:27:48 +08:00
lifenlong
86360cf5f8 Merge branch 'master' into Bulbasaur 2021-06-07 15:08:36 +08:00
lifenlong
e176d920cc 店铺结算设置开始、结束时间 2021-06-07 15:08:12 +08:00
Chopper
f9f8cce13e xss防御相关更改策略,调整代码 2021-06-07 15:00:36 +08:00
Chopper
4b8fff1e56 地区初始化数据结构错误问题,提前设置id,构造出父类id 2021-06-07 10:16:16 +08:00
Chopper
03f54f470a Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-06-07 10:13:19 +08:00
Chopper
886ea29c6d 对数据保存做一个判定,如果模型设置id,则不复盖模型原有的id 2021-06-07 10:12:42 +08:00
lifenlong
4849e7d57e 同步 master 2021-06-07 10:02:23 +08:00
lifenlong
7e8ba50970 添加页面,判断是否发布页面 2021-06-07 10:00:07 +08:00
lifenlong
431f7c014f 添加页面,判断是否发布页面
添加update.sql
2021-06-07 09:59:09 +08:00
lifenlong
bbe01e9e67 用户经验值设置 2021-06-05 17:13:04 +08:00
lifenlong
e379a2eb34 导出售后单 2021-06-05 14:48:16 +08:00
lifenlong
b7e439e177 店铺导出订单列表 2021-06-05 14:04:56 +08:00
lifenlong
73002148d4 1.展示店铺的商品数量、收藏数量
2.动态时间优惠券进行状态判断。
3.导出订单API
2021-06-04 15:42:35 +08:00
Chopper
9fedc25f3f 安全问题 2021-06-04 10:55:35 +08:00
Chopper
f11c3205ee 攻击sql阻断解析器 2021-06-04 10:21:54 +08:00
Chopper
94bb98bf1f 去除Mapper 采用注解来实现相关查询 2021-06-03 15:35:20 +08:00
lifenlong
9db40c197d 延时任务修改直播间状态 2021-06-03 10:54:48 +08:00
lifenlong
b842daa609 Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop 2021-06-02 17:57:07 +08:00
lifenlong
ce70a93ff5 买家过滤拼团内容 2021-06-02 17:56:59 +08:00
lifenlong
f3faec3f72 买家过滤拼团内容 2021-06-02 17:54:40 +08:00
lifenlong
07b9e413d6 添加秒杀活动设置 2021-06-02 17:30:32 +08:00
Chopper
80ca2b6388 在线人数展示时间字段完整展示 2021-06-02 17:28:43 +08:00
Chopper
571bc0ed93 首页统计排序优化 2021-06-02 16:05:55 +08:00
Chopper
83c86ab1da 优化管理端首页数据统计 2021-06-02 15:42:54 +08:00
Chopper
393c246018 再次缩短在线人数vo的返回日期长度 2021-06-02 14:49:48 +08:00
Chopper
46d937270d 调整返回日期的格式 2021-06-02 14:48:40 +08:00
Chopper
7a4ca67784 会员统计当日数据问题处理 2021-06-02 10:37:01 +08:00
lifenlong
b2d149c714 支持使用促销类型进行筛选订单:拼团、积分、赠品 2021-06-01 22:10:28 +08:00
lifenlong
f802810330 添加直播间状态变化延时任务 2021-06-01 17:23:32 +08:00
lifenlong
6fb7322e3e Merge branch 'master' into Bulbasaur 2021-06-01 15:51:50 +08:00
lifenlong
b70da68761 Merge branch 'Bulbasaur' of https://gitee.com/beijing_hongye_huicheng/lilishop into Bulbasaur 2021-06-01 15:51:30 +08:00
lifenlong
0324951d9a 微信小程序优化 2021-06-01 15:51:19 +08:00
Chopper
d01bd1581e 店铺流水交易趋势问题 2021-06-01 09:43:02 +08:00
Chopper
56c532349b 店铺uv条件判定问题处理 2021-06-01 09:29:03 +08:00
Chopper
79461c3768 uv统计异常问题处理 2021-06-01 09:16:15 +08:00
Chopper
2d1140df40 会员积分默认倒序 2021-06-01 08:52:33 +08:00
Chopper
5b162d0f8c 增加star标记 2021-05-31 11:47:44 +08:00
Chopper
78aee87b45 Merge branch 'Bulbasaur' of gitee.com:beijing_hongye_huicheng/lilishop into Bulbasaur 2021-05-31 11:34:47 +08:00
Chopper
e09747c410 支持elk 2021-05-31 11:34:43 +08:00
lifenlong
7fa0fb75b1 订单付款后添加是否支持原路退款。 2021-05-31 08:37:15 +08:00
lifenlong
3639ed731b 虚拟订单核验 2021-05-29 12:31:38 +08:00
lifenlong
e5d4207839 虚拟商品订单创建核验码 2021-05-29 11:37:55 +08:00
lifenlong
969437fc34 添加商品类型:实物商品、虚拟商品、电子卡券 2021-05-28 17:43:55 +08:00
lifenlong
814d118d77 运营后台可设置推荐直播间 2021-05-28 12:10:33 +08:00
Chopper
28d8efb8cb Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-05-27 11:39:15 +08:00
Chopper
fb93625c60 增加环境安装文档 2021-05-27 11:38:55 +08:00
lifenlong
c58524cf94 创建直播商品VO,显示直播商品的库存以及店铺名称 2021-05-26 18:40:54 +08:00
lifenlong
5b5681d748 支持短信验证码登录 2021-05-26 17:57:51 +08:00
lifenlong
99b9e8cf91 导出订单发货Excel,上传Excel订单批量发货 2021-05-26 17:09:55 +08:00
Chopper
f82fef9f3d 授权返回 readme 修改 2021-05-26 09:28:52 +08:00
Chopper
18d3401d01 Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop 2021-05-26 09:27:33 +08:00
Chopper
b855cfb5f8 积分商品店铺名称问题处理 2021-05-26 09:27:27 +08:00
lifenlong
5f93ce3851 会员精准发券,更改改分页进行发送 2021-05-26 08:42:12 +08:00
lifenlong
b4240ae2c0 商品去除买家承担运费、卖家承担运费,配送模板增加选项:包邮 2021-05-26 08:18:28 +08:00
lifenlong
a9ec03f0a4 1.增加直播商品
2.同步直播商品状态
3.展示状态展示直播商品列表
2021-05-25 16:10:16 +08:00
lifenlong
d9ccc4a7b7 添加秒杀活动设置 2021-05-25 08:29:07 +08:00
lifenlong
116a52ea14 合并 2021-05-25 08:10:41 +08:00
lifenlong
e7e29da455 秒杀活动增加活动商品数量 2021-05-25 08:02:31 +08:00
lifenlong
00a0edeade 批量添加直播商品 2021-05-24 18:24:19 +08:00
lifenlong
16cc989cdf 设置秒杀活动为自动开启 2021-05-24 18:18:24 +08:00
lifenlong
5c32fd9d7c 优惠券有效期时间判定,如果是1则是当天 2021-05-24 14:06:22 +08:00
lifenlong
639435ec45 新增优惠券有限期设置类型 2021-05-24 14:00:07 +08:00
lifenlong
777226dc95 优惠券活动发送/触发 2021-05-24 11:09:21 +08:00
lifenlong
8924981556 创建优惠券活动 2021-05-21 19:54:25 +08:00
lifenlong
16498a6850 Merge branch 'master' into Bulbasaur 2021-05-21 17:25:15 +08:00
lifenlong
fa59c9ca73 优惠券活动 2021-05-21 09:11:40 +08:00
lifenlong
a15d5d7c36 Merge branch 'master' into Bulbasaur 2021-05-20 16:42:06 +08:00
lifenlong
a8a6506516 同步直播状态、直播间新增商品数量 2021-05-20 14:56:15 +08:00
lifenlong
2326a5963f Merge branch 'master' into Bulbasaur 2021-05-20 11:36:09 +08:00
lifenlong
cd60eba7a4 微信媒体工具类(临时图片上传) 2021-05-20 09:00:46 +08:00
lifenlong
273d0abbc7 解决冲突 2021-05-19 19:38:17 +08:00
lifenlong
250fffab77 merge master 2021-05-19 19:29:51 +08:00
lifenlong
48f24b675b merge master 2021-05-19 14:26:35 +08:00
lifenlong
37a6455e56 会员积分历史 2021-05-19 09:05:44 +08:00
lifenlong
02827a2f8b 微信小程序直播V0.2 2021-05-18 23:34:05 +08:00
lifenlong
0173ba814e Merge branch 'master' into Bulbasaur 2021-05-18 17:35:48 +08:00
lifenlong
0c3a1928ff merge master 2021-05-18 08:17:14 +08:00
lifenlong
910b665d8a 微信小程序直播V0.2 2021-05-17 17:03:28 +08:00
lifenlong
c049552fc7 去除冗余代码 2021-05-17 12:55:40 +08:00
lifenlong
b0f46a78a6 微信小程序直播间创建、微信小程序直播商品添加、删除、查询状态 2021-05-17 12:00:45 +08:00
lifenlong
591ce04e42 会员经验值设置 2021-05-17 09:24:58 +08:00
lifenlong
c8a43573fd 会员积分设置,会员下单赠送积分(非积分订单),订单售后扣除积分 2021-05-17 09:04:10 +08:00
lifenlong
9fae7ac565 Merge branch 'master' into Bulbasaur 2021-05-17 08:18:58 +08:00
lifenlong
57d65f3fd9 会员等级V0.1 2021-05-16 23:41:33 +08:00
1779 changed files with 55077 additions and 30120 deletions

4
.gitignore vendored
View File

@@ -10,8 +10,8 @@ target
.factorypath
log/
logs/
*.factorypath
*.log
lili-shop/src/main/java/cn/lili/generator/CodeGenerator.java
lili-logs
@@ -19,7 +19,6 @@ lili-logs
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
@@ -28,7 +27,6 @@ lili-logs
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###

6
DB/README.md Normal file
View File

@@ -0,0 +1,6 @@
## PS:数据库位置
点击跳转 https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql 这里有与tag版本一致的sql根据tag获取sql如果使用master代码则需要在lilishop项目根目录的update-sql目录中获取对应的升级sql。
使用master分支代码时可能会无法运行执行完初始化sql之后需要执行当前目录下'versiontXXXXtoMASTER.sql'。

67
DB/li_notice_message.sql Normal file
View File

@@ -0,0 +1,67 @@
/*
Navicat MySQL Data Transfer
Source Server : 192.168.0.116
Source Server Type : MySQL
Source Server Version : 80023
Source Host : 192.168.0.116:3306
Source Schema : lilishop
Target Server Type : MySQL
Target Server Version : 80023
File Encoding : 65001
Date: 27/07/2021 19:42:15
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_notice_message
-- ----------------------------
DROP TABLE IF EXISTS `li_notice_message`;
CREATE TABLE `li_notice_message` (
`id` bigint NOT NULL,
`create_by` varchar(255) DEFAULT NULL,
`create_time` datetime(6) DEFAULT NULL,
`delete_flag` bit(1) DEFAULT NULL,
`update_by` varchar(255) DEFAULT NULL,
`update_time` datetime(6) DEFAULT NULL,
`notice_content` varchar(255) DEFAULT NULL,
`notice_node` varchar(255) DEFAULT NULL,
`notice_status` varchar(255) DEFAULT NULL,
`notice_title` varchar(255) DEFAULT NULL,
`variable` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of li_notice_message
-- ----------------------------
BEGIN;
INSERT INTO `li_notice_message` VALUES (1, NULL, '2021-07-14 19:22:03.000000', NULL, NULL, '2021-07-14 19:22:09.000000', '订单 #{商品名称}已经提交成功,请及时付款哦~', '订单提交成功通知', 'OPEN', '订单提交成功通知', 'goods');
INSERT INTO `li_notice_message` VALUES (2, NULL, '2021-07-14 19:22:06.000000', NULL, NULL, '2021-07-14 19:22:11.000000', '订单#{商品名称}支付成功,我们将尽快为您安排发货哦~', '订单支付成功通知', 'OPEN', '订单支付成功通知', 'goods');
INSERT INTO `li_notice_message` VALUES (3, NULL, '2021-07-15 19:10:14.000000', NULL, NULL, '2021-07-15 19:10:17.000000', '订单#{商品名称}已发货,请注意物流进度哦~', '订单发货通知\n', 'OPEN', '订单发货通知', 'goods');
INSERT INTO `li_notice_message` VALUES (4, NULL, '2021-07-15 19:12:00.000000', NULL, NULL, '2021-07-15 19:12:02.000000', '订单#{商品名称}已完成,期待您分享商品评价与购物心得哦~', '订单完成通知', 'OPEN', '订单完成通知', 'goods');
INSERT INTO `li_notice_message` VALUES (5, NULL, '2021-07-15 19:14:01.000000', NULL, NULL, '2021-07-15 19:14:04.000000', '订单#{商品名称}已取消,取消原因为 #{取消原因},请及时关注您的订单状态哦~', '订单取消成功通知', 'OPEN', '订单取消通知', 'goods,cancel_reason');
INSERT INTO `li_notice_message` VALUES (6, NULL, '2021-07-15 19:26:27.000000', NULL, NULL, '2021-07-15 19:26:34.000000', '商品#{商品名称}还没有收到您的评价呢,期待您与我们分享哦~', '订单评价提醒', 'OPEN', '订单评价提醒', 'goods');
INSERT INTO `li_notice_message` VALUES (7, NULL, '2021-07-15 19:26:25.000000', NULL, NULL, '2021-07-15 19:26:37.000000', '恭喜,您的拼团#{商品名称}已成团,我们将尽快为您安排发货哦~', '拼团成功通知', 'OPEN', '拼团成功通知', 'goods');
INSERT INTO `li_notice_message` VALUES (8, NULL, '2021-07-15 19:31:45.000000', NULL, NULL, '2021-07-15 19:31:49.000000', '售后单 #{商品名称} 已经提交成功,需要商家审核,请耐心等待哦~', '售后提交成功通知', 'OPEN', '售后提交成功通知', 'goods');
INSERT INTO `li_notice_message` VALUES (9, NULL, '2021-07-15 19:32:44.000000', NULL, NULL, '2021-07-15 19:32:49.000000', '售后单 #{商品名称} 已通过退货审核,请尽快安排将货物退还至商家哦~', '退货审核通过通知', 'OPEN', '退货审核通过通知', 'goods');
INSERT INTO `li_notice_message` VALUES (10, NULL, '2021-07-15 19:32:46.000000', NULL, NULL, '2021-07-15 19:32:52.000000', '售后单 #{商品名称} 已通过退款审核将在1-3个工作日内自动退款~', '退款审核通过通知', 'OPEN', '退款审核通过通知', 'goods');
INSERT INTO `li_notice_message` VALUES (11, NULL, '2021-07-15 19:36:48.000000', NULL, NULL, '2021-07-15 19:36:50.000000', '很抱歉,售后单#{商品名称}未通过商家退货审核,原因是:#{拒绝原因}', '退货审核未通过通知', 'OPEN', '退货审核未通过通知', 'goods,refuse');
INSERT INTO `li_notice_message` VALUES (12, NULL, '2021-07-15 19:36:46.000000', NULL, NULL, '2021-07-15 19:36:52.000000', '很抱歉,售后单#{商品名称}未通过商家退款审核,原因是:#{拒绝原因}', '退款审核未通过通知', 'OPEN', '退款审核未通过通知', 'goods,refuse');
INSERT INTO `li_notice_message` VALUES (13, NULL, '2021-07-15 19:39:31.000000', NULL, NULL, '2021-07-15 19:39:34.000000', '很抱歉,您的退货物品{退单第一行商品名称}被商家拒收,原因是:#{拒绝原因}', '退货物品拒收通知', 'OPEN', '退货物品拒收通知', 'goods,refuse');
INSERT INTO `li_notice_message` VALUES (14, NULL, '2021-07-15 19:39:39.000000', NULL, NULL, '2021-07-15 19:39:43.000000', '订单 #{商品名称} 商家已签收哦请关注后续退款状态将在1-3个工作日内自动退款~', '退货物品签收通知', 'OPEN', '退货物品签收通知', 'goods');
INSERT INTO `li_notice_message` VALUES (15, NULL, '2021-07-15 19:44:38.000000', NULL, NULL, '2021-07-15 19:44:40.000000', '售后单 #{商品名称} 已经完成,请关注及时关注售后单状态~', '售后完成通知', 'OPEN', '售后完成通知', 'goods');
INSERT INTO `li_notice_message` VALUES (16, NULL, '2021-07-15 19:47:27.000000', NULL, NULL, '2021-07-15 19:47:31.000000', '您当前到账{获得积分}积分,消费#{消费积分} 积分,积分可以抵现金哦,真的很棒棒呢~', '积分变更通知', 'OPEN', '积分变更通知', 'income_points,expenditure_points');
INSERT INTO `li_notice_message` VALUES (17, NULL, '2021-07-15 19:53:10.000000', NULL, NULL, '2021-07-15 19:53:13.000000', '您的余额账户今日收入¥#{收入金额},支出¥#{支出金额},如遇异常变动,请及时联系我们哦~', '余额账户变更通知', 'OPEN', '余额账户变更通知', 'income,expenditure');
INSERT INTO `li_notice_message` VALUES (18, NULL, '2021-07-15 19:57:01.000000', NULL, NULL, '2021-07-15 19:57:04.000000', '恭喜您,您的提处理成功,提现金额为¥#{收入金额},请及时关注余额变动哦~', '余额提现成功通知', 'OPEN', '余额提现成功通知', 'income');
INSERT INTO `li_notice_message` VALUES (19, NULL, '2021-07-21 18:58:10.000000', NULL, NULL, '2021-07-21 18:58:13.000000', '恭喜您,您的提现金额为¥#{金额}的申请已经提交审核,请及时关注审核动态哦~', '提现申请提交成功通知', 'OPEN', '提现申请提交成功通知', 'price');
INSERT INTO `li_notice_message` VALUES (20, NULL, '2021-07-21 19:16:58.000000', NULL, NULL, '2021-07-21 19:17:02.000000', '很抱歉,您的提现金额为¥#{金额}的申请已被拒绝,如有问题请及时联系管理员哦~', '提现申请驳回通知', 'OPEN', '提现申请驳回通知', 'price');
INSERT INTO `li_notice_message` VALUES (21, NULL, '2021-07-26 18:59:00.000000', NULL, NULL, '2021-07-26 18:59:03.000000', '恭喜您,您的提处理成功,提现金额为¥#{收入金额}将在1-3个工作日内到账~', '微信提现成功通知', 'OPEN', '微信提现成功通知', 'income');
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;

124
DB/version4.0to4.1.sql Normal file
View File

@@ -0,0 +1,124 @@
/** 修改文章表**/
ALTER TABLE li_article DROP COLUMN open_status;
ALTER TABLE li_article ADD open_status bit ( 1 );
UPDATE li_article SET open_status = 1;
/** 增加会员等级会员经验值**/
ALTER TABLE li_member ADD grade_id VARCHAR ( 32 );
ALTER TABLE li_member ADD experience BIGINT;
/**去除商品运费承担**/
ALTER TABLE li_goods DROP COLUMN freight_payer;
/**添加商品类型**/
ALTER TABLE li_goods ADD goods_type VARCHAR ( 32 );
ALTER TABLE li_goods_sku ADD goods_type VARCHAR ( 32 );
ALTER TABLE li_specification ADD spec_value text;
UPDATE li_goods SET goods_type = "PHYSICAL_GOODS";
UPDATE li_goods_sku SET goods_type = "PHYSICAL_GOODS";
/**增加优惠券有效期类型**/
ALTER TABLE li_coupon ADD range_day_type VARCHAR ( 32 );
ALTER TABLE li_coupon ADD effective_days INT;
/**秒杀增加显示商品数量**/
ALTER TABLE li_seckill ADD goods_num INT;
/**商品参数增加字段**/
ALTER TABLE li_goods_params ADD is_index INT;
/**添加优惠券活动、直播、积分商品菜单**/
DELETE FROM li_menu WHERE id = '1372391359398281216';
DELETE FROM li_menu WHERE id = '1372394573938032640';
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1403988156444962818, 'admin', '2021-06-13 16:10:36', b'0', 'admin', '2021-06-13 16:44:47', 'null', 'promotion/couponActivity/coupon', '', 2, 'coupon-activity', '1367049214198022144', 'coupon-activity', 0.00, '券活动', 'null');
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1407601962899230721, 'admin', '2021-06-23 15:30:35', b'0', NULL, NULL, NULL, 'Main', '', 1, 'liveManage', '1367040067201138688', '/', 2.00, '直播管理', NULL);
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1407602049759072258, 'admin', '2021-06-23 15:30:55', b'0', NULL, NULL, NULL, 'promotion/live/live', '', 2, 'live', '1407601962899230721', 'live', 1.00, '直播管理', NULL);
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1407602441964244994, 'admin', '2021-06-23 15:32:29', b'0', NULL, NULL, NULL, 'Main', '', 1, 'pointManage', '1367040067201138688', '/', 3.00, '积分活动', NULL);
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1407602516912263170, 'admin', '2021-06-23 15:32:47', b'0', NULL, NULL, NULL, 'promotion/pointsGoods/pointsGoods', '', 2, 'pointsGoods', '1407602441964244994', 'pointsGoods', 1.00, '积分商品', NULL);
INSERT INTO `li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1407602673334636546, 'admin', '2021-06-23 15:33:24', b'0', NULL, NULL, NULL, 'promotion/pointsGoodsCategory/pointsGoodsCategory', '', 2, 'pointsGoodsCategory', '1407602441964244994', 'pointsGoodsCategory', 2.00, '积分分类', NULL);
/** 添加直播间**/
CREATE TABLE `li_studio` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '是否删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改时间',
`anchor_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '主播昵称',
`anchor_wechat` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '主播微信号',
`cover_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '背景图',
`end_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '结束时间',
`feeds_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '封面图',
`media_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '回放视频链接',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '直播间名字',
`qr_code_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '小程序直播码',
`recommend` bit(1) DEFAULT NULL COMMENT '推荐直播间',
`room_goods_list` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '直播间商品',
`room_goods_num` int DEFAULT NULL COMMENT '直播间商品数量',
`room_id` int DEFAULT NULL COMMENT '房间ID',
`share_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '分享图',
`start_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '开始时间',
`status` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '直播间状态',
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '店铺ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/**添加直播间商品**/
CREATE TABLE `li_commodity` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '是否删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改时间',
`audit_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '审核单ID',
`audit_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '审核状态',
`goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '商品ID',
`goods_image` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '图片',
`live_goods_id` int DEFAULT NULL COMMENT '微信程序直播商品ID',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '商品名称',
`price` double DEFAULT NULL COMMENT '价格',
`price2` double DEFAULT NULL COMMENT '价格2',
`price_type` int DEFAULT NULL COMMENT '价格类型',
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '规格ID',
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '店铺ID',
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '商品详情页的小程序路径',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/**添加小程序直播-商品关联 **/
CREATE TABLE `li_studio_commodity` (
`id` bigint NOT NULL COMMENT 'ID',
`goods_id` int DEFAULT NULL COMMENT '商品ID',
`room_id` int DEFAULT NULL COMMENT '房间ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/**添加优惠券活动 **/
CREATE TABLE `li_coupon_activity` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '是否删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改时间',
`end_time` datetime(6) DEFAULT NULL COMMENT '结束时间',
`promotion_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '活动名称',
`promotion_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '活动状态',
`start_time` datetime(6) DEFAULT NULL COMMENT '开始时间',
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '店铺ID',
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '店铺名称',
`activity_scope` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '活动范围',
`activity_scope_info` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '活动范围详细',
`coupon_activity_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '活动类型',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/**添加优惠券活动-优惠券关联 **/
CREATE TABLE `li_coupon_activity_item` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '是否删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改时间',
`activity_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '活动ID',
`coupon_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '优惠券ID',
`num` int DEFAULT NULL COMMENT '优惠券数量',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/** 修改商品模板详情字段类型**/
ALTER TABLE `li_draft_goods` MODIFY COLUMN `intro` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL;
/** 添加秒杀设置**/
INSERT INTO `li_setting` ( `id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `setting_value` ) VALUES ( 'SECKILL_SETTING', NULL, NULL, NULL, 'admin', '2021-06-04 09:58:39.384000', '{\"seckillRule\":\"秒杀规则\",\"hours\":\"9,10,11,12,13,14,15,21,22,23\"}' );
/** 添加直播间商品默认数量**/
alter table li_studio alter column room_goods_num set default 0;

28
DB/version4.1to4.2.sql Normal file
View File

@@ -0,0 +1,28 @@
/** 添加分销员结算信息**/
ALTER TABLE li_distribution ADD settlement_bank_account_name varchar ( 200 );
ALTER TABLE li_distribution ADD settlement_bank_account_num varchar ( 200 );
ALTER TABLE li_distribution ADD settlement_bank_branch_name varchar ( 200 );
/** 文章分类添加默认值**/
ALTER TABLE li_article_category alter column sort set default 0;
/** 添加分销提现菜单**/
INSERT INTO `rxshop`.`li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1410862675914764290, 'admin', '2021-07-02 15:27:29', b'0', 'admin', '2021-07-02 15:27:45', 'null', 'distribution/distributionCash', '', 2, 'distributionCash', '1374173575405109248', 'distributionCash', 5.00, '分销提现', 'null');
/** 促销商品添加商品类型**/
ALTER TABLE li_promotion_goods ADD goods_type varchar (200);
/** 修改历史积分积分类型的字段类型 **/
alter table li_member_points_history modify column point_type varchar(50);
update li_member_points_history set point_type = 'INCREASE' where point_type=1;
update li_member_points_history set point_type = 'REDUCE' where point_type=0;
/** 添加分词管理菜单*/
INSERT INTO `rxshop`.`li_menu` (`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1349247640584085511, 'admin', '2021-01-13 14:51:20', b'0', 'admin', '2021-02-25 09:02:59', 'null', 'customWords/index', 'ios-american-football', 2, 'customWords', '1349237129847005184', 'customWords', 8.00, '分词管理', 'null');
/** 修改会员评价店铺图片字段类型 **/
alter table li_member_evaluation modify column reply_image text;
/** 修改售后图片字段类型 **/
alter table li_after_sale modify column after_sale_image text;
/** 提现申请审核sql **/
INSERT INTO `rxshop`.`li_menu`(`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1367042804944994305, 'admin', '2021-03-03 09:22:58', b'0', NULL, NULL, NULL, 'member/advance/withdrawApply', 'ios-alert', 2, 'withdrawApply', '1367042490443497472', 'withdrawApply', 1.00, '提现申请', NULL);

View File

@@ -0,0 +1,2 @@
/** 新增店铺客服字段 **/
ALTER TABLE li_store ADD merchant_euid varchar(255) COMMENT '客服标识';

View File

@@ -0,0 +1,64 @@
/** 新增已退货数量 **/
ALTER TABLE li_order_item ADD return_goods_number int DEFAULT 0 COMMENT '退货数量 ';
-- 促销重构sql
ALTER TABLE li_coupon DROP COLUMN promotion_status;
ALTER TABLE li_coupon_activity DROP COLUMN promotion_status;
ALTER TABLE li_coupon_activity ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '范围关联的ID';
ALTER TABLE li_coupon_activity ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_full_discount DROP COLUMN promotion_status;
ALTER TABLE li_full_discount ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_full_discount ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_kanjia_activity_goods DROP COLUMN promotion_status;
ALTER TABLE li_kanjia_activity_goods ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_kanjia_activity_goods ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_kanjia_activity_goods ADD `goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL;
ALTER TABLE li_pintuan DROP COLUMN promotion_status;
ALTER TABLE li_pintuan ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_pintuan ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_points_goods DROP COLUMN promotion_status;
ALTER TABLE li_points_goods ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_points_goods ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_points_goods ADD `original_price` double(10,2) DEFAULT NULL COMMENT '原价';
ALTER TABLE li_points_goods ADD `thumbnail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '缩略图';
ALTER TABLE li_points_goods ADD `goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品编号';
ALTER TABLE li_points_goods ADD `goods_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '货品名称';
ALTER TABLE li_promotion_goods DROP COLUMN promotion_status;
ALTER TABLE li_promotion_goods ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_promotion_goods ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_promotion_goods ADD `original_price` double(10,2) DEFAULT NULL COMMENT '原价';
ALTER TABLE li_promotion_goods ADD `points` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '兑换积分';
ALTER TABLE li_promotion_goods ADD `goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品编号';
ALTER TABLE li_seckill DROP COLUMN promotion_status;
ALTER TABLE li_seckill ADD `scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '范围关联的ID';
ALTER TABLE li_seckill ADD `scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型';
ALTER TABLE li_full_discount RENAME COLUMN is_coupon TO coupon_flag;
ALTER TABLE li_full_discount RENAME COLUMN is_free_freight TO free_freight_flag;
ALTER TABLE li_full_discount RENAME COLUMN is_full_minus TO full_minus_flag;
ALTER TABLE li_full_discount RENAME COLUMN is_full_rate TO full_rate_flag;
ALTER TABLE li_full_discount RENAME COLUMN is_gift TO gift_flag;
ALTER TABLE li_full_discount RENAME COLUMN is_point TO point_flag;
ALTER TABLE li_member_coupon RENAME COLUMN is_platform TO platform_flag;
ALTER TABLE li_goods RENAME COLUMN is_auth TO auth_flag;
ALTER TABLE li_goods_sku RENAME COLUMN is_promotion TO promotion_flag;
ALTER TABLE li_goods_sku RENAME COLUMN is_auth TO auth_flag;
-- 增加会员表索引
ALTER TABLE li_member ADD INDEX query_mobile (`mobile`) COMMENT 'query_member';
-- 会员签到唯一索引 惠券查询索引
ALTER TABLE li_member_sign ADD INDEX query_create_time (`create_time`) COMMENT 'query_create_time';
ALTER TABLE li_member_sign ADD INDEX query_member_id (`member_id`) COMMENT 'query_member_id';
ALTER TABLE li_member_sign add unique uk_member_day (member_id, create_time) COMMENT 'uk_member_day';

521
DB/version4.2.4to4.2.5.sql Normal file
View File

@@ -0,0 +1,521 @@
/**增加店铺发货信息**/
ALTER TABLE li_store_detail ADD `sales_consignor_address_id` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发货地址id';
ALTER TABLE li_store_detail ADD `sales_consignor_address_path` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发货地址名称';
ALTER TABLE li_store_detail ADD `sales_consignor_detail` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发货详细地址';
ALTER TABLE li_store_detail ADD `sales_consignor_mobile` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发货人手机';
ALTER TABLE li_store_detail ADD `sales_consignor_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发货人姓名';
/**增加电子面单店铺信息**/
ALTER TABLE `li_store_logistics` ADD `customer_name` varchar(255) DEFAULT NULL COMMENT '客户代码';
ALTER TABLE `li_store_logistics` ADD `customer_pwd` varchar(255) DEFAULT NULL COMMENT '客户密码';
ALTER TABLE `li_store_logistics` ADD `month_code` varchar(255) DEFAULT NULL COMMENT '月结号/密钥';
ALTER TABLE `li_store_logistics` ADD `send_site` varchar(255) DEFAULT NULL COMMENT '归属网点';
ALTER TABLE `li_store_logistics` ADD `send_staff` varchar(255) DEFAULT NULL COMMENT '收件快递员';
ALTER TABLE `li_store_logistics` ADD `face_sheet_flag` bit(1) DEFAULT NULL COMMENT '是否使用电子面单';
ALTER TABLE `li_store_logistics` ADD `pay_type` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '支付方式';
ALTER TABLE `li_store_logistics` ADD `exp_type` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '快递类型';
/** 店铺--默认页面是否开启**/
ALTER TABLE li_store ADD page_show bit(1) DEFAULT NULL COMMENT '默认页面是否开启';
/** 创建店员表 **/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:30:20
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_clerk
-- ----------------------------
DROP TABLE IF EXISTS `li_clerk`;
CREATE TABLE `li_clerk` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`clerk_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店员名称',
`member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '会员id',
`store_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺id',
`department_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '部门id',
`role_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色',
`shopkeeper` bit(1) NULL DEFAULT NULL COMMENT '是否是店主',
`is_super` bit(1) NULL DEFAULT NULL COMMENT '是否是超级管理员 超级管理员/普通管理员',
`status` bit(1) NULL DEFAULT NULL COMMENT '状态',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
/** 店员角色**/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:30:39
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_clerk_role
-- ----------------------------
DROP TABLE IF EXISTS `li_clerk_role`;
CREATE TABLE `li_clerk_role` (
`id` bigint NOT NULL COMMENT 'ID',
`clerk_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店员唯一id',
`role_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色唯一id',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
/** 店铺部门 **/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:31:39
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_store_department
-- ----------------------------
DROP TABLE IF EXISTS `li_store_department`;
CREATE TABLE `li_store_department` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '部门名称',
`store_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺id',
`parent_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '父id',
`sort_order` decimal(20, 2) NULL DEFAULT NULL COMMENT '排序值',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
/** 部门角色关联 **/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:32:01
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_store_department_role
-- ----------------------------
DROP TABLE IF EXISTS `li_store_department_role`;
CREATE TABLE `li_store_department_role` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`role_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色id',
`department_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '部门id',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
/**店铺角色菜单**/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:34:42
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_store_menu_role
-- ----------------------------
DROP TABLE IF EXISTS `li_store_menu_role`;
CREATE TABLE `li_store_menu_role` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`role_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色id',
`menu_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '菜单',
`store_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺id',
`is_super` bit(1) NULL DEFAULT NULL COMMENT '是否拥有操作数据权限,为否则只有查看权限',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
/**店铺角色**/
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 03/03/2022 19:32:59
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_store_role
-- ----------------------------
DROP TABLE IF EXISTS `li_store_role`;
CREATE TABLE `li_store_role` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色名称',
`store_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺id',
`default_role` bit(1) NULL DEFAULT NULL COMMENT '是否为注册默认角色',
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1;
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 02/03/2022 09:57:49
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_menu
-- ----------------------------
DROP TABLE IF EXISTS `li_menu`;
CREATE TABLE `li_menu` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明备注',
`front_route` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端路由',
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标',
`level` int NULL DEFAULT NULL COMMENT '层级',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单/权限名称',
`parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父id',
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '赋权API地址,正则表达式',
`sort_order` decimal(10, 2) NULL DEFAULT NULL COMMENT '排序值',
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单标题',
`front_component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件地址',
`permission` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限url',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of li_menu
-- ----------------------------
INSERT INTO `li_menu` VALUES (1348810750596767744, 'admin', '2021-01-12 09:55:17', b'0', 'admin', '2021-01-15 09:42:50', 'null', '1', 'ios-american-football', 0, 'settings', '0', '1', 2.00, '设置', 'null', NULL);
INSERT INTO `li_menu` VALUES (1348810864748945408, 'admin', '2021-01-12 09:55:45', b'0', 'admin', '2021-03-15 20:57:12', 'null', 'null', 'ios-american-football', 0, 'log', '0', 'null', 3.00, '日志', 'null', '/manager/setting/log*');
INSERT INTO `li_menu` VALUES (1349237129847005184, 'admin', '2021-01-13 14:09:34', b'0', 'admin', '2021-01-15 09:43:16', 'null', 'Main', 'ios-american-football', 1, 'sys', '1348810750596767744', '/sys', 1.00, '系统设置', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349237207378714624, 'admin', '2021-01-13 14:09:53', b'0', 'admin', '2021-07-27 16:07:49', 'null', 'Main', 'ios-american-football', 1, 'member', '1348810750596767744', '/member', 0.00, '用户管理', 'null', '/manager/permission/department*,/manager/passport/user*,/manager/permission/role*,/manager/permission/menu*,/manager/passport/user/admin/edit*');
INSERT INTO `li_menu` VALUES (1349237928434098176, 'admin', '2021-01-13 14:13:03', b'0', 'admin', '2021-07-27 16:09:11', 'null', 'Main', 'ios-american-football', 1, 'log', '1348810864748945408', '/log', 1.00, '系统监控', 'null', '/manager/log*');
INSERT INTO `li_menu` VALUES (1349246048900243456, 'admin', '2021-01-13 14:45:00', b'0', 'admin', '2021-07-27 16:07:57', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'setting', '1349237129847005184', 'setting', 1.00, '系统设置', 'null', '/manager/system/setting/get*,/manager/system/setting/put*,/manager/setting/setting*');
INSERT INTO `li_menu` VALUES (1349246347597602816, 'admin', '2021-01-13 14:46:12', b'0', 'admin', '2021-07-27 16:08:03', 'null', 'sys/oss-manage/ossManage', 'ios-american-football', 2, 'oss-manage', '1349237129847005184', 'oss-manage', 3.00, 'OSS资源', '', '/manager/common/file*');
INSERT INTO `li_menu` VALUES (1349246468775239680, 'admin', '2021-01-13 14:46:41', b'0', 'admin', '2021-07-27 16:08:14', 'null', 'region/index', 'ios-american-football', 2, 'region', '1349237129847005184', 'region', 4.00, '行政地区', 'null', '/manager/region*');
INSERT INTO `li_menu` VALUES (1349246671158796288, 'admin', '2021-01-13 14:47:29', b'0', 'admin', '2021-07-27 16:08:09', 'null', 'logistics/index', 'ios-american-football', 2, 'logistics', '1349237129847005184', 'logistics', 5.00, '物流公司', 'null', '/manager/other/logistics*');
INSERT INTO `li_menu` VALUES (1349246896661356544, 'admin', '2021-01-13 14:48:23', b'0', 'admin', '2021-07-27 16:08:23', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'authLogin', '1349237129847005184', 'authLogin', 6.00, '信任登录', 'null', '/manager/system/setting/get*,/manager/system/setting/put*,/manager/setting/setting*\r\n');
INSERT INTO `li_menu` VALUES (1349247081504333824, 'admin', '2021-01-13 14:49:07', b'0', 'admin', '2021-07-27 16:08:45', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'pay', '1349237129847005184', 'pay', 7.00, '支付设置', 'null', '/manager/system/setting/get*,/manager/system/setting/put*,/manager/system/setting*');
INSERT INTO `li_menu` VALUES (1349247640584085504, 'admin', '2021-01-13 14:51:20', b'0', 'admin', '2021-07-27 16:08:56', 'null', 'sensitiveWords/index', 'ios-american-football', 2, 'sensitiveWords', '1349237129847005184', 'sensitiveWords', 8.00, '敏感词', 'null', '/manager/other/sensitiveWords*');
INSERT INTO `li_menu` VALUES (1349254815809298432, 'admin', '2021-01-13 15:19:51', b'0', 'admin', '2021-01-15 11:15:40', 'null', 'sys/user-manage/userManage', 'ios-american-football', 2, 'user-manage', '1349237207378714624', 'user-manage', 1.00, '用户管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349255214977015808, 'admin', '2021-01-13 15:21:26', b'0', 'admin', '2021-01-15 11:16:21', 'null', 'sys/department-manage/departmentManage', 'ios-american-football', 2, 'department-manage', '1349237207378714624', 'department-manage', 3.00, '部门管理', 'null', '/manager/permission/department*,/manager/permission/departmentRole*,');
INSERT INTO `li_menu` VALUES (1349255404425338880, 'admin', '2021-01-13 15:22:11', b'0', 'admin', '2021-02-24 09:22:21', 'null', 'sys/role-manage/roleManage', 'ios-american-football', 2, 'role-manage', '1349237207378714624', 'role-manage', 4.00, '角色权限', 'null', '/manager/permission/role*,/manager/permission/roleMenu*');
INSERT INTO `li_menu` VALUES (1349256082979840000, 'admin', '2021-01-13 15:24:53', b'0', 'admin', '2021-01-15 11:18:14', 'null', 'sys/log-manage/logManage', 'ios-american-football', 2, 'log-manage', '1349237928434098176', 'log-manage', 2.00, '日志管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1357584224760102912, 'admin', '2021-02-05 06:57:57', b'0', 'admin', '2021-07-27 16:09:02', 'null', 'sys/app-version/appVersion', 'ios-american-football', 2, 'appVersion', '1349237129847005184', 'appVersion', 9.00, 'APP版本', 'null', '/manager/other/appVersion*');
INSERT INTO `li_menu` VALUES (1357873097859923969, 'admin', '2021-02-24 09:53:02', b'0', 'admin', '2021-02-24 09:53:12', NULL, 'sys/menu-manage/menuManage', 'ios-american-football', 2, 'menuManage', '1349237207378714624', 'menu-manage', 2.00, '菜单管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367038467288072192, 'admin', '2021-03-03 09:05:44', b'0', 'admin', '2021-03-03 09:09:27', 'null', 'null', 'ios-person-add', 0, 'member', '0', 'null', 0.00, '会员', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367039534616805376, 'admin', '2021-03-03 09:09:58', b'0', 'admin', '2021-05-18 10:51:12', 'null', 'null', 'md-reorder', 0, 'order', '0', 'null', 0.00, '订单', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367039950368800768, 'admin', '2021-03-03 09:11:37', b'0', NULL, NULL, NULL, NULL, 'ios-share', 0, 'goods', '0', NULL, 0.20, '商品', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367040067201138688, 'admin', '2021-03-03 09:12:05', b'0', 'admin', '2021-12-02 19:45:22', NULL, 'null', 'ios-hammer', 0, 'promotions', '0', 'null', 0.30, '促销', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367040599596728320, 'admin', '2021-03-03 09:14:12', b'0', 'admin', '2021-03-03 09:52:13', 'null', 'null', 'ios-color-palette', 0, 'operate', '0', 'null', 0.50, '运营', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367040819248234496, 'admin', '2021-03-03 09:15:04', b'0', 'lili_ftyy', '2022-03-01 15:13:04', NULL, 'null', 'ios-stats', 0, 'statistics', '0', 'null', 0.70, '统计', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367041332861730816, 'admin', '2021-03-03 09:17:07', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 0.00, '会员管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367041461194850304, 'admin', '2021-03-03 09:17:37', b'0', 'admin', '2021-07-27 16:02:17', NULL, 'member/list/index', 'ios-aperture', 2, 'memberList', '1367041332861730816', 'memberList', 0.00, '会员列表', NULL, '/manager/common/file*,/manager/passport/member*');
INSERT INTO `li_menu` VALUES (1367041575619657728, 'admin', '2021-03-03 09:18:05', b'0', 'admin', '2021-07-27 15:59:50', NULL, 'member/list/memberRecycle', 'ios-aperture', 2, 'memberRecycle', '1367041332861730816', 'memberRecycle', 1.00, '回收站', NULL, '/manager/member*');
INSERT INTO `li_menu` VALUES (1367042490443497472, 'admin', '2021-03-03 09:21:43', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 1.00, '预存款', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367042664410644480, 'admin', '2021-03-03 09:22:24', b'0', 'admin', '2021-07-27 16:02:44', 'null', 'member/advance/walletLog', 'ios-aperture', 2, 'walletLog', '1367042490443497472', 'walletLog', 0.00, '会员资金', 'null', '/manager/wallet/log*');
INSERT INTO `li_menu` VALUES (1367042804944994304, 'admin', '2021-03-03 09:22:58', b'0', 'admin', '2021-07-27 16:02:48', NULL, 'member/advance/recharge', 'ios-alert', 2, 'recharge', '1367042490443497472', 'recharge', 1.00, '充值记录', NULL, '/manager/wallet/recharge*');
INSERT INTO `li_menu` VALUES (1367042804944994305, 'admin', '2021-03-03 09:22:58', b'0', 'admin', '2021-07-27 16:02:52', NULL, 'member/advance/withdrawApply', 'ios-alert', 2, 'withdrawApply', '1367042490443497472', 'withdrawApply', 1.00, '提现申请', NULL, '/manager/wallet/withdrawApply*');
INSERT INTO `li_menu` VALUES (1367042917113266176, 'admin', '2021-03-03 09:23:25', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'commont', '1367038467288072192', '/', 0.00, '评价', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043020976816128, 'admin', '2021-03-03 09:23:49', b'0', 'admin', '2021-07-27 16:02:35', NULL, 'goods/goods-review/index', 'md-aperture', 2, 'goodsReview', '1367042917113266176', 'goodsReview', 0.00, '会员评价', NULL, '/manager/memberEvaluation*');
INSERT INTO `li_menu` VALUES (1367043443917848576, 'admin', '2021-03-03 09:25:30', b'0', 'admin', '2021-07-27 16:03:00', NULL, 'Main', 'md-aperture', 1, 'order', '1367039534616805376', '/', 0.00, '订单', NULL, '/manager/orders*');
INSERT INTO `li_menu` VALUES (1367043505771249664, 'admin', '2021-03-03 09:25:45', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'aftersale', '1367039534616805376', '/', 0.00, '售后', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043642379730944, 'admin', '2021-03-03 09:26:17', b'0', NULL, NULL, NULL, 'order/order/orderList', 'ios-aperture', 2, 'orderList', '1367043443917848576', 'orderList', 0.00, '商品订单', NULL, '/manager/order/order*');
INSERT INTO `li_menu` VALUES (1367043791105556480, 'admin', '2021-03-03 09:26:53', b'0', NULL, NULL, NULL, 'order/order/fictitiousOrderList', 'ios-aperture', 2, 'fictitiousOrderList', '1367043443917848576', 'fictitiousOrderList', 1.00, '虚拟订单', NULL, '/manager/order/order*');
INSERT INTO `li_menu` VALUES (1367043980407078912, 'admin', '2021-03-03 09:27:38', b'0', 'admin', '2021-07-27 16:03:43', NULL, 'order/after-order/afterSaleOrder', 'md-alert', 2, 'afterSaleOrder', '1367043505771249664', 'afterSaleOrder', 0.00, '售后管理', NULL, '/manager/order/afterSale*');
INSERT INTO `li_menu` VALUES (1367044121163726848, 'admin', '2021-03-03 09:28:12', b'0', 'admin', '2021-07-27 16:03:48', NULL, 'order/after-order/orderComplaint', 'md-alert', 2, 'orderComplaint', '1367043505771249664', 'orderComplaint', 2.00, '交易投诉', NULL, '/manager/order/complain*');
INSERT INTO `li_menu` VALUES (1367044247978508288, 'admin', '2021-03-03 09:28:42', b'0', 'admin', '2021-07-27 16:03:52', NULL, 'order/after-order/afterSale', 'md-aperture', 2, 'afterSaleReason', '1367043505771249664', 'afterSaleReason', 3.00, '售后原因', NULL, '/manager/order/afterSaleReason*');
INSERT INTO `li_menu` VALUES (1367044376391319552, 'admin', '2021-03-03 09:29:12', b'0', 'admin', '2021-07-27 16:04:08', NULL, 'Main', 'md-aperture', 1, 'goodsManager', '1367039950368800768', '/', 0.00, '商品管理', NULL, '/manager/goods*');
INSERT INTO `li_menu` VALUES (1367044657296441344, 'admin', '2021-03-03 09:30:19', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'association', '1367039950368800768', '/', 1.00, '关联管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367045529720061952, 'admin', '2021-03-03 09:33:47', b'0', 'admin', '2021-07-27 15:38:46', NULL, 'goods/goods-info/goods', 'md-aperture', 2, 'managerGoods', '1367044376391319552', 'managerGoods', 0.00, '平台商品', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367045630710513664, 'admin', '2021-03-03 09:34:11', b'0', 'admin', '2021-07-27 15:38:56', NULL, 'goods/goods-info/goodsApply', 'ios-alert', 2, 'applyGoods', '1367044376391319552', 'applyGoods', 1.00, '商品审核', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367045794284175360, 'admin', '2021-03-03 09:34:50', b'0', 'admin', '2021-07-27 16:04:18', NULL, 'goods/goods-manage/category', 'md-alert', 2, 'goodsCategory', '1367044657296441344', 'goodsCategory', 0.00, '商品分类', NULL, '/manager/goods/category*,/manager/goods/brand*,/manager/goods/spec*,/manager/goods/parameters*');
INSERT INTO `li_menu` VALUES (1367045921434501120, 'admin', '2021-03-03 09:35:21', b'0', 'admin', '2021-07-27 16:04:23', NULL, 'goods/goods-manage/brand', 'md-alert', 2, 'goodsBrand', '1367044657296441344', 'goodsBrand', 1.00, '品牌列表', NULL, '/manager/goods/brand*');
INSERT INTO `li_menu` VALUES (1367046068369358848, 'admin', '2021-03-03 09:35:56', b'0', 'admin', '2021-07-27 16:04:27', NULL, 'goods/goods-manage/spec', 'md-aperture', 2, 'goodsSpec', '1367044657296441344', 'goodsSpec', 2.00, '规格列表', NULL, '/manager/goods/spec*');
INSERT INTO `li_menu` VALUES (1367046266214678528, 'admin', '2021-03-03 09:36:43', b'0', 'admin', '2021-07-27 16:04:32', NULL, 'goods-unit/index', 'md-alert', 2, 'goodsUnit', '1367044657296441344', 'goodsUnit', 4.00, '计量单位', NULL, '/manager/goods/goodsUnit*');
INSERT INTO `li_menu` VALUES (1367048084701315072, 'admin', '2021-03-03 09:43:57', b'0', 'admin', '2021-03-03 09:52:17', 'null', 'null', 'ios-pricetags', 0, 'shop', '0', 'null', 0.40, '店铺', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367048684339986432, 'admin', '2021-03-03 09:46:20', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'shopManager', '1367048084701315072', '/', 0.00, '店铺管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367048754229673984, 'admin', '2021-03-03 09:46:36', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'bill', '1367048084701315072', '/', 0.00, ' 店铺结算', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367048832210173952, 'admin', '2021-03-03 09:46:55', b'0', 'admin', '2021-07-27 16:05:30', NULL, 'seller/shop/shopList', 'md-aperture', 2, 'shopList', '1367048684339986432', 'shopList', 0.00, '店铺列表', NULL, '/manager/order/order*,/manager/store*');
INSERT INTO `li_menu` VALUES (1367048967635861504, 'admin', '2021-03-03 09:47:27', b'0', 'admin', '2021-07-27 16:05:32', NULL, 'seller/shop/shopAuditList', 'md-alert', 2, 'shopAuth', '1367048684339986432', 'shopAuth', 1.00, '店铺审核', NULL, '/manager/store*');
INSERT INTO `li_menu` VALUES (1367049068122996736, 'admin', '2021-03-03 09:47:51', b'0', 'admin', '2021-07-27 16:05:36', NULL, 'seller/bill/bill', 'md-alert', 2, 'billList', '1367048754229673984', 'billList', 0.00, '店铺结算', NULL, '/manager/order/bill*');
INSERT INTO `li_menu` VALUES (1367049214198022144, 'admin', '2021-03-03 09:48:26', b'0', 'admin', '2021-12-02 19:45:28', NULL, 'Main', 'md-aperture', 1, 'promotionsManager', '1367040067201138688', '/', 0.00, '促销管理', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367049384792948736, 'admin', '2021-03-03 09:49:07', b'0', 'admin', '2021-12-02 19:54:12', NULL, 'promotions/coupon/coupon', 'md-alert', 2, 'promotions/coupon', '1367049214198022144', 'promotions/coupon', 0.00, '优惠券', NULL, '/manager/promotion/coupon*');
INSERT INTO `li_menu` VALUES (1367049500782231552, 'admin', '2021-03-03 09:49:34', b'0', 'admin', '2021-12-02 19:41:37', 'null', 'promotions/full-discount/full-discount', 'md-alert', 2, 'promotions/full-discount', '1367049214198022144', 'promotions/full-discount', 1.00, '满额活动', 'null', '/manager/promotion/fullDiscount*');
INSERT INTO `li_menu` VALUES (1367049611578966016, 'admin', '2021-03-03 09:50:01', b'0', 'admin', '2021-12-02 20:16:10', 'null', 'promotions/seckill/seckill', 'md-alert', 2, 'promotions/seckill', '1367049214198022144', 'promotions/seckill', 2.00, '秒杀活动', 'null', '/manager/promotion/seckill*');
INSERT INTO `li_menu` VALUES (1367049712657498112, 'admin', '2021-03-03 09:50:25', b'0', 'admin', '2021-12-02 20:22:04', 'null', 'promotions/pintuan/pintuan', 'md-alert', 2, 'promotions/pintuan', '1367049214198022144', 'promotions/pintuan', 3.00, '拼团活动', 'null', '/manager/promotion/pintuan*');
INSERT INTO `li_menu` VALUES (1367050250249830400, 'admin', '2021-03-03 09:52:33', b'0', 'admin', '2021-03-22 20:38:14', 'null', 'Main', 'md-aperture', 1, 'document', '1367040599596728320', '/', 2.00, '文章管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367050320584114176, 'admin', '2021-03-03 09:52:50', b'0', 'admin', '2021-07-27 16:05:49', NULL, 'Main', 'md-aperture', 1, 'floor', '1367040599596728320', '/', 0.00, '楼层装修', NULL, '/manager/pageData*,/manager/file*,/manager/article-category*,/manager/article*,/manager/promotion*,/manager/goods*,/manager/store*');
INSERT INTO `li_menu` VALUES (1367050530030878720, 'admin', '2021-03-03 09:53:40', b'0', 'admin', '2021-03-04 01:05:57', 'null', 'page-decoration/floorList', 'md-alert', 2, 'pcFloor', '1367050320584114176', 'pcFloor', 0.00, 'PC端', 'null', '/manager/other/pageData*');
INSERT INTO `li_menu` VALUES (1367050673312497664, 'admin', '2021-03-03 09:54:14', b'0', 'admin', '2021-03-04 01:06:04', 'null', 'page-decoration/wap/wapList', 'md-aperture', 2, 'wapList', '1367050320584114176', 'wapList', 1.00, '移动端', 'null', '/manager/other/pageData*');
INSERT INTO `li_menu` VALUES (1367050829697122304, 'admin', '2021-03-03 09:54:51', b'0', 'admin', '2021-07-27 16:06:32', 'null', 'page/article-manage/hotWords', 'md-aperture', 2, 'hotKeyWord', '1367050250249830400', 'hotKeyWord', 0.00, '搜索热词', 'null', '/manager/hotwords*');
INSERT INTO `li_menu` VALUES (1367050939084570624, 'admin', '2021-03-03 09:55:17', b'0', 'admin', '2021-07-27 16:06:38', NULL, 'page/article-manage/ArticleCategory', 'md-aperture', 2, 'article-category', '1367050250249830400', 'article-category', 1.00, '文章分类', NULL, '/manager/other/articleCategory*');
INSERT INTO `li_menu` VALUES (1367051048232943616, 'admin', '2021-03-03 09:55:43', b'0', 'admin', '2021-07-27 16:06:42', NULL, 'page/article-manage/articleList', 'md-alert', 2, 'articleList', '1367050250249830400', 'articleList', 3.00, '文章管理', NULL, '/manager/other/article*,/manager/other/articleCategory*');
INSERT INTO `li_menu` VALUES (1367052616634204160, 'admin', '2021-03-03 10:01:57', b'0', 'admin', '2021-07-27 16:07:38', NULL, 'Main', 'md-aperture', 1, 'statistics', '1367040819248234496', '/', 0.00, '统计', NULL, '/manager/store*,/manager/member*');
INSERT INTO `li_menu` VALUES (1367052705725415424, 'admin', '2021-03-03 10:02:18', b'0', 'admin', '2021-03-11 22:11:05', 'null', 'statistics/member', 'md-alert', 2, 'memberStatistics', '1367052616634204160', 'memberStatistics', 0.00, '会员统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367052805503713280, 'admin', '2021-03-03 10:02:42', b'0', 'admin', '2021-03-11 22:11:14', 'null', 'statistics/order', 'md-alert', 2, 'orderStatistics', '1367052616634204160', 'orderStatistics', 1.00, '订单统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367052915314786304, 'admin', '2021-03-03 10:03:08', b'0', 'admin', '2021-03-11 22:11:23', 'null', 'statistics/goods', 'md-alert', 2, 'goodsStatistics', '1367052616634204160', 'goodsStatistics', 2.00, '商品统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367053087121866752, 'admin', '2021-03-03 10:03:49', b'0', 'admin', '2021-03-11 22:11:34', 'null', 'statistics/traffic', 'md-alert', 2, 'trafficStatistics', '1367052616634204160', 'trafficStatistics', 4.00, '流量统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1372807928452481024, 'admin', '2021-03-19 02:11:30', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'flow', '1367039534616805376', '/', 3.00, '流水', NULL, NULL);
INSERT INTO `li_menu` VALUES (1372808148565360640, 'admin', '2021-03-19 02:12:23', b'0', 'admin', '2021-07-27 16:03:57', NULL, 'order/flow/paymentLog', 'md-alert', 2, 'paymentLog', '1372807928452481024', 'paymentLog', 1.00, '收款记录', NULL, '/manager/order/paymentLog*');
INSERT INTO `li_menu` VALUES (1372808352295288832, 'admin', '2021-03-19 02:13:11', b'0', 'admin', '2021-07-27 16:04:01', NULL, 'order/flow/refundLog', 'ios-aperture', 2, 'refundLog', '1372807928452481024', 'refundLog', 2.00, '退款流水', NULL, '/manager/order/refundLog*');
INSERT INTO `li_menu` VALUES (1373166892465782784, 'admin', '2021-03-20 01:57:54', b'0', 'admin', '2021-03-22 20:13:48', 'null', 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 0.00, '积分', 'null', NULL);
INSERT INTO `li_menu` VALUES (1373167227385151488, 'admin', '2021-03-20 01:59:14', b'0', 'admin', '2021-07-27 16:02:40', 'null', 'member/point/point', 'ios-aperture', 2, 'point', '1373166892465782784', 'point', 0.00, '积分历史', 'null', '/manager/member/memberPointsHistory*');
INSERT INTO `li_menu` VALUES (1373791578371391488, 'admin', '2021-03-21 19:20:11', b'0', 'admin', '2021-07-27 16:05:38', NULL, 'seller/bill/accountStatementBill', 'md-alert', 2, 'accountStatementBill', '1367048754229673984', 'accountStatementBill', 0.00, '商家对账', NULL, '/manager/order/bill*');
INSERT INTO `li_menu` VALUES (1374154349697040384, 'admin', '2021-03-22 19:21:42', b'0', 'admin', '2021-07-27 16:06:55', 'null', 'Main', 'md-aperture', 1, 'feedback', '1367040599596728320', '/', 3.00, '意见反馈', 'null', '/manager/other/feedback*');
INSERT INTO `li_menu` VALUES (1374155741123837952, 'admin', '2021-03-22 19:27:14', b'0', 'admin', '2021-07-27 15:41:40', 'null', 'page/feedback/feedback', 'md-aperture', 2, 'feedback', '1374154349697040384', 'feedback', 0.00, '意见反馈', 'null', 'null');
INSERT INTO `li_menu` VALUES (1374173575405109248, 'admin', '2021-03-22 20:38:06', b'0', 'admin', '2021-03-22 20:52:58', 'null', 'Main', 'ios-analytics', 1, 'distributionManager', '1367040599596728320', '/', 1.00, '分销管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1374177618072436736, 'admin', '2021-03-22 20:54:10', b'0', 'admin', '2021-07-27 16:05:58', 'null', 'distribution/distributionSetting', 'ios-basketball', 2, 'distributionSetting', '1374173575405109248', 'distributionSetting', 0.00, '分销设置', 'null', '/manager/system/setting/put/DISTRIBUTION_SETTING*,/manager/system/setting/get/DISTRIBUTION_SETTING*');
INSERT INTO `li_menu` VALUES (1374177789581721600, 'admin', '2021-03-22 20:54:51', b'0', 'admin', '2021-07-27 16:06:15', 'null', 'distribution/distributionGoods', 'ios-chatbubbles', 2, 'distributionGoods', '1374173575405109248', 'distributionGoods', 3.00, '分销商品', 'null', '/manager/distribution/goods*');
INSERT INTO `li_menu` VALUES (1374177910411231232, 'admin', '2021-03-22 20:55:19', b'0', 'admin', '2021-07-27 16:06:20', 'null', 'distribution/distributionOrder', 'ios-cloudy', 2, 'distributionOrder', '1374173575405109248', 'distributionOrder', 4.00, '分销订单', 'null', '/manager/distribution/order*,/manager/store*');
INSERT INTO `li_menu` VALUES (1374178079181635584, 'admin', '2021-03-22 20:56:00', b'0', 'admin', '2021-07-27 16:06:05', 'null', 'distribution/distributionApply', 'md-egg', 2, 'distributionApply', '1374173575405109248', 'distributionApply', 1.00, '分销申请', 'null', '/manager/distribution*');
INSERT INTO `li_menu` VALUES (1374178303975358464, 'admin', '2021-03-22 20:56:53', b'0', 'admin', '2021-07-27 16:06:08', 'null', 'distribution/distribution', 'md-person', 2, 'distribution', '1374173575405109248', 'distribution', 2.00, '分销员', 'null', '/manager/distribution*');
INSERT INTO `li_menu` VALUES (1374916594269945856, 'admin', '2021-03-24 21:50:35', b'0', 'admin', '2021-07-27 16:08:51', NULL, 'sys/slider/slider', 'ios-aperture', 2, 'slider', '1349237129847005184', 'slider', 7.00, '验证码', NULL, '/manager/other/verificationSource*');
INSERT INTO `li_menu` VALUES (1376450531517530112, 'admin', '2021-03-29 03:25:55', b'0', NULL, NULL, NULL, 'Main', 'md-basketball', 1, 'notice', '1367040599596728320', '/', 5.00, '站内信', NULL, NULL);
INSERT INTO `li_menu` VALUES (1376450662098796544, 'admin', '2021-03-29 03:26:26', b'0', 'admin', '2021-07-27 16:07:23', NULL, 'sys/message/noticeMessageTemplate', 'ios-american-football', 2, 'noticeMessageTemplate', '1376450531517530112', 'noticeMessageTemplate', 1.00, '站内信', NULL, '/manager/other/message*');
INSERT INTO `li_menu` VALUES (1376450766817984512, 'admin', '2021-03-29 03:26:51', b'0', 'admin', '2021-03-29 03:27:25', 'null', 'Main', 'md-checkmark', 1, 'sms', '1367040599596728320', '/', 6.00, '短信管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1376450876423536640, 'admin', '2021-03-29 03:27:17', b'0', 'admin', '2021-07-27 16:07:29', NULL, 'sys/message/sms', 'ios-timer', 2, 'sms', '1376450766817984512', 'sms', 1.00, '短信', NULL, '/manager/sms/sms*,/manager/passport/member*');
INSERT INTO `li_menu` VALUES (1384035281702748160, 'admin', '2021-04-19 14:45:00', b'0', 'admin', '2021-07-27 16:08:18', 'null', 'member/message-manage/weChatMessageManager', 'md-aperture', 2, 'message-manage', '1349237129847005184', 'message-manage', 5.00, '微信消息', 'null', '/manager/wechat/wechatMessage*');
INSERT INTO `li_menu` VALUES (1403988156444962818, 'admin', '2021-06-13 16:10:36', b'0', 'admin', '2021-12-02 19:54:37', 'null', 'promotions/coupon-activity/coupon', '', 2, 'promotions/coupon-activity', '1367049214198022144', 'promotions/coupon-activity', 0.00, '券活动', 'null', '/manager/promotion/couponActivity*');
INSERT INTO `li_menu` VALUES (1407601962899230721, 'admin', '2021-06-23 15:30:35', b'0', 'admin', '2021-07-27 16:05:08', NULL, 'Main', '', 1, 'liveManage', '1367040067201138688', '/', 2.00, '直播管理', NULL, '/manager/broadcast*');
INSERT INTO `li_menu` VALUES (1407602049759072258, 'admin', '2021-06-23 15:30:55', b'0', 'admin', '2021-12-07 10:54:54', NULL, 'promotions/live/live', '', 2, 'promotions/live', '1407601962899230721', 'promotions/live', 1.00, '直播管理', NULL, 'null');
INSERT INTO `li_menu` VALUES (1407602441964244994, 'admin', '2021-06-23 15:32:29', b'0', NULL, NULL, NULL, 'Main', '', 1, 'pointManage', '1367040067201138688', '/', 3.00, '积分活动', NULL, NULL);
INSERT INTO `li_menu` VALUES (1407602516912263170, 'admin', '2021-06-23 15:32:47', b'0', 'admin', '2021-12-03 19:18:30', NULL, 'promotions/points-goods/points-goods', '', 2, 'promotions/points-goods', '1407602441964244994', 'promotions/points-goods', 1.00, '积分商品', NULL, '/manager/promotion/pointsGoods*,/manager/goods*');
INSERT INTO `li_menu` VALUES (1407602673334636546, 'admin', '2021-06-23 15:33:24', b'0', 'admin', '2021-12-03 19:19:23', NULL, 'promotions/points-goods-category/points-goods-category', '', 2, 'promotions/points-goods-category', '1407602441964244994', 'promotions/points-goods-category', 2.00, '积分分类', NULL, '/manager/promotion/pointsGoodsCategory*');
INSERT INTO `li_menu` VALUES (1410862675914764290, 'admin', '2021-07-02 15:27:29', b'0', 'admin', '2021-07-27 16:06:26', 'null', 'distribution/distributionCash', '', 2, 'distributionCash', '1374173575405109248', 'distributionCash', 5.00, '分销提现', 'null', '/manager/distribution/cash*');
INSERT INTO `li_menu` VALUES (1419926569920536578, 'admin', '2021-07-27 15:44:10', b'0', 'admin', '2021-07-27 16:07:10', NULL, 'customWords/index', NULL, 2, 'customWords', '1367050250249830400', 'customWords', 4.00, 'ES分词', NULL, '/manager/other/customWords*');
INSERT INTO `li_menu` VALUES (1430799171593535490, 'admin', '2021-08-26 15:48:00', b'0', 'admin', '2021-12-02 20:21:34', NULL, 'promotions/kanjia/kanjia-activity-goods', NULL, 2, 'promotions/kanjia', '1367049214198022144', 'promotions/kanjia', 6.00, '砍价活动', NULL, '/manager/promotion/kanJiaGoods*');
INSERT INTO `li_menu` VALUES (1495665663207432193, 'admin', '2022-02-21 15:44:17', b'0', 'admin', '2022-02-21 15:45:44', NULL, 'distribution/distrbutionGrade', NULL, 2, 'distrbutionGrade', '1374173575405109248', 'distrbutionGrade', 0.00, '分销等级', NULL, '/manager/distrbutionGrade*');
SET FOREIGN_KEY_CHECKS = 1;
/*
Navicat Premium Data Transfer
Source Server : lilishop
Source Server Type : MySQL
Source Server Version : 80025
Source Host : 192.168.0.116:3306
Source Schema : zhimai1
Target Server Type : MySQL
Target Server Version : 80025
File Encoding : 65001
Date: 01/03/2022 15:36:03
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for li_store_menu
-- ----------------------------
DROP TABLE IF EXISTS `li_store_menu`;
CREATE TABLE `li_store_menu` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '说明备注',
`front_route` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '前端路由',
`icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图标',
`level` int NULL DEFAULT NULL COMMENT '层级',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '菜单/权限名称',
`parent_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '父id',
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '赋权API地址,正则表达式',
`sort_order` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '排序值',
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '菜单标题',
`permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '权限url',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of li_store_menu
-- ----------------------------
INSERT INTO `li_store_menu` VALUES (1348810750596767744, NULL, '2022-01-11 22:35:33.000000', b'0', NULL, '2022-01-11 22:36:52', NULL, 'Main', 'ios-american-football', 0, 'goods', '0', '/', '1', '商品', NULL);
INSERT INTO `li_store_menu` VALUES (1348810864748945408, NULL, '2022-01-11 22:35:37.000000', b'0', NULL, '2022-01-11 22:36:55', NULL, 'Main', 'ios-american-football', 1, 'Main', '1348810750596767744', '/', '1.1', '商品管理', '');
INSERT INTO `li_store_menu` VALUES (1349237129847005184, NULL, '2022-01-11 22:35:40.000000', b'0', NULL, '2022-01-11 22:36:59', NULL, 'goods-operation', 'ios-american-football', 2, 'goods-operation', '1348810864748945408', '/goods-operation', '1.11', '商品发布', '/store/goods/category*,/store/goods/categorySpec*,/store/goods/categoryParameters*,/store/goods/draftGoods*,/store/goods/label*,/store/goods/goods*,/store/goods/goodsUnit*,/store/goods/spec*');
INSERT INTO `li_store_menu` VALUES (1349237207378714624, NULL, '2022-01-11 22:35:42.000000', b'0', NULL, '2022-01-11 22:37:02', NULL, 'goods/goods-seller/goods', 'ios-american-football', 2, 'goods', '1348810864748945408', 'goods', '1.12', '商品列表', NULL);
INSERT INTO `li_store_menu` VALUES (1349237928434098176, NULL, '2022-01-11 22:35:45.000000', b'0', NULL, '2022-01-11 22:37:05', NULL, 'goods/goods-seller/draftGoods', 'ios-american-football', 2, 'template-goods', '1348810864748945408', 'template-goods', '1.13', '商品模板', NULL);
INSERT INTO `li_store_menu` VALUES (1349246048900243456, NULL, '2022-01-11 22:35:48.000000', b'0', NULL, '2022-01-11 22:37:08', NULL, 'goods/goods-manage/category', 'ios-american-football', 2, 'category', '1348810864748945408', 'category', '1.14', '店铺分类', NULL);
INSERT INTO `li_store_menu` VALUES (1349246347597602816, NULL, '2022-01-11 22:35:51.000000', b'0', NULL, '2022-01-11 22:37:11', NULL, 'Main', 'ios-american-football', 0, 'order', '0', '/', '2', '订单', NULL);
INSERT INTO `li_store_menu` VALUES (1349246468775239680, NULL, '2022-01-11 22:38:28.000000', b'0', NULL, '2022-01-11 22:38:31', NULL, 'Main', 'ios-american-football', 1, 'Main', '1349246347597602816', '/', '2.1', '订单管理', NULL);
INSERT INTO `li_store_menu` VALUES (1349246671158796288, NULL, '2022-01-11 22:38:42.000000', b'0', NULL, '2022-01-11 22:38:35', NULL, 'order/order/orderList', 'ios-american-football', 2, 'orderList', '1349246468775239680', 'orderList', '2.11', '商品订单', '/store/order/order*');
INSERT INTO `li_store_menu` VALUES (1349246896661356544, NULL, '2022-01-11 22:40:27.000000', b'0', NULL, '2022-01-11 22:40:34', NULL, 'order/order/virtualOrderList', 'ios-american-football', 2, 'virtualOrderList', '1349246468775239680', 'virtualOrderList', '2.12', '虚拟订单', '/store/order/order*');
INSERT INTO `li_store_menu` VALUES (1349247081504333824, NULL, '2022-01-11 22:41:47.000000', b'0', NULL, '2022-01-11 22:41:50', NULL, 'Main', 'ios-american-football', 1, 'Main', '1349246347597602816', '/', '2.2', '评价管理', NULL);
INSERT INTO `li_store_menu` VALUES (1349247640584085504, NULL, '2022-01-11 22:43:29.000000', b'0', NULL, '2022-01-11 22:45:47', NULL, 'member/memberComment', 'ios-american-football', 2, 'memberComment', '1349247081504333824', 'memberComment', '2.21', '评价管理', '/store/member/evaluation*');
INSERT INTO `li_store_menu` VALUES (1349254815809298432, NULL, '2022-01-11 22:45:35.000000', b'0', NULL, '2022-01-11 22:45:50', NULL, 'Main', 'ios-american-football', 1, 'Main', '1349246347597602816', '/', '2.3', '售后管理', NULL);
INSERT INTO `li_store_menu` VALUES (1349255214977015808, NULL, '2022-01-11 22:49:22.000000', b'0', NULL, '2022-01-11 22:49:27', NULL, 'order/after-order/returnGoodsOrder', 'ios-american-football', 2, 'returnGoodsOrder', '1349254815809298432', 'returnGoodsOrder', '2.31', '退货管理', '/store/order/afterSale*');
INSERT INTO `li_store_menu` VALUES (1349255404425338880, NULL, '2022-01-11 22:51:20.000000', b'0', NULL, '2022-01-11 22:51:22', NULL, 'order/after-order/returnMoneyOrder', 'ios-american-football', 2, 'returnMoneyOrder', '1349254815809298432', 'returnMoneyOrder', '2.32', '退款管理', '/store/order/afterSale*');
INSERT INTO `li_store_menu` VALUES (1349256082979840000, NULL, '2022-01-11 22:52:50.000000', b'0', NULL, '2022-01-11 22:52:55', NULL, 'order/after-order/orderComplaint', 'ios-american-football', 2, 'orderComplaint', '1349254815809298432', 'orderComplaint', '2.33', '投诉管理', '/store/order/complain*');
INSERT INTO `li_store_menu` VALUES (1357584224760102912, NULL, '2022-01-11 23:02:20.000000', b'0', NULL, '2022-01-11 23:02:25', NULL, 'Main', 'ios-american-football', 0, 'bill', '0', '/', '3', '财务', NULL);
INSERT INTO `li_store_menu` VALUES (1357873097859923969, NULL, '2022-01-11 23:04:13.000000', b'0', NULL, '2022-01-11 23:04:17', NULL, 'Main', 'ios-american-football', 1, 'Main', '1357584224760102912', '/', '3.1', '财务管理', '');
INSERT INTO `li_store_menu` VALUES (1367038467288072192, NULL, '2022-01-11 23:06:11.000000', b'0', NULL, '2022-01-11 23:06:16', NULL, 'shop/bill/accountStatementBill', 'ios-american-football', 2, 'accountStatementBill', '1357873097859923969', 'accountStatementBill', '3.11', '财务对账', '/store/order/bill*');
INSERT INTO `li_store_menu` VALUES (1367039534616805376, NULL, '2022-01-11 23:07:54.000000', b'0', NULL, '2022-01-11 23:07:57', NULL, 'shop/bill/storeBill', 'ios-american-football', 2, 'storeBill', '1357873097859923969', 'storeBill', '3.12', '店铺结算', '/store/order/bill*');
INSERT INTO `li_store_menu` VALUES (1367039950368800768, NULL, '2022-01-11 23:09:26.000000', b'0', NULL, '2022-01-11 23:09:29', NULL, 'Main', 'ios-american-football', 1, 'Main', '1357584224760102912', '/', '3.2', '发票管理', NULL);
INSERT INTO `li_store_menu` VALUES (1367040067201138688, NULL, '2022-01-11 23:11:14.000000', b'0', NULL, '2022-01-11 23:11:18', NULL, 'order/receiptManager/receipt', 'ios-american-football', 2, 'receipt', '1367039950368800768', 'receipt', '3.21', '发票管理', '/store/trade/receipt*');
INSERT INTO `li_store_menu` VALUES (1367040599596728320, NULL, '2022-01-11 23:12:49.000000', b'0', NULL, '2022-01-11 23:12:52', NULL, 'Main', 'ios-american-football', 0, 'promotion', '0', '/', '4', '营销', NULL);
INSERT INTO `li_store_menu` VALUES (1367040819248234496, NULL, '2022-01-11 23:14:35.000000', b'0', NULL, '2022-01-11 23:14:38', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367040599596728320', '/', '4.1', '平台活动', NULL);
INSERT INTO `li_store_menu` VALUES (1367041332861730816, NULL, '2022-01-11 23:15:42.000000', b'0', NULL, '2022-01-11 23:15:48', NULL, 'promotion/pintuan/pintuan', 'ios-american-football', 2, 'pintuan', '1367040819248234496', 'pintuan', '4.11', '拼团活动', '/store/promotion/pintuan*');
INSERT INTO `li_store_menu` VALUES (1367041461194850304, NULL, '2022-01-11 23:17:32.000000', b'0', NULL, '2022-01-11 23:17:44', NULL, 'promotion/seckill/seckill', 'ios-american-football', 2, 'seckill', '1367040819248234496', 'seckill', '4.12', '秒杀活动', '/store/promotion/seckill*');
INSERT INTO `li_store_menu` VALUES (1367041575619657728, NULL, '2022-01-11 23:20:19.000000', b'0', NULL, '2022-01-11 23:20:24', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367040599596728320', '/', '4.2', '直播活动', '');
INSERT INTO `li_store_menu` VALUES (1367042490443497472, NULL, '2022-01-11 23:21:13.000000', b'0', NULL, '2022-01-11 23:21:22', NULL, 'promotion/live/live', 'ios-american-football', 2, 'live', '1367041575619657728', 'live', '4.21', '直播管理', '/store/broadcast/studio*');
INSERT INTO `li_store_menu` VALUES (1367042664410644480, NULL, '2022-01-11 23:22:42.000000', b'0', NULL, '2022-01-11 23:22:59', NULL, 'promotion/live/liveGoods', 'ios-american-football', 2, 'liveGoods', '1367041575619657728', 'liveGoods', '4.22', '直播商品', '/store/broadcast/commodity*');
INSERT INTO `li_store_menu` VALUES (1367042804944994304, NULL, '2022-01-11 23:24:24.000000', b'0', NULL, '2022-01-11 23:24:38', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367040599596728320', '/', '4.3', '商家活动', NULL);
INSERT INTO `li_store_menu` VALUES (1367042804944994305, NULL, '2022-01-11 23:24:29.000000', b'0', NULL, '2022-01-11 23:24:42', NULL, 'promotion/full-discount/full-discount', 'ios-american-football', 2, 'full-cut', '1367042804944994304', 'full-discount', '4.31', '满额活动', '/store/promotion/fullDiscount*');
INSERT INTO `li_store_menu` VALUES (1367042917113266176, NULL, '2022-01-11 23:26:45.000000', b'0', NULL, '2022-01-11 23:26:50', NULL, 'promotion/coupon/coupon', 'ios-american-football', 2, 'coupon', '1367042804944994304', 'coupon', '4.32', '优惠券', '/store/promotion/coupon*');
INSERT INTO `li_store_menu` VALUES (1367043020976816128, NULL, '2022-01-11 23:28:50.000000', b'0', NULL, '2022-01-11 23:29:02', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367040599596728320', '/', '4.4', '分销管理', NULL);
INSERT INTO `li_store_menu` VALUES (1367043443917848576, NULL, '2022-01-11 23:28:53.000000', b'0', NULL, '2022-01-11 23:29:04', NULL, 'distribution/distributionGoods', 'ios-american-football', 2, 'distributionGoods', '1367043020976816128', 'distributionGoods', '4.41', '分销商品', '/store/distribution/goods*');
INSERT INTO `li_store_menu` VALUES (1367043505771249664, NULL, '2022-01-11 23:28:56.000000', b'0', NULL, '2022-01-11 23:29:07', NULL, 'distribution/distributionOrder', 'ios-american-football', 2, 'distributionOrder', '1367043020976816128', 'distributionOrderdistributionOrder', '4.42', '分销订单', '/store/distribution/order*');
INSERT INTO `li_store_menu` VALUES (1367044121163726848, NULL, '2022-01-12 21:47:03.000000', b'0', NULL, '2022-01-12 21:47:25', NULL, 'Main', 'ios-american-football', 0, 'statistics', '0', '/', '5', '统计', NULL);
INSERT INTO `li_store_menu` VALUES (1367044247978508288, NULL, '2022-01-12 21:47:19.000000', b'0', NULL, '2022-01-12 21:47:28', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367044121163726848', '/', '5.1', '统计管理', NULL);
INSERT INTO `li_store_menu` VALUES (1367044376391319552, NULL, '2022-01-12 21:49:45.000000', b'0', NULL, '2022-01-12 21:50:01', NULL, 'statistics/goods', 'ios-american-football', 2, 'goodsStatistics', '1367044247978508288', 'goodsStatistics', '5.11', '商品统计', '/store/statistics/goods*');
INSERT INTO `li_store_menu` VALUES (1367044657296441344, NULL, '2022-01-12 21:49:48.000000', b'0', NULL, '2022-01-12 21:49:58', NULL, 'statistics/order', 'ios-american-football', 2, 'orderStatistics', '1367044247978508288', 'orderStatistics', '5.12', '订单统计', '/store/statistics/order*,/store/statistics/order*,/store/statistics/order*,/store/statistics/order*');
INSERT INTO `li_store_menu` VALUES (1367045529720061952, NULL, '2022-01-12 21:49:51.000000', b'0', NULL, '2022-01-12 21:50:03', NULL, 'statistics/traffic', 'ios-american-football', 2, 'trafficStatistics', '1367044247978508288', 'trafficStatistics', '5.13', '流量统计', '/store/statistics/view*');
INSERT INTO `li_store_menu` VALUES (1367045630710513664, NULL, '2022-01-12 21:52:59.000000', b'0', NULL, '2022-01-12 21:53:09', NULL, 'Main', 'ios-american-football', 0, 'settings', '0', '/', '6', '设置', NULL);
INSERT INTO `li_store_menu` VALUES (1367045794284175360, NULL, '2022-01-12 21:53:03.000000', b'0', NULL, '2022-01-12 21:53:12', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367045630710513664', '/', '6.1', '配送设置', NULL);
INSERT INTO `li_store_menu` VALUES (1367045921434501120, NULL, '2022-01-12 21:55:49.000000', b'0', NULL, '2022-01-12 21:55:52', NULL, 'shop/ship/shipTemplate', 'ios-american-football', 2, 'shipTemplate', '1367045794284175360', 'shipTemplate', '6.11', '配送模板', '/store/setting/freightTemplate*');
INSERT INTO `li_store_menu` VALUES (1367046068369358848, NULL, '2022-01-12 21:58:05.000000', b'0', NULL, '2022-01-12 21:58:13', NULL, 'shop/ship/logistics', 'ios-american-football', 2, 'logistics', '1367045794284175360', 'logistics', '6.12', '物流公司', '/store/other/logistics*');
INSERT INTO `li_store_menu` VALUES (1367046266214678528, NULL, '2022-01-12 21:59:07.000000', b'0', NULL, '2022-01-12 21:59:43', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367045630710513664', '/', '6.2', '店铺管理', NULL);
INSERT INTO `li_store_menu` VALUES (1367048084701315072, NULL, '2022-01-12 21:59:32.000000', b'0', NULL, '2022-01-12 21:59:48', NULL, 'shop/shopSetting', 'ios-american-football', 2, 'shopSetting', '1367046266214678528', 'shopSetting', '6.21', '店铺设置', NULL);
INSERT INTO `li_store_menu` VALUES (1367048684339986432, NULL, '2022-01-12 21:59:36.000000', b'0', NULL, '2022-01-12 21:59:51', NULL, 'shop/shopAddress', 'ios-american-football', 2, 'shopAddress', '1367046266214678528', 'shopAddress', '6.22', '自提管理', '/store/member/storeAddress*');
INSERT INTO `li_store_menu` VALUES (1367048754229673984, NULL, '2022-01-12 22:02:11.000000', b'0', NULL, '2022-01-12 22:04:36', NULL, 'Main', 'ios-american-football', 0, 'Main', '0', '/', '7', '消息', NULL);
INSERT INTO `li_store_menu` VALUES (1367048832210173952, NULL, '2022-01-12 22:02:49.000000', b'0', NULL, '2022-01-12 22:04:39', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367048754229673984', '/', '7.1', '系统消息', NULL);
INSERT INTO `li_store_menu` VALUES (1367048967635861503, NULL, '2022-02-18 16:08:30.000000', b'0', NULL, '2022-02-18 16:08:36', NULL, 'Main', 'ios-american-football', 1, 'Main', '1367045630710513664', '/', '6.3', '店员设置', '');
INSERT INTO `li_store_menu` VALUES (1367048967635861504, NULL, '2022-01-12 22:02:51.000000', b'0', NULL, '2022-01-12 22:04:45', NULL, 'message', 'ios-american-football', 2, 'message_index', '1367048832210173952', 'message', '7.11', '系统消息', '/store/message/storeMessage*');
INSERT INTO `li_store_menu` VALUES (1367048967635861505, NULL, '2022-02-18 16:12:18.000000', b'0', NULL, '2022-02-18 16:12:21', NULL, 'shop/system/clerk/clerkManage', 'ios-american-football', 2, '\nclerkManage', '1367048967635861503', '\nclerkManage', '6.31', '店员管理', '/store/department*,/store/clerk*,/store/role*,/store/department*');
INSERT INTO `li_store_menu` VALUES (1367048967635861506, NULL, '2022-02-18 16:25:27.000000', NULL, NULL, '2022-02-18 16:25:31', NULL, 'shop/system/department/storeDepartmentManage', 'ios-american-football', 2, 'storeDepartmentManage', '1367048967635861503', 'storeDepartmentManage', '6.32', '部门管理', '/store/department*');
INSERT INTO `li_store_menu` VALUES (1367048967635861507, NULL, '2022-02-18 16:27:28.000000', NULL, NULL, '2022-02-18 16:27:30', NULL, 'shop/system/role/storeRoleManage', 'ios-american-football', 2, 'storeRoleManage', '1367048967635861503', 'storeRoleManage', '6.33', '角色权限', '/store/role*');
INSERT INTO `li_store_menu` VALUES (1367048967635861510, NULL, '2022-03-07 14:45:10.000000', b'0', NULL, '2022-03-07 14:45:13', NULL, 'shop/floorList', 'ios-american-football', 2, 'floorList', '1367046266214678528', 'floorList', '6.23', 'PC端', '/store/other/pageData*');
INSERT INTO `li_store_menu` VALUES (1367048967635861511, NULL, '2022-03-07 15:13:52.000000', b'0', NULL, '2022-03-07 15:13:55', NULL, 'shop/wap/wapList', 'ios-american-football', 2, 'wapList', '1367046266214678528', 'wapList', '6.24', '移动端', '/store/other/pageData*');
SET FOREIGN_KEY_CHECKS = 1;
insert li_clerk(id,create_by,create_time,store_id,clerk_name,member_id,shopkeeper,is_super,`status`) select id,member_name,current_date(),id,member_name,member_id ,TRUE,TRUE,TRUE from li_store

View File

@@ -0,0 +1,91 @@
/** 优惠券活动增加领取周期字段 **/
ALTER TABLE li_coupon_activity ADD coupon_frequency_enum varchar(255) COMMENT '领取周期';
-- 会员优惠券标识
CREATE TABLE `li_member_coupon_sign` (
`id` bigint NOT NULL,
`coupon_activity_Id` bigint NULL DEFAULT NULL COMMENT '优惠券活动id',
`member_id` bigint NULL DEFAULT NULL COMMENT '会员id',
`invalid_time` datetime NULL DEFAULT NULL COMMENT '过期时间',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;
/**
IM聊天
*/
CREATE TABLE `li_im_talk` (
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '删除标志',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改时间',
`user_id1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户1Id',
`user_id2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户2Id',
`name1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户1名称',
`name2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户2名称',
`face1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户1头像',
`face2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户2头像',
`top1` bit(1) DEFAULT NULL COMMENT '用户1置顶标识',
`top2` bit(1) DEFAULT NULL COMMENT '用户2置顶标识',
`disable1` bit(1) DEFAULT NULL COMMENT '用户1禁用标识',
`disable2` bit(1) DEFAULT NULL COMMENT '用户2禁用标识',
`store_flag1` bit(1) DEFAULT NULL COMMENT '用户1店铺标识',
`store_flag2` bit(1) DEFAULT NULL COMMENT '用户2店铺标识',
`last_talk_time` datetime DEFAULT NULL COMMENT '最后聊天时间',
`last_talk_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '最后的消息',
`last_message_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '最后消息类型',
`talk_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '聊天Id',
`tenant_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '坐席Id',
`tenant_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '坐席名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/**
IM消息
*/
CREATE TABLE `li_im_message` (
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '删除标识',
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改者',
`update_time` datetime(6) DEFAULT NULL COMMENT '修改标识',
`from_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '发送用户Id',
`to_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '接收用户Id',
`is_read` bit(1) DEFAULT NULL COMMENT '已读标识',
`message_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '聊天类型',
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '聊天内容',
`talk_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '聊天Id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/**
订单增加自提信息
*/
ALTER TABLE li_order ADD `store_address_path` varchar(255) DEFAULT NULL;
ALTER TABLE li_order ADD `store_address_center` varchar(255) DEFAULT NULL;
ALTER TABLE li_order ADD `store_address_mobile` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL;
/**
店铺是否开启自提
*/
ALTER TABLE li_store ADD `self_pick_flag` bit(1) DEFAULT NULL;
/**
历史足迹增加店铺Id
*/
ALTER TABLE li_foot_print ADD `store_id` varchar(255) DEFAULT NULL COMMENT '店铺ID';
/**
订单增加自提信息
*/
ALTER TABLE li_member_withdraw_apply ADD `real_name` varchar(255) DEFAULT NULL;
ALTER TABLE li_member_withdraw_apply ADD `connect_number` varchar(255) DEFAULT NULL;
ALTER TABLE li_member_withdraw_apply ADD `error_message` text DEFAULT NULL;

161
DB/version4.2to4.2.2.sql Normal file
View File

@@ -0,0 +1,161 @@
/*
Navicat Premium Data Transfer
Source Server : 192.168.0.116
Source Server Type : MySQL
Source Server Version : 80023
Source Host : 192.168.0.116:3306
Source Schema : lilishop
Target Server Type : MySQL
Target Server Version : 80023
File Encoding : 65001
Date: 27/07/2021 17:04:46
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
/** 添加结算单积分、砍价结算价信息**/
ALTER TABLE li_bill ADD point_settlement_price double DEFAULT 0.00 COMMENT '积分商品结算金额 ';
ALTER TABLE li_bill ADD kanjia_settlement_price double DEFAULT 0.00 COMMENT '砍价商品结算金额';
ALTER TABLE li_store_flow ADD point_settlement_price double DEFAULT 0.00 COMMENT '积分商品结算金额';
ALTER TABLE li_store_flow ADD kanjia_settlement_price double DEFAULT 0.00 COMMENT '砍价商品结算金额';
ALTER TABLE li_order ADD order_promotion_type varchar(255) DEFAULT null COMMENT '订单促销类型';
/** 热词管理*/
UPDATE `lilishop`.`li_menu` SET `create_by` = 'admin', `create_time` = '2021-03-03 09:54:51', `delete_flag` = b'0', `update_by` = 'admin', `update_time` = '2021-07-23 19:07:45', `description` = 'null', `front_route` = 'page/article-manage/hotWords', `icon` = 'md-aperture', `level` = 2, `name` = 'hotKeyWord', `parent_id` = '1367050250249830400', `path` = 'hotKeyWord', `sort_order` = 0.00, `title` = '搜索热词', `front_component` = 'null' WHERE `id` = 1367050829697122304;
-- ----------------------------
-- Table structure for li_menu
-- ----------------------------
DROP TABLE IF EXISTS `li_menu`;
CREATE TABLE `li_menu` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`delete_flag` bit(1) DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新者',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '说明备注',
`front_route` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '前端路由',
`icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '图标',
`level` int DEFAULT NULL COMMENT '层级',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '菜单/权限名称',
`parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '父id',
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '赋权API地址,正则表达式',
`sort_order` decimal(10,2) DEFAULT NULL COMMENT '排序值',
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '菜单标题',
`front_component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件地址',
`permission` varchar(255) DEFAULT NULL COMMENT '权限url',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of li_menu
-- ----------------------------
BEGIN;
INSERT INTO `li_menu` VALUES (1348810750596767744, 'admin', '2021-01-12 09:55:17', b'0', 'admin', '2021-01-15 09:42:50', 'null', '1', 'ios-american-football', 0, 'settings', '0', '1', 2.00, '设置', 'null', NULL);
INSERT INTO `li_menu` VALUES (1348810864748945408, 'admin', '2021-01-12 09:55:45', b'0', 'admin', '2021-03-15 20:57:12', 'null', 'null', 'ios-american-football', 0, 'log', '0', 'null', 3.00, '日志', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349237129847005184, 'admin', '2021-01-13 14:09:34', b'0', 'admin', '2021-01-15 09:43:16', 'null', 'Main', 'ios-american-football', 1, 'sys', '1348810750596767744', '/sys', 1.00, '系统设置', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349237207378714624, 'admin', '2021-01-13 14:09:53', b'0', 'admin', '2021-07-27 16:07:49', 'null', 'Main', 'ios-american-football', 1, 'member', '1348810750596767744', '/member', 0.00, '用户管理', 'null', '/manager/user*,/manager/department*,/manager/role*,/manager/menu*');
INSERT INTO `li_menu` VALUES (1349237928434098176, 'admin', '2021-01-13 14:13:03', b'0', 'admin', '2021-07-27 16:09:11', 'null', 'Main', 'ios-american-football', 1, 'log', '1348810864748945408', '/log', 1.00, '系统监控', 'null', '/manager/log*');
INSERT INTO `li_menu` VALUES (1349246048900243456, 'admin', '2021-01-13 14:45:00', b'0', 'admin', '2021-07-27 16:07:57', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'setting', '1349237129847005184', 'setting', 1.00, '系统设置', 'null', '/manager/system/setting/get*,/manager/system/setting/put*');
INSERT INTO `li_menu` VALUES (1349246347597602816, 'admin', '2021-01-13 14:46:12', b'0', 'admin', '2021-07-27 16:08:03', 'null', 'sys/oss-manage/ossManage', 'ios-american-football', 2, 'oss-manage', '1349237129847005184', 'oss-manage', 3.00, 'OSS资源', '', '/manager/file*');
INSERT INTO `li_menu` VALUES (1349246468775239680, 'admin', '2021-01-13 14:46:41', b'0', 'admin', '2021-07-27 16:08:14', 'null', 'region/index', 'ios-american-football', 2, 'region', '1349237129847005184', 'region', 4.00, '行政地区', 'null', '/manager/region*');
INSERT INTO `li_menu` VALUES (1349246671158796288, 'admin', '2021-01-13 14:47:29', b'0', 'admin', '2021-07-27 16:08:09', 'null', 'logistics/index', 'ios-american-football', 2, 'logistics', '1349237129847005184', 'logistics', 5.00, '物流公司', 'null', '/manager/logistics*');
INSERT INTO `li_menu` VALUES (1349246896661356544, 'admin', '2021-01-13 14:48:23', b'0', 'admin', '2021-07-27 16:08:23', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'authLogin', '1349237129847005184', 'authLogin', 6.00, '信任登录', 'null', '/manager/system/setting/get*,/manager/system/setting/put*');
INSERT INTO `li_menu` VALUES (1349247081504333824, 'admin', '2021-01-13 14:49:07', b'0', 'admin', '2021-07-27 16:08:45', 'null', 'sys/setting-manage/settingManage', 'ios-american-football', 2, 'pay', '1349237129847005184', 'pay', 7.00, '支付设置', 'null', '/manager/system/setting/get*,/manager/system/setting/put*,/manager/system/setting*');
INSERT INTO `li_menu` VALUES (1349247640584085504, 'admin', '2021-01-13 14:51:20', b'0', 'admin', '2021-07-27 16:08:56', 'null', 'sensitiveWords/index', 'ios-american-football', 2, 'sensitiveWords', '1349237129847005184', 'sensitiveWords', 8.00, '敏感词', 'null', '/manager/sensitiveWords*');
INSERT INTO `li_menu` VALUES (1349254815809298432, 'admin', '2021-01-13 15:19:51', b'0', 'admin', '2021-01-15 11:15:40', 'null', 'sys/user-manage/userManage', 'ios-american-football', 2, 'user-manage', '1349237207378714624', 'user-manage', 1.00, '用户管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349255214977015808, 'admin', '2021-01-13 15:21:26', b'0', 'admin', '2021-01-15 11:16:21', 'null', 'sys/department-manage/departmentManage', 'ios-american-football', 2, 'department-manage', '1349237207378714624', 'department-manage', 3.00, '部门管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349255404425338880, 'admin', '2021-01-13 15:22:11', b'0', 'admin', '2021-02-24 09:22:21', 'null', 'sys/role-manage/roleManage', 'ios-american-football', 2, 'role-manage', '1349237207378714624', 'role-manage', 4.00, '角色权限', 'null', NULL);
INSERT INTO `li_menu` VALUES (1349256082979840000, 'admin', '2021-01-13 15:24:53', b'0', 'admin', '2021-01-15 11:18:14', 'null', 'sys/log-manage/logManage', 'ios-american-football', 2, 'log-manage', '1349237928434098176', 'log-manage', 2.00, '日志管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1357584224760102912, 'admin', '2021-02-05 06:57:57', b'0', 'admin', '2021-07-27 16:09:02', 'null', 'sys/app-version/appVersion', 'ios-american-football', 2, 'appVersion', '1349237129847005184', 'appVersion', 9.00, 'APP版本', 'null', '/manager/systems/app*');
INSERT INTO `li_menu` VALUES (1357873097859923969, 'admin', '2021-02-24 09:53:02', b'0', 'admin', '2021-02-24 09:53:12', NULL, 'sys/menu-manage/menuManage', 'ios-american-football', 2, 'menuManage', '1349237207378714624', 'menu-manage', 2.00, '菜单管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367038467288072192, 'admin', '2021-03-03 09:05:44', b'0', 'admin', '2021-03-03 09:09:27', 'null', 'null', 'ios-person-add', 0, 'member', '0', 'null', 0.00, '会员', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367039534616805376, 'admin', '2021-03-03 09:09:58', b'0', 'admin', '2021-05-18 10:51:12', 'null', 'null', 'md-reorder', 0, 'order', '0', 'null', 0.00, '订单', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367039950368800768, 'admin', '2021-03-03 09:11:37', b'0', NULL, NULL, NULL, NULL, 'ios-share', 0, 'goods', '0', NULL, 0.20, '商品', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367040067201138688, 'admin', '2021-03-03 09:12:05', b'0', NULL, NULL, NULL, NULL, 'ios-hammer', 0, 'promotion', '0', NULL, 0.30, '促销', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367040599596728320, 'admin', '2021-03-03 09:14:12', b'0', 'admin', '2021-03-03 09:52:13', 'null', 'null', 'ios-color-palette', 0, 'operate', '0', 'null', 0.50, '运营', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367040819248234496, 'admin', '2021-03-03 09:15:04', b'0', NULL, NULL, NULL, NULL, 'ios-stats', 0, 'statistics', '0', NULL, 0.70, '统计', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367041332861730816, 'admin', '2021-03-03 09:17:07', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 0.00, '会员管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367041461194850304, 'admin', '2021-03-03 09:17:37', b'0', 'admin', '2021-07-27 16:02:17', NULL, 'member/list/index', 'ios-aperture', 2, 'memberList', '1367041332861730816', 'memberList', 0.00, '会员列表', NULL, '/manager/member*,/manager/orders*,/manager/wallet/log*,/manager/receipt*');
INSERT INTO `li_menu` VALUES (1367041575619657728, 'admin', '2021-03-03 09:18:05', b'0', 'admin', '2021-07-27 15:59:50', NULL, 'member/list/memberRecycle', 'ios-aperture', 2, 'memberRecycle', '1367041332861730816', 'memberRecycle', 1.00, '回收站', NULL, '/manager/member*');
INSERT INTO `li_menu` VALUES (1367042490443497472, 'admin', '2021-03-03 09:21:43', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 1.00, '预存款', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367042664410644480, 'admin', '2021-03-03 09:22:24', b'0', 'admin', '2021-07-27 16:02:44', 'null', 'member/advance/walletLog', 'ios-aperture', 2, 'walletLog', '1367042490443497472', 'walletLog', 0.00, '会员资金', 'null', '/manager/wallet/log*');
INSERT INTO `li_menu` VALUES (1367042804944994304, 'admin', '2021-03-03 09:22:58', b'0', 'admin', '2021-07-27 16:02:48', NULL, 'member/advance/recharge', 'ios-alert', 2, 'recharge', '1367042490443497472', 'recharge', 1.00, '充值记录', NULL, '/manager/recharge*');
INSERT INTO `li_menu` VALUES (1367042804944994305, 'admin', '2021-03-03 09:22:58', b'0', 'admin', '2021-07-27 16:02:52', NULL, 'member/advance/withdrawApply', 'ios-alert', 2, 'withdrawApply', '1367042490443497472', 'withdrawApply', 1.00, '提现申请', NULL, '/manager/members/withdraw-apply*');
INSERT INTO `li_menu` VALUES (1367042917113266176, 'admin', '2021-03-03 09:23:25', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'commont', '1367038467288072192', '/', 0.00, '评价', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043020976816128, 'admin', '2021-03-03 09:23:49', b'0', 'admin', '2021-07-27 16:02:35', NULL, 'goods/goods-review/index', 'md-aperture', 2, 'goodsReview', '1367042917113266176', 'goodsReview', 0.00, '会员评价', NULL, '/manager/memberEvaluation*');
INSERT INTO `li_menu` VALUES (1367043443917848576, 'admin', '2021-03-03 09:25:30', b'0', 'admin', '2021-07-27 16:03:00', NULL, 'Main', 'md-aperture', 1, 'order', '1367039534616805376', '/', 0.00, '订单', NULL, '/manager/orders*');
INSERT INTO `li_menu` VALUES (1367043505771249664, 'admin', '2021-03-03 09:25:45', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'aftersale', '1367039534616805376', '/', 0.00, '售后', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043642379730944, 'admin', '2021-03-03 09:26:17', b'0', NULL, NULL, NULL, 'order/order/orderList', 'ios-aperture', 2, 'orderList', '1367043443917848576', 'orderList', 0.00, '商品订单', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043791105556480, 'admin', '2021-03-03 09:26:53', b'0', NULL, NULL, NULL, 'order/order/fictitiousOrderList', 'ios-aperture', 2, 'fictitiousOrderList', '1367043443917848576', 'fictitiousOrderList', 1.00, '虚拟订单', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367043980407078912, 'admin', '2021-03-03 09:27:38', b'0', 'admin', '2021-07-27 16:03:43', NULL, 'order/after-order/afterSaleOrder', 'md-alert', 2, 'afterSaleOrder', '1367043505771249664', 'afterSaleOrder', 0.00, '售后管理', NULL, '/manager/afterSale*');
INSERT INTO `li_menu` VALUES (1367044121163726848, 'admin', '2021-03-03 09:28:12', b'0', 'admin', '2021-07-27 16:03:48', NULL, 'order/after-order/orderComplaint', 'md-alert', 2, 'orderComplaint', '1367043505771249664', 'orderComplaint', 2.00, '交易投诉', NULL, '/manager/complain*');
INSERT INTO `li_menu` VALUES (1367044247978508288, 'admin', '2021-03-03 09:28:42', b'0', 'admin', '2021-07-27 16:03:52', NULL, 'order/after-order/afterSale', 'md-aperture', 2, 'afterSaleReason', '1367043505771249664', 'afterSaleReason', 3.00, '售后原因', NULL, '/manager/afterSaleReason*');
INSERT INTO `li_menu` VALUES (1367044376391319552, 'admin', '2021-03-03 09:29:12', b'0', 'admin', '2021-07-27 16:04:08', NULL, 'Main', 'md-aperture', 1, 'goodsManager', '1367039950368800768', '/', 0.00, '商品管理', NULL, '/manager/goods*');
INSERT INTO `li_menu` VALUES (1367044657296441344, 'admin', '2021-03-03 09:30:19', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'association', '1367039950368800768', '/', 1.00, '关联管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367045529720061952, 'admin', '2021-03-03 09:33:47', b'0', 'admin', '2021-07-27 15:38:46', NULL, 'goods/goods-info/goods', 'md-aperture', 2, 'managerGoods', '1367044376391319552', 'managerGoods', 0.00, '平台商品', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367045630710513664, 'admin', '2021-03-03 09:34:11', b'0', 'admin', '2021-07-27 15:38:56', NULL, 'goods/goods-info/goodsApply', 'ios-alert', 2, 'applyGoods', '1367044376391319552', 'applyGoods', 1.00, '商品审核', NULL, 'null');
INSERT INTO `li_menu` VALUES (1367045794284175360, 'admin', '2021-03-03 09:34:50', b'0', 'admin', '2021-07-27 16:04:18', NULL, 'goods/goods-manage/category', 'md-alert', 2, 'goodsCategory', '1367044657296441344', 'goodsCategory', 0.00, '商品分类', NULL, '/manager/goods/category*,/manager/goods/brand*,/manager/goods/spec*,/manager/goods/parameters*');
INSERT INTO `li_menu` VALUES (1367045921434501120, 'admin', '2021-03-03 09:35:21', b'0', 'admin', '2021-07-27 16:04:23', NULL, 'goods/goods-manage/brand', 'md-alert', 2, 'goodsBrand', '1367044657296441344', 'goodsBrand', 1.00, '品牌列表', NULL, '/manager/goods/brand*');
INSERT INTO `li_menu` VALUES (1367046068369358848, 'admin', '2021-03-03 09:35:56', b'0', 'admin', '2021-07-27 16:04:27', NULL, 'goods/goods-manage/spec', 'md-aperture', 2, 'goodsSpec', '1367044657296441344', 'goodsSpec', 2.00, '规格列表', NULL, '/manager/goods/spec*');
INSERT INTO `li_menu` VALUES (1367046266214678528, 'admin', '2021-03-03 09:36:43', b'0', 'admin', '2021-07-27 16:04:32', NULL, 'goods-unit/index', 'md-alert', 2, 'goodsUnit', '1367044657296441344', 'goodsUnit', 4.00, '计量单位', NULL, '/manager/goods/goodsUnit*');
INSERT INTO `li_menu` VALUES (1367048084701315072, 'admin', '2021-03-03 09:43:57', b'0', 'admin', '2021-03-03 09:52:17', 'null', 'null', 'ios-pricetags', 0, 'shop', '0', 'null', 0.40, '店铺', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367048684339986432, 'admin', '2021-03-03 09:46:20', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'shopManager', '1367048084701315072', '/', 0.00, '店铺管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367048754229673984, 'admin', '2021-03-03 09:46:36', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'bill', '1367048084701315072', '/', 0.00, ' 店铺结算', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367048832210173952, 'admin', '2021-03-03 09:46:55', b'0', 'admin', '2021-07-27 16:05:30', NULL, 'seller/shop/shopList', 'md-aperture', 2, 'shopList', '1367048684339986432', 'shopList', 0.00, '店铺列表', NULL, '/manager/store*');
INSERT INTO `li_menu` VALUES (1367048967635861504, 'admin', '2021-03-03 09:47:27', b'0', 'admin', '2021-07-27 16:05:32', NULL, 'seller/shop/shopAuditList', 'md-alert', 2, 'shopAuth', '1367048684339986432', 'shopAuth', 1.00, '店铺审核', NULL, '/manager/store*');
INSERT INTO `li_menu` VALUES (1367049068122996736, 'admin', '2021-03-03 09:47:51', b'0', 'admin', '2021-07-27 16:05:36', NULL, 'seller/bill/bill', 'md-alert', 2, 'billList', '1367048754229673984', 'billList', 0.00, '店铺结算', NULL, '/manager/store/bill*');
INSERT INTO `li_menu` VALUES (1367049214198022144, 'admin', '2021-03-03 09:48:26', b'0', NULL, NULL, NULL, 'Main', 'md-aperture', 1, 'promotionManager', '1367040067201138688', '/', 0.00, '促销管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1367049384792948736, 'admin', '2021-03-03 09:49:07', b'0', 'admin', '2021-07-27 16:04:42', NULL, 'promotion/coupon/coupon', 'md-alert', 2, 'coupon', '1367049214198022144', 'coupon', 0.00, '优惠券', NULL, '/manager/promotion/coupon*');
INSERT INTO `li_menu` VALUES (1367049500782231552, 'admin', '2021-03-03 09:49:34', b'0', 'admin', '2021-07-27 16:04:53', 'null', 'promotion/fullCut/full-cut', 'md-alert', 2, 'fullCut', '1367049214198022144', 'fullCut', 1.00, '满额活动', 'null', '/manager/promotion/fullDiscount*');
INSERT INTO `li_menu` VALUES (1367049611578966016, 'admin', '2021-03-03 09:50:01', b'0', 'admin', '2021-07-27 16:04:58', 'null', 'promotion/seckill/seckill', 'md-alert', 2, 'seckill', '1367049214198022144', 'seckill', 2.00, '秒杀活动', 'null', '/manager/promotion/seckill*');
INSERT INTO `li_menu` VALUES (1367049712657498112, 'admin', '2021-03-03 09:50:25', b'0', 'admin', '2021-07-27 16:05:02', 'null', 'promotion/pintuan/pintuan', 'md-alert', 2, 'pintuan', '1367049214198022144', 'pintuan', 3.00, '拼团活动', 'null', '/manager/promotion/pintuan*');
INSERT INTO `li_menu` VALUES (1367050250249830400, 'admin', '2021-03-03 09:52:33', b'0', 'admin', '2021-03-22 20:38:14', 'null', 'Main', 'md-aperture', 1, 'document', '1367040599596728320', '/', 2.00, '文章管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367050320584114176, 'admin', '2021-03-03 09:52:50', b'0', 'admin', '2021-07-27 16:05:49', NULL, 'Main', 'md-aperture', 1, 'floor', '1367040599596728320', '/', 0.00, '楼层装修', NULL, '/manager/pageData*,/manager/file*,/manager/article-category*,/manager/article*,/manager/promotion*,/manager/goods*,/manager/store*');
INSERT INTO `li_menu` VALUES (1367050530030878720, 'admin', '2021-03-03 09:53:40', b'0', 'admin', '2021-03-04 01:05:57', 'null', 'lili-floor-renovation/floorList', 'md-alert', 2, 'pcFloor', '1367050320584114176', 'pcFloor', 0.00, 'PC端', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367050673312497664, 'admin', '2021-03-03 09:54:14', b'0', 'admin', '2021-03-04 01:06:04', 'null', 'lili-floor-renovation/wap/wapList', 'md-aperture', 2, 'wapList', '1367050320584114176', 'wapList', 1.00, '移动端', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367050829697122304, 'admin', '2021-03-03 09:54:51', b'0', 'admin', '2021-07-27 16:06:32', 'null', 'page/article-manage/hotWords', 'md-aperture', 2, 'hotKeyWord', '1367050250249830400', 'hotKeyWord', 0.00, '搜索热词', 'null', '/manager/hotwords*');
INSERT INTO `li_menu` VALUES (1367050939084570624, 'admin', '2021-03-03 09:55:17', b'0', 'admin', '2021-07-27 16:06:38', NULL, 'page/article-manage/ArticleCategory', 'md-aperture', 2, 'article-category', '1367050250249830400', 'article-category', 1.00, '文章分类', NULL, '/manager/article-category*');
INSERT INTO `li_menu` VALUES (1367051048232943616, 'admin', '2021-03-03 09:55:43', b'0', 'admin', '2021-07-27 16:06:42', NULL, 'page/article-manage/articleList', 'md-alert', 2, 'articleList', '1367050250249830400', 'articleList', 3.00, '文章管理', NULL, '/manager/article-category*,/manager/article*');
INSERT INTO `li_menu` VALUES (1367052616634204160, 'admin', '2021-03-03 10:01:57', b'0', 'admin', '2021-07-27 16:07:38', NULL, 'Main', 'md-aperture', 1, 'statistics', '1367040819248234496', '/', 0.00, '统计', NULL, '/manager/store*,/manager/member*');
INSERT INTO `li_menu` VALUES (1367052705725415424, 'admin', '2021-03-03 10:02:18', b'0', 'admin', '2021-03-11 22:11:05', 'null', 'statistics/member', 'md-alert', 2, 'memberStatistics', '1367052616634204160', 'memberStatistics', 0.00, '会员统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367052805503713280, 'admin', '2021-03-03 10:02:42', b'0', 'admin', '2021-03-11 22:11:14', 'null', 'statistics/order', 'md-alert', 2, 'orderStatistics', '1367052616634204160', 'orderStatistics', 1.00, '订单统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367052915314786304, 'admin', '2021-03-03 10:03:08', b'0', 'admin', '2021-03-11 22:11:23', 'null', 'statistics/goods', 'md-alert', 2, 'goodsStatistics', '1367052616634204160', 'goodsStatistics', 2.00, '商品统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1367053087121866752, 'admin', '2021-03-03 10:03:49', b'0', 'admin', '2021-03-11 22:11:34', 'null', 'statistics/traffic', 'md-alert', 2, 'trafficStatistics', '1367052616634204160', 'trafficStatistics', 4.00, '流量统计', 'null', NULL);
INSERT INTO `li_menu` VALUES (1372807928452481024, 'admin', '2021-03-19 02:11:30', b'0', NULL, NULL, NULL, 'Main', 'ios-aperture', 1, 'flow', '1367039534616805376', '/', 3.00, '流水', NULL, NULL);
INSERT INTO `li_menu` VALUES (1372808148565360640, 'admin', '2021-03-19 02:12:23', b'0', 'admin', '2021-07-27 16:03:57', NULL, 'order/flow/paymentLog', 'md-alert', 2, 'paymentLog', '1372807928452481024', 'paymentLog', 1.00, '收款记录', NULL, '/manager/paymentLog*');
INSERT INTO `li_menu` VALUES (1372808352295288832, 'admin', '2021-03-19 02:13:11', b'0', 'admin', '2021-07-27 16:04:01', NULL, 'order/flow/refundLog', 'ios-aperture', 2, 'refundLog', '1372807928452481024', 'refundLog', 2.00, '退款流水', NULL, '/manager/refundLog*');
INSERT INTO `li_menu` VALUES (1373166892465782784, 'admin', '2021-03-20 01:57:54', b'0', 'admin', '2021-03-22 20:13:48', 'null', 'Main', 'ios-aperture', 1, '/', '1367038467288072192', '/', 0.00, '积分', 'null', NULL);
INSERT INTO `li_menu` VALUES (1373167227385151488, 'admin', '2021-03-20 01:59:14', b'0', 'admin', '2021-07-27 16:02:40', 'null', 'member/point/point', 'ios-aperture', 2, 'point', '1373166892465782784', 'point', 0.00, '积分历史', 'null', '/manager/member/memberPointsHistory*');
INSERT INTO `li_menu` VALUES (1373791578371391488, 'admin', '2021-03-21 19:20:11', b'0', 'admin', '2021-07-27 16:05:38', NULL, 'seller/bill/accountStatementBill', 'md-alert', 2, 'accountStatementBill', '1367048754229673984', 'accountStatementBill', 0.00, '商家对账', NULL, '/manager/store/bill*');
INSERT INTO `li_menu` VALUES (1374154349697040384, 'admin', '2021-03-22 19:21:42', b'0', 'admin', '2021-07-27 16:06:55', 'null', 'Main', 'md-aperture', 1, 'feedback', '1367040599596728320', '/', 3.00, '意见反馈', 'null', '/manager/feedback*');
INSERT INTO `li_menu` VALUES (1374155741123837952, 'admin', '2021-03-22 19:27:14', b'0', 'admin', '2021-07-27 15:41:40', 'null', 'page/feedback/feedback', 'md-aperture', 2, 'feedback', '1374154349697040384', 'feedback', 0.00, '意见反馈', 'null', 'null');
INSERT INTO `li_menu` VALUES (1374173575405109248, 'admin', '2021-03-22 20:38:06', b'0', 'admin', '2021-03-22 20:52:58', 'null', 'Main', 'ios-analytics', 1, 'distributionManager', '1367040599596728320', '/', 1.00, '分销管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1374177618072436736, 'admin', '2021-03-22 20:54:10', b'0', 'admin', '2021-07-27 16:05:58', 'null', 'distribution/distributionSetting', 'ios-basketball', 2, 'distributionSetting', '1374173575405109248', 'distributionSetting', 0.00, '分销设置', 'null', '/manager/system/setting/put/DISTRIBUTION_SETTING*,/manager/system/setting/get/DISTRIBUTION_SETTING*');
INSERT INTO `li_menu` VALUES (1374177789581721600, 'admin', '2021-03-22 20:54:51', b'0', 'admin', '2021-07-27 16:06:15', 'null', 'distribution/distributionGoods', 'ios-chatbubbles', 2, 'distributionGoods', '1374173575405109248', 'distributionGoods', 3.00, '分销商品', 'null', '/manager/distribution/goods*');
INSERT INTO `li_menu` VALUES (1374177910411231232, 'admin', '2021-03-22 20:55:19', b'0', 'admin', '2021-07-27 16:06:20', 'null', 'distribution/distributionOrder', 'ios-cloudy', 2, 'distributionOrder', '1374173575405109248', 'distributionOrder', 4.00, '分销订单', 'null', '/manager/distribution/order*,/manager/store*');
INSERT INTO `li_menu` VALUES (1374178079181635584, 'admin', '2021-03-22 20:56:00', b'0', 'admin', '2021-07-27 16:06:05', 'null', 'distribution/distributionApply', 'md-egg', 2, 'distributionApply', '1374173575405109248', 'distributionApply', 1.00, '分销申请', 'null', '/manager/distribution*');
INSERT INTO `li_menu` VALUES (1374178303975358464, 'admin', '2021-03-22 20:56:53', b'0', 'admin', '2021-07-27 16:06:08', 'null', 'distribution/distribution', 'md-person', 2, 'distribution', '1374173575405109248', 'distribution', 2.00, '分销员', 'null', '/manager/distribution*');
INSERT INTO `li_menu` VALUES (1374916594269945856, 'admin', '2021-03-24 21:50:35', b'0', 'admin', '2021-07-27 16:08:51', NULL, 'sys/slider/slider', 'ios-aperture', 2, 'slider', '1349237129847005184', 'slider', 7.00, '验证码', NULL, '/manager/verificationSource*');
INSERT INTO `li_menu` VALUES (1376450531517530112, 'admin', '2021-03-29 03:25:55', b'0', NULL, NULL, NULL, 'Main', 'md-basketball', 1, 'notice', '1367040599596728320', '/', 5.00, '站内信', NULL, NULL);
INSERT INTO `li_menu` VALUES (1376450662098796544, 'admin', '2021-03-29 03:26:26', b'0', 'admin', '2021-07-27 16:07:23', NULL, 'sys/message/noticeMessageTemplate', 'ios-american-football', 2, 'noticeMessageTemplate', '1376450531517530112', 'noticeMessageTemplate', 1.00, '站内信', NULL, '/manager/noticeMessage*,/manager/message*,/manager/store*,/manager/member*');
INSERT INTO `li_menu` VALUES (1376450766817984512, 'admin', '2021-03-29 03:26:51', b'0', 'admin', '2021-03-29 03:27:25', 'null', 'Main', 'md-checkmark', 1, 'sms', '1367040599596728320', '/', 6.00, '短信管理', 'null', NULL);
INSERT INTO `li_menu` VALUES (1376450876423536640, 'admin', '2021-03-29 03:27:17', b'0', 'admin', '2021-07-27 16:07:29', NULL, 'sys/message/sms', 'ios-timer', 2, 'sms', '1376450766817984512', 'sms', 1.00, '短信', NULL, '/manager/sms*,/manager/member*');
INSERT INTO `li_menu` VALUES (1384035281702748160, 'admin', '2021-04-19 14:45:00', b'0', 'admin', '2021-07-27 16:08:18', 'null', 'member/message-manage/weChatMessageManager', 'md-aperture', 2, 'message-manage', '1349237129847005184', 'message-manage', 5.00, '微信消息', 'null', '/manager/message/wechat*,/manager/message/wechatMPMessage*');
INSERT INTO `li_menu` VALUES (1403988156444962818, 'admin', '2021-06-13 16:10:36', b'0', 'admin', '2021-07-27 16:04:48', 'null', 'promotion/couponActivity/coupon', '', 2, 'coupon-activity', '1367049214198022144', 'coupon-activity', 0.00, '券活动', 'null', '/manager/promotion/couponActivity*');
INSERT INTO `li_menu` VALUES (1407601962899230721, 'admin', '2021-06-23 15:30:35', b'0', 'admin', '2021-07-27 16:05:08', NULL, 'Main', '', 1, 'liveManage', '1367040067201138688', '/', 2.00, '直播管理', NULL, '/manager/broadcast*');
INSERT INTO `li_menu` VALUES (1407602049759072258, 'admin', '2021-06-23 15:30:55', b'0', NULL, NULL, NULL, 'promotion/live/live', '', 2, 'live', '1407601962899230721', 'live', 1.00, '直播管理', NULL, NULL);
INSERT INTO `li_menu` VALUES (1407602441964244994, 'admin', '2021-06-23 15:32:29', b'0', NULL, NULL, NULL, 'Main', '', 1, 'pointManage', '1367040067201138688', '/', 3.00, '积分活动', NULL, NULL);
INSERT INTO `li_menu` VALUES (1407602516912263170, 'admin', '2021-06-23 15:32:47', b'0', 'admin', '2021-07-27 16:05:14', NULL, 'promotion/pointsGoods/pointsGoods', '', 2, 'pointsGoods', '1407602441964244994', 'pointsGoods', 1.00, '积分商品', NULL, '/manager/promotion/pointsGoods*,/manager/goods*');
INSERT INTO `li_menu` VALUES (1407602673334636546, 'admin', '2021-06-23 15:33:24', b'0', 'admin', '2021-07-27 16:05:18', NULL, 'promotion/pointsGoodsCategory/pointsGoodsCategory', '', 2, 'pointsGoodsCategory', '1407602441964244994', 'pointsGoodsCategory', 2.00, '积分分类', NULL, '/manager/promotion/pointsGoodsCategory*');
INSERT INTO `li_menu` VALUES (1410862675914764290, 'admin', '2021-07-02 15:27:29', b'0', 'admin', '2021-07-27 16:06:26', 'null', 'distribution/distributionCash', '', 2, 'distributionCash', '1374173575405109248', 'distributionCash', 5.00, '分销提现', 'null', '/manager/distribution/cash*');
INSERT INTO `li_menu` VALUES (1419926569920536578, 'admin', '2021-07-27 15:44:10', b'0', 'admin', '2021-07-27 16:07:10', NULL, 'customWords/index', NULL, 2, 'customWords', '1367050250249830400', 'customWords', 4.00, 'ES分词', NULL, '/manager/manager/custom-words*');
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
/** 新增会员获的总积分 **/
ALTER TABLE li_member ADD total_point bigint ( 20 ) DEFAULT 0 COMMENT '积分总数量';

143
LICENSE
View File

@@ -1,5 +1,5 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
@@ -7,17 +7,15 @@
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
@@ -72,7 +60,7 @@ modification follow.
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Affero General Public License for more details.
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

269
README.md
View File

@@ -1,96 +1,71 @@
## Lilishop B2B2C商城系统
##### 官方公众号 & 开源不易如有帮助请点Star
![image-20210511171611793](https://pickmall.cn/assets/imgs/h5-qrcode.png)
#### 欢迎交流需求,交流业务,交流技术(基础问题自行解决,其他问题先看文档后提问)
#### 不用削尖脑袋往老群里加,老群活跃度较低,很多潜水党,新群相对而言活跃一些 :tw-1f606: :tw-1f606: :tw-1f606: :tw-1f606: :tw-1f606: :tw-1f606:
#### PS **演示站点所有环境均部署master分支。如果有演示站点问题可以反馈如果演示站点没问题本地运行有问题需自行处理**
##### 交流 qq 1群 961316482已满
##### 交流 qq 2群 875294241已满
##### 交流 qq 3群 263785057已满
##### 交流 qq 4群 674617534 (已满)
##### 交流 qq 5群 594675235
##### 体验 公众号/小程序/APP 体验,扫描二维码
![image-20210511171611793](https://static.pickmall.cn/images/h5-qrcode.png)
[![star](https://gitee.com/beijing_hongye_huicheng/lilishop/badge/star.svg?theme=dark)](https://gitee.com/beijing_hongye_huicheng/lilishop/stargazers)
&nbsp;&nbsp;![github](https://img.shields.io/github/stars/hongyehuicheng/lilishop.svg?style=social&logo=#181717)
### 介绍
### 商城介绍
**官网**https://pickmall.cn
Lilishop 是一款Java开发基于SpringBoot研发的B2B2C多用户商城,前端使用 Vue、uniapp开发 **系统全端全部代码开源**
Lilishop商城系统支持商家入驻,后端基于SpringBoot 研发,前端使用 Vue、uniapp开发 **系统全端全部代码开源**
产品前后端分离支持分布式部署。
前后端分离支持分布式部署支持Docker各个API独立并且有独立的消费者
商城展示端包含 PC、H5、微信小程序、APP。
### 商城 API/消费者 聚合版
api不需要单独部署只需启动一个jar包就可以正常运转 如有需要,可以点击跳转
https://gitee.com/beijing_hongye_huicheng/lilishop-simplify
商城包含 会员模块、**第三方登录模块**、**第三方支付模块**、**楼层装修模块**、订单模块、分销模块、文章模块、系统设置模块、流量分析模块
### 开发/使用/常见问题 帮助文档
系统包含各种中间件、搜索引擎、多级缓存、分布式事务、分布式任务调度等支持Docker支持k8s。是一款高性能支持高并发等商城系统。
https://docs.pickmall.cn
开箱即用,简单配置即可部署一套属于您的系统。
### 项目地址
### 文档
gitee : https://gitee.com/beijing_hongye_huicheng
**产品文档**需求、架构、使用、部署、开发https://docs.pickmall.cn
github 镜像: https://github.com/lilishop?tab=repositories
商城UI 项目下3个文件夹
buyer买家PC端seller商家端manager后台管理端
### 项目链接(gitee)
**Java后台**https://gitee.com/beijing_hongye_huicheng/lilishop.git
**Vue后台前端** https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
**Uni-app**https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
**docker一键部署**https://gitee.com/beijing_hongye_huicheng/docker.git
### 项目链接(github)
**Java后台**https://github.com/hongyehuicheng/lilishop.git
**Vue后台前端** https://github.com/hongyehuicheng/lilishop-ui.git
**Uni-app**https://github.com/hongyehuicheng/lilishop-uniapp.git
**docker一键部署**https://github.com/hongyehuicheng/docker.git
### 演示地址
PS手机验证码为 111111
**运营后台**https://admin-b2b2c.pickmall.cn 账号admin/123456
**平台管理端**https://admin-b2b2c.pickmall.cn 账号admin/123456
**店铺后台**https://store-b2b2c.pickmall.cn 账号13011111111/111111
**店铺管理端**https://store-b2b2c.pickmall.cn 账号13011111111/111111
**用户前台**https://pc-b2b2c.pickmall.cn
**商城PC页面**https://pc-b2b2c.pickmall.cn
**移动端**https://m-b2b2c.pickmall.cn
**商城 小程序/公众号/APP**:扫描二维码
![image-20210511171611793](https://pickmall.cn/assets/imgs/h5-qrcode.png)
![image-20210511171611793](https://static.pickmall.cn/images/h5-qrcode.png)
### 3行命令搭建本地环境
### 快速本地部署
温馨提示由于服务较多如果笔记本环境启动内存没有32g可能无法启动成功macbookpro 2020 16g内存启动无法成功台式机在16g内存、AMD 3700x 的ubuntu系统成功运行。
##### 下载docker脚本
`git clone https://gitee.com/beijing_hongye_huicheng/docker.git `
##### 部署基础环境
`docker-compose up -d`
##### 部署应用
`docker-compose -f docker-compose-application.yml up -d`
PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql
##### 各个地址
| API | 地址 |
| -------------- | --------------- |
| 买家API | http://127.0.0.1:8888 |
| 商家API | http://127.0.0.1:8889 |
| 管理端API | http://127.0.0.1:8887 |
| 通用API | http://127.0.0.1:8890 |
| 前端演示 | 地址 |
| -------------- | --------------- |
| PC | http://127.0.0.1:10000 |
| WAP | http://127.0.0.1:10001 |
| 商家 | http://127.0.0.1:10002 |
| 管理端 | http://127.0.0.1:10003 |
[点击跳转](https://docs.pickmall.cn/deploy/%E8%BF%90%E8%A1%8C%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87.html)
**商城数据库**
使用docker-compose部署数据库自动初始化数据库不需要手动下载等操作
如果手动部署才需要获取sql [点击跳转](https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql) PS这里有与tag版本一致的sql如果是历史版本则docker项目也切换至历史版本获取sql即可历史版本升级则根据java相聚的根目录DB目录下的升级sql按需执行
@@ -98,44 +73,57 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
#### 平台功能
#### 平台管理端功能
![平台功能](https://pickmall.cn/assets/imgs/other/managerList.jpg)
| 模块 <img width=80/> | 功能 |
|--------------------|-----------------------------------------------------------------|
| 首页 | 平台基础信息统计、待办事项 |
| 会员 | 会员列表、评价列表、积分历史、会员资金、会员充值 |
| 订单 | 商品订单、虚拟订单、订单售后、订单投诉、售后原因维护、收款流水、退款流水 |
| 商品 | 商品列表、商品审核、商品分类、商品品牌、商品规格、商品计量单位 |
| 促销 | 优惠券、券活动(每日&每月&每周&邀新 赠券)、秒杀活动、砍价活动、拼团活动、积分商品 |
| 店铺 | 店铺管理、店铺审核、店铺结算、店铺对账 |
| 运营 | 楼层装修、分销商管理、文章管理、意见反馈、站内信、短信、搜索热词管理 |
| 统计 | 会员统计、订单统计、流量统计、商品销量统计 |
| 设置 | 菜单管理、角色管理、部门管理、管理员管理、系统设置、行政地区管理、OSS管理、联合登陆、支付、物流公司、敏感词、验证码资源 |
#### 商家端功能
![商家端功能](https://pickmall.cn/assets/imgs/other/storeList.jpg)
#### 卖家功能
| 模块 <img width=80/> | 功能 |
|----|-------------------------------|
| 首页 | 店铺基础信息统计、待办事项、店铺公告 |
| 商品 | 商品发布、商品列表、商品模板、店铺分类 |
| 订单 | 商品订单、虚拟订单、订单评价、订单投诉、退款申请、退货申请 |
| 财务 | 店铺对账、店铺结算、发票管理 |
| 促销 | 优惠券、满额优惠、秒杀、拼团 、分销商品、分校订单 |
| 统计 |单统计、流量统计、商品销量统计 |
| 设置 | 配送公司、物流模板、店铺设置、店铺自提设置、PC装修、移动端装修、店员管理、部门管理、角色管理 |
| 消息 | 站内信 |
### 商城前端功能展示
### 功能展示
#### 商城移动端
<img src="https://static.pickmall.cn/images/other/app.gif" alt="移动端功能展示" style="zoom:50%;" />
#### 平台管理端
#### 移动端
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="管理端功能展示" style="zoom:50%;" />
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="移动端功能展示" style="zoom:50%;" />
#### 管理端
![管理端功能展示](https://pickmall.cn/assets/imgs/other/manager.gif)
![管理端功能展示](https://static.pickmall.cn/images/other/manager.gif)
### 技术选型
#### 架构图
![架构](https://lili-system.oss-cn-beijing.aliyuncs.com/docs/%E6%9E%B6%E6%9E%84.png)
![技术选型](https://lili-system.oss-cn-beijing.aliyuncs.com/docs/%E6%9E%B6%E6%9E%84.png)
##### Java后台
##### 后台技术选型
| 说明 | 框架 | 说明 | |
| -------------- | --------------- | -------------- | ------------- |
@@ -166,102 +154,21 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
| 基础UI库 | uViewui | 基础框架 | uni-app |
| CSS预处理 | scss | 地图引擎 | amap |
### 升级计划
#### 计划每个月发布一个版本,具体时间可能有出入
时间2021年6月15日
```
新增功能:
1.微信小程序直播
2.优惠券活动
3.新人赠券
4.准确发券
5.用户等级
6.数据导出
7.订单批量
8.APP版本升级检测
9.积分商城
功能优化:
1.优惠券有效期增加类型:设置领取后*内有效。
2.秒杀活动设置为每天开启,需设置秒杀活动开启时间。
3.店铺配送模板,配送地区如果选择省份则下方的市级地址不展示。
4.店铺配送模板支持,店铺包邮。
5.普通商品设置去除卖家承担运费。
```
时间2021年7月15日
```
新增功能:
1.会员权益
2.支持用户升级会员
3.供求单
4.IM腾讯云智服
5.服务商品
6.店铺支持订单核销
7.店铺自提点
功能优化:
1.用户分享商城、关注店铺、邀请新用户可获取积分、经验值。
```
时间2021年8月16日
```
新增功能:
1.微淘功能
2.店铺移动端
3.店铺发货单
```
时间2021年9月15日
```
新增功能:
增加供应商功能
```
### 版本升级
```
后续会持续版本升级修复bug完善功能覆盖更多业务场景 o2o/b2b/s2b2b2c/跨境电商
后续会考虑推出微服务/中台等 企业级版本
系统后续会提供多场景解决方案。
更多架构微服务、Saas、中台等都会支持。 支持差价升级商业授权
```
### 技术亮点
### 商业授权
商业版本与开源版本代码一致,没有区分
商业使用需要授权授权方式可选择联系官网客服或者qq群联系群主。
1.后端框架基于Springboot构建基于maven持久层使用MyBatisPlus。使用elasticsearch、redis、mongodb、rocketmq 等各种中间健。都是主流架构,轻松应对各种环境
商业授权模式为永久授权,支持永久升级
2.支持集群、分布式支持docker 轻松部署,解决各种复杂场景!
3.代码模块清晰主要分为三端api买家、卖家、管理各端API互相隔离自己鉴权自己操作业务。
4.使用阿里开源的RocketMQ基于mq解决各种并发场景解决事务一致性解决搞并发延迟场景问题。
5.项目使用多级缓存应用不同场景redis缓存业务数据、mongodb缓存关系型多对多关系问题、nginx缓存高频访问低频修改的页面。
6.支持各种联合登陆,支持各种客户端的支付问题,灵活配置灵活开启。
7.内置完善的楼层装修机制,各种拖拉拽,维护跳转页面或外网,即便是一个什么都不懂的运营也可以轻松掌握。
8.内置阿里短信接口可以在线申请短信模版。内置阿里oss系统可以对文件执行各种操作。oss商家端资源相互隔离。
10.强大的统计报表,统计效果,可以实现各个场景,包含在线人数,历史在线人数,活跃人数等信息。
11.标准Api接口、提供swagger文档快速二开。
12.分布式调度任务中心,解决分布式定时任务多次执行问题。
13.代码注释完善,快速上手。
14.非移动端采用IView框架各种自定义插件、选择器实现。移动端采用uniapp一次编写全端使用
15.已经对接好各种第三方插件,支持各种复杂等联合登陆,联合支付等场景。
商业案例由于涉及部分多层二开关系,如需了解可以咨询销售。
### 开源须知
@@ -269,9 +176,23 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
2.禁止将本开源的代码和资源进行任何形式任何名义的出售.
3.限制商用如果需要商业使用请联系我们。QQ3409056806.
3.软件受国家计算机软件著作权保护登记号2021SR0805085
4.限制商用如果需要商业使用请联系我们。QQ3409056806.或者加入qq群联系群主。
### 交流群
**QQ群**961316482
##### 交流 qq 1群 961316482(已满)
##### 交流 qq 2群 875294241已满
##### 交流 qq 3群 263785057已满
##### 交流 qq 4群 674617534已满
##### 交流 qq 5群 594675235
### 附录
有人有自己的学习视频、学习记录文档、希望宣传关联开源项目等均可以私聊仓库所有者。
类似:
清晨敲代码同学的分析: https://blog.csdn.net/vaevaevae233/category_12103567.html

View File

@@ -6,7 +6,8 @@
<parent>
<groupId>cn.lili</groupId>
<artifactId>lili-shop-parent</artifactId>
<version>1.0.1</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>admin</artifactId>
@@ -15,7 +16,7 @@
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>2.3.1</version>
<version>${spring-boot-admin}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -26,6 +27,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>${logstash-logback-encoder}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-mail</artifactId>-->

View File

@@ -12,6 +12,12 @@ import org.springframework.security.web.authentication.SavedRequestAwareAuthenti
import java.util.UUID;
/**
* Admin
*
* @author Chopper
* @since 2020/11/16 10:03 下午
*/
@Configuration
@EnableAutoConfiguration
@EnableAdminServer

View File

@@ -16,5 +16,6 @@ spring.mail.username=1814994716@qq.com
spring.mail.password=abcdefg123456!@#$%^
# 日志文件路径
logging.file.path=lili-logs/admin
lili.data.logstash.server=106.124.130.167:4560
# 文件格式
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<springProperty scope="context" name="LOG_FILE_PATH" source="logging.file.path"/>
<springProperty scope="context" name="LOGSTASH_SERVER" source="lili.data.logstash.server"/>
<contextName>${APP_NAME}</contextName>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${FILE_LOG_PATTERN}</pattern>
</encoder>
</appender>
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>
<timeZone>UTC</timeZone>
</timestamp>
</providers>
<!--自定义字段 区分项目-->
<customFields>{"appName":"${APP_NAME}"}</customFields>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="LOGSTASH"/>
</root>
</configuration>

View File

@@ -3,21 +3,19 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<enjoy.version>4.3</enjoy.version>
</properties>
<artifactId>buyer-api</artifactId>
<parent>
<groupId>cn.lili</groupId>
<artifactId>lili-shop-parent</artifactId>
<version>1.0.1</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>cn.lili</groupId>
<artifactId>framework</artifactId>
<version>1.0.1</version>
<version>${revision}</version>
</dependency>
<dependency>

View File

@@ -6,7 +6,6 @@ import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.core.task.TaskExecutor;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
@@ -14,10 +13,9 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
* 买家API
*
* @author Chopper
* @date 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@SpringBootApplication
@EnableJpaAuditing
@EnableCaching
@EnableAsync
public class BuyerApiApplication {
@@ -31,6 +29,7 @@ public class BuyerApiApplication {
public static void main(String[] args) {
System.setProperty("es.set.netty.runtime.available.processors", "false");
System.setProperty("rocketmq.client.logUseSlf4j","true");
SpringApplication.run(BuyerApiApplication.class, args);
}
}

View File

@@ -1,23 +0,0 @@
package cn.lili.controller;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import springfox.documentation.spring.web.SpringfoxWebMvcConfiguration;
/**
* SwaggerBootstrapUiDemoApplication
*
* @author Chopper
* @version v1.0
* 2020-12-09 20:09
*/
@ConditionalOnClass(SpringfoxWebMvcConfiguration.class)
public class SwaggerBootstrapUiDemoApplication implements WebMvcConfigurer {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
}
}

View File

@@ -1,17 +1,16 @@
package cn.lili.controller.other.distribution;
package cn.lili.controller.distribution;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.distribution.entity.dos.Distribution;
import cn.lili.modules.distribution.entity.dos.DistributionOrder;
import cn.lili.modules.distribution.entity.dto.DistributionApplyDTO;
import cn.lili.modules.distribution.entity.vos.DistributionOrderSearchParams;
import cn.lili.modules.distribution.service.DistributionOrderService;
import cn.lili.modules.distribution.service.DistributionService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -21,11 +20,11 @@ import org.springframework.web.bind.annotation.*;
* 买家端,分销员接口
*
* @author pikachu
* @date: 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@RestController
@Api(tags = "买家端,分销员接口")
@RequestMapping("/buyer/distribution")
@RequestMapping("/buyer/distribution/distribution")
public class DistributionBuyerController {
/**
@@ -39,21 +38,16 @@ public class DistributionBuyerController {
@Autowired
private DistributionOrderService distributionOrderService;
//申请分销员
@ApiOperation(value = "申请分销员")
@ApiImplicitParams({
@ApiImplicitParam(name = "name", value = "姓名", required = true, paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "idNumber", value = "身份证号", required = true, paramType = "query", dataType = "String")
})
@PostMapping
public ResultMessage<Object> applyDistribution(@RequestParam String name, @RequestParam String idNumber) {
return ResultUtil.data(distributionService.applyDistribution(name, idNumber));
public ResultMessage<Object> applyDistribution(DistributionApplyDTO distributionApplyDTO) {
return ResultUtil.data(distributionService.applyDistribution(distributionApplyDTO));
}
@ApiOperation(value = "获取分销员分页订单列表")
@GetMapping("/distributionOrder")
public ResultMessage<IPage<DistributionOrder>> distributionOrderPage(DistributionOrderSearchParams distributionOrderSearchParams) {
distributionOrderSearchParams.setDistributionId(UserContext.getCurrentUser().getId());
distributionOrderSearchParams.setDistributionId(distributionService.getDistribution().getId());
return ResultUtil.data(distributionOrderService.getDistributionOrderPage(distributionOrderSearchParams));
}
@@ -66,7 +60,6 @@ public class DistributionBuyerController {
return ResultUtil.data(distributionService.getDistribution());
}
//申请分销员
@ApiOperation(value = "绑定分销员")
@ApiImplicitParam(name = "distributionId", value = "分销员ID", required = true, paramType = "path")
@GetMapping("/bindingDistribution/{distributionId}")

View File

@@ -1,5 +1,6 @@
package cn.lili.controller.other.distribution;
package cn.lili.controller.distribution;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
@@ -13,12 +14,15 @@ import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
@@ -26,11 +30,12 @@ import javax.validation.constraints.NotNull;
* 买家端,分销商品佣金提现接口
*
* @author pikachu
* @date: 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@RestController
@Api(tags = "买家端,分销商品佣金提现接口")
@RequestMapping("/buyer/distribution/cash")
@Validated
public class DistributionCashBuyerController {
/**
@@ -45,13 +50,16 @@ public class DistributionCashBuyerController {
private DistributionCashService distributorCashService;
@PreventDuplicateSubmissions
@ApiOperation(value = "分销员提现")
@ApiImplicitParams({
@ApiImplicitParam(name = "price", value = "申请金额", required = true, paramType = "query", dataType = "double")
})
@PostMapping
public ResultMessage<Object> cash(@NotNull @ApiIgnore Double price) {
if(distributionCashService.cash(price)){
public ResultMessage<Object> cash(@Validated @Max(value = 9999, message = "提现金额单次最多允许提现9999元")
@Min(value = 1, message = "提现金额单次最少提现金额为1元")
@NotNull @ApiIgnore Double price) {
if (Boolean.TRUE.equals(distributionCashService.cash(price))) {
return ResultUtil.success();
}
throw new ServiceException(ResultCode.ERROR);

View File

@@ -1,5 +1,6 @@
package cn.lili.controller.other.distribution;
package cn.lili.controller.distribution;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
@@ -11,6 +12,7 @@ import cn.lili.modules.distribution.service.DistributionSelectedGoodsService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@@ -24,11 +26,11 @@ import javax.validation.constraints.NotNull;
* 买家端,分销商品接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@RestController
@Api(tags = "买家端,分销商品接口")
@RequestMapping("/buyer/distributionGoods")
@RequestMapping("/buyer/distribution/goods")
public class DistributionGoodsBuyerController {
/**
@@ -49,14 +51,27 @@ public class DistributionGoodsBuyerController {
return ResultUtil.data(distributionGoodsService.goodsPage(distributionGoodsSearchParams));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "选择分销商品")
@ApiImplicitParam(name = "distributionGoodsId", value = "分销ID", required = true, dataType = "String", paramType = "path")
@ApiImplicitParams({
@ApiImplicitParam(name = "distributionGoodsId", value = "分销ID", required = true, dataType = "String", paramType = "path"),
@ApiImplicitParam(name = "checked", value = "是否选择", required = true, dataType = "boolean", paramType = "query")
})
@GetMapping(value = "/checked/{distributionGoodsId}")
public ResultMessage<Object> distributionCheckGoods(
@NotNull(message = "分销商品不能为空") @PathVariable("distributionGoodsId") String distributionGoodsId) {
if(distributionSelectedGoodsService.add(distributionGoodsId)){
return ResultUtil.success();
@NotNull(message = "分销商品不能为空") @PathVariable("distributionGoodsId") String distributionGoodsId, Boolean checked) {
Boolean result = false;
if (checked) {
result = distributionSelectedGoodsService.add(distributionGoodsId);
} else {
result = distributionSelectedGoodsService.delete(distributionGoodsId);
}
//判断操作结果
if (result) {
return ResultUtil.success(ResultCode.SUCCESS);
} else {
throw new ServiceException(ResultCode.ERROR);
}
}
}

View File

@@ -1,4 +1,4 @@
package cn.lili.controller.other.distribution;
package cn.lili.controller.distribution;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,分销商品佣金提现接口
*
* @author pikachu
* @date: 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@RestController
@Api(tags = "买家端,分销订单接口")

View File

@@ -21,11 +21,11 @@ import java.util.List;
* 买家端,商品分类接口
*
* @author Chopper
* @date: 2020/11/16 10:05 下午
* @since 2020/11/16 10:05 下午
*/
@RestController
@Api(tags = "买家端,商品分类接口")
@RequestMapping("/buyer/category")
@RequestMapping("/buyer/goods/category")
public class CategoryBuyerController {
/**
* 商品分类

View File

@@ -1,9 +1,10 @@
package cn.lili.controller.goods;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.distribution.service.DistributionService;
import cn.lili.modules.goods.entity.dos.Goods;
import cn.lili.modules.goods.entity.dto.GoodsSearchParams;
import cn.lili.modules.goods.entity.vos.GoodsVO;
@@ -13,15 +14,17 @@ import cn.lili.modules.search.entity.dos.EsGoodsIndex;
import cn.lili.modules.search.entity.dos.EsGoodsRelatedInfo;
import cn.lili.modules.search.entity.dto.EsGoodsSearchDTO;
import cn.lili.modules.search.service.EsGoodsSearchService;
import cn.lili.modules.search.service.HotWordsService;
import cn.lili.modules.statistics.aop.PageViewPoint;
import cn.lili.modules.statistics.aop.enums.PageViewEnum;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -35,11 +38,12 @@ import java.util.Map;
* 买家端,商品接口
*
* @author Chopper
* @date 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Slf4j
@Api(tags = "买家端,商品接口")
@RestController
@RequestMapping("/buyer/goods")
@RequestMapping("/buyer/goods/goods")
public class GoodsBuyerController {
/**
@@ -57,12 +61,9 @@ public class GoodsBuyerController {
*/
@Autowired
private EsGoodsSearchService goodsSearchService;
/**
* 分销员
*/
@Autowired
private DistributionService distributionService;
@Autowired
private HotWordsService hotWordsService;
@ApiOperation(value = "通过id获取商品信息")
@ApiImplicitParam(name = "goodsId", value = "商品ID", required = true, paramType = "path", dataType = "Long")
@@ -80,12 +81,18 @@ public class GoodsBuyerController {
@PageViewPoint(type = PageViewEnum.SKU, id = "#id")
public ResultMessage<Map<String, Object>> getSku(@NotNull(message = "商品ID不能为空") @PathVariable("goodsId") String goodsId,
@NotNull(message = "SKU ID不能为空") @PathVariable("skuId") String skuId) {
try {
// 读取选中的列表
Map<String, Object> map = goodsSkuService.getGoodsSkuDetail(goodsId, skuId);
return ResultUtil.data(map);
} catch (ServiceException se) {
log.info(se.getMsg(), se);
throw se;
} catch (Exception e) {
log.error(ResultCode.GOODS_ERROR.message(), e);
return ResultUtil.error(ResultCode.GOODS_ERROR);
}
}
@ApiOperation(value = "获取商品分页列表")
@@ -98,8 +105,7 @@ public class GoodsBuyerController {
@GetMapping("/es")
public ResultMessage<Page<EsGoodsIndex>> getGoodsByPageFromEs(EsGoodsSearchDTO goodsSearchParams, PageVO pageVO) {
pageVO.setNotConvert(true);
Page<EsGoodsIndex> esGoodsIndices = goodsSearchService.searchGoods(goodsSearchParams, pageVO);
return ResultUtil.data(esGoodsIndices);
return ResultUtil.data(goodsSearchService.searchGoodsByPage(goodsSearchParams, pageVO));
}
@ApiOperation(value = "从ES中获取相关商品品牌名称分类名称及属性")
@@ -112,8 +118,8 @@ public class GoodsBuyerController {
@ApiOperation(value = "获取搜索热词")
@GetMapping("/hot-words")
public ResultMessage<List<String>> getGoodsHotWords(Integer start, Integer end) {
List<String> hotWords = goodsSearchService.getHotWords(start, end);
public ResultMessage<List<String>> getGoodsHotWords(Integer count) {
List<String> hotWords = hotWordsService.getHotWords(count);
return ResultUtil.data(hotWords);
}

View File

@@ -1,13 +1,17 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dto.FootPrintQueryParams;
import cn.lili.modules.member.service.FootprintService;
import cn.lili.modules.search.entity.dos.EsGoodsIndex;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.apache.catalina.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -19,11 +23,11 @@ import java.util.List;
* 买家端,浏览历史接口
*
* @author Chopper
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@RestController
@Api(tags = "买家端,浏览历史接口")
@RequestMapping("/buyer/footprint")
@RequestMapping("/buyer/member/footprint")
public class FootprintController {
/**
@@ -34,8 +38,9 @@ public class FootprintController {
@ApiOperation(value = "分页获取")
@GetMapping
public ResultMessage<List<EsGoodsIndex>> getByPage(PageVO page) {
return ResultUtil.data(footprintService.footPrintPage(page));
public ResultMessage<IPage<EsGoodsIndex>> getByPage(FootPrintQueryParams params) {
params.setMemberId(UserContext.getCurrentUser().getId());
return ResultUtil.data(footprintService.footPrintPage(params));
}
@ApiOperation(value = "根据id删除")
@@ -60,4 +65,10 @@ public class FootprintController {
return ResultUtil.data(footprintService.getFootprintNum());
}
@GetMapping("/history")
@ApiOperation(value = "获取会员的历史足迹")
public ResultMessage<IPage<EsGoodsIndex>> getMemberHistory(FootPrintQueryParams params) {
return ResultUtil.data(footprintService.footPrintPage(params));
}
}

View File

@@ -1,11 +1,12 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.MemberAddress;
import cn.lili.modules.promotion.service.MemberAddressService;
import cn.lili.modules.member.service.MemberAddressService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -14,17 +15,18 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.Objects;
/**
* 买家端,会员地址接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员地址接口")
@RequestMapping("/buyer/memberAddress")
@RequestMapping("/buyer/member/address")
public class MemberAddressBuyerController {
/**
@@ -56,7 +58,7 @@ public class MemberAddressBuyerController {
@PostMapping
public ResultMessage<MemberAddress> addShippingAddress(@Valid MemberAddress shippingAddress) {
//添加会员地址
shippingAddress.setMemberId(UserContext.getCurrentUser().getId());
shippingAddress.setMemberId(Objects.requireNonNull(UserContext.getCurrentUser()).getId());
if(shippingAddress.getIsDefault()==null){
shippingAddress.setIsDefault(false);
}
@@ -66,11 +68,8 @@ public class MemberAddressBuyerController {
@ApiOperation(value = "修改会员收件地址")
@PutMapping
public ResultMessage<MemberAddress> editShippingAddress(@Valid MemberAddress shippingAddress) {
//修改会员地址
shippingAddress.setMemberId(UserContext.getCurrentUser().getId());
if(shippingAddress.getIsDefault()==null){
shippingAddress.setIsDefault(false);
}
OperationalJudgment.judgment(memberAddressService.getById(shippingAddress.getId()));
shippingAddress.setMemberId(Objects.requireNonNull(UserContext.getCurrentUser()).getId());
return ResultUtil.data(memberAddressService.updateMemberAddress(shippingAddress));
}
@@ -78,6 +77,7 @@ public class MemberAddressBuyerController {
@ApiImplicitParam(name = "id", value = "会员地址ID", dataType = "String", paramType = "path")
@DeleteMapping(value = "/delById/{id}")
public ResultMessage<Object> delShippingAddressById(@PathVariable String id) {
OperationalJudgment.judgment(memberAddressService.getById(id));
memberAddressService.removeMemberAddress(id);
return ResultUtil.success();
}

View File

@@ -1,91 +0,0 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.service.GoodsCollectionService;
import cn.lili.modules.member.service.StoreCollectionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotNull;
/**
* 买家端,会员收藏接口
*
* @author Chopper
* @date: 2020/11/17 2:32 下午
*/
@RestController
@Api(tags = "买家端,会员收藏接口")
@RequestMapping("/buyer/member/collection")
public class MemberCollectionController {
/**
* 会员商品收藏
*/
@Autowired
private GoodsCollectionService goodsCollectionService;
/**
* 会员店铺
*/
@Autowired
private StoreCollectionService storeCollectionService;
@ApiOperation(value = "查询会员收藏列表")
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺")
@GetMapping("/{type}")
public ResultMessage<Object> goodsList(@PathVariable String type, PageVO page) {
if (type.equals("GOODS")) {
return ResultUtil.data(goodsCollectionService.goodsCollection(page));
}
return ResultUtil.data(storeCollectionService.storeCollection(page));
}
@ApiOperation(value = "添加会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺"),
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@PostMapping("/add/{type}/{id}")
public ResultMessage<Object> addGoodsCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
return ResultUtil.data(goodsCollectionService.addGoodsCollection(id));
}
return ResultUtil.data(storeCollectionService.addStoreCollection(id));
}
@ApiOperation(value = "删除会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺"),
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@DeleteMapping(value = "/delete/{type}/{id}")
public ResultMessage<Object> deleteGoodsCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
return ResultUtil.data(goodsCollectionService.deleteGoodsCollection(id));
}
return ResultUtil.data(storeCollectionService.deleteStoreCollection(id));
}
@ApiOperation(value = "查询会员是否收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺"),
@ApiImplicitParam(name = "id", value = "", dataType = "String", paramType = "path")
})
@GetMapping(value = "/isCollection/{type}/{id}")
public ResultMessage<Boolean> isCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
return ResultUtil.data(this.goodsCollectionService.isCollection(id));
}
return ResultUtil.data(this.storeCollectionService.isCollection(id));
}
}

View File

@@ -0,0 +1,68 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.service.GoodsCollectionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotNull;
/**
* 买家端,会员收藏接口
*
* @author Chopper
* @since 2020/11/17 2:32 下午
*/
@RestController
@Api(tags = "买家端,会员商品收藏接口")
@RequestMapping("/buyer/member/collection")
public class MemberCollectionGoodsController {
/**
* 会员商品收藏
*/
@Autowired
private GoodsCollectionService goodsCollectionService;
@ApiOperation(value = "查询会员收藏列表")
@GetMapping("/GOODS")
public ResultMessage<Object> goodsList(PageVO page) {
return ResultUtil.data(goodsCollectionService.goodsCollection(page));
}
@ApiOperation(value = "添加会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@PostMapping("/add/GOODS/{id}")
public ResultMessage<Object> addGoodsCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(goodsCollectionService.addGoodsCollection(id));
}
@ApiOperation(value = "删除会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺"),
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@DeleteMapping(value = "/delete/GOODS/{id}")
public ResultMessage<Object> deleteGoodsCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(goodsCollectionService.deleteGoodsCollection(id));
}
@ApiOperation(value = "查询会员是否收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "类型", dataType = "String", paramType = "path", example = "GOODS:商品,STORE:店铺"),
@ApiImplicitParam(name = "id", value = "", dataType = "String", paramType = "path")
})
@GetMapping(value = "/isCollection/GOODS/{id}")
public ResultMessage<Boolean> isCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(this.goodsCollectionService.isCollection(id));
}
}

View File

@@ -0,0 +1,66 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.service.StoreCollectionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotNull;
/**
* 买家端,会员收藏接口
*
* @author Chopper
* @since 2020/11/17 2:32 下午
*/
@RestController
@Api(tags = "买家端,会员店铺收藏接口")
@RequestMapping("/buyer/member/storeCollection")
public class MemberCollectionStoreController {
/**
* 会员店铺
*/
@Autowired
private StoreCollectionService storeCollectionService;
@ApiOperation(value = "查询会员收藏列表")
@GetMapping("/STORE")
public ResultMessage<Object> goodsList(PageVO page) {
return ResultUtil.data(storeCollectionService.storeCollection(page));
}
@ApiOperation(value = "添加会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@PostMapping("/add/STORE/{id}")
public ResultMessage<Object> addGoodsCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(storeCollectionService.addStoreCollection(id));
}
@ApiOperation(value = "删除会员收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "num", value = "", dataType = "Long", paramType = "path")
})
@DeleteMapping(value = "/delete/STORE/{id}")
public ResultMessage<Object> deleteGoodsCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(storeCollectionService.deleteStoreCollection(id));
}
@ApiOperation(value = "查询会员是否收藏")
@ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "", dataType = "String", paramType = "path")
})
@GetMapping(value = "/isCollection/STORE/{id}")
public ResultMessage<Boolean> isCollection(@NotNull(message = "值不能为空") @PathVariable String id) {
return ResultUtil.data(this.storeCollectionService.isCollection(id));
}
}

View File

@@ -1,7 +1,9 @@
package cn.lili.controller.member;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.enums.SwitchEnum;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.MemberEvaluation;
import cn.lili.modules.member.entity.dto.EvaluationQueryParams;
@@ -23,11 +25,11 @@ import javax.validation.constraints.NotNull;
* 买家端,会员商品评价接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:08 下午
* @since 2020/11/16 10:08 下午
*/
@RestController
@Api(tags = "买家端,会员商品评价接口")
@RequestMapping("/buyer/memberEvaluation")
@RequestMapping("/buyer/member/evaluation")
public class MemberEvaluationBuyerController {
/**
@@ -36,16 +38,17 @@ public class MemberEvaluationBuyerController {
@Autowired
private MemberEvaluationService memberEvaluationService;
@PreventDuplicateSubmissions
@ApiOperation(value = "添加会员评价")
@PostMapping
public ResultMessage<MemberEvaluationDTO> save(@Valid MemberEvaluationDTO memberEvaluationDTO) {
return ResultUtil.data(memberEvaluationService.addMemberEvaluation(memberEvaluationDTO));
return ResultUtil.data(memberEvaluationService.addMemberEvaluation(memberEvaluationDTO, true));
}
@ApiOperation(value = "查看会员评价详情")
@ApiImplicitParam(name = "id", value = "评价ID", required = true, paramType = "path")
@GetMapping(value = "/get/{id}")
public ResultMessage<MemberEvaluationVO> save(@NotNull(message = "评价ID不能为空") @PathVariable("id") String id) {
public ResultMessage<MemberEvaluationVO> get(@NotNull(message = "评价ID不能为空") @PathVariable("id") String id) {
return ResultUtil.data(memberEvaluationService.queryById(id));
}
@@ -55,7 +58,7 @@ public class MemberEvaluationBuyerController {
public ResultMessage<IPage<MemberEvaluation>> queryMineEvaluation(EvaluationQueryParams evaluationQueryParams) {
//设置当前登录会员
evaluationQueryParams.setMemberId(UserContext.getCurrentUser().getId());
return ResultUtil.data(memberEvaluationService.queryByParams(evaluationQueryParams));
return ResultUtil.data(memberEvaluationService.managerQuery(evaluationQueryParams));
}
@ApiOperation(value = "查看某一个商品的评价列表")
@@ -65,7 +68,8 @@ public class MemberEvaluationBuyerController {
@NotNull @PathVariable("goodsId") String goodsId) {
//设置查询查询商品
evaluationQueryParams.setGoodsId(goodsId);
return ResultUtil.data(memberEvaluationService.queryByParams(evaluationQueryParams));
evaluationQueryParams.setStatus(SwitchEnum.OPEN.name());
return ResultUtil.data(memberEvaluationService.managerQuery(evaluationQueryParams));
}
@ApiOperation(value = "查看某一个商品的评价数量")

View File

@@ -1,5 +1,7 @@
package cn.lili.controller.member;
import cn.lili.cache.limit.annotation.LimitPoint;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.MemberSign;
@@ -18,7 +20,7 @@ import java.util.List;
* 会员签到控制器
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端会员签到API")
@@ -27,6 +29,8 @@ public class MemberSignBuyerController {
@Autowired
private MemberSignService memberSignService;
@PreventDuplicateSubmissions
@PostMapping
@ApiOperation(value = "会员签到")
public ResultMessage<Boolean> memberSign() {

View File

@@ -1,7 +1,7 @@
package cn.lili.controller.member;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.utils.PageUtil;
import cn.lili.mybatis.util.PageUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
@@ -15,6 +15,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -22,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,会员积分历史接口
*
* @author Bulbasaur
* @date 2020-02-25 14:10:16
* @since 2020-02-25 14:10:16
*/
@RestController
@Api(tags = "买家端,会员积分历史接口")
@@ -37,7 +38,7 @@ public class PointsHistoryBuyerController {
LambdaQueryWrapper<MemberPointsHistory> queryWrapper = Wrappers.lambdaQuery();
queryWrapper.eq(MemberPointsHistory::getMemberId, UserContext.getCurrentUser().getId());
queryWrapper.orderByDesc(MemberPointsHistory::getCreateTime);
return ResultUtil.data(memberPointsHistoryService.page(PageUtil.initPage(page), queryWrapper));
}
@@ -46,4 +47,6 @@ public class PointsHistoryBuyerController {
public ResultMessage<MemberPointsHistoryVO> getMemberPointsHistoryVO() {
return ResultUtil.data(memberPointsHistoryService.getMemberPointsHistoryVO(UserContext.getCurrentUser().getId()));
}
}

View File

@@ -1,57 +0,0 @@
package cn.lili.controller.member;
import cn.lili.common.utils.PageUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.system.entity.dos.ServiceNotice;
import cn.lili.modules.system.service.ServiceNoticeService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 买家端,会员站服务消息接口
*
* @author Chopper
* @date: 2020/11/17 2:31 下午
*/
@RestController
@RequestMapping("/service/notice")
@Api(tags = "买家端,会员站服务消息接口")
public class ServiceNoticeBuyerController {
/**
* 服务消息
*/
@Autowired
private ServiceNoticeService serviceNoticeService;
@ApiOperation(value = "获取消息详情")
@ApiImplicitParam(name = "id", value = "商品ID", required = true, dataType = "Long", paramType = "path")
@GetMapping(value = "/{id}")
public ResultMessage<ServiceNotice> get(@PathVariable String id) {
ServiceNotice serviceNotice = serviceNoticeService.getById(id);
return ResultUtil.data(serviceNotice);
}
@ApiOperation(value = "分页获取服务消息")
@GetMapping
@ApiImplicitParam(name = "storeId", value = "商家id默认为-1代表平台消息如果查询某商家发布的消息传递商家id即可", dataType = "int", paramType = "query")
public ResultMessage<IPage<ServiceNotice>> getByPage(PageVO page, String storeId) {
ServiceNotice serviceNotice = new ServiceNotice();
if (storeId == null) {
storeId = "-1";
}
serviceNotice.setStoreId(storeId);
IPage<ServiceNotice> data = serviceNoticeService.page(PageUtil.initPage(page));
return ResultUtil.data(data);
}
}

View File

@@ -1,12 +1,13 @@
package cn.lili.controller.member;
package cn.lili.controller.message;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.message.entity.dos.MemberMessage;
import cn.lili.modules.message.entity.enums.MessageStatusEnum;
import cn.lili.modules.member.entity.dos.MemberMessage;
import cn.lili.modules.member.entity.vo.MemberMessageQueryVO;
import cn.lili.modules.member.service.MemberMessageService;
import cn.lili.modules.message.entity.vos.MemberMessageQueryVO;
import cn.lili.modules.message.service.MemberMessageService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -18,11 +19,11 @@ import org.springframework.web.bind.annotation.*;
* 买家端,会员站内消息接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员站内消息接口")
@RequestMapping("/buyer/member/message")
@RequestMapping("/buyer/message/member")
public class MemberMessageBuyerController {
/**
@@ -34,21 +35,23 @@ public class MemberMessageBuyerController {
@ApiOperation(value = "分页获取会员站内消息")
@GetMapping
public ResultMessage<IPage<MemberMessage>> page(MemberMessageQueryVO memberMessageQueryVO, PageVO page) {
memberMessageQueryVO.setMemberId(UserContext.getCurrentUser().getId());
return ResultUtil.data(memberMessageService.getPage(memberMessageQueryVO, page));
}
@ApiOperation(value = "消息已读")
@ApiImplicitParam(name = "messageId", value = "会员消息id", required = true, paramType = "path")
@PutMapping
public ResultMessage<Boolean> read(@PathVariable String messageId) {
@PutMapping("/{message_id}")
public ResultMessage<Boolean> read(@PathVariable("message_id") String messageId) {
return ResultUtil.data(memberMessageService.editStatus(MessageStatusEnum.ALREADY_READY.name(), messageId));
}
@ApiOperation(value = "消息删除")
@ApiOperation(value = "消息放入回收站")
@ApiImplicitParam(name = "messageId", value = "会员消息id", required = true, paramType = "path")
@DeleteMapping
public ResultMessage<Boolean> deleteMessage(@PathVariable String messageId) {
return ResultUtil.data(memberMessageService.deleteMessage(messageId));
@DeleteMapping("/{message_id}")
public ResultMessage<Boolean> deleteMessage(@PathVariable("message_id") String messageId) {
return ResultUtil.data(memberMessageService.editStatus(MessageStatusEnum.ALREADY_REMOVE.name(), messageId));
}

View File

@@ -1,17 +1,19 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.order.entity.dos.AfterSale;
import cn.lili.modules.order.order.entity.dos.AfterSaleReason;
import cn.lili.modules.order.order.entity.dto.AfterSaleDTO;
import cn.lili.modules.order.order.entity.vo.AfterSaleApplyVO;
import cn.lili.modules.order.order.entity.vo.AfterSaleSearchParams;
import cn.lili.modules.order.order.entity.vo.AfterSaleVO;
import cn.lili.modules.order.order.service.AfterSaleLogService;
import cn.lili.modules.order.order.service.AfterSaleReasonService;
import cn.lili.modules.order.order.service.AfterSaleService;
import cn.lili.modules.order.trade.entity.dos.AfterSaleLog;
import cn.lili.modules.order.aftersale.entity.dos.AfterSale;
import cn.lili.modules.order.aftersale.entity.dos.AfterSaleLog;
import cn.lili.modules.order.aftersale.entity.dos.AfterSaleReason;
import cn.lili.modules.order.aftersale.entity.dto.AfterSaleDTO;
import cn.lili.modules.order.aftersale.entity.vo.AfterSaleApplyVO;
import cn.lili.modules.order.aftersale.entity.vo.AfterSaleSearchParams;
import cn.lili.modules.order.aftersale.entity.vo.AfterSaleVO;
import cn.lili.modules.order.aftersale.service.AfterSaleLogService;
import cn.lili.modules.order.aftersale.service.AfterSaleReasonService;
import cn.lili.modules.order.aftersale.service.AfterSaleService;
import cn.lili.modules.store.entity.dto.StoreAfterSaleAddressDTO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
@@ -30,11 +32,11 @@ import java.util.List;
* 买家端,售后管理接口
*
* @author Chopper
* @date 2020/11/16 10:02 下午
* @since 2020/11/16 10:02 下午
*/
@RestController
@Api(tags = "买家端,售后管理接口")
@RequestMapping("/buyer/afterSale")
@RequestMapping("/buyer/order/afterSale")
public class AfterSaleBuyerController {
/**
@@ -57,7 +59,8 @@ public class AfterSaleBuyerController {
@ApiImplicitParam(name = "sn", value = "售后单号", required = true, paramType = "path")
@GetMapping(value = "/get/{sn}")
public ResultMessage<AfterSaleVO> get(@NotNull(message = "售后单号") @PathVariable("sn") String sn) {
return ResultUtil.data(afterSaleService.getAfterSale(sn));
AfterSaleVO afterSale = OperationalJudgment.judgment(afterSaleService.getAfterSale(sn));
return ResultUtil.data(afterSale);
}
@ApiOperation(value = "分页获取售后服务")
@@ -72,9 +75,10 @@ public class AfterSaleBuyerController {
})
@GetMapping(value = "/applyAfterSaleInfo/{sn}")
public ResultMessage<AfterSaleApplyVO> applyAfterSaleInfo(@PathVariable String sn) {
return ResultUtil.data(afterSaleService.getAfterSaleDTO(sn));
return ResultUtil.data(afterSaleService.getAfterSaleVO(sn));
}
@PreventDuplicateSubmissions
@PostMapping(value = "/save/{orderItemSn}")
@ApiImplicitParam(name = "orderItemSn", value = "订单货物编号", required = true, paramType = "query")
@ApiOperation(value = "申请售后")
@@ -99,6 +103,7 @@ public class AfterSaleBuyerController {
return ResultUtil.data(afterSaleService.buyerDelivery(afterSaleSn, logisticsNo, logisticsId, mDeliverTime));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "售后,取消售后")
@ApiImplicitParams({
@ApiImplicitParam(name = "afterSaleSn", value = "售后sn", required = true, dataType = "String", paramType = "path")

View File

@@ -1,8 +1,9 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.cart.entity.dto.TradeDTO;
import cn.lili.modules.order.cart.entity.enums.CartTypeEnum;
@@ -25,7 +26,7 @@ import javax.validation.constraints.NotNull;
* 买家端购物车接口
*
* @author Chopper
* @date 2020/11/16 10:04 下午
* @since 2020/11/16 10:04 下午
*/
@Slf4j
@RestController
@@ -50,8 +51,17 @@ public class CartController {
public ResultMessage<Object> add(@NotNull(message = "产品id不能为空") String skuId,
@NotNull(message = "购买数量不能为空") @Min(value = 1, message = "加入购物车数量必须大于0") Integer num,
String cartType) {
cartService.add(skuId, num, cartType);
try {
//读取选中的列表
cartService.add(skuId, num, cartType, false);
return ResultUtil.success();
} catch (ServiceException se) {
log.info(se.getMsg(), se);
throw se;
} catch (Exception e) {
log.error(ResultCode.CART_ERROR.message(), e);
throw new ServiceException(ResultCode.CART_ERROR);
}
}
@@ -84,7 +94,7 @@ public class CartController {
@PostMapping(value = "/sku/num/{skuId}")
public ResultMessage<Object> update(@NotNull(message = "产品id不能为空") @PathVariable(name = "skuId") String skuId,
Integer num) {
cartService.updateNum(skuId, num);
cartService.add(skuId, num, CartTypeEnum.CART.name(), true);
return ResultUtil.success();
}
@@ -150,8 +160,9 @@ public class CartController {
try {
//读取选中的列表
return ResultUtil.data(this.cartService.getCheckedTradeDTO(CartTypeEnum.valueOf(way)));
} catch (ServiceException e) {
throw e;
} catch (ServiceException se) {
log.error(se.getMsg(), se);
throw se;
} catch (Exception e) {
log.error(ResultCode.CART_ERROR.message(), e);
throw new ServiceException(ResultCode.CART_ERROR);
@@ -178,27 +189,63 @@ public class CartController {
}
}
@ApiOperation(value = "选择自提地址")
@ApiImplicitParams({
@ApiImplicitParam(name = "storeAddressId", value = "自提地址id ", required = true, paramType = "query"),
@ApiImplicitParam(name = "way", value = "购物车类型 ", paramType = "query")
})
@GetMapping("/storeAddress")
public ResultMessage<Object> shippingSelfPickAddress(@NotNull(message = "自提地址ID不能为空") String storeAddressId,
String way) {
try {
cartService.shippingSelfAddress(storeAddressId, way);
return ResultUtil.success();
} catch (ServiceException se) {
log.error(ResultCode.SHIPPING_NOT_APPLY.message(), se);
throw new ServiceException(ResultCode.SHIPPING_NOT_APPLY);
} catch (Exception e) {
log.error(ResultCode.CART_ERROR.message(), e);
throw new ServiceException(ResultCode.CART_ERROR);
}
}
@ApiOperation(value = "选择配送方式")
@ApiImplicitParams({
@ApiImplicitParam(name = "shippingMethod", value = "配送方式SELF_PICK_UP(自提)," +
"LOCAL_TOWN_DELIVERY(同城配送)," +
"LOGISTICS(物流) ", required = true, paramType = "query"),
@ApiImplicitParam(name = "selleId", value = "店铺id", paramType = "query"),
@ApiImplicitParam(name = "way", value = "购物车类型 ", paramType = "query")
})
@GetMapping("/shippingMethod")
@PutMapping("/shippingMethod")
public ResultMessage<Object> shippingMethod(@NotNull(message = "配送方式不能为空") String shippingMethod,
String selleId,
String way) {
try {
cartService.shippingMethod(selleId, shippingMethod, way);
cartService.shippingMethod( shippingMethod, way);
return ResultUtil.success();
} catch (ServiceException se) {
log.error(se.getMsg(), se);
throw se;
} catch (Exception e) {
log.error(ResultCode.CART_ERROR.message(), e);
throw new ServiceException(ResultCode.CART_ERROR);
}
}
@ApiOperation(value = "获取用户可选择的物流方式")
@ApiImplicitParams({
@ApiImplicitParam(name = "way", value = "购物车类型 ", paramType = "query")
})
@GetMapping("/shippingMethodList")
public ResultMessage<Object> shippingMethodList(String way) {
try {
return ResultUtil.data(cartService.shippingMethodList(way));
}
catch (Exception e) {
e.printStackTrace();
return ResultUtil.error(ResultCode.ERROR);
}
}
@ApiOperation(value = "选择发票")
@ApiImplicitParams({
@ApiImplicitParam(name = "way", value = "购物车购买CART/立即购买BUY_NOW/拼团购买PINTUAN / 积分购买POINT ", required = true, paramType = "query"),
@@ -222,17 +269,19 @@ public class CartController {
}
@PreventDuplicateSubmissions
@ApiOperation(value = "创建交易")
@PostMapping(value = "/create/trade", consumes = "application/json", produces = "application/json")
public ResultMessage<Object> crateTrade(@RequestBody TradeParams tradeParams) {
try {
//读取选中的列表
return ResultUtil.data(this.cartService.createTrade(tradeParams));
} catch (ServiceException e) {
throw e;
} catch (ServiceException se) {
log.info(se.getMsg(), se);
throw se;
} catch (Exception e) {
log.error(ResultCode.ORDER_ERROR.message(), e);
throw new ServiceException(ResultCode.ORDER_ERROR);
throw e;
}
}
}

View File

@@ -1,10 +1,12 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.order.entity.dos.Order;
import cn.lili.modules.order.order.entity.dto.OrderSearchParams;
@@ -23,16 +25,17 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Objects;
/**
* 买家端,订单接口
*
* @author Chopper
* @date 2020/11/16 10:08 下午
* @since 2020/11/16 10:08 下午
*/
@RestController
@Api(tags = "买家端,订单接口")
@RequestMapping("/buyer/orders")
@RequestMapping("/buyer/order/order")
public class OrderBuyerController {
/**
@@ -44,7 +47,7 @@ public class OrderBuyerController {
@ApiOperation(value = "查询会员订单列表")
@GetMapping
public ResultMessage<IPage<OrderSimpleVO>> queryMineOrder(OrderSearchParams orderSearchParams) {
AuthUser currentUser = UserContext.getCurrentUser();
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
orderSearchParams.setMemberId(currentUser.getId());
return ResultUtil.data(orderService.queryByParams(orderSearchParams));
}
@@ -55,9 +58,12 @@ public class OrderBuyerController {
})
@GetMapping(value = "/{orderSn}")
public ResultMessage<OrderDetailVO> detail(@NotNull(message = "订单编号不能为空") @PathVariable("orderSn") String orderSn) {
return ResultUtil.data(orderService.queryDetail(orderSn));
OrderDetailVO orderDetailVO = orderService.queryDetail(orderSn);
OperationalJudgment.judgment(orderDetailVO.getOrder());
return ResultUtil.data(orderDetailVO);
}
@PreventDuplicateSubmissions
@ApiOperation(value = "确认收货")
@ApiImplicitParams({
@ApiImplicitParam(name = "orderSn", value = "订单编号", required = true, paramType = "path")
@@ -76,6 +82,7 @@ public class OrderBuyerController {
return ResultUtil.success();
}
@PreventDuplicateSubmissions
@ApiOperation(value = "取消订单")
@ApiImplicitParams({
@ApiImplicitParam(name = "orderSn", value = "订单编号", required = true, dataType = "String", paramType = "path"),
@@ -87,12 +94,14 @@ public class OrderBuyerController {
return ResultUtil.success();
}
@PreventDuplicateSubmissions
@ApiOperation(value = "删除订单")
@ApiImplicitParams({
@ApiImplicitParam(name = "orderSn", value = "订单编号", required = true, dataType = "String", paramType = "path")
})
@DeleteMapping(value = "/{orderSn}")
public ResultMessage<Object> deleteOrder(@PathVariable String orderSn) {
OperationalJudgment.judgment(orderService.getBySn(orderSn));
orderService.deleteOrder(orderSn);
return ResultUtil.success();
}
@@ -103,18 +112,30 @@ public class OrderBuyerController {
})
@PostMapping(value = "/getTraces/{orderSn}")
public ResultMessage<Object> getTraces(@NotBlank(message = "订单编号不能为空") @PathVariable String orderSn) {
OperationalJudgment.judgment(orderService.getBySn(orderSn));
return ResultUtil.data(orderService.getTraces(orderSn));
}
@ApiOperation(value = "查询地图版物流踪迹")
@ApiImplicitParams({
@ApiImplicitParam(name = "orderSn", value = "订单编号", required = true, dataType = "String", paramType = "path")
})
@PostMapping(value = "/getMapTraces/{orderSn}")
public ResultMessage<Object> getMapTraces(@NotBlank(message = "订单编号不能为空") @PathVariable String orderSn) {
OperationalJudgment.judgment(orderService.getBySn(orderSn));
return ResultUtil.data(orderService.getMapTraces(orderSn));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "开票")
@ApiImplicitParams({
@ApiImplicitParam(name = "orderSn", value = "订单编号", required = true, dataType = "String", paramType = "path")
})
@PostMapping(value = "/receipt/{orderSn}")
public ResultMessage<Object> invoice(@NotBlank(message = "订单编号不能为空") @PathVariable String orderSn) {
OperationalJudgment.judgment(orderService.getBySn(orderSn));
return ResultUtil.data(orderService.invoice(orderSn));
}
}

View File

@@ -1,7 +1,9 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
@@ -22,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.Objects;
/**
* 买家端,交易投诉接口
@@ -31,7 +34,7 @@ import javax.validation.Valid;
**/
@RestController
@Api(tags = "买家端,交易投诉接口")
@RequestMapping("/buyer/complain")
@RequestMapping("/buyer/order/complain")
public class OrderComplaintBuyerController {
/**
@@ -51,17 +54,20 @@ public class OrderComplaintBuyerController {
@ApiImplicitParam(name = "id", value = "投诉单ID", required = true, paramType = "path")
@GetMapping(value = "/{id}")
public ResultMessage<OrderComplaintVO> get(@PathVariable String id) {
return ResultUtil.data(orderComplaintService.getOrderComplainById(id));
OrderComplaintVO orderComplaintVO = OperationalJudgment.judgment(orderComplaintService.getOrderComplainById(id));
return ResultUtil.data(orderComplaintVO);
}
@ApiOperation(value = "分页获取")
@GetMapping
public ResultMessage<IPage<OrderComplaint>> get(OrderComplaintSearchParams searchParams, PageVO pageVO) {
searchParams.setMemberId(UserContext.getCurrentUser().getId());
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
searchParams.setMemberId(currentUser.getId());
return ResultUtil.data(orderComplaintService.getOrderComplainByPage(searchParams, pageVO));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "添加交易投诉")
@PostMapping
public ResultMessage<OrderComplaint> add(@Valid OrderComplaintDTO orderComplaintDTO) {
@@ -75,12 +81,13 @@ public class OrderComplaintBuyerController {
})
@PostMapping("/communication")
public ResultMessage<OrderComplaintCommunicationVO> addCommunication(@RequestParam String complainId, @RequestParam String content) {
AuthUser currentUser = UserContext.getCurrentUser();
OrderComplaintCommunicationVO communicationVO = new OrderComplaintCommunicationVO(complainId, content, CommunicationOwnerEnum.BUYER.name(), currentUser.getId(), currentUser.getNickName());
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
OrderComplaintCommunicationVO communicationVO = new OrderComplaintCommunicationVO(complainId, content, CommunicationOwnerEnum.BUYER.name(), currentUser.getNickName(), currentUser.getId());
orderComplaintCommunicationService.addCommunication(communicationVO);
return ResultUtil.data(communicationVO);
}
@PreventDuplicateSubmissions
@ApiOperation(value = "取消售后")
@ApiImplicitParam(name = "id", value = "投诉单ID", required = true, paramType = "path")
@PutMapping(value = "/status/{id}")

View File

@@ -1,5 +1,6 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
@@ -41,6 +42,7 @@ public class ReceiptBuyerController {
return ResultUtil.data(this.receiptService.getReceiptData(searchParams, pageVO));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "保存发票信息")
@PostMapping
public ResultMessage<Receipt> save(@Valid Receipt receipt) {

View File

@@ -1,15 +1,16 @@
package cn.lili.controller.trade;
package cn.lili.controller.order;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.trade.entity.dos.Recharge;
import cn.lili.modules.order.trade.service.RechargeService;
import cn.lili.modules.wallet.entity.dos.Recharge;
import cn.lili.modules.wallet.service.RechargeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -21,23 +22,27 @@ import javax.validation.constraints.Min;
* 买家端,预存款充值记录接口
*
* @author paulG
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,预存款充值记录接口")
@RequestMapping("/buyer/trade/recharge")
@Transactional(rollbackFor = Exception.class)
@Validated
public class RechargeTradeBuyerController {
@Autowired
private RechargeService rechargeService;
@PreventDuplicateSubmissions
@PostMapping
@ApiOperation(value = "创建余额充值订单")
@ApiImplicitParams({
@ApiImplicitParam(name = "price", value = "充值金额", required = true, dataType = "double", paramType = "query")
})
public ResultMessage<Recharge> create(@Max(value = 10000, message = "充值金额单次最多允许充值10000元") @Min(value = 1, message = "充值金额单次最少充值金额为1元") Double price) {
public ResultMessage<Recharge> create(
@Max(value = 10000, message = "充值金额单次最多允许充值10000元")
@Min(value = 1, message = "充值金额单次最少充值金额为1元")
Double price) {
Recharge recharge = this.rechargeService.recharge(price);
return ResultUtil.data(recharge);
}

View File

@@ -1,8 +1,13 @@
package cn.lili.controller.other;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.system.entity.dos.AppVersion;
import cn.lili.modules.system.service.AppVersionService;
import cn.lili.mybatis.util.PageUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
@@ -16,11 +21,11 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,APP版本
*
* @author Bulbasaur
* @date: 2021/5/21 11:15 上午
* @since 2021/5/21 11:15 上午
*/
@RestController
@Api(tags = "买家端,APP版本")
@RequestMapping("/buyer/appVersion")
@RequestMapping("/buyer/other/appVersion")
public class AppVersionBuyerController {
@Autowired
@@ -33,4 +38,13 @@ public class AppVersionBuyerController {
public ResultMessage<Object> getAppVersion(@PathVariable String appType) {
return ResultUtil.data(appVersionService.getAppVersion(appType));
}
@ApiOperation(value = "获取版本号列表")
@ApiImplicitParam(name = "appType", value = "app类型", required = true, paramType = "path")
@GetMapping("/appVersion/{appType}")
public ResultMessage<IPage<AppVersion>> appVersion(@PathVariable String appType, PageVO pageVO) {
IPage<AppVersion> page = appVersionService.page(PageUtil.initPage(pageVO), new LambdaQueryWrapper<AppVersion>().eq(AppVersion::getType, appType));
return ResultUtil.data(page);
}
}

View File

@@ -25,11 +25,11 @@ import java.util.List;
* 买家端,文章接口
*
* @author Chopper
* @date: 2020/11/16 10:02 下午
* @since 2020/11/16 10:02 下午
*/
@RestController
@Api(tags = "买家端,文章接口")
@RequestMapping("/buyer/article")
@RequestMapping("/buyer/other/article")
public class ArticleBuyerController {
/**

View File

@@ -1,5 +1,6 @@
package cn.lili.controller.other;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.ResultMessage;
@@ -12,15 +13,17 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.Valid;
/**
* 买家端,意见反馈接口
*
* @author Bulbasaur
* @date 2020-05-5 15:10:16
* @since 2020-05-5 15:10:16
*/
@RestController
@Api(tags = "买家端,意见反馈接口")
@RequestMapping("/buyer/feedback")
@RequestMapping("/buyer/other/feedback")
public class FeedbackBuyerController {
/**
@@ -29,9 +32,10 @@ public class FeedbackBuyerController {
@Autowired
private FeedbackService feedbackService;
@PreventDuplicateSubmissions
@ApiOperation(value = "添加意见反馈")
@PostMapping()
public ResultMessage<Object> save(Feedback feedback) {
public ResultMessage<Object> save(@Valid Feedback feedback) {
feedback.setUserName(UserContext.getCurrentUser().getNickName());
feedbackService.save(feedback);
return ResultUtil.success();

View File

@@ -17,11 +17,11 @@ import java.util.List;
* 买家端,物流公司接口
*
* @author Bulbasaur
* @date 2020-05-5 15:10:16
* @since 2020-05-5 15:10:16
*/
@RestController
@Api(tags = "买家端,物流公司接口")
@RequestMapping("/buyer/logistics")
@RequestMapping("/buyer/other/logistics")
public class LogisticsBuyerController {
@Autowired

View File

@@ -2,27 +2,27 @@ package cn.lili.controller.other;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.page.entity.dos.PageData;
import cn.lili.modules.page.entity.dto.PageDataDTO;
import cn.lili.modules.page.entity.enums.PageEnum;
import cn.lili.modules.page.entity.vos.PageDataVO;
import cn.lili.modules.page.service.PageDataService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
/**
* 买家端,页面接口
*
* @author Chopper
* @date 2020/11/16 10:08 下午
* @since 2020/11/16 10:08 下午
*/
@RestController
@Api(tags = "买家端,页面接口")
@RequestMapping("/buyer/pageData")
@RequestMapping("/buyer/other/pageData")
public class PageBuyerController {
/**
@@ -36,12 +36,63 @@ public class PageBuyerController {
public ResultMessage<PageDataVO> getIndex(@RequestParam String clientType) {
PageDataDTO pageDataDTO = new PageDataDTO(PageEnum.INDEX.name());
pageDataDTO.setPageClientType(clientType);
return ResultUtil.data(pageService.getPageData(pageDataDTO));
PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
return ResultUtil.data(pageDataVO);
}
@ApiOperation(value = "获取页面数据")
@GetMapping
public ResultMessage<PageDataVO> get(PageDataDTO pageDataDTO) {
return ResultUtil.data(pageService.getPageData(pageDataDTO));
PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
return ResultUtil.data(pageDataVO);
}
@ApiOperation(value = "获取店铺首页")
@GetMapping("/getStore")
public ResultMessage<PageDataVO> getShopPage(@RequestParam String clientType,String storeId) {
PageDataDTO pageDataDTO = new PageDataDTO(PageEnum.STORE.name());
pageDataDTO.setPageClientType(clientType);
pageDataDTO.setNum(storeId);
PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
return ResultUtil.data(pageDataVO);
}
@ApiOperation(value = "获取页面数据")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "String", paramType = "path")
@GetMapping("/get/{id}")
public ResultMessage<PageData> getPage(@PathVariable("id") String id) {
return ResultUtil.data(pageService.getSpecial(id));
}
@ApiOperation(value = "获取专题页面数据(根据消息内容得知)")
@GetMapping("/getSpecial")
public ResultMessage<PageData> getSpecial(@RequestParam String body) {
String name = "";
if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0 && body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
} else if (body.indexOf("") >= 0) {
name = body.substring(body.indexOf("") + 1, body.lastIndexOf(""));
}
PageData pageData = pageService.getOne(
new LambdaQueryWrapper<PageData>()
.eq(PageData::getPageType, PageEnum.SPECIAL.name())
.eq(PageData::getName, name));
return ResultUtil.data(pageData);
}
}

View File

@@ -0,0 +1,48 @@
package cn.lili.controller.other.broadcast;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.goods.entity.vos.StudioVO;
import cn.lili.modules.goods.service.StudioService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 买家端,直播间接口
*
* @author Bulbasaur
* @since 2021/5/20 12:03 下午
*/
@RestController
@Api(tags = "买家端,直播间接口")
@RequestMapping("/buyer/broadcast/studio")
public class StudioController {
@Autowired
private StudioService studioService;
@ApiOperation(value = "获取店铺直播间列表")
@ApiImplicitParams({
@ApiImplicitParam(name = "recommend", value = "是否推荐", paramType = "query", dataType = "int"),
@ApiImplicitParam(name = "status", value = "直播间状态", paramType = "query", dataType = "String")
})
@GetMapping
public ResultMessage<IPage<StudioVO>> page(PageVO pageVO, Integer recommend, String status) {
return ResultUtil.data(studioService.studioList(pageVO, recommend, status));
}
@ApiOperation(value = "获取店铺直播间回放地址")
@GetMapping("/getLiveInfo/{roomId}")
public ResultMessage<Object> getLiveInfo(Integer roomId) {
return ResultUtil.data(studioService.getLiveInfo(roomId));
}
}

View File

@@ -1,12 +1,18 @@
package cn.lili.controller.purchase;
package cn.lili.controller.other.purchase;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.goods.entity.dos.GoodsUnit;
import cn.lili.modules.goods.service.GoodsUnitService;
import cn.lili.modules.purchase.entity.dos.PurchaseOrder;
import cn.lili.modules.purchase.entity.params.PurchaseOrderSearchParams;
import cn.lili.modules.purchase.entity.vos.PurchaseOrderVO;
import cn.lili.modules.purchase.service.PurchaseOrderService;
import cn.lili.mybatis.util.PageUtil;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -20,11 +26,11 @@ import javax.validation.constraints.NotNull;
* 买家端,采购接口
*
* @author Chopper
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Api(tags = "买家端,采购接口")
@RestController
@RequestMapping("/buyer/purchase")
@RequestMapping("/buyer/other/purchase/purchase")
public class PurchaseBuyerController {
/**
@@ -33,9 +39,21 @@ public class PurchaseBuyerController {
@Autowired
private PurchaseOrderService purchaseOrderService;
@Autowired
private GoodsUnitService goodsUnitService;
@ApiOperation(value = "分页获取商品计量单位")
@GetMapping("/goodsUnit")
public ResultMessage<IPage<GoodsUnit>> goodsUnitPage(PageVO pageVO) {
return ResultUtil.data(goodsUnitService.page(PageUtil.initPage(pageVO)));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "添加采购单")
@PostMapping
public ResultMessage<PurchaseOrderVO> addPurchaseOrderVO(PurchaseOrderVO purchaseOrderVO) {
public ResultMessage<PurchaseOrderVO> addPurchaseOrderVO(@RequestBody PurchaseOrderVO purchaseOrderVO) {
return ResultUtil.data(purchaseOrderService.addPurchaseOrder(purchaseOrderVO));
}
@@ -59,12 +77,13 @@ public class PurchaseBuyerController {
return ResultUtil.data(purchaseOrderService.page(purchaseOrderSearchParams));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "关闭采购单")
@ApiImplicitParam(name = "id", value = "采购单ID", required = true, dataType = "Long", paramType = "path")
@PutMapping("/{id}")
public ResultMessage<Object> close(@NotNull @PathVariable String id) {
purchaseOrderService.close(id);
return ResultUtil.success();
return ResultUtil.success(ResultCode.SUCCESS);
}
}

View File

@@ -1,9 +1,14 @@
package cn.lili.controller.purchase;
package cn.lili.controller.other.purchase;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.purchase.entity.dos.PurchaseOrder;
import cn.lili.modules.purchase.entity.dos.PurchaseQuoted;
import cn.lili.modules.purchase.entity.vos.PurchaseQuotedVO;
import cn.lili.modules.purchase.service.PurchaseOrderService;
import cn.lili.modules.purchase.service.PurchaseQuotedService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -18,11 +23,11 @@ import java.util.List;
* 买家端,采购报价接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Api(tags = "买家端,采购报价接口")
@RestController
@RequestMapping("/buyer/purchaseQuoted")
@RequestMapping("/buyer/other/purchase/purchaseQuoted")
public class PurchaseQuotedController {
/**
@@ -30,10 +35,19 @@ public class PurchaseQuotedController {
*/
@Autowired
private PurchaseQuotedService purchaseQuotedService;
/**
* 采购单
*/
@Autowired
private PurchaseOrderService purchaseOrderService;
@ApiOperation(value = "添加采购单报价")
@PostMapping
public ResultMessage<PurchaseQuoted> addPurchaseOrderVO(PurchaseQuotedVO purchaseQuotedVO) {
public ResultMessage<PurchaseQuoted> addPurchaseOrderVO(@RequestBody PurchaseQuotedVO purchaseQuotedVO) {
PurchaseOrder purchaseOrder=purchaseOrderService.getById(purchaseQuotedVO.getPurchaseOrderId());
if(DateUtil.compare(purchaseOrder.getDeadline(),new DateTime())< 0){
ResultUtil.error(ResultCode.PURCHASE_ORDER_DEADLINE_ERROR);
}
return ResultUtil.data(purchaseQuotedService.addPurchaseQuoted(purchaseQuotedVO));
}

View File

@@ -1,33 +1,47 @@
package cn.lili.controller.passport;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.sms.SmsUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.verification.enums.VerificationEnums;
import cn.lili.common.verification.service.VerificationService;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.security.enums.UserEnums;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.Member;
import cn.lili.modules.member.entity.dto.MemberEditDTO;
import cn.lili.modules.member.entity.enums.QRCodeLoginSessionStatusEnum;
import cn.lili.modules.member.entity.vo.QRLoginResultVo;
import cn.lili.modules.member.service.MemberService;
import cn.lili.modules.sms.SmsUtil;
import cn.lili.modules.verification.entity.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.async.DeferredResult;
import javax.validation.constraints.NotNull;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* 买家端,会员接口
*
* @author Chopper
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@Slf4j
@RestController
@Api(tags = "买家端,会员接口")
@RequestMapping("/buyer/members")
@RequestMapping("/buyer/passport/member")
public class MemberBuyerController {
@Autowired
@@ -38,6 +52,73 @@ public class MemberBuyerController {
private VerificationService verificationService;
@ApiOperation(value = "web-获取登录二维码")
@PostMapping(value = "/pc_session", produces = "application/json;charset=UTF-8")
public ResultMessage<Object> createPcSession() {
return ResultUtil.data(memberService.createPcSession());
}
/**
* 长轮询参考nacos
*
* @param token
* @param beforeSessionStatus 上次记录的session状态
* @return
*/
@ApiOperation(value = "web-二维码登录")
@PostMapping(value = "/session_login/{token}", produces = "application/json;charset=UTF-8")
public Object loginWithSession(@PathVariable("token") String token, Integer beforeSessionStatus) {
log.info("receive login with session key {}", token);
ResponseEntity<ResultMessage<Object>> timeoutResponseEntity =
new ResponseEntity<>(ResultUtil.error(ResultCode.ERROR), HttpStatus.OK);
int timeoutSecond = 20;
DeferredResult<ResponseEntity<Object>> deferredResult = new DeferredResult<>(timeoutSecond * 1000L, timeoutResponseEntity);
CompletableFuture.runAsync(() -> {
try {
int i = 0;
while (i < timeoutSecond) {
QRLoginResultVo queryResult = memberService.loginWithSession(token);
int status = queryResult.getStatus();
if (status == beforeSessionStatus
&& (QRCodeLoginSessionStatusEnum.WAIT_SCANNING.getCode() == status
|| QRCodeLoginSessionStatusEnum.SCANNING.getCode() == status)) {
//睡眠一秒种,继续等待结果
TimeUnit.SECONDS.sleep(1);
} else {
deferredResult.setResult(new ResponseEntity<>(ResultUtil.data(queryResult), HttpStatus.OK));
break;
}
i++;
}
} catch (Exception e) {
log.error("获取登录状态异常,", e);
deferredResult.setResult(new ResponseEntity<>(ResultUtil.error(ResultCode.ERROR), HttpStatus.OK));
Thread.currentThread().interrupt();
}
}, Executors.newCachedThreadPool());
return deferredResult;
}
@ApiOperation(value = "app扫码")
@PostMapping(value = "/app_scanner", produces = "application/json;charset=UTF-8")
public ResultMessage<Object> appScanner(String token) {
return ResultUtil.data(memberService.appScanner(token));
}
@ApiOperation(value = "app扫码-登录确认:同意/拒绝")
@ApiImplicitParams({
@ApiImplicitParam(name = "token", value = "sessionToken", required = true, paramType = "query"),
@ApiImplicitParam(name = "code", value = "操作0拒绝登录1同意登录", required = true, paramType = "query")
})
@PostMapping(value = "/app_confirm", produces = "application/json;charset=UTF-8")
public ResultMessage<Object> appSConfirm(String token, Integer code) {
boolean flag = memberService.appSConfirm(token, code);
return flag ? ResultUtil.success() : ResultUtil.error(ResultCode.ERROR);
}
@ApiOperation(value = "登录接口")
@ApiImplicitParams({
@ApiImplicitParam(name = "username", value = "用户名", required = true, paramType = "query"),
@@ -47,11 +128,15 @@ public class MemberBuyerController {
public ResultMessage<Object> userLogin(@NotNull(message = "用户名不能为空") @RequestParam String username,
@NotNull(message = "密码不能为空") @RequestParam String password,
@RequestHeader String uuid) {
if (verificationService.check(uuid, VerificationEnums.LOGIN)) {
verificationService.check(uuid, VerificationEnums.LOGIN);
return ResultUtil.data(this.memberService.usernameLogin(username, password));
} else {
throw new ServiceException(ResultCode.VERIFICATION_ERROR);
}
@ApiOperation(value = "注销接口")
@PostMapping("/logout")
public ResultMessage<Object> logout() {
this.memberService.logout(UserEnums.MEMBER);
return ResultUtil.success();
}
@ApiOperation(value = "短信登录接口")
@@ -63,11 +148,11 @@ public class MemberBuyerController {
public ResultMessage<Object> smsLogin(@NotNull(message = "手机号为空") @RequestParam String mobile,
@NotNull(message = "验证码为空") @RequestParam String code,
@RequestHeader String uuid) {
// if(smsUtil.verifyCode(mobile,VerificationEnums.LOGIN,uuid,code)){
if (smsUtil.verifyCode(mobile, VerificationEnums.LOGIN, uuid, code)) {
return ResultUtil.data(memberService.mobilePhoneLogin(mobile));
// }else {
// throw new ServiceException("验证码错误");
// }
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_CHECKED_ERROR);
}
}
@ApiOperation(value = "注册用户")
@@ -84,12 +169,12 @@ public class MemberBuyerController {
@RequestHeader String uuid,
@NotNull(message = "验证码不能为空") @RequestParam String code) {
boolean result = smsUtil.verifyCode(mobilePhone, VerificationEnums.REGISTER, uuid, code);
if (result) {
if (smsUtil.verifyCode(mobilePhone, VerificationEnums.REGISTER, uuid, code)) {
return ResultUtil.data(memberService.register(username, password, mobilePhone));
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_ERROR);
throw new ServiceException(ResultCode.VERIFICATION_SMS_CHECKED_ERROR);
}
}
@ApiOperation(value = "获取当前登录用户接口")
@@ -111,16 +196,15 @@ public class MemberBuyerController {
//校验短信验证码是否正确
if (smsUtil.verifyCode(mobile, VerificationEnums.FIND_USER, uuid, code)) {
//校验是否通过手机号可获取会员,存在则将会员信息存入缓存有效时间3分钟
if (memberService.findByMobile(uuid, mobile)) {
memberService.findByMobile(uuid, mobile);
return ResultUtil.success();
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_CHECKED_ERROR);
}
}
throw new ServiceException(ResultCode.VERIFICATION_ERROR);
}
@ApiOperation(value = "修改密码")
@ApiImplicitParams({
@ApiImplicitParam(name = "mobile", value = "手机号", required = true, paramType = "query"),
@ApiImplicitParam(name = "password", value = "是否保存登录", required = true, paramType = "query")
})
@PostMapping("/resetPassword")
@@ -147,6 +231,34 @@ public class MemberBuyerController {
return ResultUtil.data(memberService.modifyPass(password, newPassword));
}
@ApiOperation(value = "初始设置密码")
@ApiImplicitParams({
@ApiImplicitParam(name = "newPassword", value = "新密码", required = true, paramType = "query")
})
@PutMapping("/canInitPassword")
public ResultMessage<Object> canInitPassword() {
return ResultUtil.data(memberService.canInitPass());
}
@ApiOperation(value = "初始设置密码")
@ApiImplicitParams({
@ApiImplicitParam(name = "newPassword", value = "新密码", required = true, paramType = "query")
})
@PutMapping("/initPassword")
public ResultMessage<Object> initPassword(@NotNull(message = "密码不能为空") @RequestParam String password) {
memberService.initPass(password);
return ResultUtil.success();
}
@ApiOperation(value = "注销账号")
@ApiImplicitParams({
@ApiImplicitParam(name = "password", value = "密码", required = true, paramType = "query")
})
@PutMapping("/cancellation")
public ResultMessage<Member> cancellation(@NotNull(message = "密码不能为空") @RequestParam String password) {
memberService.cancellation(password);
return ResultUtil.success();
}
@ApiOperation(value = "刷新token")
@GetMapping("/refresh/{refreshToken}")
@@ -154,4 +266,18 @@ public class MemberBuyerController {
return ResultUtil.data(this.memberService.refreshToken(refreshToken));
}
@GetMapping("/getImUser")
@ApiOperation(value = "获取用户信息")
public ResultMessage<Member> getImUser() {
AuthUser authUser = UserContext.getCurrentUser();
return ResultUtil.data(memberService.getById(authUser.getId()));
}
@GetMapping("/getImUserDetail/{memberId}")
@ApiImplicitParam(name = "memberId", value = "店铺Id", required = true, dataType = "String", paramType = "path")
@ApiOperation(value = "获取用户信息")
public ResultMessage<Member> getImUserDetail(@PathVariable String memberId) {
return ResultUtil.data(memberService.getById(memberId));
}
}

View File

@@ -17,11 +17,11 @@ import java.util.List;
* 买家端,app/小程序 联合登录
*
* @author Chopper
* @date 2020-11-25 19:29
* @since 2020-11-25 19:29
*/
@RestController
@Api(tags = "买家端,app/小程序 联合登录")
@RequestMapping("/buyer/connect/bind")
@RequestMapping("/buyer/passport/connect/bind")
public class ConnectBuyerBindController {
@Autowired

View File

@@ -2,24 +2,26 @@ package cn.lili.controller.passport.connect;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.token.Token;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.token.Token;
import cn.lili.common.utils.UuidUtils;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.connect.entity.dto.AuthCallback;
import cn.lili.modules.connect.entity.dto.ConnectAuthUser;
import cn.lili.modules.connect.request.AuthRequest;
import cn.lili.modules.connect.service.ConnectService;
import cn.lili.modules.connect.util.ConnectUtil;
import cn.lili.modules.connect.util.UuidUtils;
import cn.lili.modules.member.service.MemberService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@@ -27,11 +29,11 @@ import java.io.IOException;
* 买家端,web联合登录
*
* @author Chopper
* @date 2020-11-25 19:29
*/
@Slf4j
@RestController
@Api(tags = "买家端,web联合登录")
@RequestMapping("/buyer/connect")
@RequestMapping("/buyer/passport/connect/connect")
public class ConnectBuyerWebController {
@Autowired
@@ -45,7 +47,7 @@ public class ConnectBuyerWebController {
@GetMapping("/login/web/{type}")
@ApiOperation(value = "WEB信任登录授权")
@ApiOperation(value = "WEB信任登录授权,包含PC、WAP")
@ApiImplicitParams({
@ApiImplicitParam(name = "type", value = "登录方式:QQ,微信,微信_PC",
allowableValues = "QQ,WECHAT,WECHAT_PC", paramType = "path")
@@ -60,8 +62,8 @@ public class ConnectBuyerWebController {
@ApiOperation(value = "信任登录统一回调地址", hidden = true)
@GetMapping("/callback/{type}")
public void callBack(@PathVariable String type, AuthCallback callback, HttpServletResponse httpServletResponse) throws IOException {
connectUtil.callback(type, callback, httpServletResponse);
public void callBack(@PathVariable String type, AuthCallback callback, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException {
connectUtil.callback(type, callback, httpServletRequest, httpServletResponse);
}
@ApiOperation(value = "信任登录响应结果获取")
@@ -73,26 +75,14 @@ public class ConnectBuyerWebController {
return connectUtil.getResult(state);
}
@GetMapping("/register/auto")
@ApiOperation(value = "WEB信任登录授权")
public ResultMessage<Token> webAuthorize() {
Token token = memberService.autoRegister();
return ResultUtil.data(token);
}
@ApiOperation(value = "unionID登录")
@ApiImplicitParams({
@ApiImplicitParam(name = "openId", value = "openid", required = true, paramType = "query"),
@ApiImplicitParam(name = "type", value = "联合类型", required = true,
allowableValues = "WECHAT,QQ,ALIPAY,WEIBO,APPLE", paramType = "query"),
@ApiImplicitParam(name = "uniAccessToken", value = "联合登陆返回的accessToken", required = true, paramType = "query")
})
@GetMapping("/app/login")
public ResultMessage<Token> unionIDLogin(ConnectAuthUser authUser, @RequestHeader("uuid") String uuid) {
@ApiOperation(value = "APP-unionID登录")
@PostMapping("/app/login")
public ResultMessage<Token> unionLogin(@RequestBody ConnectAuthUser authUser, @RequestHeader("uuid") String uuid) {
try {
return ResultUtil.data(connectService.appLoginCallback(authUser, uuid));
return ResultUtil.data(connectService.unionLoginCallback(authUser, uuid));
} catch (Exception e) {
e.printStackTrace();
log.error("unionID登录错误", e);
}
return null;
}

View File

@@ -1,14 +1,14 @@
package cn.lili.controller.passport.connect;
import cn.lili.common.token.Token;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.token.Token;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.connect.entity.dto.WechatMPLoginParams;
import cn.lili.modules.connect.service.ConnectService;
import cn.lili.modules.message.entity.dos.WechatMPMessage;
import cn.lili.modules.message.service.ShortLinkService;
import cn.lili.modules.message.service.WechatMPMessageService;
import cn.lili.modules.message.util.WechatMpCodeUtil;
import cn.lili.modules.wechat.entity.dos.WechatMPMessage;
import cn.lili.modules.wechat.service.WechatMPMessageService;
import cn.lili.modules.wechat.util.WechatMpCodeUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
@@ -23,10 +23,10 @@ import java.util.List;
* 买家端,小程序登录接口
*
* @author Chopper
* @date 2021/2/19 09:28
* @since 2021/2/19 09:28
*/
@RestController
@RequestMapping("/buyer/mini-program")
@RequestMapping("/buyer/passport/connect/miniProgram")
@Api(tags = "买家端,小程序登录接口")
public class MiniProgramBuyerController {
@@ -34,6 +34,7 @@ public class MiniProgramBuyerController {
public ConnectService connectService;
@Autowired
public WechatMpCodeUtil wechatMpCodeUtil;
@SuppressWarnings("AlibabaLowerCamelCaseVariableNaming")
@Autowired
public WechatMPMessageService wechatMPMessageService;
@Autowired

View File

@@ -2,17 +2,18 @@ package cn.lili.controller.payment;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.payment.kit.CashierSupport;
import cn.lili.modules.payment.kit.dto.PayParam;
import cn.lili.modules.payment.kit.enums.PaymentClientEnum;
import cn.lili.modules.payment.kit.enums.PaymentMethodEnum;
import cn.lili.modules.payment.entity.enums.PaymentClientEnum;
import cn.lili.modules.payment.entity.enums.PaymentMethodEnum;
import cn.lili.modules.payment.kit.params.dto.CashierParam;
import cn.lili.modules.payment.service.PaymentService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@@ -24,17 +25,16 @@ import javax.servlet.http.HttpServletResponse;
* 买家端,收银台接口
*
* @author Chopper
* @date 2020-12-18 16:59
* @since 2020-12-18 16:59
*/
@Slf4j
@RestController
@Api(tags = "买家端,收银台接口")
@RequestMapping("/buyer/cashier")
@RequestMapping("/buyer/payment/cashier")
public class CashierController {
@Autowired
private CashierSupport cashierSupport;
@Autowired
private PaymentService paymentService;
@ApiImplicitParams({
@@ -65,8 +65,11 @@ public class CashierController {
try {
return cashierSupport.payment(paymentMethodEnum, paymentClientEnum, request, response, payParam);
} catch (ServiceException se) {
log.info("支付异常", se);
throw se;
} catch (Exception e) {
e.printStackTrace();
log.error("收银台支付错误", e);
}
return null;

View File

@@ -1,10 +1,9 @@
package cn.lili.controller.payment;
import cn.lili.modules.payment.kit.RefundSupport;
import cn.lili.modules.payment.kit.enums.PaymentMethodEnum;
import cn.lili.modules.payment.entity.enums.PaymentMethodEnum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -17,11 +16,11 @@ import javax.servlet.http.HttpServletRequest;
* 买家端,退款回调
*
* @author Chopper
* @date 2020-12-18 16:59
* @since 2020-12-18 16:59
*/
@Api(tags = "买家端,退款回调")
@RestController
@RequestMapping("/buyer/cashier/refund")
@RequestMapping("/buyer/payment/cashierRefund")
public class CashierRefundController {
@Autowired

View File

@@ -1,13 +1,20 @@
package cn.lili.controller.member;
package cn.lili.controller.promotion;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dos.MemberCoupon;
import cn.lili.modules.promotion.entity.vos.CouponSearchParams;
import cn.lili.modules.promotion.entity.dto.CouponActivityTrigger;
import cn.lili.modules.promotion.entity.dto.search.CouponSearchParams;
import cn.lili.modules.promotion.entity.dto.search.MemberCouponSearchParams;
import cn.lili.modules.promotion.entity.enums.CouponActivityTypeEnum;
import cn.lili.modules.promotion.entity.enums.CouponGetEnum;
import cn.lili.modules.promotion.entity.enums.PromotionsStatusEnum;
import cn.lili.modules.promotion.entity.vos.CouponVO;
import cn.lili.modules.promotion.service.CouponActivityService;
import cn.lili.modules.promotion.service.CouponService;
import cn.lili.modules.promotion.service.MemberCouponService;
import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -22,12 +29,14 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Objects;
/**
* 买家端,买家优惠券接口
*
* @author paulG
* @date 2020/11/17 3:35 下午
* @since 2020/11/17 3:35 下午
*/
@RestController
@Api(tags = "买家端,买家优惠券接口")
@@ -40,30 +49,52 @@ public class CouponBuyerController {
@Autowired
private CouponService couponService;
/**
* 优惠券活动
*/
@Autowired
private CouponActivityService couponActivityService;
/**
* 会员优惠券
*/
@Autowired
private MemberCouponService memberCouponService;
@GetMapping("/activity")
@ApiOperation(value = "自动领取优惠券")
public ResultMessage<List<MemberCoupon>> activity() {
return ResultUtil.data(couponActivityService.trigger(
CouponActivityTrigger.builder()
.couponActivityTypeEnum(CouponActivityTypeEnum.AUTO_COUPON)
.nickName(UserContext.getCurrentUser().getNickName())
.userId(UserContext.getCurrentUser().getId())
.build())
);
}
@GetMapping
@ApiOperation(value = "获取可领取优惠券列表")
public ResultMessage<IPage<CouponVO>> getCouponList(CouponSearchParams queryParam, PageVO page) {
IPage<CouponVO> canUseCoupons = couponService.getCanReceiveCoupons(queryParam, page);
queryParam.setPromotionStatus(PromotionsStatusEnum.START.name());
queryParam.setGetType(CouponGetEnum.FREE.name());
IPage<CouponVO> canUseCoupons = couponService.pageVOFindAll(queryParam, page);
return ResultUtil.data(canUseCoupons);
}
@ApiOperation(value = "获取当前会员的优惠券列表")
@GetMapping("/getCoupons")
public ResultMessage<IPage<MemberCoupon>> getCoupons(CouponSearchParams param, PageVO pageVo) {
param.setMemberId(UserContext.getCurrentUser().getId());
public ResultMessage<IPage<MemberCoupon>> getCoupons(MemberCouponSearchParams param, PageVO pageVo) {
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
param.setMemberId(currentUser.getId());
return ResultUtil.data(memberCouponService.getMemberCoupons(param, pageVo));
}
@ApiOperation(value = "获取当前会员的对于当前商品可使用的优惠券列表")
@GetMapping("/canUse")
public ResultMessage<IPage<MemberCoupon>> getCouponsByCanUse(CouponSearchParams param, Double totalPrice, PageVO pageVo) {
param.setMemberId(UserContext.getCurrentUser().getId());
public ResultMessage<IPage<MemberCoupon>> getCouponsByCanUse(MemberCouponSearchParams param, Double totalPrice, PageVO pageVo) {
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
param.setMemberId(currentUser.getId());
return ResultUtil.data(memberCouponService.getMemberCouponsByCanUse(param, totalPrice, pageVo));
}
@@ -79,8 +110,8 @@ public class CouponBuyerController {
})
@GetMapping("/receive/{couponId}")
public ResultMessage<Object> receiveCoupon(@NotNull(message = "优惠券ID不能为空") @PathVariable("couponId") String couponId) {
memberCouponService.checkCouponLimit(couponId, UserContext.getCurrentUser().getId());
memberCouponService.receiveCoupon(couponId, UserContext.getCurrentUser().getId(), UserContext.getCurrentUser().getNickName());
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
memberCouponService.receiveBuyerCoupon(couponId, currentUser.getId(), currentUser.getNickName());
return ResultUtil.success();
}
@@ -90,7 +121,7 @@ public class CouponBuyerController {
})
@GetMapping(value = "/get/{id}")
public ResultMessage<MemberCoupon> get(@NotNull(message = "优惠券ID不能为空") @PathVariable("id") String id) {
MemberCoupon memberCoupon = memberCouponService.getById(id);
MemberCoupon memberCoupon = OperationalJudgment.judgment(memberCouponService.getById(id));
return ResultUtil.data(memberCoupon);
}

View File

@@ -0,0 +1,113 @@
package cn.lili.controller.promotion;
import cn.hutool.core.text.CharSequenceUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dos.KanjiaActivity;
import cn.lili.modules.promotion.entity.dos.KanjiaActivityLog;
import cn.lili.modules.promotion.entity.dto.search.KanJiaActivityLogQuery;
import cn.lili.modules.promotion.entity.dto.search.KanjiaActivityGoodsParams;
import cn.lili.modules.promotion.entity.dto.search.KanjiaActivityQuery;
import cn.lili.modules.promotion.entity.dto.search.KanjiaActivitySearchParams;
import cn.lili.modules.promotion.entity.enums.PromotionsStatusEnum;
import cn.lili.modules.promotion.entity.vos.kanjia.KanjiaActivityGoodsListVO;
import cn.lili.modules.promotion.entity.vos.kanjia.KanjiaActivityGoodsVO;
import cn.lili.modules.promotion.entity.vos.kanjia.KanjiaActivityVO;
import cn.lili.modules.promotion.service.KanjiaActivityGoodsService;
import cn.lili.modules.promotion.service.KanjiaActivityLogService;
import cn.lili.modules.promotion.service.KanjiaActivityService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* 买家端,砍价活动商品
*
* @author qiuqiu
* @date 2021/7/12
**/
@RestController
@Api(tags = "买家端,砍价商品接口")
@RequestMapping("/buyer/promotion/kanjiaGoods")
public class KanjiaGoodsActivityBuyerController {
/**
* 砍价活动商品
*/
@Autowired
private KanjiaActivityGoodsService kanJiaActivityGoodsService;
/**
* 帮砍记录
*/
@Autowired
private KanjiaActivityLogService kanJiaActivityLogService;
/**
* 砍价活动
*/
@Autowired
private KanjiaActivityService kanJiaActivityService;
@GetMapping
@ApiOperation(value = "分页获取砍价商品")
public ResultMessage<IPage<KanjiaActivityGoodsListVO>> kanjiaActivityGoodsPage(KanjiaActivityGoodsParams kanjiaActivityGoodsParams, PageVO page) {
// 会员端查询到的肯定是已经开始的活动商品
kanjiaActivityGoodsParams.setPromotionStatus(PromotionsStatusEnum.START.name());
// kanjiaActivityGoodsParams.setStartTime(System.currentTimeMillis());
// kanjiaActivityGoodsParams.setEndTime(System.currentTimeMillis());
return ResultUtil.data(kanJiaActivityGoodsService.kanjiaGoodsVOPage(kanjiaActivityGoodsParams, page));
}
@GetMapping("/{id}")
@ApiOperation(value = "获取砍价活动商品")
@ApiImplicitParam(name = "id", value = "砍价活动商品ID", required = true, paramType = "path")
public ResultMessage<KanjiaActivityGoodsVO> getKanjiaActivityGoods(@PathVariable String id) {
return ResultUtil.data(kanJiaActivityGoodsService.getKanJiaGoodsVO(id));
}
@GetMapping("/getKanjiaActivity/logs")
@ApiOperation(value = "分页获取砍价活动-帮砍记录")
public ResultMessage<IPage<KanjiaActivityLog>> getKanjiaActivityLog(KanJiaActivityLogQuery kanJiaActivityLogQuery, PageVO page) {
return ResultUtil.data(kanJiaActivityLogService.getForPage(kanJiaActivityLogQuery, page));
}
@PostMapping("/getKanjiaActivity")
@ApiOperation(value = "获取砍价活动")
public ResultMessage<KanjiaActivityVO> getKanJiaActivity(KanjiaActivitySearchParams kanjiaActivitySearchParams) {
//如果是非被邀请关系则填写会员ID
if (CharSequenceUtil.isEmpty(kanjiaActivitySearchParams.getKanjiaActivityId())) {
kanjiaActivitySearchParams.setMemberId(UserContext.getCurrentUser().getId());
}
return ResultUtil.data(kanJiaActivityService.getKanjiaActivityVO(kanjiaActivitySearchParams));
}
@PostMapping
@ApiImplicitParam(name = "id", value = "砍价活动商品ID", required = true, paramType = "path")
@ApiOperation(value = "发起砍价活动")
public ResultMessage<KanjiaActivityLog> launchKanJiaActivity(String id) {
KanjiaActivityLog kanjiaActivityLog = kanJiaActivityService.add(id);
return ResultUtil.data(kanjiaActivityLog);
}
@PostMapping("/help/{kanjiaActivityId}")
@ApiImplicitParam(name = "kanJiaActivityId", value = "砍价活动ID", required = true, paramType = "path")
@ApiOperation(value = "帮砍一刀")
public ResultMessage<KanjiaActivityLog> helpKanJia(@PathVariable String kanjiaActivityId) {
KanjiaActivityLog kanjiaActivityLog = kanJiaActivityService.helpKanJia(kanjiaActivityId);
return ResultUtil.data(kanjiaActivityLog);
}
@GetMapping("/kanjiaActivity/mine/")
@ApiOperation(value = "分页获取已参与的砍价活动")
public ResultMessage<IPage<KanjiaActivity>> getPointsGoodsPage(KanjiaActivityQuery kanjiaActivityQuery, PageVO page) {
// 会员端查询到的肯定是已经开始的活动商品
kanjiaActivityQuery.setMemberId(UserContext.getCurrentUser().getId());
IPage<KanjiaActivity> kanjiaActivity = kanJiaActivityService.getForPage(kanjiaActivityQuery, page);
return ResultUtil.data(kanjiaActivity);
}
}

View File

@@ -1,15 +1,14 @@
package cn.lili.controller.promotion;
import cn.hutool.core.date.DateUtil;
import cn.lili.common.enums.PromotionTypeEnum;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dto.PromotionGoodsDTO;
import cn.lili.modules.promotion.entity.enums.PromotionStatusEnum;
import cn.lili.modules.promotion.entity.enums.PromotionTypeEnum;
import cn.lili.modules.promotion.entity.dos.PromotionGoods;
import cn.lili.modules.promotion.entity.dto.search.PromotionGoodsSearchParams;
import cn.lili.modules.promotion.entity.enums.PromotionsStatusEnum;
import cn.lili.modules.promotion.entity.vos.PintuanMemberVO;
import cn.lili.modules.promotion.entity.vos.PintuanShareVO;
import cn.lili.modules.promotion.entity.vos.PromotionGoodsSearchParams;
import cn.lili.modules.promotion.service.PintuanService;
import cn.lili.modules.promotion.service.PromotionGoodsService;
import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -27,7 +26,7 @@ import java.util.List;
* 买家端,拼团接口
*
* @author paulG
* @date 2021/2/20
* @since 2021/2/20
**/
@Api(tags = "买家端,拼团接口")
@RestController
@@ -40,14 +39,13 @@ public class PintuanBuyerController {
@ApiOperation(value = "获取拼团商品")
@GetMapping
public ResultMessage<IPage<PromotionGoodsDTO>> getPintuanCategory(String goodsName, String categoryPath, PageVO pageVo) {
public ResultMessage<IPage<PromotionGoods>> getPintuanCategory(String goodsName, String categoryPath, PageVO pageVo) {
PromotionGoodsSearchParams searchParams = new PromotionGoodsSearchParams();
searchParams.setGoodsName(goodsName);
searchParams.setPromotionType(PromotionTypeEnum.PINTUAN.name());
searchParams.setPromotionStatus(PromotionStatusEnum.START.name());
searchParams.setPromotionStatus(PromotionsStatusEnum.START.name());
searchParams.setCategoryPath(categoryPath);
searchParams.setEndTime(DateUtil.date().getTime());
return ResultUtil.data(promotionGoodsService.getPromotionGoods(searchParams, pageVo));
return ResultUtil.data(promotionGoodsService.pageFindAll(searchParams, pageVo));
}

View File

@@ -3,16 +3,20 @@ package cn.lili.controller.promotion;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dos.PointsGoods;
import cn.lili.modules.promotion.entity.dos.PointsGoodsCategory;
import cn.lili.modules.promotion.entity.vos.PointsGoodsSearchParams;
import cn.lili.modules.promotion.entity.dto.search.PointsGoodsSearchParams;
import cn.lili.modules.promotion.entity.enums.PromotionsStatusEnum;
import cn.lili.modules.promotion.entity.vos.PointsGoodsVO;
import cn.lili.modules.promotion.service.PointsGoodsCategoryService;
import cn.lili.modules.promotion.service.PointsGoodsService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -20,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,积分商品接口
*
* @author paulG
* @date 2021/1/19
* @since 2021/1/19
**/
@RestController
@Api(tags = "买家端,积分商品接口")
@@ -33,8 +37,9 @@ public class PointsGoodsBuyerController {
@GetMapping
@ApiOperation(value = "分页获取积分商品")
public ResultMessage<IPage<PointsGoodsVO>> getPointsGoodsPage(PointsGoodsSearchParams searchParams, PageVO page) {
IPage<PointsGoodsVO> pointsGoodsByPage = pointsGoodsService.getPointsGoodsByPage(searchParams, page);
public ResultMessage<IPage<PointsGoods>> getPointsGoodsPage(PointsGoodsSearchParams searchParams, PageVO page) {
searchParams.setPromotionStatus(PromotionsStatusEnum.START.name());
IPage<PointsGoods> pointsGoodsByPage = pointsGoodsService.pageFindAll(searchParams, page);
return ResultUtil.data(pointsGoodsByPage);
}
@@ -44,4 +49,11 @@ public class PointsGoodsBuyerController {
return ResultUtil.data(pointsGoodsCategoryService.getCategoryByPage(name, page));
}
@GetMapping("/{id}")
@ApiOperation(value = "获取积分活动商品")
@ApiImplicitParam(name = "id", value = "积分商品ID", required = true, paramType = "path")
public ResultMessage<PointsGoodsVO> getPointsGoodsPage(@PathVariable String id) {
return ResultUtil.data(pointsGoodsService.getPointsGoodsDetail(id));
}
}

View File

@@ -17,29 +17,29 @@ import java.util.List;
/**
* 买家端,限时抢购接口
* 买家端,秒杀活动接口
*
* @author paulG
* @date 2020/11/17 2:30 下午
* @since 2020/11/17 2:30 下午
*/
@Api(tags = "买家端,限时抢购接口")
@Api(tags = "买家端,秒杀活动接口")
@RestController
@RequestMapping("/buyer/promotion/seckill")
public class SeckillBuyerController {
/**
* 限时抢购
* 秒杀活动
*/
@Autowired
private SeckillApplyService seckillApplyService;
@ApiOperation(value = "获取当天限时抢购信息")
@ApiOperation(value = "获取当天秒杀活动信息")
@GetMapping
public ResultMessage<List<SeckillTimelineVO>> getSeckillTime() {
return ResultUtil.data(seckillApplyService.getSeckillTimeline());
}
@ApiOperation(value = "获取某个时刻的限时抢购商品信息")
@ApiOperation(value = "获取某个时刻的秒杀活动商品信息")
@GetMapping("/{timeline}")
public ResultMessage<List<SeckillGoodsVO>> getSeckillGoods(@PathVariable Integer timeline) {
return ResultUtil.data(seckillApplyService.getSeckillGoods(timeline));

View File

@@ -0,0 +1,53 @@
package cn.lili.controller.store;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.OperationalJudgment;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.store.entity.dos.StoreAddress;
import cn.lili.modules.store.service.StoreAddressService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Objects;
/**
* 买家端,商家地址(自提点)接口
*
* @author chc
* @since 2022/6/2114:46
*/
@RestController
@Api(tags = "买家端,商家地址(自提点)接口")
@RequestMapping("/buyer/store/address")
public class StoreAddressBuyerController {
/**
* 店铺自提点
*/
@Autowired
private StoreAddressService storeAddressService;
@ApiOperation(value = "获取商家自提点分页")
@ApiImplicitParam(name = "storeId", value = "店铺Id", required = true, dataType = "String", paramType = "path")
@GetMapping("/page/{storeId}")
public ResultMessage<IPage<StoreAddress>> get(PageVO pageVo,@PathVariable String storeId) {
return ResultUtil.data(storeAddressService.getStoreAddress(storeId, pageVo));
}
@ApiOperation(value = "获取商家自提点信息")
@ApiImplicitParam(name = "id", value = "自提点ID", required = true, paramType = "path")
@GetMapping("/{id}")
public ResultMessage<StoreAddress> get(@PathVariable String id) {
StoreAddress address = OperationalJudgment.judgment(storeAddressService.getById(id));
return ResultUtil.data(address);
}
}

View File

@@ -1,17 +1,18 @@
package cn.lili.controller.store;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.statistics.aop.PageViewPoint;
import cn.lili.modules.statistics.aop.enums.PageViewEnum;
import cn.lili.modules.goods.entity.vos.StoreGoodsLabelVO;
import cn.lili.modules.goods.service.StoreGoodsLabelService;
import cn.lili.modules.store.entity.dos.Store;
import cn.lili.modules.store.entity.dto.StoreBankDTO;
import cn.lili.modules.store.entity.dto.StoreCompanyDTO;
import cn.lili.modules.store.entity.dto.StoreOtherInfoDTO;
import cn.lili.modules.store.entity.vos.*;
import cn.lili.modules.store.service.StoreDetailService;
import cn.lili.modules.store.service.StoreGoodsLabelService;
import cn.lili.modules.store.service.StoreService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
@@ -29,10 +30,10 @@ import java.util.List;
* 买家端,店铺接口
*
* @author Bulbasaur
* @date: 2020/11/17 2:32 下午
* @since 2020/11/17 2:32 下午
*/
@RestController
@RequestMapping("/buyer/store")
@RequestMapping("/buyer/store/store")
@Api(tags = "买家端,店铺接口")
public class StoreBuyerController {
@@ -58,14 +59,34 @@ public class StoreBuyerController {
return ResultUtil.data(storeService.findByConditionPage(entity, page));
}
@GetMapping("/store")
@ApiOperation(value = "im-获取店铺信息")
public ResultMessage<Store> getStoreUser() {
AuthUser authUser = UserContext.getCurrentUser();
return ResultUtil.data(storeService.getById(authUser.getStoreId()));
}
@GetMapping("/store/{storeId}")
@ApiImplicitParam(name = "storeId", value = "店铺Id", required = true, dataType = "String", paramType = "path")
@ApiOperation(value = "im-店铺ID获取店铺信息")
public ResultMessage<Store> getStoreUserDetail(@PathVariable String storeId) {
return ResultUtil.data(storeService.getById(storeId));
}
@ApiOperation(value = "通过id获取店铺信息")
@ApiImplicitParam(name = "id", value = "店铺ID", required = true, paramType = "path")
@GetMapping(value = "/get/detail/{id}")
@PageViewPoint(type = PageViewEnum.STORE, id = "#id")
public ResultMessage<StoreBasicInfoVO> detail(@NotNull @PathVariable String id) {
return ResultUtil.data(storeDetailService.getStoreBasicInfoDTO(id));
}
@ApiOperation(value = "通过id获取店铺详细信息-营业执照")
@ApiImplicitParam(name = "id", value = "店铺ID", required = true, paramType = "path")
@GetMapping(value = "/get/licencePhoto/{id}")
public ResultMessage<StoreOtherVO> licencePhoto(@NotNull @PathVariable String id) {
return ResultUtil.data(storeDetailService.getStoreOtherVO(id));
}
@ApiOperation(value = "通过id获取店铺商品分类")
@ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "店铺ID", required = true, paramType = "path")

View File

@@ -1,8 +1,9 @@
package cn.lili.controller.member;
package cn.lili.controller.wallet;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.vo.MemberReceiptAddVO;
@@ -19,11 +20,11 @@ import org.springframework.web.bind.annotation.*;
* 买家端,会员发票接口
*
* @author paulG
* @date: 2021-03-29 14:10:16
* @since 2021-03-29 14:10:16
*/
@RestController
@Api(tags = "买家端,会员发票接口")
@RequestMapping("/buyer/member/receipt")
@RequestMapping("/buyer/wallet/receipt")
public class MemberReceiptController {
@Autowired
@@ -35,6 +36,7 @@ public class MemberReceiptController {
return ResultUtil.data(memberReceiptService.getPage(memberReceiptVO, page));
}
@PreventDuplicateSubmissions
@ApiOperation(value = "新增会员发票")
@PostMapping
public ResultMessage<Object> add(MemberReceiptAddVO memberReceiptAddVO) {

View File

@@ -1,40 +1,48 @@
package cn.lili.controller.member;
package cn.lili.controller.wallet;
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.verification.enums.VerificationEnums;
import cn.lili.common.verification.service.VerificationService;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.Member;
import cn.lili.modules.member.entity.dos.MemberWallet;
import cn.lili.modules.member.entity.vo.MemberWalletVO;
import cn.lili.modules.member.service.MemberService;
import cn.lili.modules.member.service.MemberWalletService;
import cn.lili.modules.system.entity.dos.Setting;
import cn.lili.modules.system.entity.dto.WithdrawalSetting;
import cn.lili.modules.system.entity.enums.SettingEnum;
import cn.lili.modules.system.entity.vo.WithdrawalSettingVO;
import cn.lili.modules.system.service.SettingService;
import cn.lili.modules.verification.entity.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import cn.lili.modules.wallet.entity.dos.MemberWallet;
import cn.lili.modules.wallet.entity.vo.MemberWalletVO;
import cn.lili.modules.wallet.service.MemberWalletService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.google.gson.Gson;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Pattern;
/**
* 买家端,会员余额接口
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员余额接口")
@RequestMapping("/buyer/members/wallet")
@RequestMapping("/buyer/wallet/wallet")
@Validated
public class MemberWalletBuyerController {
/**
@@ -53,6 +61,9 @@ public class MemberWalletBuyerController {
@Autowired
private VerificationService verificationService;
@Autowired
private SettingService settingService;
@GetMapping
@ApiOperation(value = "查询会员预存款余额")
public ResultMessage<MemberWalletVO> get() {
@@ -63,6 +74,31 @@ public class MemberWalletBuyerController {
throw new ServiceException(ResultCode.USER_NOT_LOGIN);
}
@GetMapping(value = "/withdrawalSettingVO")
@ApiOperation(value = "获取提现设置VO")
public ResultMessage<Object> minPrice() {
Setting setting = settingService.get(SettingEnum.WITHDRAWAL_SETTING.name());
WithdrawalSetting withdrawalSetting = new Gson().fromJson(setting.getSettingValue(), WithdrawalSetting.class);
WithdrawalSettingVO withdrawalSettingVO = new WithdrawalSettingVO();
withdrawalSettingVO.setMinPrice(withdrawalSetting.getMinPrice());
withdrawalSettingVO.setFee(withdrawalSetting.getFee());
withdrawalSettingVO.setType(withdrawalSetting.getType());
return ResultUtil.data(withdrawalSettingVO);
}
@PreventDuplicateSubmissions
@PostMapping(value = "/withdrawal")
@ApiOperation(value = "会员中心余额提现")
@ApiImplicitParams({
@ApiImplicitParam(name = "price", value = "提现金额", required = true, dataType = "double", paramType = "query"),
@ApiImplicitParam(name = "realName", value = "真实姓名", required = true, dataType = "String", paramType = "query"),
@ApiImplicitParam(name = "connectNumber", value = "第三方登录账号", required = true, dataType = "String", paramType = "query")
})
public ResultMessage<Boolean> withdrawal(@Max(value = 9999, message = "充值金额单次最多允许提现9999元") Double price, @RequestParam String realName, @RequestParam String connectNumber) {
return ResultUtil.data(memberWalletService.applyWithdrawal(price, realName, connectNumber));
}
@PostMapping(value = "/set-password")
@ApiOperation(value = "设置支付密码")
@ApiImplicitParams({
@@ -119,14 +155,4 @@ public class MemberWalletBuyerController {
return memberWalletService.checkPassword();
}
@PostMapping(value = "/withdrawal")
@ApiOperation(value = "会员中心余额提现")
@ApiImplicitParams({
@ApiImplicitParam(name = "price", value = "提现金额", required = true, dataType = "double", paramType = "query")
})
public ResultMessage<Boolean> withdrawal(@Max(value = 1000, message = "充值金额单次最多允许提现1000元") @Min(value = 1, message = "充值金额单次最少提现金额为1元") Double price) {
return ResultUtil.data(memberWalletService.applyWithdrawal(price));
}
}

View File

@@ -1,18 +1,17 @@
package cn.lili.controller.member;
package cn.lili.controller.wallet;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.MemberWithdrawApply;
import cn.lili.modules.member.entity.vo.MemberWithdrawApplyQueryVO;
import cn.lili.modules.member.service.MemberWithdrawApplyService;
import cn.lili.modules.wallet.entity.dos.MemberWithdrawApply;
import cn.lili.modules.wallet.entity.vo.MemberWithdrawApplyQueryVO;
import cn.lili.modules.wallet.service.MemberWithdrawApplyService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -22,12 +21,11 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,余额提现记录接口
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,余额提现记录接口")
@RequestMapping("/buyer/member/withdrawApply")
@Transactional(rollbackFor = Exception.class)
public class MemberWithdrawApplyBuyerController {
@Autowired
private MemberWithdrawApplyService memberWithdrawApplyService;
@@ -38,8 +36,8 @@ public class MemberWithdrawApplyBuyerController {
public ResultMessage<IPage<MemberWithdrawApply>> getByPage(PageVO page, MemberWithdrawApplyQueryVO memberWithdrawApplyQueryVO) {
memberWithdrawApplyQueryVO.setMemberId(UserContext.getCurrentUser().getId());
//构建查询 返回数据
IPage<MemberWithdrawApply> memberWithdrawApplyIPage = memberWithdrawApplyService.getMemberWithdrawPage(page, memberWithdrawApplyQueryVO);
return ResultUtil.data(memberWithdrawApplyIPage);
IPage<MemberWithdrawApply> memberWithdrawApplyPage = memberWithdrawApplyService.getMemberWithdrawPage(page, memberWithdrawApplyQueryVO);
return ResultUtil.data(memberWithdrawApplyPage);
}
}

View File

@@ -1,17 +1,16 @@
package cn.lili.controller.member;
package cn.lili.controller.wallet;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.trade.entity.dos.Recharge;
import cn.lili.modules.order.trade.entity.vo.RechargeQueryVO;
import cn.lili.modules.order.trade.service.RechargeService;
import cn.lili.modules.wallet.entity.dos.Recharge;
import cn.lili.modules.wallet.service.RechargeService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -20,12 +19,11 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,预存款充值记录接口
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,预存款充值记录接口")
@RequestMapping("/buyer/member/recharge")
@Transactional(rollbackFor = Exception.class)
@RequestMapping("/buyer/wallet/recharge")
public class RechargeBuyerController {
@Autowired

View File

@@ -1,13 +1,13 @@
package cn.lili.controller.trade;
package cn.lili.controller.wallet;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.utils.PageUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.trade.entity.dos.WalletLog;
import cn.lili.modules.order.trade.service.WalletLogService;
import cn.lili.modules.wallet.entity.dos.WalletLog;
import cn.lili.modules.wallet.service.WalletLogService;
import cn.lili.mybatis.util.PageUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
@@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,预存款变动日志记录接口
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,预存款变动日志记录接口")
@@ -37,7 +37,8 @@ public class WalletLogBuyerController {
//获取当前登录用户
AuthUser authUser = UserContext.getCurrentUser();
//构建查询 返回数据
IPage<WalletLog> depositLogPage = walletLogService.page(PageUtil.initPage(page), new QueryWrapper<WalletLog>().eq("member_id", authUser.getId()));
IPage<WalletLog> depositLogPage = walletLogService.page(PageUtil.initPage(page),
new QueryWrapper<WalletLog>().eq("member_id", authUser.getId()).orderByDesc("create_time"));
return ResultUtil.data(depositLogPage);
}
}

View File

@@ -0,0 +1,30 @@
package cn.lili.init;
import cn.lili.modules.search.service.EsGoodsIndexService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
/**
* @author paulG
* @since 2022/6/9
**/
@Component
@Slf4j
public class EsGoodsIndexInitRunner implements ApplicationRunner {
@Autowired
private EsGoodsIndexService esGoodsIndexService;
@Override
public void run(ApplicationArguments args) {
try {
esGoodsIndexService.initIndex();
} catch (Exception e) {
log.error("检测ES商品索引失败", e);
}
}
}

View File

@@ -1,12 +1,12 @@
package cn.lili.security;
import cn.hutool.core.util.StrUtil;
import cn.lili.common.cache.Cache;
import cn.lili.common.cache.CachePrefix;
import cn.lili.cache.Cache;
import cn.lili.cache.CachePrefix;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.enums.SecurityEnum;
import cn.lili.common.security.enums.UserEnums;
import cn.lili.common.token.SecretKeyUtil;
import cn.lili.common.security.token.SecretKeyUtil;
import cn.lili.common.utils.ResponseUtil;
import com.google.gson.Gson;
import io.jsonwebtoken.Claims;
@@ -35,8 +35,7 @@ import java.util.List;
*
* @author Chopper
* @version v4.1
* @date 2020/11/17 3:37 下午
* @Description:
* @since 2020/11/17 3:37 下午
* @since
*/
@Slf4j
@@ -100,7 +99,7 @@ public class BuyerAuthenticationFilter extends BasicAuthenticationFilter {
AuthUser authUser = new Gson().fromJson(json, AuthUser.class);
//校验redis中是否有权限
if (cache.hasKey(CachePrefix.ACCESS_TOKEN.getPrefix(UserEnums.MEMBER) + jwt)) {
if (cache.hasKey(CachePrefix.ACCESS_TOKEN.getPrefix(UserEnums.MEMBER,authUser.getId()) + jwt)) {
//构造返回信息
List<GrantedAuthority> auths = new ArrayList<>();
auths.add(new SimpleGrantedAuthority("ROLE_" + authUser.getRole().name()));

View File

@@ -1,9 +1,9 @@
package cn.lili.security;
import cn.lili.common.cache.Cache;
import cn.lili.cache.Cache;
import cn.lili.common.security.CustomAccessDeniedHandler;
import cn.lili.common.utils.SpringContextUtil;
import cn.lili.config.properties.IgnoredUrlsProperties;
import cn.lili.common.properties.IgnoredUrlsProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
@@ -19,7 +19,6 @@ import org.springframework.web.cors.CorsConfigurationSource;
*
* @author Chopper
* @version v4.0
* @Description:
* @since 2020/11/14 16:20
*/

View File

@@ -3,15 +3,19 @@ server:
servlet:
context-path: /
# 正式部署时候,解开此处配置,防止文件夹被清除导致的文件上传失败问题
# multipart:
# location: /Users/lifenlong/Desktop/ceshi
tomcat:
uri-encoding: UTF-8
threads:
min-spare: 50
max: 1000
#
# tomcat:
# #最大链接数默认不设置默认是10000
# max-connections: 6500
# #最大等待队列长度允许HTTP请求缓存到请求队列的最大个数默认不限制
# accept-count: 1000
# threads:
# #最少闲置
# min-spare: 50
# #最大线程数 默认是200
# max: 800
netty:
connection-timeout:
# 与Spring Boot 2一样默认情况下大多数端点都不通过http公开我们公开了所有端点。对于生产您应该仔细选择要公开的端点。
management:
@@ -25,6 +29,8 @@ management:
exposure:
include: '*'
spring:
application:
name: buyer-api
# 要在其中注册的Spring Boot Admin Server的URL。
boot:
admin:
@@ -37,11 +43,6 @@ spring:
max-request-size: 20MB
cache:
type: redis
#JPA
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
#jackson json解析
jackson:
time-zone: GMT+8
@@ -49,17 +50,6 @@ spring:
#关闭jackson 对json做解析
fail-on-empty-beans: false
# mongodb
data:
mongodb:
host: 127.0.0.1
port: 27017
database: lilishop
username: root
password: lilishop
authentication-database: admin
# replica-set-name: mongoreplset
# Redis
redis:
host: 127.0.0.1
@@ -86,10 +76,10 @@ spring:
url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: lilishop
maxActive: 20
initialSize: 5
maxActive: 50
initialSize: 10
maxWait: 60000
minIdle: 5
minIdle: 10
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
@@ -121,13 +111,13 @@ spring:
# standard:
# sharding-column: create_time
# #分表策略
# precise-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# precise-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
# #范围查询实现
# range-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql:
show: true
show: false
# 忽略TOKEN 鉴权 的url
ignored:
@@ -138,34 +128,33 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /buyer/store/**
- /buyer/mini-program/**
- /buyer/cashier/**
- /buyer/pageData/**
- /buyer/article/**
- /buyer/payment/cashier/**
- /buyer/payment/cashierRefund/**
- /buyer/other/pageData/**
- /buyer/other/article/**
- /buyer/goods/**
- /buyer/category/**
- /buyer/shop/**
- /buyer/connect/**
- /buyer/store/**
- /buyer/passport/connect/**
- /buyer/members/**
- /buyer/promotion/pintuan
- /buyer/promotion/seckill
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /buyer/appVersion/**
- /buyer/passport/member/**
- /buyer/passport/member/refresh/**
- /buyer/promotion/pintuan/**
- /buyer/promotion/seckill/**
- /buyer/promotion/pointsGoods/**
- /buyer/promotion/coupon
- /buyer/member/evaluation/**/goodsEvaluation
- /buyer/member/evaluation/**/evaluationNumber
- /buyer/other/appVersion/**
- /buyer/broadcast/studio/**
- /druid/**
- /swagger-ui.html
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -193,19 +182,20 @@ mybatis-plus:
# 日志
logging:
config: classpath:logback-spring.xml
# 输出级别
level:
cn.lili: debug
org.hibernate: debug
root: info
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
max-file-size: 5MB
#加密参数
jasypt:
encryptor:
@@ -262,7 +252,8 @@ lili:
# account:
# username: elastic
# password: LiLiShopES
logstash:
server: 192.168.0.116:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
@@ -274,6 +265,8 @@ lili:
order-group: lili_order_group
member-topic: lili_member_topic
member-group: lili_member_group
store-topic: lili_store_topic
store-group: lili_store_group
other-topic: lili_other_topic
other-group: lili_other_group
notice-topic: lili_notice_topic

View File

@@ -1,19 +0,0 @@
___ ___ ___ ___ ________ ________ _______ ________ _____ ______ ___ __ ________ ________ ___ __
|\ \ |\ \|\ \ |\ \ |\ _____\\ __ \|\ ___ \ |\ __ \|\ _ \ _ \|\ \ |\ \|\ __ \|\ __ \|\ \|\ \
\ \ \ \ \ \ \ \ \ \ \ ____________\ \ \__/\ \ \|\ \ \ __/|\ \ \|\ \ \ \\\__\ \ \ \ \ \ \ \ \ \|\ \ \ \|\ \ \ \/ /|_
\ \ \ \ \ \ \ \ \ \ \|\____________\ \ __\\ \ _ _\ \ \_|/_\ \ __ \ \ \\|__| \ \ \ \ __\ \ \ \ \\\ \ \ _ _\ \ ___ \
\ \ \____\ \ \ \ \____\ \ \|____________|\ \ \_| \ \ \\ \\ \ \_|\ \ \ \ \ \ \ \ \ \ \ \ \|\__\_\ \ \ \\\ \ \ \\ \\ \ \\ \ \
\ \_______\ \__\ \_______\ \__\ \ \__\ \ \__\\ _\\ \_______\ \__\ \__\ \__\ \ \__\ \____________\ \_______\ \__\\ _\\ \__\\ \__\
\|_______|\|__|\|_______|\|__| \|__| \|__|\|__|\|_______|\|__|\|__|\|__| \|__|\|____________|\|_______|\|__|\|__|\|__| \|__|
___ ___ ___ ___ ________ ___ ___ ________ ________
|\ \ |\ \|\ \ |\ \ |\ ____\|\ \|\ \|\ __ \|\ __ \
\ \ \ \ \ \ \ \ \ \ \ ____________\ \ \___|\ \ \\\ \ \ \|\ \ \ \|\ \
\ \ \ \ \ \ \ \ \ \ \|\____________\ \_____ \ \ __ \ \ \\\ \ \ ____\
\ \ \____\ \ \ \ \____\ \ \|____________|\|____|\ \ \ \ \ \ \ \\\ \ \ \___|
\ \_______\ \__\ \_______\ \__\ ____\_\ \ \__\ \__\ \_______\ \__\
\|_______|\|__|\|_______|\|__| |\_________\|__|\|__|\|_______|\|__|
\|_________|

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<springProperty scope="context" name="LOG_FILE_PATH" source="logging.file.path"/>
<springProperty scope="context" name="LOGSTASH_SERVER" source="lili.data.logstash.server"/>
<contextName>${APP_NAME}</contextName>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${FILE_LOG_PATTERN}</pattern>
</encoder>
</appender>
<appender name="RocketmqClientAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_FILE_PATH}/rocketmq.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_FILE_PATH}/rocketmq/rocketmq-%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
<totalSizeCap>30MB</totalSizeCap>
</rollingPolicy>
<encoder>
<pattern>%d{yy-MM-dd.HH:mm:ss.SSS} [%-16t] %-5p %-22c{0} %X{ServiceId} - %m%n</pattern>
</encoder>
</appender>
<logger name="RocketmqClient" additivity="false">
<level value="info" />
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>
<timeZone>UTC</timeZone>
</timestamp>
</providers>
<!--自定义字段 区分项目-->
<customFields>{"appName":"${APP_NAME}"}</customFields>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="LOGSTASH"/>
</root>
</configuration>

View File

@@ -10,10 +10,10 @@ import cn.lili.modules.order.cart.service.CartService;
import cn.lili.modules.payment.service.PaymentService;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import java.util.List;
@@ -21,7 +21,7 @@ import java.util.List;
* @author paulG
* @since 2020/11/14
**/
@RunWith(SpringRunner.class)
@ExtendWith(SpringExtension.class)
@SpringBootTest
class CartTest {

View File

@@ -1,15 +1,16 @@
package cn.lili.buyer.test.cart;
import cn.lili.modules.file.plugin.FileManagerPlugin;
import cn.lili.modules.file.plugin.FilePlugin;
import cn.lili.modules.goods.entity.dos.Brand;
import cn.lili.modules.goods.service.BrandService;
import com.xkcoding.http.util.StringUtil;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import java.io.*;
import java.net.URL;
@@ -19,13 +20,14 @@ import java.util.List;
* @author paulG
* @since 2020/11/14
**/
@RunWith(SpringRunner.class)
@Slf4j
@ExtendWith(SpringExtension.class)
@SpringBootTest
class FileTest {
@Autowired
private FileManagerPlugin fileManagerPlugin;
private FilePlugin fileManagerPlugin;
@Autowired
private BrandService brandService;
@@ -43,7 +45,7 @@ class FileTest {
//上传至第三方云服务或服务器
brand.setLogo(fileManagerPlugin.inputStreamUpload(inputStream, brand.getId() + ".png"));
} catch (IOException e) {
e.printStackTrace();
log.error("上传你文件出错",e);
}
}
brandService.updateBatchById(categoryList);

View File

@@ -1,18 +1,19 @@
package cn.lili.buyer.test.cart;
import cn.lili.modules.promotion.service.MemberCouponService;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* @author paulG
* @since 2020/11/27
**/
@RunWith(SpringRunner.class)
@ExtendWith(SpringExtension.class)
@SpringBootTest
class MemberCouponTest {
@@ -22,7 +23,7 @@ class MemberCouponTest {
@Test
void receiveCoupon() {
memberCouponService.receiveCoupon("1333318596239843328", "1326834797335306240", "1");
Assert.assertTrue(true);
assertTrue(true);
}

View File

@@ -2,9 +2,6 @@ server:
servlet:
context-path: /
# 正式部署时候,解开此处配置,防止文件夹被清除导致的文件上传失败问题
# multipart:
# location: /Users/lifenlong/Desktop/ceshi
tomcat:
uri-encoding: UTF-8
threads:
@@ -28,25 +25,11 @@ spring:
admin:
client:
url: http://192.168.0.116:8000
# mongodb
data:
mongodb:
host: 192.168.0.116
port: 27017
database: lilishop
username: root
password: lilishop
authentication-database: admin
# replica-set-name: mongoreplset
cache:
type: redis
#amqp
# rabbitmq:
# host: 192.168.0.116
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
# Redis
redis:
host: 192.168.0.116
@@ -118,13 +101,13 @@ spring:
# standard:
# sharding-column: create_time
# #分表策略
# precise-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# precise-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
# #范围查询实现
# range-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql:
show: true
show: false
# 忽略鉴权url
ignored:
@@ -157,14 +140,10 @@ ignored:
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -197,7 +176,6 @@ logging:
cn.lili: info
# org.hibernate: debug
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs
@@ -261,7 +239,8 @@ lili:
# account:
# username: elastic
# password: LiLiShopES
logstash:
server: 127.0.0.1:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group

View File

@@ -7,17 +7,17 @@
<parent>
<groupId>cn.lili</groupId>
<artifactId>lili-shop-parent</artifactId>
<version>1.0.1</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>cn.lili</groupId>
<artifactId>common-api</artifactId>
<dependencies>
<dependency>
<groupId>cn.lili</groupId>
<artifactId>framework</artifactId>
<version>1.0.1</version>
<version>${revision}</version>
</dependency>
</dependencies>

View File

@@ -8,13 +8,14 @@ import org.springframework.cache.annotation.EnableCaching;
* 基础API
*
* @author Chopper
* @date 2020/11/17 3:38 下午
* @since 2020/11/17 3:38 下午
*/
@EnableCaching
@SpringBootApplication
public class CommonApiApplication {
public static void main(String[] args) {
System.setProperty("rocketmq.client.logUseSlf4j","true");
SpringApplication.run(CommonApiApplication.class, args);
}

View File

@@ -1,12 +1,12 @@
package cn.lili.controller.common;
import cn.lili.common.cache.Cache;
import cn.lili.cache.Cache;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.security.enums.UserEnums;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.common.vo.SearchVO;
@@ -27,11 +27,11 @@ import java.util.List;
* 文件管理管理接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RestController
@Api(tags = "文件管理管理接口")
@RequestMapping("/common/file")
@Api(tags = "文件管理接口")
@RequestMapping("/common/common/file")
public class FileController {
@Autowired
@@ -78,9 +78,8 @@ public class FileController {
}
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
case MANAGER:
if (file.getUserEnums().equals(authUser.getRole().name())) {
break;
}
default:
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
}
fileService.updateById(file);

View File

@@ -0,0 +1,49 @@
package cn.lili.controller.common;
import cn.hutool.json.JSONUtil;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.system.entity.dos.Setting;
import cn.lili.modules.system.entity.dto.ImSetting;
import cn.lili.modules.system.entity.enums.SettingEnum;
import cn.lili.modules.system.service.SettingService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* IM控制器
*
* @author Chopper
* @version v1.0
* 2021-09-16 15:32
*/
@RestController
@RequestMapping("/common/common/IM")
@Api(tags = "IM 中心")
public class IMController {
@Autowired
private SettingService settingService;
@ApiOperation(value = "获取IM接口前缀")
@GetMapping
public ResultMessage<String> getUrl() {
String imUrl;
try {
Setting imSettingVal = settingService.get(SettingEnum.IM_SETTING.name());
ImSetting imSetting = JSONUtil.toBean(imSettingVal.getSettingValue(), ImSetting.class);
imUrl = imSetting.getHttpUrl();
} catch (Exception e) {
throw new ServiceException(ResultCode.PLATFORM_NOT_SUPPORTED_IM);
}
return ResultUtil.data(imUrl);
}
}

View File

@@ -1,4 +1,4 @@
package cn.lili.controller.member;
package cn.lili.controller.common;
import cn.lili.common.utils.IpHelper;
import cn.lili.common.enums.ResultUtil;
@@ -16,11 +16,11 @@ import javax.servlet.http.HttpServletRequest;
* 管理端,IP接口
*
* @author Chopper
* @date 2020-02-25 14:10:16
* @since 2020-02-25 14:10:16
*/
@RestController
@Api(tags = "管理端,IP接口")
@RequestMapping("/manager/common/ip")
@Api(tags = "获取IP信息以及天气")
@RequestMapping("/common/common/ip")
public class IpInfoManagerController {
@Autowired
private IpHelper ipHelper;

View File

@@ -2,9 +2,9 @@ package cn.lili.controller.common;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.base.service.RegionService;
import cn.lili.modules.system.entity.dos.Region;
import cn.lili.modules.system.entity.vo.RegionVO;
import cn.lili.modules.system.service.RegionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@@ -19,11 +19,10 @@ import java.util.List;
* 地址信息接口
*
* @author Chopper
* @date: 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "地址信息接口")
@RequestMapping("/common/region")
@RequestMapping("/common/common/region")
public class RegionController {
@Autowired
@@ -39,6 +38,11 @@ public class RegionController {
return ResultUtil.data(regionService.getRegion(cityCode,townName));
}
@GetMapping(value = "/name")
@ApiOperation(value = "根据名字获取地区地址id")
public ResultMessage<String> getItemByLastName(String lastName) {
return ResultUtil.data(regionService.getItemByLastName(lastName));
}
@GetMapping(value = "/item/{id}")
@ApiImplicitParam(name = "id", value = "地区ID", required = true, dataType = "String", paramType = "path")

View File

@@ -6,31 +6,30 @@ import cn.lili.modules.system.entity.enums.SettingEnum;
import cn.lili.modules.system.service.SettingService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
/**
* 文件管理管理接口
* 站点基础配置获取
*
* @author Chopper
* @date 2020/11/26 15:41
* @author liushuai(liushuai711 @ gmail.com)
* @version v4.0
* @Description:
* @since 2022/9/22 17:49
*/
@Slf4j
@RestController
@Api(tags = "文件管理管理接口")
@RequestMapping("/common/logo")
public class LogoController {
@RequestMapping("/common/common/site")
@Api(tags = "站点基础接口")
public class SiteController {
@Autowired
private SettingService settingService;
@ApiOperation(value = "获取logo")
@ApiOperation(value = "获取站点基础信息")
@GetMapping
public ResultMessage<Object> getFileList() {
public ResultMessage<Object> baseSetting() {
return ResultUtil.data(settingService.get(SettingEnum.BASE_SETTING.name()));
}
}

View File

@@ -1,13 +1,13 @@
package cn.lili.controller.common;
import cn.lili.common.aop.limiter.annotation.LimitPoint;
import cn.lili.common.exception.ServiceException;
import cn.lili.cache.limit.annotation.LimitPoint;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.verification.enums.VerificationEnums;
import cn.lili.common.verification.service.VerificationService;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.verification.entity.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -15,29 +15,23 @@ import org.springframework.web.bind.annotation.*;
* 滑块验证码接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RequestMapping("/common/slider")
@Slf4j
@RestController
@RequestMapping("/common/common/slider")
@Api(tags = "滑块验证码接口")
public class SliderImageController {
@Autowired
private VerificationService verificationService;
//一分钟同一个ip请求10次
@LimitPoint(name = "slider_image", key = "verification")
@GetMapping("/{verificationEnums}")
@ApiOperation(value = "获取校验接口")
@ApiOperation(value = "获取校验接口,一分钟同一个ip请求10次")
public ResultMessage getSliderImage(@RequestHeader String uuid, @PathVariable VerificationEnums verificationEnums) {
try {
return ResultUtil.data(verificationService.createVerification(verificationEnums, uuid));
} catch (ServiceException e) {
throw e;
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
@LimitPoint(name = "slider_image", key = "verification_pre_check", limit = 600)

View File

@@ -1,13 +1,12 @@
package cn.lili.controller.common;
import cn.lili.common.aop.limiter.annotation.LimitPoint;
import cn.lili.cache.limit.annotation.LimitPoint;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.sms.SmsUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.verification.enums.VerificationEnums;
import cn.lili.common.verification.service.VerificationService;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.sms.SmsUtil;
import cn.lili.modules.verification.entity.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@@ -19,11 +18,11 @@ import org.springframework.web.bind.annotation.*;
* 短信验证码接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RestController
@Api(tags = "短信验证码接口")
@RequestMapping("/common/sms")
@RequestMapping("/common/common/sms")
public class SmsController {
@Autowired
@@ -31,23 +30,19 @@ public class SmsController {
@Autowired
private VerificationService verificationService;
//一分钟同一个ip请求1次
@LimitPoint(name = "sms_send", key = "sms")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "path", dataType = "String", name = "mobile", value = "手机号"),
@ApiImplicitParam(paramType = "header", dataType = "String", name = "uuid", value = "uuid"),
})
@GetMapping("/{verificationEnums}/{mobile}")
@ApiOperation(value = "发送短信验证码")
@ApiOperation(value = "发送短信验证码,一分钟同一个ip请求1次")
public ResultMessage getSmsCode(
@RequestHeader String uuid,
@PathVariable String mobile,
@PathVariable VerificationEnums verificationEnums) {
if (verificationService.check(uuid, verificationEnums)) {
verificationService.check(uuid, verificationEnums);
smsUtil.sendSmsCode(mobile, verificationEnums, uuid);
return ResultUtil.success(ResultCode.VERIFICATION_SEND_SUCCESS);
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_EXPIRED_ERROR);
}
}
}

View File

@@ -1,19 +1,18 @@
package cn.lili.controller.common;
import cn.hutool.core.util.StrUtil;
import cn.lili.common.cache.Cache;
import cn.hutool.core.text.CharSequenceUtil;
import cn.lili.cache.Cache;
import cn.lili.common.enums.ResultCode;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.security.enums.UserEnums;
import cn.lili.common.utils.Base64DecodeMultipartFile;
import cn.lili.common.utils.CommonUtil;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.utils.StringUtils;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.file.entity.File;
import cn.lili.modules.file.plugin.FileManagerPlugin;
import cn.lili.modules.file.plugin.FilePluginFactory;
import cn.lili.modules.file.service.FileService;
import cn.lili.modules.system.entity.dos.Setting;
import cn.lili.modules.system.entity.enums.SettingEnum;
@@ -29,17 +28,18 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import java.io.InputStream;
import java.util.Objects;
/**
* 文件上传接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@Slf4j
@RestController
@Api(tags = "文件上传接口")
@RequestMapping("/common/upload")
@RequestMapping("/common/common/upload")
public class UploadController {
@Autowired
@@ -47,7 +47,7 @@ public class UploadController {
@Autowired
private SettingService settingService;
@Autowired
private FileManagerPlugin fileManagerPlugin;
private FilePluginFactory filePluginFactory;
@Autowired
private Cache cache;
@@ -63,22 +63,33 @@ public class UploadController {
if (authUser == null) {
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
}
if (file == null) {
throw new ServiceException(ResultCode.FILE_NOT_EXIST_ERROR);
}
Setting setting = settingService.get(SettingEnum.OSS_SETTING.name());
if (setting == null || StrUtil.isBlank(setting.getSettingValue())) {
if (setting == null || CharSequenceUtil.isBlank(setting.getSettingValue())) {
throw new ServiceException(ResultCode.OSS_NOT_EXIST);
}
if (CharSequenceUtil.isEmpty(file.getContentType())) {
throw new ServiceException(ResultCode.IMAGE_FILE_EXT_ERROR);
}
if (StringUtils.isNotBlank(base64)) {
if (!CharSequenceUtil.containsAny(Objects.requireNonNull(file.getContentType()).toLowerCase(), "image", "video")) {
throw new ServiceException(ResultCode.FILE_TYPE_NOT_SUPPORT);
}
if (CharSequenceUtil.isNotBlank(base64)) {
//base64上传
file = Base64DecodeMultipartFile.base64Convert(base64);
}
String result = "";
String fileKey = CommonUtil.rename(file.getOriginalFilename());
String result;
String fileKey = CommonUtil.rename(Objects.requireNonNull(file.getOriginalFilename()));
File newFile = new File();
try {
InputStream inputStream = file.getInputStream();
//上传至第三方云服务或服务器
result = fileManagerPlugin.inputStreamUpload(inputStream, fileKey);
result = filePluginFactory.filePlugin().inputStreamUpload(inputStream, fileKey);
//保存数据信息至数据库
newFile.setName(file.getOriginalFilename());
newFile.setFileSize(file.getSize());
@@ -96,10 +107,8 @@ public class UploadController {
fileService.save(newFile);
} catch (Exception e) {
log.error("文件上传失败", e);
throw new ServiceException(ResultCode.OSS_EXCEPTION);
throw new ServiceException(ResultCode.OSS_EXCEPTION_ERROR);
}
return ResultUtil.data(result);
}
}

View File

@@ -1,8 +1,5 @@
package cn.lili.controller.security;
import cn.lili.common.cache.Cache;
import cn.lili.common.security.CustomAccessDeniedHandler;
import cn.lili.config.properties.IgnoredUrlsProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
@@ -17,7 +14,6 @@ import org.springframework.web.cors.CorsConfigurationSource;
*
* @author Chopper
* @version v4.0
* @Description:
* @since 2020/11/14 16:20
*/
@Slf4j
@@ -26,19 +22,10 @@ import org.springframework.web.cors.CorsConfigurationSource;
public class CommonSecurityConfig extends WebSecurityConfigurerAdapter {
/**
* 忽略验权配置
*/
@Autowired
private IgnoredUrlsProperties ignoredUrlsProperties;
/**
* spring security -》 权限不足处理
*/
@Autowired
private CustomAccessDeniedHandler accessDeniedHandler;
@Autowired
private Cache<String> cache;
@Autowired
private CorsConfigurationSource corsConfigurationSource;
@Override

View File

@@ -1,8 +0,0 @@
{
"properties": [
{
"name": "spring.http.multipart.location",
"type": "java.lang.String",
"description": "Description for spring.http.multipart.location."
}
] }

View File

@@ -4,9 +4,6 @@ server:
servlet:
context-path: /
# 正式部署时候,解开此处配置,防止文件夹被清除导致的文件上传失败问题
# multipart:
# location: /Users/lifenlong/Desktop/ceshi
tomcat:
uri-encoding: UTF-8
threads:
@@ -25,28 +22,15 @@ management:
exposure:
include: '*'
spring:
application:
name: common-api
# 要在其中注册的Spring Boot Admin Server的URL。
boot:
admin:
client:
url: http://127.0.0.1:8000
# mongodb
data:
mongodb:
host: 127.0.0.1
port: 27017
database: lilishop
username: root
password: lilishop
authentication-database: admin
# replica-set-name: mongoreplset
cache:
type: redis
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
# Redis
redis:
host: 127.0.0.1
@@ -118,13 +102,13 @@ spring:
# standard:
# sharding-column: create_time
# #分表策略
# precise-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# precise-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
# #范围查询实现
# range-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql:
show: true
show: false
# 忽略鉴权url
ignored:
@@ -135,37 +119,19 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /buyer/mini-program/**
- /buyer/cashier/**
- /buyer/pageData/**
- /buyer/article/**
- /buyer/goods/**
- /buyer/category/**
- /buyer/shop/**
- /buyer/connect/**
- /buyer/members/smsLogin
- /buyer/members/refresh/*
- /buyer/members/refresh**
- /buyer/promotion/pintuan
- /buyer/promotion/seckill
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /store/login/**
- /manager/user/login
- /manager/user/refresh/**
- /common/common/slider/**
- /common/common/sms/**
- /common/common/logo
- /common/common/site
- /druid/**
- /swagger-ui.html
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -193,27 +159,51 @@ mybatis-plus:
# 日志
logging:
config: classpath:logback-spring.xml
# 输出级别
level:
cn.lili: info
root: info
# org.hibernate: debug
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
max-file-size: 5MB
#加密参数
jasypt:
encryptor:
password: lili
lili:
#验证码设置
verification-code:
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
effectiveTime: 300
#水印
watermark: LILI-SHOP
#干扰项数量 最大2 默认0
interfereNum: 0
#允许误差像素
faultTolerant: 3
#短信模版配置
sms:
#登录
LOGIN: SMS_205755300
#注册
REGISTER: SMS_205755298
#找回密码
FIND_USER: SMS_205755301
#设置密码
UPDATE_PASSWORD: SMS_205755297
#支付密码
WALLET_PASSWORD: SMS_205755301
system:
isDemoSite: true
isTestModel: true
statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48
@@ -262,7 +252,8 @@ lili:
# account:
# username: elastic
# password: LiLiShopES
logstash:
server: 127.0.0.1:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<springProperty scope="context" name="LOG_FILE_PATH" source="logging.file.path"/>
<springProperty scope="context" name="LOGSTASH_SERVER" source="lili.data.logstash.server"/>
<contextName>${APP_NAME}</contextName>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${FILE_LOG_PATTERN}</pattern>
</encoder>
</appender>
<appender name="RocketmqClientAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_FILE_PATH}/rocketmq.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_FILE_PATH}/rocketmq/rocketmq-%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>30</maxHistory>
<totalSizeCap>30MB</totalSizeCap>
</rollingPolicy>
<encoder>
<pattern>%d{yy-MM-dd.HH:mm:ss.SSS} [%-16t] %-5p %-22c{0} %X{ServiceId} - %m%n</pattern>
</encoder>
</appender>
<logger name="RocketmqClient" additivity="false">
<level value="info" />
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>
<timeZone>UTC</timeZone>
</timestamp>
</providers>
<!--自定义字段 区分项目-->
<customFields>{"appName":"${APP_NAME}"}</customFields>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="LOGSTASH"/>
</root>
</configuration>

View File

@@ -2,9 +2,6 @@ server:
servlet:
context-path: /
# 正式部署时候,解开此处配置,防止文件夹被清除导致的文件上传失败问题
# multipart:
# location: /Users/lifenlong/Desktop/ceshi
tomcat:
uri-encoding: UTF-8
threads:
@@ -27,30 +24,13 @@ spring:
boot:
admin:
client:
url: http://192.168.0.116:8000
# mongodb
data:
mongodb:
host: 192.168.0.116
port: 27017
database: lilishop
username: root
password: lilishop
authentication-database: admin
# replica-set-name: mongoreplset
url: http://192.168.0.108:8000
cache:
type: redis
#amqp
# rabbitmq:
# host: 192.168.0.116
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
# Redis
redis:
host: 192.168.0.116
port: 6379
host: 192.168.31.108
port: 30379
password: lilishop
lettuce:
pool:
@@ -80,11 +60,11 @@ spring:
default-datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.0.116:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://192.168.31.108:30306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: lilishop
maxActive: 20
initialSize: 5
maxActive: 50
initialSize: 20
maxWait: 60000
minIdle: 5
timeBetweenEvictionRunsMillis: 60000
@@ -118,9 +98,9 @@ spring:
# standard:
# sharding-column: create_time
# #分表策略
# precise-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# precise-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
# #范围查询实现
# range-algorithm-class-name: cn.lili.config.sharding.CreateTimeShardingTableAlgorithm
# range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql:
@@ -135,37 +115,42 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /buyer/mini-program/**
- /buyer/cashier/**
- /buyer/pageData/**
- /buyer/article/**
- /store/passport/login/**
- /store/passport/login/refresh/**
- /common/common/slider/**
- /common/common/sms/**
- /common/common/site
- /buyer/payment/cashier/**
- /buyer/other/pageData/**
- /buyer/other/article/**
- /buyer/goods/**
- /buyer/category/**
- /buyer/store/**
- /buyer/connect/**
- /buyer/passport/connect/**
- /buyer/members/**
- /buyer/passport/member/**
- /buyer/passport/member/refresh/**
- /buyer/promotion/pintuan/**
- /buyer/promotion/seckill/**
- /buyer/promotion/pointsGoods/**
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /buyer/appVersion/**
- /store/login/**
- /manager/user/login
- /manager/user/refresh/**
- /buyer/promotion/coupon
- /buyer/member/evaluation/**/goodsEvaluation
- /buyer/member/evaluation/**/evaluationNumber
- /buyer/other/appVersion/**
- /buyer/broadcast/studio/**
- /manager/passport/user/login
- /manager/passport/user/refresh/**
- /manager/other/elasticsearch
- /manager/other/customWords
- /druid/**
- /swagger-ui.html
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /v2/api-docs**
- /configuration/ui
- /boot-admin
statics:
- /manager/promotion/seckill/init
- /**/*.js
- /**/*.css
- /**/*.png
@@ -173,9 +158,9 @@ ignored:
# Swagger界面内容配置
swagger:
title: lili API接口文档
description: lili Api Documentation
version: 1.0.0
title: lilishop API接口文档
description: lilishop Api Documentation
version: 4.2.2
termsOfServiceUrl: https://pickmall.cn
contact:
name: lili
@@ -198,22 +183,53 @@ logging:
cn.lili: info
# org.hibernate: debug
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs
path: logs
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
max-file-size: 5MB
#加密参数
jasypt:
encryptor:
password: lili
lili:
#验证码设置
verification-code:
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
effectiveTime: 300
#水印
watermark: LILI-SHOP
#干扰项数量 最大2 默认0
interfereNum: 1
#允许误差像素
faultTolerant: 3
#短信模版配置
sms:
#登录
LOGIN: SMS_205755300
#注册
REGISTER: SMS_205755298
#找回密码
FIND_USER: SMS_205755301
#设置密码
UPDATE_PASSWORD: SMS_205755297
#支付密码
WALLET_PASSWORD: SMS_205755301
system:
isDemoSite: false
isTestModel: true
# 脱敏级别:
# 0不做脱敏处理
# 1管理端用户手机号等信息脱敏
# 2商家端信息脱敏为2时表示管理端商家端同时脱敏
sensitiveLevel: 1
statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48
@@ -225,21 +241,21 @@ lili:
sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
#域名
domain:
pc: http://192.168.0.116:8888
wap: http://192.168.0.116:8888
seller: http://192.168.0.116:8888
admin: http://192.168.0.116:8888
pc: http://192.168.0.108:8888
wap: http://192.168.0.108:8888
seller: http://192.168.0.108:8888
admin: http://192.168.0.108:8888
#api地址
api:
buyer: https://z171l91606.51mypc.cn
base: http://192.168.0.116:8888
manager: http://192.168.0.116:8888
seller: http://192.168.0.116:8888
base: http://192.168.0.108:8888
manager: http://192.168.0.108:8888
seller: http://192.168.0.108:8888
# jwt 细节设定
jwt-setting:
# token过期时间分钟
tokenExpireTime: 60
tokenExpireTime: 30
# 使用Spring @Cacheable注解失效时间
cache:
@@ -253,7 +269,7 @@ lili:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 192.168.0.116:9200
cluster-nodes: 192.168.31.108:30920
index:
number-of-replicas: 0
number-of-shards: 3
@@ -263,25 +279,30 @@ lili:
# username: elastic
# password: LiLiShopES
logstash:
server: 127.0.0.1:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
msg-ext-topic: lili_msg_topic
msg-ext-group: lili_msg_group
goods-topic: lili_goods_topic
goods-group: lili_goods_group
order-topic: lili_order_topic
order-group: lili_order_group
member-topic: lili_member_topic
member-group: lili_member_group
other-topic: lili_other_topic
other-group: lili_other_group
notice-topic: lili_notice_topic
notice-group: lili_notice_group
notice-send-topic: lili_send_notice_topic
notice-send-group: lili_send_notice_group
promotion-topic: shop_lili_promotion_topic
promotion-group: shop_lili_promotion_group
msg-ext-topic: shop_lili_msg_topic
msg-ext-group: shop_lili_msg_group
goods-topic: shop_lili_goods_topic
goods-group: shop_lili_goods_group
order-topic: shop_lili_order_topic
order-group: shop_lili_order_group
member-topic: shop_lili_member_topic
member-group: shop_lili_member_group
other-topic: shop_lili_other_topic
other-group: shop_lili_other_group
notice-topic: shop_lili_notice_topic
notice-group: shop_lili_notice_group
notice-send-topic: shop_lili_send_notice_topic
notice-send-group: shop_lili_send_notice_group
after-sale-topic: shop_lili_after_sale_topic
after-sale-group: shop_lili_after_sale_group
rocketmq:
name-server: 192.168.0.116:9876
name-server: 192.168.31.108:30876
isVIPChannel: false
producer:
group: lili_group
send-message-timeout: 30000
@@ -289,7 +310,7 @@ rocketmq:
xxl:
job:
admin:
addresses: http://192.168.0.116:9001/xxl-job-admin
addresses: http://192.168.31.108:30001/xxl-job-admin
executor:
appname: xxl-job-executor-lilishop
address:

View File

@@ -1,4 +0,0 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Dec 24 11:13:34 CST 2020
xxl-job-admin-2.3.0-SNAPSHOT.pom>=
xxl-job-admin-2.3.0-SNAPSHOT.jar>=

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-admin</artifactId>
<version>2.3.0-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20201224031334</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>jar</extension>
<value>2.3.0-SNAPSHOT</value>
<updated>20201224031334</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>2.3.0-SNAPSHOT</value>
<updated>20201224031334</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>

View File

@@ -1,113 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job</artifactId>
<version>2.3.0-SNAPSHOT</version>
</parent>
<artifactId>xxl-job-admin</artifactId>
<packaging>jar</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- starter-webspring-webmvc + autoconfigure + logback + yaml + tomcat -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- starter-testjunit + spring-test + mockito -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- freemarker-starter -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<!-- mail-starter -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<!-- starter-actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- mybatis-startermybatis + mybatis-spring + hikaridefault -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis-spring-boot-starter.version}</version>
</dependency>
<!-- mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<!-- xxl-job-core -->
<dependency>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- docker -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.13</version>
<configuration>
<!-- made of '[a-z0-9-_.]' -->
<imageName>${project.artifactId}:${project.version}</imageName>
<dockerDirectory>${project.basedir}</dockerDirectory>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-admin</artifactId>
<versioning>
<versions>
<version>2.3.0-SNAPSHOT</version>
</versions>
<lastUpdated>20201224031334</lastUpdated>
</versioning>
</metadata>

View File

@@ -1,4 +0,0 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Dec 24 11:13:30 CST 2020
xxl-job-core-2.3.0-SNAPSHOT.pom>=
xxl-job-core-2.3.0-SNAPSHOT.jar>=

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>2.3.0-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20201224031330</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>jar</extension>
<value>2.3.0-SNAPSHOT</value>
<updated>20201224031330</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>2.3.0-SNAPSHOT</value>
<updated>20201224031330</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>

View File

@@ -1,6 +0,0 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Dec 24 20:01:24 CST 2020
maven-metadata-maven-central.xml/@default-maven-central-http\://central.maven.org/maven2/.lastUpdated=1608811283852
maven-metadata-aliyun.xml.error=
maven-metadata-maven-central.xml.error=Could not transfer metadata com.xuxueli\:xxl-job-core\:2.3.0-SNAPSHOT/maven-metadata.xml from/to maven-central (http\://central.maven.org/maven2/)\: Transfer failed for http\://central.maven.org/maven2/com/xuxueli/xxl-job-core/2.3.0-SNAPSHOT/maven-metadata.xml
maven-metadata-aliyun.xml.lastUpdated=1608811284126

Some files were not shown because too many files have changed in this diff Show More