feat: scan graph
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
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 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
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 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
This commit is contained in:
@@ -332,6 +332,83 @@ service AnalysisAdmin {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc BindStore(AdminBindStoreReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/bind/store"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc BindUser(AdminBindUserReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/bind/user"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc StoreList(AdminStoreListReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/store/list"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ScanList(AdminScanListReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/scan/list"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ScanDetail(AdminScanDetailReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/scan/detail"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ScanState(AdminScanStateReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/scan/state"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GraphTypes(AdminGraphTypesReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/graph/types"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GraphCreate(AdminGraphCreateReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/graph/create"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GraphDelete(AdminGraphDeleteReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/graph/delete"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GraphUpdate(AdminGraphUpdateReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/graph/update"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GraphList(AdminGraphListReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v2/analysis/graph/list"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message Response {
|
||||
@@ -552,6 +629,77 @@ message AdminUserDetailReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message AdminBindStoreReq {
|
||||
int64 user_id = 1;
|
||||
}
|
||||
|
||||
message AdminBindUserReq {
|
||||
int64 store_id = 1;
|
||||
int32 page = 2;
|
||||
int32 size = 3;
|
||||
string keyword = 4;
|
||||
}
|
||||
|
||||
message AdminStoreListReq {
|
||||
int32 page = 1;
|
||||
int32 size = 2;
|
||||
string keyword = 3;
|
||||
}
|
||||
|
||||
message AdminScanListReq {
|
||||
int32 state = 1;
|
||||
int32 page = 2;
|
||||
int32 size = 3;
|
||||
string keyword = 4;
|
||||
}
|
||||
|
||||
message AdminScanDetailReq {
|
||||
int64 user_id = 1;
|
||||
}
|
||||
|
||||
message AdminScanStateReq {
|
||||
int64 id = 1;
|
||||
int32 state = 2;
|
||||
}
|
||||
|
||||
message AdminGraphTypesReq {}
|
||||
|
||||
message AdminGraphTitleItem {
|
||||
string name = 1;
|
||||
string content = 2;
|
||||
}
|
||||
|
||||
message AdminGraphImageItem {
|
||||
string url = 1;
|
||||
string text = 2;
|
||||
}
|
||||
|
||||
message AdminGraphCreateReq {
|
||||
int32 type = 1;
|
||||
string name = 2;
|
||||
repeated AdminGraphTitleItem title = 3;
|
||||
repeated AdminGraphImageItem images = 4;
|
||||
}
|
||||
|
||||
message AdminGraphDeleteReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message AdminGraphUpdateReq {
|
||||
int64 id = 1;
|
||||
int32 type = 2;
|
||||
string name = 3;
|
||||
repeated AdminGraphTitleItem title = 4;
|
||||
repeated AdminGraphImageItem images = 5;
|
||||
}
|
||||
|
||||
message AdminGraphListReq {
|
||||
int32 type = 1;
|
||||
string name = 2;
|
||||
int32 page = 3;
|
||||
int32 size = 4;
|
||||
}
|
||||
|
||||
// FaceLoginReq 设备人脸登录。gRPC/网关不走 multipart,传 file(图片字节)。
|
||||
message FaceLoginReq {
|
||||
bytes file = 1;
|
||||
|
||||
Reference in New Issue
Block a user