1234567891011121314151617181920212223242526272829303132333435 |
- syntax = "proto3";
- import "v1/thirdparty.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-task/pb";
- // The system service definition.
- service PropertyThirdparty {
- // 获取短信验证码
- rpc GetVcode(pb_v1.GetVcodeRequest) returns (pb_v1.GetVcodeReply){}
- // 校验短信验证码
- rpc CheckVcode(pb_v1.CheckVcodeRequest) returns (pb_v1.CheckVcodeReply){}
- // 微信小程序登录验证
- rpc WxAppletLoginAuth(pb_v1.WxAppletLoginAuthRequest) returns (pb_v1.WxAppletLoginAuthReply){}
- // 微信小程序预支付
- rpc WxAppletPrepay(pb_v1.WxAppletPrepayRequest) returns (pb_v1.WxAppletPrepayReply){}
- // 微信小程序支付订单查询
- rpc WxAppletQuery(pb_v1.WxAppletQueryRequest) returns (pb_v1.WxAppletQueryReply){}
- // 获取公众号unionid
- rpc WxPublicUnionId(pb_v1.WxPublicUnionIdRequest) returns (pb_v1.WxPublicUnionIdReply){}
- // 公众号推送消息
- rpc WxPublicMsgSend(pb_v1.WxPublicMsgSendRequest) returns (pb_v1.WxPublicMsgSendReply){}
- // 公众号添加小程序入口
- rpc WxPublicAddMini(pb_v1.WxPublicAddMiniRequest) returns (pb_v1.WxPublicAddMiniReply){}
- // 短信发送
- rpc TencentMsgSend(pb_v1.TencentMsgSendRequest) returns (pb_v1.TencentMsgSendReply){}
- }
|