created :
// db: xiaomingpian
1. 顶部订单数据-/task/getSingleUserOrderList
a.根据(taskID,belongToUserId,wxUnionID,wxMemberId)获取基本信息
table: tr_participants_info
b.查ES: xmp-tagsv2-o-prod获取score
c.手机号
table: tr_clue_info
d.查看是否开启订单
table: task_info
e.下单数据
table: tr_order_info //基础数据
api: /emall-order/xmp/order/get //补数据
2. TA的足迹-/visitorBehaviorTrack/behaviorTrajectory
a. 查任务信息
table: task_info
b. 查直播
api: xmp/live/getLiveInfoByLiveIds
c. 邀约数
2024-01-01之后数据 -> 查table: tr_participants_info
2024-01-01之前数据 -> 查ES: tr_participants_info
d. 是否有聊天数据
api: harden/api/bdw/ai/chat/hasChatRecord
e. 查面诊
api: /xmp/live/getLastInquiryByUnionId
f. 聊天记录的msgId(注释说2024-04-24前端停用了)
api: george/api/bdw/message/getMessageHistory
g. 变美记录
api: /emall-product/xmp/beauty-experience/list
2.1 商品访问行为-/visitorBehaviorTrack/behaviorTrajectory
-> ES: xmp-tagsv2-o-prod
2.2 历史关注商品-/visitorBehaviorTrack/queryHistoryBehavior
-> ES: xmp-tagsv2-o-prod
3. TA的标签-/task/getCustomerAllTag
-> ES: xmp-tagsv2-o-prod
//table: cbc__corp_brand
客户名称 cus_name
城市(编码adcode,省province、市city)
地址 addr
行业 catname
联系人 contact_name
联系电话 contact_tel
集团名称 qx_group_name
品牌名称 crm_brand_name
门店电话 shop_tel
主体 brand_name
跟进销售 follow_relate_uname
合作状态 done (0-否 1-是)