|
|
@@ -49,7 +49,8 @@ const ZhiosOrdersEsMapping = ` |
|
|
|
"type": "keyword" |
|
|
|
}, |
|
|
|
"pay_time":{ |
|
|
|
"type": "date" |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
}, |
|
|
|
"pay_channel":{ |
|
|
|
"type": "integer" |
|
|
@@ -86,13 +87,16 @@ const ZhiosOrdersEsMapping = ` |
|
|
|
"type": "keyword" |
|
|
|
}, |
|
|
|
"ord_create_time":{ |
|
|
|
"type": "date" |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
}, |
|
|
|
"created_at":{ |
|
|
|
"type": "date" |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
}, |
|
|
|
"updated_at":{ |
|
|
|
"type": "date" |
|
|
|
"type": "date", |
|
|
|
"format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@@ -109,7 +113,7 @@ type ZhiosOrdersEs struct { |
|
|
|
CostPrice float64 `json:"cost_price"` |
|
|
|
State int32 `json:"state"` |
|
|
|
StateZh string `json:"state_zh"` |
|
|
|
PayTime int `json:"pay_time"` |
|
|
|
PayTime string `json:"pay_time"` |
|
|
|
PayChannel int32 `json:"pay_channel"` |
|
|
|
PayChannelZh string `json:"pay_channel_zh"` |
|
|
|
ReceiverPhone string `json:"receiver_phone"` |
|
|
@@ -121,7 +125,7 @@ type ZhiosOrdersEs struct { |
|
|
|
OrderType int32 `json:"order_type"` |
|
|
|
EstimateCommission float64 `json:"estimate_commission"` |
|
|
|
LogisticCompany string `json:"logistic_company"` |
|
|
|
OrdCreateTime int `json:"ord_create_time"` |
|
|
|
CreatedAt int `json:"created_at"` |
|
|
|
UpdatedAt int `json:"updated_at"` |
|
|
|
OrdCreateTime string `json:"ord_create_time"` |
|
|
|
CreatedAt string `json:"created_at"` |
|
|
|
UpdatedAt string `json:"updated_at"` |
|
|
|
} |