feat: product item

This commit is contained in:
zzw
2026-08-07 10:51:47 +08:00
52 changed files with 3562 additions and 1159 deletions
+41 -1
View File
@@ -39,7 +39,47 @@ message ItemsReq {
}
message ItemsResp {
repeated Item items = 1;
int64 count = 1;
repeated Item items = 2;
}
message Item {
int64 id = 1;
string name = 2;
string subhead = 3;
string content = 4;
string model_code = 5;
double price = 6;
double store_price = 7;
double sale_price = 8;
double share_price = 9;
double agent_price = 10;
string sale_reward = 11;
uint32 sales_model = 12;
string waybill = 13;
uint32 status = 14;
double weight = 15;
uint32 is_index = 16;
string index_image = 17;
string cubage = 18;
string label = 19;
string images = 20;
uint32 is_buy = 21;
int32 period_validity = 22;
string publish_time = 23;
uint32 type = 24;
uint32 norms_number = 25;
double box_number = 26;
uint32 sort = 27;
uint32 number = 28;
uint32 verify_status = 29;
int64 verify_id = 30;
string verify_name = 31;
int64 verify_second_id = 32;
string verify_second_name = 33;
string reason = 34;
string admin_name = 35;
uint32 edit = 36;
}
message AddReq {