feat(商城): 更新readme,升级依赖

master
wayn 2 years ago
parent a40e2e6284
commit 40c38983b8

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.2</version> <version>3.0.5</version>
</parent> </parent>
<modules> <modules>
<module>waynboot-common</module> <module>waynboot-common</module>
@ -34,20 +34,20 @@
<mysql.connector.java.version>8.0.30</mysql.connector.java.version> <mysql.connector.java.version>8.0.30</mysql.connector.java.version>
<elasticsearch.version>7.14.0</elasticsearch.version> <elasticsearch.version>7.14.0</elasticsearch.version>
<mybatis-plus.version>3.5.3.1</mybatis-plus.version> <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
<druid.version>1.2.15</druid.version> <druid.version>1.2.16</druid.version>
<commons.io.version>2.11.0</commons.io.version> <commons.io.version>2.11.0</commons.io.version>
<commons.collections.version>4.4</commons.collections.version> <commons.collections.version>4.4</commons.collections.version>
<commons.fileupload.version>1.5</commons.fileupload.version> <commons.fileupload.version>1.5</commons.fileupload.version>
<commons-lang3.version>3.12.0</commons-lang3.version> <commons-lang3.version>3.12.0</commons-lang3.version>
<fastjson.version>2.0.23</fastjson.version> <fastjson.version>2.0.25</fastjson.version>
<easy-captcha.version>1.6.2</easy-captcha.version> <easy-captcha.version>1.6.2</easy-captcha.version>
<jwt.version>4.2.2</jwt.version> <jwt.version>4.3.0</jwt.version>
<qiniu.version>7.12.1</qiniu.version> <qiniu.version>7.12.1</qiniu.version>
<mail.version>2.0.1</mail.version> <mail.version>2.0.1</mail.version>
<spring-boot-admin.version>3.0.0</spring-boot-admin.version> <spring-boot-admin.version>3.0.0</spring-boot-admin.version>
<xxl-job.version>2.3.1</xxl-job.version> <xxl-job.version>2.3.1</xxl-job.version>
<hutool.version>5.8.12</hutool.version> <hutool.version>5.8.15</hutool.version>
<easyexcel.version>3.2.0</easyexcel.version> <easyexcel.version>3.2.1</easyexcel.version>
</properties> </properties>
<dependencies> <dependencies>

@ -18,7 +18,11 @@ waynboot-mall是一套全部开源的微商城项目包含一个运营后台
- [运营后台项目](https://github.com/wayn111/waynboot-admin) - [运营后台项目](https://github.com/wayn111/waynboot-admin)
- [后台接口项目](https://github.com/wayn111/waynboot-mall) - [后台接口项目](https://github.com/wayn111/waynboot-mall)
如果有任何使用问题欢迎提交Issue或加QQ群<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=Mvf4HO4EhdXlfh0OLIq5I8wDIjRj6DlT&jump_from=webapi"><img border="0" src="https://pub.idqqimg.com/wpa/images/group.png" alt="waynboot-mall交流群" title="waynboot-mall交流群"></a>告知,方便互相交流反馈~ 💘。最后喜欢的话麻烦给我个star > 如果有任何使用问题欢迎提交Issue或加QQ群<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=Mvf4HO4EhdXlfh0OLIq5I8wDIjRj6DlT&jump_from=webapi"><img border="0" src="https://pub.idqqimg.com/wpa/images/group.png" alt="waynboot-mall交流群" title="waynboot-mall交流群"></a>告知,方便互相交流反馈~ 💘。最后喜欢的话麻烦给我个star
关注公众号waynblog回复"学习"进群交流。
<img src="images/wx-mp-code.png" width = "100" />
--- ---
@ -360,7 +364,7 @@ h5商城api:
- 注册一个账号 - 注册一个账号
- 然后登陆 - 然后登陆
演示地址http://121.4.124.33/mall 演示地址http://mall.wayn.xin/mall
## 演示图 ## 演示图

@ -95,7 +95,7 @@
<dependency> <dependency>
<groupId>com.hierynomus</groupId> <groupId>com.hierynomus</groupId>
<artifactId>sshj</artifactId> <artifactId>sshj</artifactId>
<version>0.34.0</version> <version>0.35.0</version>
</dependency> </dependency>
<dependency> <dependency>

@ -41,7 +41,7 @@ public class ColumnController extends BaseController {
IPage<Column> columnIPage = iColumnService.listPage(page, column); IPage<Column> columnIPage = iColumnService.listPage(page, column);
List<ColumnVO> columnVOS = columnIPage.getRecords().stream().map(item -> { List<ColumnVO> columnVOS = columnIPage.getRecords().stream().map(item -> {
ColumnVO columnVO = new ColumnVO(); ColumnVO columnVO = new ColumnVO();
BeanUtils.copyProperties(columnVO, item); BeanUtils.copyProperties(item, columnVO);
Integer count = iColumnGoodsRelationService.getGoodsNum(item.getId()); Integer count = iColumnGoodsRelationService.getGoodsNum(item.getId());
columnVO.setGoodsNum(count); columnVO.setGoodsNum(count);
return columnVO; return columnVO;

@ -129,20 +129,20 @@
<dependency> <dependency>
<groupId>com.github.binarywang</groupId> <groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-pay</artifactId> <artifactId>weixin-java-pay</artifactId>
<version>4.4.7.B</version> <version>4.4.9.B</version>
</dependency> </dependency>
<!--支付宝依赖--> <!--支付宝依赖-->
<dependency> <dependency>
<groupId>com.alipay.sdk</groupId> <groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId> <artifactId>alipay-sdk-java</artifactId>
<version>4.35.9.ALL</version> <version>4.35.79.ALL</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId> <artifactId>easyexcel</artifactId>
<version>3.1.4</version> <version>3.2.1</version>
</dependency> </dependency>
<dependency> <dependency>

@ -54,6 +54,12 @@
<artifactId>hutool-all</artifactId> <artifactId>hutool-all</artifactId>
<version>${hutool.version}</version> <version>${hutool.version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.github.wayn111</groupId>
<artifactId>mybatis-xmlreload-spring-boot-starter</artifactId>
<version>3.0.3.m1</version>
</dependency>
</dependencies> </dependencies>
<build> <build>

@ -46,7 +46,6 @@ public class IHomeServiceImpl implements IHomeService {
@Override @Override
public R getHomeIndexDataCompletableFuture() { public R getHomeIndexDataCompletableFuture() {
log.info("getHomeIndexDataCompletableFuture begin");
R success = R.success(); R success = R.success();
Map<String, Object> shopHomeIndexHash = redisCache.getCacheMap(SHOP_HOME_INDEX_HASH); Map<String, Object> shopHomeIndexHash = redisCache.getCacheMap(SHOP_HOME_INDEX_HASH);
// 当缓存中存在数据,并且过期时间不为空而且小于等于过期时间则直接从缓存中取出数据 // 当缓存中存在数据,并且过期时间不为空而且小于等于过期时间则直接从缓存中取出数据
@ -54,7 +53,7 @@ public class IHomeServiceImpl implements IHomeService {
long time = (long) shopHomeIndexHash.get(SHOP_HOME_INDEX_HASH_EXPIRATION_FIELD); long time = (long) shopHomeIndexHash.get(SHOP_HOME_INDEX_HASH_EXPIRATION_FIELD);
if ((new Date().getTime() - time) <= Constants.ONE_DAY) { if ((new Date().getTime() - time) <= Constants.ONE_DAY) {
shopHomeIndexHash.forEach(success::add); shopHomeIndexHash.forEach(success::add);
log.info("getHomeIndexDataCompletableFuture end"); log.info("getHomeIndexDataCompletableFuture:{}", success);
return success; return success;
} }
} }

@ -50,6 +50,11 @@ mybatis-plus:
# 配置mapper的扫描找到所有的mapper.xml映射文件 # 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml mapperLocations: classpath*:mapper/**/*Mapper.xml
# xml 文件热加载
mybatis-xml-reload:
enabled: ${XML_RELOAD:false}
mapper-locations: classpath*:mapper/**/*Mapper.xml
# wayn配置 # wayn配置
wayn: wayn:
name: wayn name: wayn

Loading…
Cancel
Save