change sdk

This commit is contained in:
李子铭 2024-09-11 10:18:58 +08:00
parent 66c2b698df
commit 7f3ba37bbb
2 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ type OrderRequest_Product struct {
ProductNo string `protobuf:"bytes,1,opt,name=product_no,json=productNo,proto3" json:"product_no,omitempty"` 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"` 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 格式 Extra []byte `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // extra 其他的拓展参数 json 格式
} }

View File

@ -34,7 +34,7 @@ message OrderRequest{
message Product { message Product {
string product_no = 1; string product_no = 1;
float price = 2; float price = 2;
uint32 type = 3; uint32 type = 3; //
bytes extra = 4; // extra json bytes extra = 4; // extra json
} }
Order order = 2; Order order = 2;