123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1;
- // 用于生成指定语言go的包名称
- option go_package = "smart-supplier-management/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 SendAlarmRequest{
- string phone_number = 1; // 电话号码
- // 邮件
- string email = 2;
- // 设备名(扬尘设备(扬尘0001))
- string device_name = 3;
- // 告警原因
- string alarm_reason = 4;
- // 告警时间
- string alarm_time = 5;
- }
- message SendAlarmReply{
- }
- // 发送通过认证短信
- message SendThroughVerifyRequest{
- // 公司名
- string company = 1;
- // 类型 1 供应商,2 企业
- int32 company_type = 2;
- string phone_number = 3;
- }
- message SendThroughVerifyReply{
- }
|