diff --git a/platformapi/fnpsapi/callback.go b/platformapi/fnpsapi/callback.go index efe5c3a5..a99613ba 100644 --- a/platformapi/fnpsapi/callback.go +++ b/platformapi/fnpsapi/callback.go @@ -90,6 +90,20 @@ type CookingFinishNotify struct { 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) { storeNotify := ShortStatus{}