syntax = "proto3"; // package声明符,用来防止不同的消息类型有命名冲突 package v1; // 用于生成指定语言go的包名称 option go_package = "smart-enterprise-management-gateway/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 SendReserveRequest { string phone_number = 1; string services = 2; string times = 3; string shop = 4; string addr = 5; string service_phone = 6; string plate_no = 7; } message SendReserveReply { } message SendEmailRequest { string email = 1; string content = 2; } message SendEmailReply { }