客户回调接口

master
Caps 6 years ago
parent 2c20977d15
commit ff28655f30

@ -166,6 +166,7 @@ public class CustomerService {
OpCustomer insertCustomer = new OpCustomer(); OpCustomer insertCustomer = new OpCustomer();
insertCustomer.setWechatUniId(turnBackDTOS.getWx_data().getUnit_id()); insertCustomer.setWechatUniId(turnBackDTOS.getWx_data().getUnit_id());
insertCustomer.setName(turnBackDTOS.getName()); insertCustomer.setName(turnBackDTOS.getName());
insertCustomer.setAvatarUrl(turnBackDTOS.getWx_data().getAvatar_url());
if(null != opCustomer){ if(null != opCustomer){
//存在--1.处理客户导购关系。 //存在--1.处理客户导购关系。
sellerCustomerRelation(opCustomer,turnBackDTOS.getEa_code(),poiStore.getId(),poiStoreStaff.getUserId()); sellerCustomerRelation(opCustomer,turnBackDTOS.getEa_code(),poiStore.getId(),poiStoreStaff.getUserId());

@ -116,4 +116,9 @@ public class OpCustomer {
@TableField(exist = false) @TableField(exist = false)
private Integer validType; private Integer validType;
/**
*
*/
private String avatarUrl;
} }

@ -24,6 +24,19 @@ public class WxDataDTO {
*/ */
private String user_id; private String user_id;
/**
*
*/
private String avatar_url;
public String getAvatar_url() {
return avatar_url;
}
public void setAvatar_url(String avatar_url) {
this.avatar_url = avatar_url;
}
public String getUnit_id() { public String getUnit_id() {
return unit_id; return unit_id;
} }

@ -50,4 +50,9 @@ public class SaveAccountInput {
* *
*/ */
private String staffCode; private String staffCode;
/**
* --
*/
private Long companyId;
} }

Loading…
Cancel
Save