From b8bb13639cc0dafff4c4b29131dfac33be07a1cb Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 16 十月 2023 14:48:37 +0800
Subject: [PATCH] aps grpc env
---
proto/product.proto | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/proto/product.proto b/proto/product.proto
index aec49ae..3727bcc 100644
--- a/proto/product.proto
+++ b/proto/product.proto
@@ -12,8 +12,8 @@
}
message GetProductInfoResponse{
- int32 Code = 1;
- string Msg = 2;
+ int32 Code = 1;
+ string Msg = 2;
Product Data = 3;
}
message Product {
@@ -24,8 +24,12 @@
double SalePrice = 5; //閿�鍞环鏍�
float Amount = 6;//搴撳瓨鍓╀綑閲�
int32 MinInventory = 7;//瀹夊叏搴撳瓨
- string MaterialMode = 8; //鐗╂枡绫诲瀷
- string PurchaseType = 9;//閲囪喘绫诲瀷
+ int32 MaxInventory = 8; // 鏈�澶у簱瀛�
+ string MaterialMode = 9; //鐗╂枡绫诲瀷
+ string PurchaseType = 10;//閲囪喘绫诲瀷
+ string Node = 11; // 澶囨敞
+ string Type = 12; // 鍨嬪彿
+ string Specs = 13; // 瑙勬牸
}
message GetProductListRequest{
@@ -36,8 +40,8 @@
}
message GetProductListResponse{
- int32 Code = 1;
- string Msg = 2;
+ int32 Code = 1;
+ string Msg = 2;
repeated Product List = 3;
int64 Total = 4;
}
\ No newline at end of file
--
Gitblit v1.8.0