- specify json field name.

This commit is contained in:
gazebo
2018-06-12 16:50:27 +08:00
parent 94fd9c3e60
commit 0fc65c457a

View File

@@ -5,16 +5,16 @@ import (
)
type JDOrderMsgResponse struct {
Code string
Msg string
Data string
Code string `json:"code"`
Msg string `json:"msg"`
Data string `json:"data"`
}
type JDOrderMsg struct {
Id int `json:"-"` // 用于传递Jdorder的主键值减少一次读库操作
BillId string
StatusId string
Timestamp string
Id int `json:"-"` // 用于传递Jdorder的主键值减少一次读库操作
BillId string `json:"billId"`
StatusId string `json:"statusId"`
Timestamp string `json:"timestamp"`
}
type JDDeliveryStatusMsg struct {