486 Commits

Author SHA1 Message Date
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
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
lifenlong
346465630c 添加ResultCode 2021-06-30 15:45:33 +08:00
lifenlong
800437473d 1.分销员添加结算银行信息
2.电话校验支持手机号
2021-06-30 12:02:35 +08:00
1357 changed files with 16620 additions and 14158 deletions

3
.gitignore vendored
View File

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

3
DB/README.md Normal file
View File

@@ -0,0 +1,3 @@
## PS:数据库位置
点击跳转 https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql 这里有与tag版本一致的sql根据tag获取sql如果使用master代码则需要在lilishop项目根目录的update-sql目录中获取对应的升级sql。

66
DB/li_notice_message.sql Normal file
View File

@@ -0,0 +1,66 @@
/*
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;

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 `lilishop`.`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 `lilishop`.`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 `lilishop`.`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 '客服标识';

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 '积分总数量';

269
README.md
View File

@@ -1,136 +1,134 @@
## Lilishop B2B2C商城系统
## 🔥 Lilishop B2B2C商城系统
##### 🌹 开源不易如有帮助请点Star
#### 欢迎交流需求,交流业务,交流技术(基础问题自行解决,进群先看文档后提问)
##### 交流 qq 1群 961316482已满
##### 交流 qq 2群 875294241
##### 体验 公众号/小程序/APP 体验,扫描二维码
##### 官方公众号 & 开源不易如有帮助请点Star
![image-20210511171611793](https://pickmall.cn/assets/imgs/h5-qrcode.png)
[![star](https://gitee.com/beijing_hongye_huicheng/lilishop/badge/star.svg?theme=dark)](https://gitee.com/beijing_hongye_huicheng/lilishop/stargazers)
![github](https://img.shields.io/github/stars/hongyehuicheng/lilishop.svg?style=social&logo=#181717)
  ![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开发 **系统全端全部代码开源**
产品前后端分离支持分布式部署。
商城前后端分离支持分布式部署各个API独立并且有独立的消费者
商城展示端包含 PC、H5、微信小程序、APP。
商城包含 会员模块、**第三方登录模块**、**第三方支付模块**、**楼层装修模块**、订单模块、商品模块、促销模块、分销模块、文章模块、系统设置模块、流量分析模块和平台运营模块
商城包含 会员模块、**第三方登录模块**、**第三方支付模块**、**楼层装修模块**、订单模块、分销模块、文章模块、系统设置模块、流量分析模块
商城包含各种中间件、搜索引擎、多级缓存、分布式事务、分布式任务调度等支持Docker支持k8s。是一款高性能、支持分布式、支持扩展的商城系统。
系统包含各种中间件、搜索引擎、多级缓存、分布式事务、分布式任务调度等支持Docker支持k8s。是一款高性能支持高并发等商城系统。
### 商城 API/消费者 聚合版
api不需要单独部署只需启动一个jar包就可以正常运转 如有需要,可以点击跳转
https://gitee.com/beijing_hongye_huicheng/lilishop-simplify
开箱即用,简单配置即可部署一套属于您的系统。
### ☃️ 商城 开发/使用/常见问题 帮助文档
### 文档
https://docs.pickmall.cn
**产品文档**需求、架构、使用、部署、开发https://docs.pickmall.cn
**功能清单** 功能列表https://docs.qq.com/sheet/DQ1Z2dWJKUnBRZEt5
### 💧 开源商城项目地址(gitee)
### 项目链接(gitee)
**API商城所有API**https://gitee.com/beijing_hongye_huicheng/lilishop.git
**Java后台**https://gitee.com/beijing_hongye_huicheng/lilishop.git
**UI平台管理端/商家端/买家PC端** https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
**Vue后台前端** https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
**uniapp商城移动端支持小程序/APP/H5**https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
**Uni-app**https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
**docker一键部署商城部署脚本**https://gitee.com/beijing_hongye_huicheng/docker.git
**docker一键部署**https://gitee.com/beijing_hongye_huicheng/docker.git
### 💧 开源商城项目地址(github)
### 项目链接(github)
**API商城所有API**https://github.com/hongyehuicheng/lilishop.git
**Java后台**https://github.com/hongyehuicheng/lilishop.git
**UI平台管理端/商家端/买家PC端** https://github.com/hongyehuicheng/lilishop-ui.git
**Vue后台前端** https://github.com/hongyehuicheng/lilishop-ui.git
**uniapp商城移动端支持小程序/APP/H5**https://github.com/hongyehuicheng/lilishop-uniapp.git
**Uni-app**https://github.com/hongyehuicheng/lilishop-uniapp.git
**docker一键部署商城部署脚本**https://github.com/hongyehuicheng/docker.git
**docker一键部署**https://github.com/hongyehuicheng/docker.git
### 演示地址
**运营后台**https://admin-b2b2c.pickmall.cn 账号admin/123456
☃️ UI 项目下3个文件夹 buyer买家PC端seller商家端manager后台管理端
**店铺后台**https://store-b2b2c.pickmall.cn 账号13011111111/111111
**用户前台**https://pc-b2b2c.pickmall.cn
### 💧 演示地址(手机验证码为 111111)
**移动端**https://m-b2b2c.pickmall.cn
**平台管理端**https://admin-b2b2c.pickmall.cn 账号admin/123456
**店铺管理端**https://store-b2b2c.pickmall.cn 账号13011111111/111111
**商城PC页面**https://pc-b2b2c.pickmall.cn
**商城移动端(请使浏览器手机模式,或者用手机浏览器打开)**https://m-b2b2c.pickmall.cn
**商城 小程序/公众号/APP支持ios、android**:扫描二维码
![image-20210511171611793](https://pickmall.cn/assets/imgs/h5-qrcode.png)
### 3行命令搭建本地环境
温馨提示由于服务较多如果笔记本环境启动内存没有32g可能无法启动成功macbookpro 2020 16g内存启动无法成功台式机在16g内存、AMD 3700x 的ubuntu系统成功运行。
##### docker环境安装已安装的用户可跳过
```shell
#安装依赖
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
#设置源
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo yum makecache fast
#安装docker
sudo yum install docker-ce
#启动服务
sudo systemctl start docker
#安装docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
#授权
sudo chmod +x /usr/local/bin/docker-compose
#检测版本号
docker-compose -v
```
### 🚙 3行命令搭建本地商城(注:只能本机访问,前端镜像固定访问 127.0.0.1,如果是非本机体验,请自行下载源码操作镜像)
温馨提示由于服务中间件较多如果笔记本环境启动内存没有32g可能无法启动成功macbookpro 2020 16g内存启动无法成功台式机在16g内存、AMD 3700x 的ubuntu系统成功运行。
##### docker环境安装 [点击跳转](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脚本
`git clone https://gitee.com/beijing_hongye_huicheng/docker.git `
##### 部署基础环境
##### 部署商城所需中间件
`docker-compose up -d`
##### 部署应用
##### 部署商城应用
`docker-compose -f docker-compose-application.yml up -d`
PS:商城数据库非docker部署
https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql
这里有与tag版本一致的sql根据tag获取sql如果使用master代码
PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_hongye_huicheng/docker/tree/master/init/mysql
##### 各个地址
##### 商城 API/UI 地址
| 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 |
| 买家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 |
| 商城PC端 | http://127.0.0.1:10000 |
| 商城H5端 | http://127.0.0.1:10001 |
| 卖家端 | http://127.0.0.1:10002 |
| 平台管理端 | http://127.0.0.1:10003 |
其他小程序/app等需自行打包。
### 功能列表
### ⚾️ 功能列表
#### 平台功能
#### 🥎 平台管理端功能
![平台功能](https://pickmall.cn/assets/imgs/other/managerList.jpg)
![平台管理端功能](https://pickmall.cn/assets/imgs/other/managerList.jpg)
#### 商家端功能
#### 🥎 卖家功能
![商家端功能](https://pickmall.cn/assets/imgs/other/storeList.jpg)
@@ -138,28 +136,24 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
### 功能展示
### 🧩 商城前端功能展示
#### 移动端
#### ⚽️ 商城移动端
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="移动端功能展示" style="zoom:50%;" />
#### 管理端
#### ⚽️ 平台管理端
![管理端功能展示](https://pickmall.cn/assets/imgs/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后台
##### 🕹 后台技术选型
| 说明 | 框架 | 说明 | |
| -------------- | --------------- | -------------- | ------------- |
@@ -173,7 +167,7 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
| 短信 | 阿里云短信 | 认证 | JWT |
| 日志处理 | Log4j | 接口规范 | RESTful |
##### 前端-运营后台、店铺后台
##### 🖥 前端-运营后台、店铺后台
| 说明 | 框架 | 说明 | 框架 |
| ---------- | ---------- | ---------- | ------- |
@@ -183,115 +177,23 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
| 基础UI库 | iView | UI界面基于 | iView |
| 网络请求 | axios | | |
##### 前端-移动端
##### 📱前端-移动端
| 说明 | 架构 | 说明 | 架构 |
| --------- | ------- | -------- | ------- |
| 基础UI库 | uViewui | 基础框架 | uni-app |
| CSS预处理 | scss | 地图引擎 | amap |
### 升级计划
#### 计划每个月发布一个版本,具体时间可能有出入
时间2021年7月15日
### 🌟 版本升级
```
新增功能:
1.积分商城
2.店铺移动端
3.店铺支持发货单
4.供求单
5.店铺自提点
6.移动端展示附近店铺
7.开屏广告
8.会员站内消息
9.移动端店铺入驻
功能优化:
1.用户分享商城、关注店铺、邀请新用户可获取积分、经验值。
2.隐私管理功能
2.移动端店铺首页优化
商城后续会持续版本升级修复bug完善功能覆盖更多业务场景 o2o/b2b/s2b2b2c/跨境电商
后续会考虑推出微服务商城系统/商城中台等
```
时间2021年8月16日
```
新增功能:
1.微淘功能
2.相册管理功能
3.店铺申请品牌
4.第三方商品导入淘宝、99api
5.用户等级
6.用户升级会员
7.会员权益
8.促销活动:第二件*折
9.促销活动:商品打包价
10.促销活动:商品组合购
11.促销活动:进店赠券
12.代客退单
功能优化:
1.批量上传商品分类
2.店铺维护开票项目
3.店铺展示营销中心
```
时间2021年9月15日
```
新增功能:
1.增加供应商功能
2.商品预售
3.商品预约
4.电子券码
5.企业会员
6.企业会员购
7.商品批发价
功能优化:
1.店铺运费模板支持按照体积计算
2.店铺支持自定义移动端首页
```
### 版本升级
```
后续会持续版本升级修复bug完善功能覆盖更多业务场景 o2o/b2b/s2b2b2c/跨境电商
后续会考虑推出微服务/中台等 企业级版本
```
### 技术亮点
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.已经对接好各种第三方插件,支持各种复杂等联合登陆,联合支付等场景。
### 开源须知
### ⚠️ 开源须知
1.仅允许用于个人学习研究使用.
2.禁止将本开源的代码和资源进行任何形式任何名义的出售.
@@ -301,7 +203,8 @@ PS:单独部署的话数据库文件访问这里https://gitee.com/beijing_
4.限制商用如果需要商业使用请联系我们。QQ3409056806.
### 交流群
### 🐧 交流群
**QQ群**961316482
##### 官方qq 1群 961316482(已满)
##### 官方qq 2群 875294241

View File

@@ -6,7 +6,8 @@
<parent>
<groupId>cn.lili</groupId>
<artifactId>lili-shop-parent</artifactId>
<version>4.2.0</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

@@ -4,9 +4,10 @@
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<property name="APP_NAME" value="consumer"/>
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<property name="LOG_FILE_PATH" value="lili-logs"/>
<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">
@@ -22,7 +23,7 @@
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>192.168.0.116:4560</destination>
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>

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>4.2.0</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>cn.lili</groupId>
<artifactId>framework</artifactId>
<version>4.2.0</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 {

View File

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

View File

@@ -5,7 +5,6 @@ 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;
@@ -25,6 +24,7 @@ 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.data.elasticsearch.core.SearchPage;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -38,7 +38,7 @@ import java.util.Map;
* 买家端,商品接口
*
* @author Chopper
* @date 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Slf4j
@Api(tags = "买家端,商品接口")
@@ -61,12 +61,6 @@ public class GoodsBuyerController {
*/
@Autowired
private EsGoodsSearchService goodsSearchService;
/**
* 分销员
*/
@Autowired
private DistributionService distributionService;
@ApiOperation(value = "通过id获取商品信息")
@ApiImplicitParam(name = "goodsId", value = "商品ID", required = true, paramType = "path", dataType = "Long")
@@ -106,9 +100,9 @@ public class GoodsBuyerController {
@ApiOperation(value = "从ES中获取商品信息")
@GetMapping("/es")
public ResultMessage<Page<EsGoodsIndex>> getGoodsByPageFromEs(EsGoodsSearchDTO goodsSearchParams, PageVO pageVO) {
public ResultMessage<SearchPage<EsGoodsIndex>> getGoodsByPageFromEs(EsGoodsSearchDTO goodsSearchParams, PageVO pageVO) {
pageVO.setNotConvert(true);
Page<EsGoodsIndex> esGoodsIndices = goodsSearchService.searchGoods(goodsSearchParams, pageVO);
SearchPage<EsGoodsIndex> esGoodsIndices = goodsSearchService.searchGoods(goodsSearchParams, pageVO);
return ResultUtil.data(esGoodsIndices);
}
@@ -122,8 +116,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 = goodsSearchService.getHotWords(count);
return ResultUtil.data(hotWords);
}

View File

@@ -1,8 +1,8 @@
package cn.lili.controller.member;
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.context.UserContext;
import cn.lili.common.vo.PageVO;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dos.MemberCoupon;
@@ -10,6 +10,7 @@ import cn.lili.modules.promotion.entity.vos.CouponSearchParams;
import cn.lili.modules.promotion.entity.vos.CouponVO;
import cn.lili.modules.promotion.service.CouponService;
import cn.lili.modules.promotion.service.MemberCouponService;
import cn.lili.modules.system.utils.OperationalJudgment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -22,12 +23,13 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.constraints.NotNull;
import java.util.Objects;
/**
* 买家端,买家优惠券接口
*
* @author paulG
* @date 2020/11/17 3:35 下午
* @since 2020/11/17 3:35 下午
*/
@RestController
@Api(tags = "买家端,买家优惠券接口")
@@ -56,14 +58,16 @@ public class CouponBuyerController {
@ApiOperation(value = "获取当前会员的优惠券列表")
@GetMapping("/getCoupons")
public ResultMessage<IPage<MemberCoupon>> getCoupons(CouponSearchParams param, PageVO pageVo) {
param.setMemberId(UserContext.getCurrentUser().getId());
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());
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
param.setMemberId(currentUser.getId());
return ResultUtil.data(memberCouponService.getMemberCouponsByCanUse(param, totalPrice, pageVo));
}
@@ -79,8 +83,9 @@ 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.checkCouponLimit(couponId, currentUser.getId());
memberCouponService.receiveCoupon(couponId, currentUser.getId(), currentUser.getNickName());
return ResultUtil.success();
}
@@ -90,7 +95,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

@@ -19,7 +19,7 @@ import java.util.List;
* 买家端,浏览历史接口
*
* @author Chopper
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@RestController
@Api(tags = "买家端,浏览历史接口")

View File

@@ -5,7 +5,8 @@ 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 cn.lili.modules.system.utils.OperationalJudgment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -14,13 +15,14 @@ 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 = "买家端,会员地址接口")
@@ -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,6 @@ 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);
}
return ResultUtil.data(memberAddressService.updateMemberAddress(shippingAddress));
}
@@ -78,6 +75,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

@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
* 买家端,会员收藏接口
*
* @author Chopper
* @date: 2020/11/17 2:32 下午
* @since 2020/11/17 2:32 下午
*/
@RestController
@Api(tags = "买家端,会员收藏接口")
@@ -36,11 +36,16 @@ public class MemberCollectionController {
@Autowired
private StoreCollectionService storeCollectionService;
/**
* 商品收藏关键字
*/
private String goods="GOODS";
@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")) {
if (goods.equals(type)) {
return ResultUtil.data(goodsCollectionService.goodsCollection(page));
}
return ResultUtil.data(storeCollectionService.storeCollection(page));
@@ -54,7 +59,7 @@ public class MemberCollectionController {
@PostMapping("/add/{type}/{id}")
public ResultMessage<Object> addGoodsCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
if (goods.equals(type)) {
return ResultUtil.data(goodsCollectionService.addGoodsCollection(id));
}
return ResultUtil.data(storeCollectionService.addStoreCollection(id));
@@ -69,7 +74,7 @@ public class MemberCollectionController {
@DeleteMapping(value = "/delete/{type}/{id}")
public ResultMessage<Object> deleteGoodsCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
if (goods.equals(type)) {
return ResultUtil.data(goodsCollectionService.deleteGoodsCollection(id));
}
return ResultUtil.data(storeCollectionService.deleteStoreCollection(id));
@@ -83,7 +88,7 @@ public class MemberCollectionController {
@GetMapping(value = "/isCollection/{type}/{id}")
public ResultMessage<Boolean> isCollection(@PathVariable String type,
@NotNull(message = "值不能为空") @PathVariable String id) {
if (type.equals("GOODS")) {
if (goods.equals(type)) {
return ResultUtil.data(this.goodsCollectionService.isCollection(id));
}
return ResultUtil.data(this.storeCollectionService.isCollection(id));

View File

@@ -1,8 +1,8 @@
package cn.lili.controller.member;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.enums.SwitchEnum;
import cn.lili.common.security.context.UserContext;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.entity.dos.MemberEvaluation;
import cn.lili.modules.member.entity.dto.EvaluationQueryParams;
@@ -24,7 +24,7 @@ import javax.validation.constraints.NotNull;
* 买家端,会员商品评价接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:08 下午
* @since 2020/11/16 10:08 下午
*/
@RestController
@Api(tags = "买家端,会员商品评价接口")

View File

@@ -4,8 +4,8 @@ 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.enums.MessageStatusEnum;
import cn.lili.modules.message.entity.dos.MemberMessage;
import cn.lili.modules.message.entity.enums.MessageStatusEnum;
import cn.lili.modules.message.entity.vos.MemberMessageQueryVO;
import cn.lili.modules.message.service.MemberMessageService;
import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
* 买家端,会员站内消息接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员站内消息接口")

View File

@@ -1,8 +1,8 @@
package cn.lili.controller.member;
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.vo.MemberReceiptAddVO;
@@ -19,7 +19,7 @@ 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 = "买家端,会员发票接口")

View File

@@ -18,7 +18,7 @@ import java.util.List;
* 会员签到控制器
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端会员签到API")

View File

@@ -1,18 +1,18 @@
package cn.lili.controller.member;
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.verification.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -30,7 +30,7 @@ import javax.validation.constraints.Pattern;
* 买家端,会员余额接口
*
* @author pikachu
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员余额接口")

View File

@@ -1,8 +1,8 @@
package cn.lili.controller.member;
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;
@@ -22,7 +22,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 = "买家端,余额提现记录接口")
@@ -38,8 +38,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,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,7 +1,7 @@
package cn.lili.controller.member;
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;
@@ -20,7 +20,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 = "买家端,预存款充值记录接口")

View File

@@ -1,11 +1,11 @@
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 cn.lili.mybatis.util.PageUtil;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,会员站服务消息接口
*
* @author Chopper
* @date: 2020/11/17 2:31 下午
* @since 2020/11/17 2:31 下午
*/
@RestController
@RequestMapping("/service/notice")

View File

@@ -1,11 +1,11 @@
package cn.lili.controller.other;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.utils.PageUtil;
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;
@@ -21,7 +21,7 @@ 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版本")

View File

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

View File

@@ -12,11 +12,13 @@ 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 = "买家端,意见反馈接口")
@@ -31,7 +33,7 @@ public class FeedbackBuyerController {
@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,7 +17,7 @@ import java.util.List;
* 买家端,物流公司接口
*
* @author Bulbasaur
* @date 2020-05-5 15:10:16
* @since 2020-05-5 15:10:16
*/
@RestController
@Api(tags = "买家端,物流公司接口")

View File

@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,页面接口
*
* @author Chopper
* @date 2020/11/16 10:08 下午
* @since 2020/11/16 10:08 下午
*/
@RestController
@Api(tags = "买家端,页面接口")

View File

@@ -3,8 +3,8 @@ 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.broadcast.entity.dos.Studio;
import cn.lili.modules.broadcast.service.StudioService;
import cn.lili.modules.goods.entity.dos.Studio;
import cn.lili.modules.goods.service.StudioService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,直播间接口
*
* @author Bulbasaur
* @date: 2021/5/20 12:03 下午
* @since 2021/5/20 12:03 下午
*/
@RestController
@Api(tags = "买家端,直播间接口")

View File

@@ -1,17 +1,16 @@
package cn.lili.controller.other.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,7 +20,7 @@ import org.springframework.web.bind.annotation.*;
* 买家端,分销员接口
*
* @author pikachu
* @date: 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@RestController
@Api(tags = "买家端,分销员接口")
@@ -39,15 +38,10 @@ 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 = "获取分销员分页订单列表")
@@ -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

@@ -19,6 +19,8 @@ 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,7 +28,7 @@ import javax.validation.constraints.NotNull;
* 买家端,分销商品佣金提现接口
*
* @author pikachu
* @date: 2020/11/16 10:03 下午
* @since 2020/11/16 10:03 下午
*/
@RestController
@Api(tags = "买家端,分销商品佣金提现接口")
@@ -50,8 +52,10 @@ public class DistributionCashBuyerController {
@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(@Max(value = 1000, message = "提现金额单次最多允许提现1000元")
@Min(value = 1, message = "提现金额单次最少提现金额为1元")
@NotNull @ApiIgnore Double price) {
if (distributionCashService.cash(price)) {
return ResultUtil.success();
}
throw new ServiceException(ResultCode.ERROR);

View File

@@ -11,6 +11,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,7 +25,7 @@ import javax.validation.constraints.NotNull;
* 买家端,分销商品接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@RestController
@Api(tags = "买家端,分销商品接口")
@@ -50,13 +51,25 @@ public class DistributionGoodsBuyerController {
}
@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);
}
throw new ServiceException(ResultCode.ERROR);
//判断操作结果
if(result){
return ResultUtil.success(ResultCode.SUCCESS);
}else{
throw new ServiceException(ResultCode.ERROR);
}
}
}

View File

@@ -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

@@ -1,12 +1,17 @@
package cn.lili.controller.purchase;
package cn.lili.controller.other.purchase;
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,7 +25,7 @@ import javax.validation.constraints.NotNull;
* 买家端,采购接口
*
* @author Chopper
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Api(tags = "买家端,采购接口")
@RestController
@@ -33,9 +38,19 @@ 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)));
}
@ApiOperation(value = "添加采购单")
@PostMapping
public ResultMessage<PurchaseOrderVO> addPurchaseOrderVO(PurchaseOrderVO purchaseOrderVO) {
public ResultMessage<PurchaseOrderVO> addPurchaseOrderVO(@RequestBody PurchaseOrderVO purchaseOrderVO) {
return ResultUtil.data(purchaseOrderService.addPurchaseOrder(purchaseOrderVO));
}
@@ -64,7 +79,7 @@ public class PurchaseBuyerController {
@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,7 +23,7 @@ import java.util.List;
* 买家端,采购报价接口
*
* @author Bulbasaur
* @date: 2020/11/16 10:06 下午
* @since 2020/11/16 10:06 下午
*/
@Api(tags = "买家端,采购报价接口")
@RestController
@@ -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,15 +1,14 @@
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.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.service.MemberService;
import cn.lili.modules.system.sms.SmsUtil;
import cn.lili.modules.verification.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@@ -23,7 +22,7 @@ import javax.validation.constraints.NotNull;
* 买家端,会员接口
*
* @author Chopper
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,会员接口")
@@ -47,11 +46,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)) {
return ResultUtil.data(this.memberService.usernameLogin(username, password));
} else {
throw new ServiceException(ResultCode.VERIFICATION_ERROR);
}
verificationService.check(uuid, VerificationEnums.LOGIN);
return ResultUtil.data(this.memberService.usernameLogin(username, password));
}
@ApiOperation(value = "注销接口")
@PostMapping("/logout")
public ResultMessage<Object> logout() {
this.memberService.logout(UserEnums.MEMBER);
return ResultUtil.success();
}
@ApiOperation(value = "短信登录接口")
@@ -63,11 +66,8 @@ 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)) {
return ResultUtil.data(memberService.mobilePhoneLogin(mobile));
} else {
throw new ServiceException("验证码错误");
}
smsUtil.verifyCode(mobile, VerificationEnums.LOGIN, uuid, code);
return ResultUtil.data(memberService.mobilePhoneLogin(mobile));
}
@ApiOperation(value = "注册用户")
@@ -84,12 +84,9 @@ public class MemberBuyerController {
@RequestHeader String uuid,
@NotNull(message = "验证码不能为空") @RequestParam String code) {
boolean result = smsUtil.verifyCode(mobilePhone, VerificationEnums.REGISTER, uuid, code);
if (result) {
return ResultUtil.data(memberService.register(username, password, mobilePhone));
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_ERROR);
}
smsUtil.verifyCode(mobilePhone, VerificationEnums.REGISTER, uuid, code);
return ResultUtil.data(memberService.register(username, password, mobilePhone));
}
@ApiOperation(value = "获取当前登录用户接口")
@@ -109,13 +106,11 @@ public class MemberBuyerController {
@NotNull(message = "验证码为空") @RequestParam String code,
@RequestHeader String uuid) {
//校验短信验证码是否正确
if (smsUtil.verifyCode(mobile, VerificationEnums.FIND_USER, uuid, code)) {
//校验是否通过手机号可获取会员,存在则将会员信息存入缓存有效时间3分钟
if (memberService.findByMobile(uuid, mobile)) {
return ResultUtil.success();
}
}
throw new ServiceException(ResultCode.VERIFICATION_ERROR);
smsUtil.verifyCode(mobile, VerificationEnums.FIND_USER, uuid, code);
//校验是否通过手机号可获取会员,存在则将会员信息存入缓存有效时间3分钟
memberService.findByMobile(uuid, mobile);
return ResultUtil.success();
}
@ApiOperation(value = "修改密码")

View File

@@ -17,7 +17,7 @@ import java.util.List;
* 买家端,app/小程序 联合登录
*
* @author Chopper
* @date 2020-11-25 19:29
* @since 2020-11-25 19:29
*/
@RestController
@Api(tags = "买家端,app/小程序 联合登录")

View File

@@ -3,7 +3,7 @@ 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.security.token.Token;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.connect.entity.dto.AuthCallback;
@@ -29,7 +29,6 @@ import java.io.IOException;
* 买家端,web联合登录
*
* @author Chopper
* @date 2020-11-25 19:29
*/
@Slf4j
@RestController
@@ -64,7 +63,7 @@ public class ConnectBuyerWebController {
@ApiOperation(value = "信任登录统一回调地址", hidden = true)
@GetMapping("/callback/{type}")
public void callBack(@PathVariable String type, AuthCallback callback, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException {
connectUtil.callback(type, callback,httpServletRequest, httpServletResponse);
connectUtil.callback(type, callback, httpServletRequest, httpServletResponse);
}
@ApiOperation(value = "信任登录响应结果获取")
@@ -91,11 +90,11 @@ public class ConnectBuyerWebController {
@ApiImplicitParam(name = "uniAccessToken", value = "联合登陆返回的accessToken", required = true, paramType = "query")
})
@GetMapping("/app/login")
public ResultMessage<Token> unionIDLogin(ConnectAuthUser authUser, @RequestHeader("uuid") String uuid) {
public ResultMessage<Token> unionLogin(ConnectAuthUser authUser, @RequestHeader("uuid") String uuid) {
try {
return ResultUtil.data(connectService.appLoginCallback(authUser, uuid));
} catch (Exception e) {
log.error("unionID登录错误",e);
log.error("unionID登录错误", e);
}
return null;
}

View File

@@ -1,6 +1,6 @@
package cn.lili.controller.passport.connect;
import cn.lili.common.token.Token;
import cn.lili.common.security.token.Token;
import cn.lili.common.enums.ResultUtil;
import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.connect.entity.dto.WechatMPLoginParams;
@@ -23,7 +23,7 @@ import java.util.List;
* 买家端,小程序登录接口
*
* @author Chopper
* @date 2021/2/19 09:28
* @since 2021/2/19 09:28
*/
@RestController
@RequestMapping("/buyer/mini-program")
@@ -34,6 +34,7 @@ public class MiniProgramBuyerController {
public ConnectService connectService;
@Autowired
public WechatMpCodeUtil wechatMpCodeUtil;
@SuppressWarnings("AlibabaLowerCamelCaseVariableNaming")
@Autowired
public WechatMPMessageService wechatMPMessageService;
@Autowired

View File

@@ -6,8 +6,8 @@ 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 io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -25,7 +25,7 @@ import javax.servlet.http.HttpServletResponse;
* 买家端,收银台接口
*
* @author Chopper
* @date 2020-12-18 16:59
* @since 2020-12-18 16:59
*/
@Slf4j
@RestController

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,7 +16,7 @@ import javax.servlet.http.HttpServletRequest;
* 买家端,退款回调
*
* @author Chopper
* @date 2020-12-18 16:59
* @since 2020-12-18 16:59
*/
@Api(tags = "买家端,退款回调")
@RestController

View File

@@ -0,0 +1,109 @@
package cn.lili.controller.promotion;
import cn.hutool.core.util.StrUtil;
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.KanJiaActivityLogQuery;
import cn.lili.modules.promotion.entity.dto.KanjiaActivityQuery;
import cn.lili.modules.promotion.entity.enums.PromotionStatusEnum;
import cn.lili.modules.promotion.entity.vos.kanjia.*;
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(PromotionStatusEnum.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 (StrUtil.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

@@ -6,7 +6,7 @@ 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.common.enums.PromotionTypeEnum;
import cn.lili.modules.promotion.entity.vos.PintuanMemberVO;
import cn.lili.modules.promotion.entity.vos.PintuanShareVO;
import cn.lili.modules.promotion.entity.vos.PromotionGoodsSearchParams;
@@ -27,7 +27,7 @@ import java.util.List;
* 买家端,拼团接口
*
* @author paulG
* @date 2021/2/20
* @since 2021/2/20
**/
@Api(tags = "买家端,拼团接口")
@RestController

View File

@@ -10,9 +10,11 @@ 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 +22,7 @@ import org.springframework.web.bind.annotation.RestController;
* 买家端,积分商品接口
*
* @author paulG
* @date 2021/1/19
* @since 2021/1/19
**/
@RestController
@Api(tags = "买家端,积分商品接口")
@@ -44,4 +46,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

@@ -20,7 +20,7 @@ import java.util.List;
* 买家端,秒杀活动接口
*
* @author paulG
* @date 2020/11/17 2:30 下午
* @since 2020/11/17 2:30 下午
*/
@Api(tags = "买家端,秒杀活动接口")
@RestController

View File

@@ -4,8 +4,6 @@ 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.statistics.aop.PageViewPoint;
import cn.lili.modules.statistics.aop.enums.PageViewEnum;
import cn.lili.modules.store.entity.dto.StoreBankDTO;
import cn.lili.modules.store.entity.dto.StoreCompanyDTO;
import cn.lili.modules.store.entity.dto.StoreOtherInfoDTO;
@@ -29,7 +27,7 @@ import java.util.List;
* 买家端,店铺接口
*
* @author Bulbasaur
* @date: 2020/11/17 2:32 下午
* @since 2020/11/17 2:32 下午
*/
@RestController
@RequestMapping("/buyer/store")
@@ -61,11 +59,17 @@ public class StoreBuyerController {
@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

@@ -13,6 +13,7 @@ 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.store.entity.dto.StoreAfterSaleAddressDTO;
import cn.lili.modules.system.utils.OperationalJudgment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -30,7 +31,7 @@ import java.util.List;
* 买家端,售后管理接口
*
* @author Chopper
* @date 2020/11/16 10:02 下午
* @since 2020/11/16 10:02 下午
*/
@RestController
@Api(tags = "买家端,售后管理接口")
@@ -57,7 +58,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,7 +74,7 @@ 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));
}
@PostMapping(value = "/save/{orderItemSn}")

View File

@@ -25,7 +25,7 @@ import javax.validation.constraints.NotNull;
* 买家端,购物车接口
*
* @author Chopper
* @date 2020/11/16 10:04 下午
* @since 2020/11/16 10:04 下午
*/
@Slf4j
@RestController
@@ -52,7 +52,7 @@ public class CartController {
String cartType) {
try {
//读取选中的列表
cartService.add(skuId, num, cartType);
cartService.add(skuId, num, cartType, false);
return ResultUtil.success();
} catch (ServiceException se) {
log.info(se.getMsg(), se);
@@ -93,7 +93,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();
}

View File

@@ -1,10 +1,10 @@
package cn.lili.controller.trade;
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.vo.ResultMessage;
import cn.lili.modules.order.order.entity.dos.Order;
import cn.lili.modules.order.order.entity.dto.OrderSearchParams;
@@ -12,6 +12,7 @@ import cn.lili.modules.order.order.entity.enums.OrderStatusEnum;
import cn.lili.modules.order.order.entity.vo.OrderDetailVO;
import cn.lili.modules.order.order.entity.vo.OrderSimpleVO;
import cn.lili.modules.order.order.service.OrderService;
import cn.lili.modules.system.utils.OperationalJudgment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -23,12 +24,13 @@ 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 = "买家端,订单接口")
@@ -44,7 +46,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,7 +57,9 @@ 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);
}
@ApiOperation(value = "确认收货")
@@ -93,6 +97,7 @@ public class OrderBuyerController {
})
@DeleteMapping(value = "/{orderSn}")
public ResultMessage<Object> deleteOrder(@PathVariable String orderSn) {
OperationalJudgment.judgment(orderService.getBySn(orderSn));
orderService.deleteOrder(orderSn);
return ResultUtil.success();
}
@@ -103,6 +108,7 @@ 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));
}
@@ -113,6 +119,7 @@ public class OrderBuyerController {
})
@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

@@ -13,6 +13,7 @@ import cn.lili.modules.order.order.entity.vo.OrderComplaintSearchParams;
import cn.lili.modules.order.order.entity.vo.OrderComplaintVO;
import cn.lili.modules.order.order.service.OrderComplaintCommunicationService;
import cn.lili.modules.order.order.service.OrderComplaintService;
import cn.lili.modules.system.utils.OperationalJudgment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -22,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.Objects;
/**
* 买家端,交易投诉接口
@@ -51,13 +53,15 @@ 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));
}
@@ -75,7 +79,7 @@ public class OrderComplaintBuyerController {
})
@PostMapping("/communication")
public ResultMessage<OrderComplaintCommunicationVO> addCommunication(@RequestParam String complainId, @RequestParam String content) {
AuthUser currentUser = UserContext.getCurrentUser();
AuthUser currentUser = Objects.requireNonNull(UserContext.getCurrentUser());
OrderComplaintCommunicationVO communicationVO = new OrderComplaintCommunicationVO(complainId, content, CommunicationOwnerEnum.BUYER.name(), currentUser.getId(), currentUser.getNickName());
orderComplaintCommunicationService.addCommunication(communicationVO);
return ResultUtil.data(communicationVO);

View File

@@ -21,7 +21,7 @@ import javax.validation.constraints.Min;
* 买家端,预存款充值记录接口
*
* @author paulG
* @date: 2020/11/16 10:07 下午
* @since 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "买家端,预存款充值记录接口")

View File

@@ -1,13 +1,13 @@
package cn.lili.controller.trade;
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.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 = "买家端,预存款变动日志记录接口")

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

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

@@ -22,6 +22,8 @@ management:
exposure:
include: '*'
spring:
application:
name: buyer-api
# 要在其中注册的Spring Boot Admin Server的URL。
boot:
admin:
@@ -34,11 +36,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,8 +46,7 @@ spring:
# mongodb
data:
mongodb:
host: 127.0.0.1
port: 27017
uri: 127.0.0.1:27017
database: lilishop
username: root
password: lilishop
@@ -118,13 +114,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: false
show: true
# 忽略TOKEN 鉴权 的url
ignored:
@@ -156,14 +152,10 @@ ignored:
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -191,6 +183,7 @@ mybatis-plus:
# 日志
logging:
config: classpath:logback-spring.xml
# 输出级别
level:
cn.lili: debug
@@ -200,10 +193,12 @@ logging:
file:
# 指定路径
path: lili-logs
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-file-size: 5MB
#加密参数
jasypt:
encryptor:

View File

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

View File

@@ -4,9 +4,10 @@
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<property name="APP_NAME" value="common-api"/>
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<property name="LOG_FILE_PATH" value="lili-logs"/>
<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">
@@ -22,7 +23,7 @@
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>127.0.0.1:4560</destination>
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>

View File

@@ -1,40 +0,0 @@
<?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"/>
<!--应用名称-->
<property name="APP_NAME" value="buyer-api"/>
<!--日志文件保存路径-->
<property name="LOG_FILE_PATH" value="lili-logs"/>
<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">
<destination>127.0.0.1:4560</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

@@ -7,10 +7,10 @@ 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;
@@ -21,7 +21,7 @@ import java.util.List;
* @since 2020/11/14
**/
@Slf4j
@RunWith(SpringRunner.class)
@ExtendWith(SpringExtension.class)
@SpringBootTest
class FileTest {

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

@@ -40,10 +40,6 @@ spring:
#amqp
# rabbitmq:
# host: 192.168.0.116
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
# Redis
redis:
host: 192.168.0.116
@@ -115,9 +111,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:
@@ -154,14 +150,10 @@ ignored:
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -258,7 +250,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>4.2.0</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>4.2.0</version>
<version>${revision}</version>
</dependency>
</dependencies>

View File

@@ -8,7 +8,7 @@ import org.springframework.cache.annotation.EnableCaching;
* 基础API
*
* @author Chopper
* @date 2020/11/17 3:38 下午
* @since 2020/11/17 3:38 下午
*/
@EnableCaching
@SpringBootApplication

View File

@@ -1,6 +1,6 @@
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.exception.ServiceException;
import cn.lili.common.security.AuthUser;
@@ -27,7 +27,7 @@ import java.util.List;
* 文件管理管理接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RestController
@Api(tags = "文件管理管理接口")
@@ -81,6 +81,7 @@ public class FileController {
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/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() + "?tenant_id=" + imSetting.getTenantId()+"&merchant_euid=";
} catch (Exception e) {
throw new ServiceException(ResultCode.PLATFORM_NOT_SUPPORTED_IM);
}
return ResultUtil.data(imUrl);
}
}

View File

@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
* 文件管理管理接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RestController
@Api(tags = "文件管理管理接口")

View File

@@ -2,7 +2,7 @@ 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.service.RegionService;
import cn.lili.modules.system.entity.dos.Region;
import cn.lili.modules.system.entity.vo.RegionVO;
import io.swagger.annotations.Api;
@@ -19,7 +19,6 @@ import java.util.List;
* 地址信息接口
*
* @author Chopper
* @date: 2020/11/16 10:07 下午
*/
@RestController
@Api(tags = "地址信息接口")

View File

@@ -1,12 +1,10 @@
package cn.lili.controller.common;
import cn.lili.common.aop.limiter.annotation.LimitPoint;
import cn.lili.common.enums.ResultCode;
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.enums.VerificationEnums;
import cn.lili.modules.verification.service.VerificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
@@ -17,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
* 滑块验证码接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@Slf4j
@RestController
@@ -28,19 +26,12 @@ 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) {
log.error("获取校验接口错误", e);
throw new ServiceException(ResultCode.VERIFICATION_EXIST);
}
return ResultUtil.data(verificationService.createVerification(verificationEnums, uuid));
}
@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.system.sms.SmsUtil;
import cn.lili.modules.verification.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,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
* 短信验证码接口
*
* @author Chopper
* @date 2020/11/26 15:41
* @since 2020/11/26 15:41
*/
@RestController
@Api(tags = "短信验证码接口")
@@ -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)) {
smsUtil.sendSmsCode(mobile, verificationEnums, uuid);
return ResultUtil.success(ResultCode.VERIFICATION_SEND_SUCCESS);
} else {
throw new ServiceException(ResultCode.VERIFICATION_SMS_EXPIRED_ERROR);
}
verificationService.check(uuid, verificationEnums);
smsUtil.sendSmsCode(mobile, verificationEnums, uuid);
return ResultUtil.success(ResultCode.VERIFICATION_SEND_SUCCESS);
}
}

View File

@@ -1,18 +1,17 @@
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.properties.SystemSettingProperties;
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.config.properties.SystemSetting;
import cn.lili.modules.file.entity.File;
import cn.lili.modules.file.plugin.FileManagerPlugin;
import cn.lili.modules.file.service.FileService;
@@ -30,12 +29,13 @@ 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
@@ -53,7 +53,7 @@ public class UploadController {
private Cache cache;
@Autowired
private SystemSetting systemSetting;
private SystemSettingProperties systemSettingProperties;
@ApiOperation(value = "文件上传")
@PostMapping(value = "/file")
@@ -68,16 +68,24 @@ public class UploadController {
throw new ServiceException(ResultCode.USER_AUTHORITY_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 (file == null || CharSequenceUtil.isEmpty(file.getContentType())) {
throw new ServiceException(ResultCode.IMAGE_FILE_EXT_ERROR);
}
if (StringUtils.isNotBlank(base64)) {
if (!CharSequenceUtil.containsAny(file.getContentType().toLowerCase(), "image")) {
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();
@@ -100,15 +108,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);
}
@ApiOperation(value = "返回licences")
@PostMapping(value = "/licences")
public ResultMessage<Object> licences() {
return ResultUtil.data(systemSetting.getLicences());
}
}

View File

@@ -1,8 +1,8 @@
package cn.lili.controller.security;
import cn.lili.common.cache.Cache;
import cn.lili.cache.Cache;
import cn.lili.common.security.CustomAccessDeniedHandler;
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;
@@ -17,7 +17,6 @@ import org.springframework.web.cors.CorsConfigurationSource;
*
* @author Chopper
* @version v4.0
* @Description:
* @since 2020/11/14 16:20
*/
@Slf4j

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

@@ -22,6 +22,8 @@ management:
exposure:
include: '*'
spring:
application:
name: common-api
# 要在其中注册的Spring Boot Admin Server的URL。
boot:
admin:
@@ -30,8 +32,7 @@ spring:
# mongodb
data:
mongodb:
host: 127.0.0.1
port: 27017
uri: 127.0.0.1:27017
database: lilishop
username: root
password: lilishop
@@ -39,11 +40,6 @@ spring:
# replica-set-name: mongoreplset
cache:
type: redis
jpa:
# 自动生成表结构
generate-ddl: true
open-in-view: false
# Redis
redis:
host: 127.0.0.1
@@ -115,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: false
show: true
# 忽略鉴权url
ignored:
@@ -155,14 +151,10 @@ ignored:
- /doc.html
- /swagger-resources/**
- /swagger/**
- /**/**.js
- /**/**.png
- /**/**.css
- /webjars/**
- /v2/api-docs
- /configuration/ui
- /boot-admin
statics:
- /**/*.js
- /**/*.css
- /**/*.png
@@ -190,6 +182,7 @@ mybatis-plus:
# 日志
logging:
config: classpath:logback-spring.xml
# 输出级别
level:
cn.lili: info
@@ -199,16 +192,28 @@ logging:
file:
# 指定路径
path: lili-logs
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-file-size: 5MB
#加密参数
jasypt:
encryptor:
password: lili
lili:
#验证码设置
verification-code:
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
effectiveTime: 300
#水印
watermark: LILI-SHOP
#干扰项数量 最大2 默认0
interfereNum: 0
#允许误差像素
faultTolerant: 3
#短信模版配置
sms:
#登录
@@ -271,7 +276,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

@@ -4,9 +4,10 @@
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<!--应用名称-->
<property name="APP_NAME" value="seller-api"/>
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<!--日志文件保存路径-->
<property name="LOG_FILE_PATH" value="lili-logs"/>
<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">
@@ -22,7 +23,7 @@
<!--输出到elk的LOGSTASH-->
<appender name="LOGSTASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<!-- 配置elk日志收集 配饰的是 LOGSTASH 的地址-->
<destination>127.0.0.1:4560</destination>
<destination>${LOGSTASH_SERVER}</destination>
<encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder">
<providers>
<timestamp>

View File

@@ -28,8 +28,7 @@ spring:
# mongodb
data:
mongodb:
host: 192.168.0.116
port: 27017
uri: 192.168.0.116:27017
database: lilishop
username: root
password: lilishop
@@ -37,13 +36,6 @@ spring:
# 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
@@ -115,13 +107,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: false
show: true
# 忽略鉴权url
ignored:
@@ -144,6 +136,7 @@ ignored:
- /buyer/promotion/pintuan/**
- /buyer/promotion/seckill/**
- /buyer/promotion/pointsGoods/**
- /buyer/promotion/coupon
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /buyer/appVersion/**
@@ -156,14 +149,11 @@ ignored:
- /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
@@ -171,9 +161,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
@@ -194,22 +184,35 @@ logging:
# 输出级别
level:
cn.lili: info
org.hibernate: debug
org.springframework: debug
org.springframework.data.mongodb.core: debug
# org.hibernate: debug
# org.springframework: debug
# org.springframework.data.mongodb.core: debug
file:
# 指定路径
path: lili-logs
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-size: 5MB
path: logs
logback:
rollingpolicy:
# 最大保存天数
max-history: 7
# 每个文件最大大小
max-file-size: 5MB
#加密参数
jasypt:
encryptor:
password: lili
lili:
#验证码设置
verification-code:
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
effectiveTime: 300
#水印
watermark: LILI-SHOP
#干扰项数量 最大2 默认0
interfereNum: 1
#允许误差像素
faultTolerant: 3
#短信模版配置
sms:
#登录
@@ -225,6 +228,12 @@ lili:
system:
isDemoSite: false
isTestModel: true
# 脱敏级别:
# 0不做脱敏处理
# 1管理端用户手机号等信息脱敏
# 2商家端信息脱敏为2时表示管理端商家端同时脱敏
# sensitiveLevel: 2
statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48
@@ -295,6 +304,8 @@ lili:
notice-send-group: lili_send_notice_group
rocketmq:
name-server: 192.168.0.116:9876
namesrvAddr: 192.168.0.116:9876
isVIPChannel: false
producer:
group: lili_group
send-message-timeout: 30000

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

View File

@@ -1,64 +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-core</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>A distributed task scheduling framework.</description>
<url>https://www.xuxueli.com/</url>
<dependencies>
<!-- ********************** embed server: netty + gson ********************** -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty-all.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<!-- ********************** plugin ********************** -->
<!-- groovy-all -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
</dependency>
<!-- spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<!-- ********************** base ********************** -->
<!-- slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<!-- javax.annotation-api -->
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotation-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

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

View File

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

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job</artifactId>
<version>2.3.0-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20201224031327</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>pom</extension>
<value>2.3.0-SNAPSHOT</value>
<updated>20201224031327</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=1608811284134
maven-metadata-aliyun.xml.error=
maven-metadata-maven-central.xml.error=Could not transfer metadata com.xuxueli\:xxl-job\: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/2.3.0-SNAPSHOT/maven-metadata.xml
maven-metadata-aliyun.xml.lastUpdated=1608811284273

View File

@@ -1,145 +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>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job</artifactId>
<version>2.3.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>A distributed task scheduling framework.</description>
<url>https://www.xuxueli.com/</url>
<modules>
<module>xxl-job-core</module>
<module>xxl-job-admin</module>
<module>xxl-job-executor-samples</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.test.skip>true</maven.test.skip>
<netty-all.version>4.1.54.Final</netty-all.version>
<gson.version>2.8.6</gson.version>
<spring.version>5.3.1</spring.version>
<spring-boot.version>2.4.0</spring-boot.version>
<mybatis-spring-boot-starter.version>2.1.4</mybatis-spring-boot-starter.version>
<mysql-connector-java.version>8.0.22</mysql-connector-java.version>
<slf4j-api.version>1.7.30</slf4j-api.version>
<junit.version>5.7.0</junit.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<groovy.version>3.0.7</groovy.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-war-plugin.version>3.3.1</maven-war-plugin.version>
</properties>
<build>
<plugins>
</plugins>
</build>
<licenses>
<license>
<name>GNU General Public License version 3</name>
<url>https://opensource.org/licenses/GPL-3.0</url>
</license>
</licenses>
<scm>
<tag>master</tag>
<url>https://github.com/xuxueli/xxl-job.git</url>
<connection>scm:git:https://github.com/xuxueli/xxl-job.git</connection>
<developerConnection>scm:git:git@github.com:xuxueli/xxl-job.git</developerConnection>
</scm>
<developers>
<developer>
<id>XXL</id>
<name>xuxueli</name>
<email>931591021@qq.com</email>
<url>https://github.com/xuxueli</url>
</developer>
</developers>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<configuration>
<useAgent>false</useAgent>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>

View File

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

View File

@@ -1,5 +0,0 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Apr 04 19:56:05 CST 2020
xxl-rpc-core-1.2.1.pom>aliyun=
xxl-rpc-core-1.2.1-sources.jar>aliyun=
xxl-rpc-core-1.2.1.jar>aliyun=

View File

@@ -1,5 +0,0 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Apr 04 19:56:05 CST 2020
http\://central.maven.org/maven2/.error=Could not transfer artifact com.xuxueli\:xxl-rpc-core\:jar\:sources\:1.2.1 from/to maven-central (http\://central.maven.org/maven2/)\: central.maven.org
@default-maven-central-http\://central.maven.org/maven2/.lastUpdated=1586001364931
http\://maven.aliyun.com/nexus/content/groups/public/.lastUpdated=1586001365245

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