From 13b93601ff827a6f36f2df904c1a8f2500e23840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 30 Mar 2022 18:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=B0=83=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/fnpsapi/callback.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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{}