回调修改
This commit is contained in:
@@ -90,6 +90,20 @@ type CookingFinishNotify struct {
|
|||||||
CookingFinishTime int64 `json:"cooking_finish_time"` // 状态推送时间 (毫秒)
|
CookingFinishTime int64 `json:"cooking_finish_time"` // 状态推送时间 (毫秒)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 异常状态回调
|
||||||
|
type AbnormalReportNotify struct {
|
||||||
|
OrderId int64 `json:"order_id"` // 订单号
|
||||||
|
AppId string `json:"app_id"` // 应用id
|
||||||
|
PartnerOrderCode string `json:"partner_order_code"` // 外部订单号
|
||||||
|
CarrierDriverId int64 `json:"carrier_driver_id"` // 骑手id
|
||||||
|
Longitude string `json:"longitude"` // 纬度
|
||||||
|
Latitude string `json:"latitude"` // 门店纬度
|
||||||
|
AbnormalCode string `json:"abnormal_code"` // 异常报备code
|
||||||
|
AbnormalDesc string `json:"abnormal_desc"` // 异常报备描述
|
||||||
|
AbnormalReportTime int64 `json:"abnormal_report_time"` // 异常报备时间 毫秒
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// 获取门店状态回调消息
|
// 获取门店状态回调消息
|
||||||
func (a *API) GetChainstoreStatusNotify(request *http.Request) (shopStatusMsg map[string]interface{}, callbackResponse *CallbackResponse) {
|
func (a *API) GetChainstoreStatusNotify(request *http.Request) (shopStatusMsg map[string]interface{}, callbackResponse *CallbackResponse) {
|
||||||
storeNotify := ShortStatus{}
|
storeNotify := ShortStatus{}
|
||||||
|
|||||||
Reference in New Issue
Block a user