Sfoglia il codice sorgente

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

release_toaliyun_real
gongbiao 6 anni fa
parent
commit
b3402f14de
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  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 Vedi File

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


Caricamento…
Annulla
Salva