diff --git a/platformapi/jdapi/store.go b/platformapi/jdapi/store.go index 2281249a..bf92f542 100644 --- a/platformapi/jdapi/store.go +++ b/platformapi/jdapi/store.go @@ -78,7 +78,7 @@ type OpStoreParams struct { CoordinateType int `json:"coordinateType,omitempty"` // 返回值无,使用的地图类型(1,谷歌), (2,百度), (3,高德), (4,腾讯) DeliveryRangeRadius int `json:"deliveryRangeRadius,omitempty"` // 返回值无,时效服务范围半径(单位:米)(如果服务范围为类型3的话,该字段有值) CoordinatePoints string `json:"coordinatePoints,omitempty"` // 返回值无,坐标点集合(如果服务范围为类型2的话,该字段有值),每个点以:经度,纬度 的格式表示,用“;”隔开多个点;对于腾讯地图、谷歌地图和高德地图,整个coordinatePoints的长度必须小于2k;对于百度地图,整个coordinatePoints的长度必须小于1k - CloseStatus int `json:"closeStatus"` + CloseStatus int `json:"closeStatus"` // 0是有意义的值,所以不能是omitempty StoreNotice string `json:"storeNotice,omitempty"` StandByPhone string `json:"standByPhone,omitempty"` } @@ -104,7 +104,7 @@ type StoreDetail struct { // CoordinateType int `json:"coordinateType,omitempty"` // 返回值无,使用的地图类型(1,谷歌), (2,百度), (3,高德), (4,腾讯) // DeliveryRangeRadius int `json:"deliveryRangeRadius,omitempty"` // 返回值无,时效服务范围半径(单位:米)(如果服务范围为类型3的话,该字段有值) // CoordinatePoints string `json:"coordinatePoints,omitempty"` // 返回值无,坐标点集合(如果服务范围为类型2的话,该字段有值),每个点以:经度,纬度 的格式表示,用“;”隔开多个点;对于腾讯地图、谷歌地图和高德地图,整个coordinatePoints的长度必须小于2k;对于百度地图,整个coordinatePoints的长度必须小于1k - CloseStatus int `json:"closeStatus,omitempty"` + CloseStatus int `json:"closeStatus"` // 0是有意义的值,所以不能是omitempty StoreNotice string `json:"storeNotice,omitempty"` StandByPhone string `json:"standByPhone,omitempty"`