Subversion Repositories SmartDukaan

Rev

Rev 1866 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1866 Rev 1868
Line 26... Line 26...
26
            in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient
26
            in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient
27
                    .getClient();
27
                    .getClient();
28
 
28
 
29
            long trackerId = Long.parseLong(cookiesMap.get(
29
            long trackerId = Long.parseLong(cookiesMap.get(
30
                    TrackingInterceptor.TRACKER).getValue());
30
                    TrackingInterceptor.TRACKER).getValue());
-
 
31
            long userId = 0;
-
 
32
            if (userinfo != null) {
-
 
33
                userId = userinfo.getUserId();
-
 
34
            }
31
            userClient.addTrackLog(trackerId, userinfo.getUserId(), event, url,
35
            userClient.addTrackLog(trackerId, userId, event, url,
32
                    data, (new Date()).getTime());
36
                    data, (new Date()).getTime());
33
        } catch (Exception e) {
37
        } catch (Exception e) {
34
            log.error(e);
38
            log.error(e);
35
        }
39
        }
36
    }
40
    }