Browse Source

add queue struct

tags/v0.0.4
DengBiao 1 year ago
parent
commit
22de834852
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      md/queue/queue_for_es.go

+ 20
- 0
md/queue/queue_for_es.go View File

@@ -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:"订单日期"`
}

Loading…
Cancel
Save