feat: user info

This commit is contained in:
zzw
2026-10-19 17:30:45 +08:00
parent 46d3f672bf
commit 8d7b543dc2
57 changed files with 2836 additions and 251 deletions
+57
View File
@@ -109,6 +109,34 @@ service AnalysisStore {
body: "*"
};
}
rpc StoreInfo(StoreInfoReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/store/info"
body: "*"
};
}
rpc StoreUserList(StoreUserListReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/store/list"
body: "*"
};
}
rpc StoreUserUpdate(StoreUserUpdateReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/store/user/update"
body: "*"
};
}
rpc StoreUserInfo(StoreUserInfoReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/store/user/info"
body: "*"
};
}
}
service AnalysisDevice {}
@@ -164,6 +192,35 @@ message StoreAuthReq {
message StoreAuthQrcodeReq {}
message StoreInfoReq {
int64 id = 1;
}
message StoreDetailReq {}
message StoreUserListReq {
repeated string date = 1;
string keyword = 2;
int32 gender = 3;
string tag = 4;
int32 age_min = 5;
int32 age_max = 6;
int32 page = 7;
int32 size = 8;
}
message StoreUserUpdateReq {
int64 user_id = 1;
optional string name = 2;
optional int32 gender = 3;
optional string birthday = 4;
repeated string tag = 5;
}
message StoreUserInfoReq {
int64 user_id = 1;
}
message UserAuthReq {
int32 type = 1;
int64 store_id = 2;