From f9d08a6b39245cc4f354d4c79ab8136fa53770bc Mon Sep 17 00:00:00 2001 From: orshih Date: Mon, 22 Feb 2021 14:52:50 +0800 Subject: [PATCH] visitor --- .../src/main/graphql/com.erxes.io/opens/widget.graphql | 4 ++-- .../java/com/newmedia/erxeslibrary/connection/SetConnect.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erxeslibrary/src/main/graphql/com.erxes.io/opens/widget.graphql b/erxeslibrary/src/main/graphql/com.erxes.io/opens/widget.graphql index 197f338..c81ab2a 100644 --- a/erxeslibrary/src/main/graphql/com.erxes.io/opens/widget.graphql +++ b/erxeslibrary/src/main/graphql/com.erxes.io/opens/widget.graphql @@ -1,5 +1,5 @@ -mutation widgetsMessengerConnect($brandCode: String!, $email: String, $phone: String,$isUser:Boolean, $data: JSON,$visitorId:String){ - widgetsMessengerConnect (brandCode: $brandCode, email: $email, phone: $phone,isUser:$isUser, data: $data,visitorId:$visitorId){ +mutation widgetsMessengerConnect($brandCode: String!, $email: String, $phone: String,$isUser:Boolean, $data: JSON){ + widgetsMessengerConnect (brandCode: $brandCode, email: $email, phone: $phone,isUser:$isUser, data: $data){ integrationId uiOptions languageCode diff --git a/erxeslibrary/src/main/java/com/newmedia/erxeslibrary/connection/SetConnect.java b/erxeslibrary/src/main/java/com/newmedia/erxeslibrary/connection/SetConnect.java index 31eb7b7..6844316 100644 --- a/erxeslibrary/src/main/java/com/newmedia/erxeslibrary/connection/SetConnect.java +++ b/erxeslibrary/src/main/java/com/newmedia/erxeslibrary/connection/SetConnect.java @@ -83,7 +83,7 @@ public void run(boolean isCheckRequired, boolean isUser, boolean hasData, String .email(email) .phone(phone) .isUser(isUser) - .visitorId(imei) +// .visitorId(imei) .data(new Json(customDataMap)) .build(); Rx3Apollo.from(erxesRequest.apolloClient