fix: hutool 依赖更新,依赖优化,获取商品详情优化
This commit is contained in:
parent
c793c47d45
commit
0c652eac63
@ -51,10 +51,6 @@
|
|||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
@ -312,9 +312,8 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
|
|||||||
map.put("data", goodsSkuDetail);
|
map.put("data", goodsSkuDetail);
|
||||||
|
|
||||||
//获取分类
|
//获取分类
|
||||||
String[] split = goodsSkuDetail.getCategoryPath().split(",");
|
map.put("wholesaleList", GoodsSalesModeEnum.WHOLESALE.name().equals(goodsVO.getSalesModel()) ? wholesaleService.findByGoodsId(goodsSkuDetail.getGoodsId()) : Collections.emptyList());
|
||||||
map.put("wholesaleList", wholesaleService.findByGoodsId(goodsSkuDetail.getGoodsId()));
|
map.put("categoryName", CharSequenceUtil.isNotEmpty(goodsIndex.getCategoryNamePath()) ? goodsIndex.getCategoryNamePath().split(",") : null);
|
||||||
map.put("categoryName", categoryService.getCategoryNameByIds(Arrays.asList(split)));
|
|
||||||
|
|
||||||
//获取规格信息
|
//获取规格信息
|
||||||
map.put("specs", this.groupBySkuAndSpec(goodsVO.getSkuList()));
|
map.put("specs", this.groupBySkuAndSpec(goodsVO.getSkuList()));
|
||||||
|
@ -19,6 +19,11 @@
|
|||||||
<artifactId>framework</artifactId>
|
<artifactId>framework</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
2
pom.xml
2
pom.xml
@ -26,7 +26,7 @@
|
|||||||
<images-version>1</images-version>
|
<images-version>1</images-version>
|
||||||
<alipay-sdk-version>4.22.32.ALL</alipay-sdk-version>
|
<alipay-sdk-version>4.22.32.ALL</alipay-sdk-version>
|
||||||
<mybatis-plus-version>3.5.1</mybatis-plus-version>
|
<mybatis-plus-version>3.5.1</mybatis-plus-version>
|
||||||
<Hutool-version>5.8.0</Hutool-version>
|
<Hutool-version>5.8.14</Hutool-version>
|
||||||
<TinyPinyin-verions>2.0.3.RELEASE</TinyPinyin-verions>
|
<TinyPinyin-verions>2.0.3.RELEASE</TinyPinyin-verions>
|
||||||
<jasypt-version>3.0.4</jasypt-version>
|
<jasypt-version>3.0.4</jasypt-version>
|
||||||
<neetl-version>2.9.10</neetl-version>
|
<neetl-version>2.9.10</neetl-version>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user