增加命名空间前缀,解决冲突

This commit is contained in:
sky
2025-09-07 20:42:11 +08:00
parent 53c602237b
commit 8ad7b888dc
10 changed files with 28 additions and 28 deletions

View File

@@ -0,0 +1,38 @@
syntax = "proto3";
package corestack.user.v1;
option go_package = "git.shenxianhe.cn/shenxianhe/sdk/corestack/user/v1;userv1";
import "corestack/enums/v1/user.proto";
message SetPasswordRequest {
corestack.enums.v1.AuthenticationType auth_type = 1; // 认证类型
string auth_id = 2; // 认证ID根据auth_type存储不同的账号信息
string credential = 3; // 凭证,可以是验证码或旧密码
string password = 4; // 新密码
}
message SetPasswordResponse {}
message SetNameRequest { string name = 1; }
message SetNameResponse {}
message GetAvatarUploadURLRequest {}
message GetAvatarUploadURLResponse {
string key = 1;
string url = 2;
}
message SetAvatarRequest { string key = 1; }
message SetAvatarResponse {}
message SetDescriptionRequest { string description = 1; }
message SetDescriptionResponse {}
message GetUserInfoRequest {}
message GetUserInfoResponse {
string id = 1;
string avatar = 2;
string invitation_code = 3;
string description = 4;
string name = 5;
string phone = 6;
string email = 7;
}