syntax = "proto3"; import "v1/company.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb.service; // 用于生成指定语言go的包名称 option go_package = "property-company-gateway/pb"; // The system service definition. service Company { // rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){} rpc Register(pb_v1.RegisterRequest) returns (pb_v1.RegisterReply){} rpc LoginByPhone(pb_v1.LoginByPhoneRequest) returns (pb_v1.LoginByPhoneReply){} rpc CheckPhone(pb_v1.CheckPhoneRequest) returns (pb_v1.CheckPhoneReply){} rpc ResetPassword(pb_v1.ResetPasswordRequest) returns (pb_v1.ResetPasswordReply){} rpc ChangePassword(pb_v1.ChangePasswordRequest) returns (pb_v1.ChangePasswordReply){} rpc CompanyApprove(pb_v1.CompanyApproveRequest) returns (pb_v1.CompanyApproveReply){} rpc CompanyList(pb_v1.CompanyListRequest) returns (pb_v1.CompanyListReply){} rpc CompanyInfo(pb_v1.CompanyInfoRequest) returns (pb_v1.CompanyInfoReply){} rpc CompanyUpdate(pb_v1.CompanyUpdateRequest) returns (pb_v1.CompanyUpdateReply){} // 新增小区 rpc CompanyAddGarden(pb_v1.CompanyAddGardenRequest) returns (pb_v1.CompanyAddGardenReply){} // 检查是否可以新增小区 rpc CompanyCanAddGarden(pb_v1.CompanyCanAddGardenRequest) returns (pb_v1.CompanyCanAddGardenReply){} // 修改配额 rpc CompanyChangeFreeGarden(pb_v1.CompanyChangeFreeGardenRequest) returns (pb_v1.CompanyChangeFreeGardenReply){} // 设置支付方式 仅线下/支付到公司账户/支付到软件系统提供商账户 rpc CompanyPayModel(pb_v1.CompanyPayModelRequest) returns (pb_v1.CompanyPayModelReply){} // 微信商户申请 rpc CompanyWxAccountApply(pb_v1.CompanyWxAccountApplyRequest) returns (pb_v1.CompanyWxAccountApplyReply){} // 微信商户申请列表 rpc CompanyWxAccountApplyList(pb_v1.CompanyWxAccountApplyListRequest) returns (pb_v1.CompanyWxAccountApplyListReply){} // 微信商户申请资料信息 rpc CompanyWxAccountApplyInfo(pb_v1.CompanyWxAccountApplyInfoRequest) returns (pb_v1.CompanyWxAccountApplyInfoReply){} // 统计 rpc CompanyStatistic(pb_v1.CompanyStatisticRequest) returns (pb_v1.CompanyStatisticReply){} // 公司用户 rpc CompanyUserAdd(pb_v1.CompanyUserAddRequest) returns (pb_v1.CompanyUserAddReply){} rpc CompanyUserUpdate(pb_v1.CompanyUserUpdateRequest) returns (pb_v1.CompanyUserUpdateReply){} rpc CompanyUserDel(pb_v1.CompanyUserDelRequest) returns (pb_v1.CompanyUserDelReply){} rpc CompanyUserList(pb_v1.CompanyUserListRequest) returns (pb_v1.CompanyUserListReply){} }