- 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 { 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 {