Browse Source

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

- 将 reportingVo.setReportContextType 方法的参数从 storeDictionary.getTypeDetail() 修改为 storeDictionary.getDictDetail()
- 此修改确保了举报类型详情正确显示,解决了类型信息不一致的问题
wxd 3 tháng trước cách đây
mục cha
commit
818006a9ca

+ 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) {