提交 eab05740 authored 作者: 屈传平's avatar 屈传平

hcw

上级 3cd6891a
...@@ -12,19 +12,19 @@ import ( ...@@ -12,19 +12,19 @@ import (
//signature string 请求签名(验证方法见第四章) //signature string 请求签名(验证方法见第四章)
type OrderNotifyRes struct { type OrderNotifyRes struct {
NotifyId int64 `json:"notify_id"` NotifyId string `json:"notify_id"`
AppId int64 `json:"app_id"` AppId string `json:"app_id"`
Type int64 `json:"type"` Type string `json:"type"`
Data OrderNotifyData `json:"data"` Data OrderNotifyData `json:"data"`
SignaTure int64 `json:"signature"` SignaTure string `json:"signature"`
} }
// order_shipped 订单发货 { "order_no":"P123"} // order_shipped 订单发货 { "order_no":"P123"}
// refund_result 发起售后成功 { "order_no":100.00} // refund_result 发起售后成功 { "order_no":100.00}
// product_status 产品状态变更(1上架2下架) { "product_no":"SKU123"} // product_status 产品状态变更(1上架2下架) { "product_no":"SKU123"}
type OrderNotifyData struct { type OrderNotifyData struct {
OrderNo int64 `json:"order_no"` OrderNo string `json:"order_no"`
ProductNo int64 `json:"product_no"` ProductNo string `json:"product_no"`
} }
// 回调 // 回调
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论