소스 검색

fix(alien-second): 修复举报类型详情显示错误

- 将 reportingVo.setReportContextType 方法的参数从 storeDictionary.getTypeDetail() 修改为 storeDictionary.getDictDetail()
- 此修改确保了举报类型详情正确显示,解决了类型信息不一致的问题
wxd 3 달 전
부모
커밋
818006a9ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      alien-second/src/main/java/shop/alien/second/service/impl/SecondGoodsServiceImpl.java

+ 1 - 1
alien-second/src/main/java/shop/alien/second/service/impl/SecondGoodsServiceImpl.java

@@ -450,7 +450,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
             // 获取举报类型信息
             StoreDictionary storeDictionary = dictMap.get(report.getDictType() + "_" + report.getDictId());
             // 举报类型
-            reportingVo.setReportContextType(storeDictionary.getTypeDetail());
+            reportingVo.setReportContextType(storeDictionary.getDictDetail());
             // 二手商品举报
             SecondGoods secondGoods = secondGoodsMapper.selectById(report.getBusinessId());
             if (secondGoods != null) {