Преглед изворни кода

[首页浮层][修改][用户信息多次插入问题]

release_toaliyun_real
gongbiao пре 6 година
родитељ
комит
b3402f14de
1 измењених фајлова са 6 додато и 1 уклоњено
  1. +6
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCuserFloatingLayerServiceImpl.java

+ 6
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCuserFloatingLayerServiceImpl.java Прегледај датотеку

@@ -56,7 +56,12 @@ public class WxCuserFloatingLayerServiceImpl implements WxCuserFloatingLayerServ
wxCuserFloatingLayerQuery.setUserId(byOpenId.getId());
WxCuserFloatingLayer wxCuserFloatingLayer = wxCuserFloatingLayerMapper.selectOne(new QueryWrapper<>(wxCuserFloatingLayerQuery));
if (wxCuserFloatingLayer == null) {
saveCuserFloatingLayer(byOpenId);
try {
saveCuserFloatingLayer(byOpenId);
} catch (Exception e) {
logger.error("用户 {} 已弹过浮层",byOpenId.getId());
return null;
}
return getWxFloatingLayer(byOpenId);
}
return null;


Loading…
Откажи
Сачувај