24 lines
436 B
Protocol Buffer
24 lines
436 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package analysis;
|
|
import "google/api/annotations.proto";
|
|
option go_package = "lone-services/rpc/analysis";
|
|
|
|
service AnalysisAuth {
|
|
rpc GenerateQrcode(GenerateQrcodeRequest) returns(Response){
|
|
option (google.api.http) = {
|
|
post: "/api/v2/analysis/qrcode/generate"
|
|
body: "*"
|
|
};
|
|
};
|
|
}
|
|
|
|
message GenerateQrcodeRequest {
|
|
}
|
|
|
|
message Response {
|
|
int32 code = 1;
|
|
string msg = 2;
|
|
string data = 3;
|
|
}
|