123456789101112131415161718192021222324252627282930313233343536373839404142 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb/v1";
- message GetVcodeRequest{
- string phone_number = 1; // 电话号码
- }
- message GetVcodeReply{
- uint32 vcode = 1; // 验证码
- }
- message CheckVcodeRequest{
- string phone_number = 1; // 电话号码
- uint32 vcode = 2; // 验证码
- }
- message CheckVcodeReply{
- }
- message OpenImRegisterRequest {
- string user_id = 1;
- int32 platform = 2;
- string nick_name = 3;
- string face_url = 4;
- int32 gender = 5;
- }
- message OpenImRegisterReply {
- }
- message RobotMsgRequest {
- string content = 1;
- }
- message RobotMsgReply {
- }
|