thirdparty_service.proto 1.1 KB

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. import "v1/thirdparty.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-garden/pb";
  7. // The system service definition.
  8. service PropertyThirdparty {
  9. // 获取短信验证码
  10. rpc GetVcode(pb_v1.GetVcodeRequest) returns (pb_v1.GetVcodeReply){}
  11. // 校验短信验证码
  12. rpc CheckVcode(pb_v1.CheckVcodeRequest) returns (pb_v1.CheckVcodeReply){}
  13. // 微信小程序登录验证
  14. rpc WxAppletLoginAuth(pb_v1.WxAppletLoginAuthRequest) returns (pb_v1.WxAppletLoginAuthReply){}
  15. // 微信小程序预支付
  16. rpc WxAppletPrepay(pb_v1.WxAppletPrepayRequest) returns (pb_v1.WxAppletPrepayReply){}
  17. // 微信小程序支付订单查询
  18. rpc WxAppletQuery(pb_v1.WxAppletQueryRequest) returns (pb_v1.WxAppletQueryReply){}
  19. // 公众号推送消息
  20. rpc WxPublicMsgSend(pb_v1.WxPublicMsgSendRequest) returns (pb_v1.WxPublicMsgSendReply){}
  21. // 短信发送
  22. rpc TencentMsgSend(pb_v1.TencentMsgSendRequest) returns (pb_v1.TencentMsgSendReply){}
  23. }