21 lines
389 B
Protocol Buffer
21 lines
389 B
Protocol Buffer
syntax = "proto3"; //版本声明,使用v3版本
|
||
|
||
|
||
package service.basic;
|
||
|
||
option go_package = "fusen-auth/gen/go/service/basic";
|
||
|
||
import "google/protobuf/any.proto";
|
||
|
||
// 定义请求消息类型.
|
||
message Request {
|
||
|
||
}
|
||
|
||
// 定义全局响应消息类型.
|
||
message Response {
|
||
string code = 1;
|
||
string msg = 2;
|
||
google.protobuf.Any data = 3;
|
||
google.protobuf.Any debug = 4;
|
||
} |