Przeglądaj źródła

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

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
b3402f14de
1 zmienionych plików z 6 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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;


Ładowanie…
Anuluj
Zapisz