From 7f3ba37bbbca6d82ded7c327ae840b80c6b4f4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AD=90=E9=93=AD?= Date: Wed, 11 Sep 2024 10:18:58 +0800 Subject: [PATCH] change sdk --- proto/plugin.pb.go | 2 +- proto/plugin.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/plugin.pb.go b/proto/plugin.pb.go index fcc00e6..57a811a 100644 --- a/proto/plugin.pb.go +++ b/proto/plugin.pb.go @@ -561,7 +561,7 @@ type OrderRequest_Product struct { ProductNo string `protobuf:"bytes,1,opt,name=product_no,json=productNo,proto3" json:"product_no,omitempty"` Price float32 `protobuf:"fixed32,2,opt,name=price,proto3" json:"price,omitempty"` - Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` + Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 商品拓展类型处理 Extra []byte `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // extra 其他的拓展参数 json 格式 } diff --git a/proto/plugin.proto b/proto/plugin.proto index def5bd5..ce831ef 100644 --- a/proto/plugin.proto +++ b/proto/plugin.proto @@ -34,7 +34,7 @@ message OrderRequest{ message Product { string product_no = 1; float price = 2; - uint32 type = 3; + uint32 type = 3; // 商品拓展类型处理 bytes extra = 4; // extra 其他的拓展参数 json 格式 } Order order = 2;