sns.proto 791 B

12345678910111213141516171819202122
  1. syntax = "proto3";
  2. package passport.service.sns;
  3. option go_package = "model";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. message SnsProto {
  6. int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
  7. string UnionID = 2 [(gogoproto.jsontag) = "unionid"];
  8. int32 Platform = 3 [(gogoproto.jsontag) = "platform"];
  9. int64 Expires = 4 [(gogoproto.jsontag) = "expires"];
  10. }
  11. message Oauth2Proto {
  12. int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
  13. string UnionID = 2 [(gogoproto.jsontag) = "unionid"];
  14. string OpenID = 3 [(gogoproto.jsontag) = "openid"];
  15. int32 Platform = 4 [(gogoproto.jsontag) = "platform"];
  16. string AppID = 5 [(gogoproto.jsontag) = "appid"];
  17. string Token = 6 [(gogoproto.jsontag) = "token"];
  18. int64 Expires = 7 [(gogoproto.jsontag) = "expires"];
  19. }