有赞新零售社区

发帖
API使用问题»调用创建客户接口,接受到的消息为什么既有创建又有更新?

调用创建客户接口,接受到的消息为什么既有创建又有更新?

茅小一 2018-07-24 1465 浏览 1 评论 | 只看楼主 [打印]
2018-07-24 10:11:41.424  INFO 27470 --- [nio-8899-exec-2] c.m.youzan.controller.NotifyController   : entity=====MsgPushEntity{msg='', sendCount=0, mode=1, app_id='null', client_id='', version=, type='SCRM_CUSTOMER_EVENT', id='', sign='', kdt_id=, test=false, status='CUSTOMER_CREATED', kdt_name='null'}
2018-07-24 10:11:41.426  INFO 27470 --- [nio-8899-exec-2] c.m.youzan.controller.NotifyController   : entity.getType()=====SCRM_CUSTOMER_EVENT
2018-07-24 10:11:41.426  INFO 27470 --- [nio-8899-exec-2] c.m.youzan.controller.NotifyController   : 客户消息事件--创建客户entity.getStatus()CUSTOMER_CREATED
2018-07-24 10:11:41.426  INFO 27470 --- [nio-8899-exec-2] c.m.youzan.controller.NotifyController   : 客户消息事件--创建客户msg{"account_id":"","account_type":"","birthday":"2018-01-01","contact_address":{"area_code":"210224","city":"大连市","county":"长海县","province":"辽宁省"},"created_at":1532398301,"gender":1,"mobile":"","name":"测试姓名","remark":"OK","src":0}
2018-07-24 10:11:41.530  INFO 27470 --- [nio-8899-exec-2] c.m.youzan.controller.NotifyController   : customer==创建客户===CustomerEntity{accountID='', accountType='', src=0, remark='OK', name='测试姓名', mobile='', is_member=0, gender=1, createdAt=Mon Jan 19 01:39:58 CST 1970, contactAddress={province=辽宁省, city=大连市, area_code=210224, county=长海县}, birthday='2018-01-01'}
2018-07-24 10:11:41.560  INFO 27470 --- [nio-8899-exec-3] c.m.youzan.controller.NotifyController   : entity=====MsgPushEntity{msg='', sendCount=0, mode=1, app_id='null', client_id='', version=, type='SCRM_CUSTOMER_EVENT', id='', sign='', kdt_id=, test=false, status='CUSTOMER_UPDATED', kdt_name='null'}
2018-07-24 10:11:41.560  INFO 27470 --- [nio-8899-exec-3] c.m.youzan.controller.NotifyController   : entity.getType()=====SCRM_CUSTOMER_EVENT
2018-07-24 10:11:41.560  INFO 27470 --- [nio-8899-exec-3] c.m.youzan.controller.NotifyController   : 客户消息事件--更新客户entity.getStatus()()CUSTOMER_UPDATED
2018-07-24 10:11:41.560  INFO 27470 --- [nio-8899-exec-3] c.m.youzan.controller.NotifyController   : 客户消息事件--更新客户{"account_id":"","account_type":"","contact_address":{"address":"天安门","area_code":"210224","city":"大连市","county":"长海县","province":"辽宁省"}}
2018-07-24 10:11:41.561  INFO 27470 --- [nio-8899-exec-3] c.m.youzan.controller.NotifyController   : customer==更新客户===CustomerEntity{accountID='', accountType='', src=0, remark='null', name='null', mobile='null', is_member=0, gender=0, createdAt=null, contactAddress={address=天安门, province=辽宁省, city=大连市, area_code=210224, county=长海县}, birthday='null'}

用手机打开
收藏 ··· 回复
    茅小一 青铜   2018-07-24 | 只看该作者
    然后发送客户修改接口,能接收到通知消息,发送更新客户备注信息接口,没有收到通知消息

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功