feat: analysis user status
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / analysis (push) Successful in 3m45s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / record (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / user (push) Successful in 1s
CI / task (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s

This commit is contained in:
zzw
2026-10-27 09:01:36 +08:00
parent f2fd4acbfd
commit c4eede1114
42 changed files with 4401 additions and 48 deletions
+200
View File
@@ -29,6 +29,125 @@ service Analysis {
body: "*"
};
}
rpc Log(LogReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/log"
body: "*"
};
}
rpc Overview(OverviewReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/overview"
body: "*"
};
}
rpc User(UserReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user"
body: "*"
};
}
rpc UserDetail(UserDetailReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/detail"
body: "*"
};
}
rpc UserFacepp(TaskIdReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/facepp"
body: "*"
};
}
rpc UserMode(EmptyReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/mode"
body: "*"
};
}
rpc UserLog(LogReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/log"
body: "*"
};
}
rpc Banners(EmptyReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/banners"
body: "*"
};
}
rpc QrcodeShare(QrcodeShareReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/qrcode/share"
body: "*"
};
}
rpc GraphDetail(GraphDetailReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/graph/detail"
body: "*"
};
}
rpc FaceppMaps(TaskIdReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/facepp/maps"
body: "*"
};
}
rpc FaceppMapBoxes(FaceppMapBoxesReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/facepp/maps/boxes"
body: "*"
};
}
rpc FaceppMapBoxDelete(IdReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/facepp/maps/boxes/delete"
body: "*"
};
}
rpc ImagesDate(ImagesDateReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/images/date"
body: "*"
};
}
rpc ImagesList(ImagesListReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/images/list"
body: "*"
};
}
rpc ModeImage(TaskIdReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/common/user/mode/image"
body: "*"
};
}
rpc DeviceUpdate(DeviceUpdateReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/device/update"
body: "*"
};
}
}
service AnalysisUser {
@@ -94,6 +213,20 @@ service AnalysisUser {
body: "*"
};
}
rpc UserLogDelete(UserLogDeleteReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/user/log/delete"
body: "*"
};
}
rpc UserStatus(UserStatusReq) returns (Response) {
option (google.api.http) = {
post: "/api/v2/analysis/user/status"
body: "*"
};
}
}
service AnalysisStore {
@@ -294,3 +427,70 @@ message OssCallbackReq {
message OssCallbackResp {
string Status = 1 [json_name = "Status"];
}
message UserLogDeleteReq {
repeated int64 ids = 1;
}
message UserStatusReq {}
message EmptyReq {}
message LogReq {
int64 user_id = 1;
int32 page = 2;
int32 size = 3;
}
message OverviewReq {
int64 user_id = 1;
int64 id = 2;
}
message UserReq {
int64 user_id = 1;
}
message UserDetailReq {
int64 id = 1;
}
message TaskIdReq {
string task_id = 1;
}
message QrcodeShareReq {
repeated int64 ids = 1;
}
message GraphDetailReq {
int32 type = 1;
}
message FaceppMapBoxesReq {
int64 id = 1;
string boxes = 2;
}
message IdReq {
int64 id = 1;
}
message ImagesDateReq {
int64 user_id = 1;
string start_time = 2;
string end_time = 3;
}
message ImagesListReq {
int64 user_id = 1;
string mode = 2;
string position = 3;
string start_time = 4;
string end_time = 5;
}
message DeviceUpdateReq {
int64 id = 1;
string device_name = 2;
}