feat: device info and bind
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
This commit is contained in:
@@ -79,6 +79,34 @@ message ApiBindAddRequest {
|
||||
int32 type = 3;
|
||||
}
|
||||
|
||||
message InternalBindAddRequest {
|
||||
int64 user_id = 1;
|
||||
string user_nickname = 2;
|
||||
string host_nickname = 3;
|
||||
string host_code = 4;
|
||||
int32 type = 5;
|
||||
int32 skin_type = 6;
|
||||
}
|
||||
|
||||
message InternalBindInfoRequest {
|
||||
int64 user_id = 1;
|
||||
int32 skin_type = 2;
|
||||
string host_code = 3;
|
||||
int32 type = 4;
|
||||
int64 id = 5;
|
||||
}
|
||||
|
||||
message ApiBindInfoRequest {
|
||||
int64 id = 1;
|
||||
string host_code = 2;
|
||||
int32 type = 3;
|
||||
}
|
||||
|
||||
message ApiBindUpdateRequest {
|
||||
int64 id = 1;
|
||||
string host_nickname = 2;
|
||||
}
|
||||
|
||||
message ApiUnBindRequest {
|
||||
string host_code = 1;
|
||||
int32 type = 2;
|
||||
@@ -308,4 +336,20 @@ service Equipment {
|
||||
};
|
||||
};
|
||||
|
||||
rpc ApiBindInfo(ApiBindInfoRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/device/info"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
|
||||
rpc ApiBindUpdate(ApiBindUpdateRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/device/update"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
|
||||
rpc InternalBindAdd(InternalBindAddRequest) returns(Response);
|
||||
rpc InternalBindInfo(InternalBindInfoRequest) returns(Response);
|
||||
}
|
||||
Reference in New Issue
Block a user