- mtps, dada create waybill
- create legacy jxorder(not finished).
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
VenderIDUnknown = -1
|
||||
VendorIDUnknown = -1
|
||||
VendorIDPurchaseBegin = 0
|
||||
VendorIDJD = 0
|
||||
VendorIDMTWM = 1
|
||||
@@ -14,14 +14,34 @@ const (
|
||||
VendorIDDeliveryEnd = 102
|
||||
)
|
||||
|
||||
var (
|
||||
VendorNames = map[int]string{
|
||||
VendorIDJD: "JD",
|
||||
VendorIDELM: "ELEME",
|
||||
VendorIDMTWM: "MT",
|
||||
}
|
||||
)
|
||||
|
||||
const (
|
||||
OrderTypeOrder = 1
|
||||
OrderTypeWaybill = 2
|
||||
)
|
||||
|
||||
// https://blog.csdn.net/a13570320979/article/details/51366355
|
||||
// 美团配送:
|
||||
// 坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标 (默认值为0)
|
||||
// 京东:
|
||||
// 收货人地址定位类型(buyerCoordType值为空或为1时,定位类型为gps,如为其他值时,定位类型为非gps类型。)
|
||||
// 饿了么:
|
||||
// 只支持高德坐标
|
||||
// 达达:
|
||||
// 只支持高德坐标
|
||||
// 如下定义与美团配送兼容
|
||||
const (
|
||||
CoordinateTypeMars = 0 // 火星坐标
|
||||
CoordinateTypeReal = 1 // 真实坐标
|
||||
CoordinateTypeMars = 0 // 火星坐标,高德坐标,GCJ-02坐标系
|
||||
CoordinateTypeBaiDu = 1 // 百度坐标,bd-09,在GCJ-02坐标系上再次偏移加密的坐标
|
||||
CoordinateTypeMapbar = 2
|
||||
CoordinateTypeGPS = 84 // 真实坐标,WGS-84原始坐标系
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user