完善客户端协议

This commit is contained in:
flswld
2023-01-19 19:29:52 +08:00
parent a00bee14d0
commit 2983c16272
3254 changed files with 57101 additions and 93258 deletions
@@ -0,0 +1,9 @@
syntax = "proto3";
package proto_log;
enum OrderActionType {
ORDER_ACTION_NONE = 0;
ORDER_ACTION_ADD = 1;
ORDER_ACTION_FINISH = 2;
}
@@ -0,0 +1,28 @@
syntax = "proto3";
package proto_log;
message OrderLogBodyAdd {
uint32 order_id = 1;
uint32 uid = 2;
string product_id = 3;
string product_name = 4;
uint32 product_num = 5;
uint32 coin_num = 6;
string total_fee = 7;
string currency = 8;
string price_tier = 9;
string trade_no = 10;
uint32 trade_time = 11;
uint32 channel_id = 12;
string channel_order_no = 13;
string pay_plat = 14;
string extend = 15;
}
message OrderLogBodyFinish {
uint32 order_id = 1;
uint32 uid = 2;
uint32 finish_time = 3;
bool is_retry = 4;
}
@@ -0,0 +1,11 @@
syntax = "proto3";
package proto_log;
message OrderLogHead {
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
}