- specify json field name.
This commit is contained in:
@@ -5,16 +5,16 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type JDOrderMsgResponse struct {
|
type JDOrderMsgResponse struct {
|
||||||
Code string
|
Code string `json:"code"`
|
||||||
Msg string
|
Msg string `json:"msg"`
|
||||||
Data string
|
Data string `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type JDOrderMsg struct {
|
type JDOrderMsg struct {
|
||||||
Id int `json:"-"` // 用于传递Jdorder的主键值,减少一次读库操作
|
Id int `json:"-"` // 用于传递Jdorder的主键值,减少一次读库操作
|
||||||
BillId string
|
BillId string `json:"billId"`
|
||||||
StatusId string
|
StatusId string `json:"statusId"`
|
||||||
Timestamp string
|
Timestamp string `json:"timestamp"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type JDDeliveryStatusMsg struct {
|
type JDDeliveryStatusMsg struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user