refactor: reorganize modules and add Linux build tooling
This commit is contained in:
43
module/base/passport/proto/blocks.proto
Normal file
43
module/base/passport/proto/blocks.proto
Normal file
@@ -0,0 +1,43 @@
|
||||
syntax = "proto3";
|
||||
package passport;
|
||||
option go_package = ".;passport";
|
||||
|
||||
message FetchRequest {
|
||||
int64 page_no=1; // 页数
|
||||
int64 page_size=2; // 每页记录数
|
||||
map<string,string> params=3; // 条件参数,key=val,eg key:category_id=?,vlaue=11
|
||||
}
|
||||
|
||||
message IdentRequest{
|
||||
int64 id = 1; // 唯一ID
|
||||
string identity = 2; // 唯一码
|
||||
}
|
||||
|
||||
message VersionRequest {
|
||||
int64 version=1; // 时序版本号
|
||||
}
|
||||
|
||||
|
||||
message SearchRequest {
|
||||
string keyword=1; //关键词
|
||||
}
|
||||
|
||||
|
||||
message StatusReply{
|
||||
int32 code=1; // 状态码
|
||||
string message=2; // 状态说明
|
||||
string details=3; // 数据
|
||||
int64 timeseq=4; // 响应时间序列
|
||||
}
|
||||
|
||||
message VerifyStatus {
|
||||
int32 email_verify=1; // 邮箱是否已验证
|
||||
int32 phone_verify=2; // 手机是否已验证
|
||||
int32 face_verify=3; // 人脸或照片是否已验证
|
||||
int32 document_verify=4; // 证件是否已验证
|
||||
int32 kyc_verify=5; // 实名是否已验证
|
||||
}
|
||||
|
||||
|
||||
message Empty{
|
||||
}
|
||||
Reference in New Issue
Block a user