feat 结构调整

This commit is contained in:
2025-12-20 15:39:25 +08:00
parent 55c5d4cc18
commit ff1bd1d0b6
96 changed files with 4904 additions and 350 deletions

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
option go_package = "common/proto/ss/grpc_pb";
import "ss_common.proto";
import "google/api/annotations.proto";
service User {
rpc Login(LoginReq) returns (LoginResp) {
option (google.api.http) = {
post: "/user/login"
body: "*"
};
}
}
message LoginReq {
string Phone = 1 [json_name = "phone"]; // 手机号
string Code = 2 [json_name = "code"]; // 验证码
}
message LoginResp {
int32 UID = 1 [json_name = "uid"]; // 用户ID
}