增加命名空间前缀,解决冲突
This commit is contained in:
21
src/corestack/anonymous/v1/user.proto
Normal file
21
src/corestack/anonymous/v1/user.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
package corestack.anonymous.v1;
|
||||
option go_package = "git.shenxianhe.cn/shenxianhe/sdk/corestack/anonymous/v1;anonymousv1";
|
||||
|
||||
import "corestack/enums/v1/user.proto";
|
||||
|
||||
message AuthRequest {
|
||||
corestack.enums.v1.AuthenticationType auth_type = 1; // 认证类型
|
||||
string auth_id = 2; // 认证ID,根据auth_type存储不同的账号信息
|
||||
string credential = 3; // 凭证,可以是验证码或密码
|
||||
string invitation_code = 4; // 邀请码
|
||||
}
|
||||
|
||||
message AuthResponse { string token = 1; }
|
||||
|
||||
message SendCredentialRequest {
|
||||
enums.v1.AuthenticationType auth_type = 1; // 认证类型
|
||||
string auth_id = 2; // 认证ID,根据auth_type存储不同的账号信息
|
||||
}
|
||||
|
||||
message SendCredentialResponse {}
|
||||
Reference in New Issue
Block a user