feat: sale info
This commit is contained in:
@@ -57,6 +57,8 @@ service Sale {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
// 服务间调用:销售详情(含分组;mobile 脱敏,origin_mobile 为加密串)
|
||||
rpc InfoInternal(InfoReq) returns (InfoData);
|
||||
rpc Items(ItemsReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
get: "/admin/v3/sales"
|
||||
@@ -157,6 +159,48 @@ message InfoReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message Region {
|
||||
string province = 1;
|
||||
string city = 2;
|
||||
string district = 3;
|
||||
}
|
||||
|
||||
message GroupItem {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
}
|
||||
|
||||
message InfoData {
|
||||
int64 id = 1;
|
||||
int64 sale_id = 2;
|
||||
string mobile = 3;
|
||||
string origin_mobile = 4;
|
||||
string name = 5;
|
||||
string id_card_front = 6;
|
||||
string id_card_back = 7;
|
||||
string business_license = 8;
|
||||
Region region = 9;
|
||||
int64 province_id = 10;
|
||||
int64 city_id = 11;
|
||||
int64 district_id = 12;
|
||||
int64 territory_id = 13;
|
||||
string territory_name = 14;
|
||||
int64 group_id = 15;
|
||||
string address = 16;
|
||||
uint32 status = 17;
|
||||
string avatar = 18;
|
||||
string account = 19;
|
||||
uint32 type = 20;
|
||||
uint32 sex = 21;
|
||||
string birth_date = 22;
|
||||
string reason = 23;
|
||||
int64 admin_id = 24;
|
||||
string admin_name = 25;
|
||||
string create_time = 26;
|
||||
string update_time = 27;
|
||||
GroupItem group = 28;
|
||||
}
|
||||
|
||||
message ItemsReq {
|
||||
string name = 1;
|
||||
uint32 page = 2;
|
||||
|
||||
Reference in New Issue
Block a user