From 22de83485228191e09a03bee255ac7d5e4317df3 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 30 Dec 2022 14:56:10 +0800 Subject: [PATCH] add queue struct --- md/queue/queue_for_es.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 md/queue/queue_for_es.go diff --git a/md/queue/queue_for_es.go b/md/queue/queue_for_es.go new file mode 100644 index 0000000..3e219a2 --- /dev/null +++ b/md/queue/queue_for_es.go @@ -0,0 +1,20 @@ +package queue + +type EsOrderQueueStruct struct { + MasterId int `json:"master_id" xml:"站长id"` + Uid int `json:"uid" xml:"用户id"` + BusinessId int `json:"business_id" xml:"商家id"` + BusinessName string `json:"business_name" xml:"商家名称"` + GoodsId string `json:"goods_id" xml:"商品id"` + GoodsName string `json:"goods_name" xml:"商品名称"` + GoodsCategoryId string `json:"goods_category_id" xml:"商品分类id"` + GoodsCategoryName string `json:"goods_category_name" xml:"商品分类名称"` + UserName string `json:"user_name" xml:"用户名称"` + OrdTitle string `json:"ord_title" xml:"订单名称"` + OrdId string `json:"ord_id" xml:"订单id"` + Sales int `json:"sales" xml:"销量"` + Amount string `json:"amount" xml:"订单金额"` + Pvd string `json:"pvd" xml:"订单所属平台(guide、mall、o2o、b2c、live、video)"` + SourcePvd string `json:"source_pvd" xml:"订单来源平台(tb、jd、pdd、dy、vph、mt、elm、kl)"` + OrdDate string `json:"ord_date" xml:"订单日期"` +}