Explorar el Código

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

release_toaliyun_real
gongbiao hace 6 años
padre
commit
b3402f14de
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar