代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: jmash/rbac/protobuf/mobileapp_message.proto
package rbac
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// 移动App微信登录请求
type MobileAppLoginReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 登录code
LoginCode string `protobuf:"bytes,2,opt,name=login_code,json=loginCode,proto3" json:"login_code,omitempty"`
// 移动微信appID
AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
}
func (x *MobileAppLoginReq) Reset() {
*x = MobileAppLoginReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MobileAppLoginReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MobileAppLoginReq) ProtoMessage() {}
func (x *MobileAppLoginReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MobileAppLoginReq.ProtoReflect.Descriptor instead.
func (*MobileAppLoginReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescGZIP(), []int{0}
}
func (x *MobileAppLoginReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *MobileAppLoginReq) GetLoginCode() string {
if x != nil {
return x.LoginCode
}
return ""
}
func (x *MobileAppLoginReq) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
// 移动App微信登录响应.
type MobileAppLoginResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 成功状态
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// 成功时返回的Token
Token *TokenResp `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// 缓存key
CacheKey string `protobuf:"bytes,3,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"`
// 信息
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *MobileAppLoginResp) Reset() {
*x = MobileAppLoginResp{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MobileAppLoginResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MobileAppLoginResp) ProtoMessage() {}
func (x *MobileAppLoginResp) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MobileAppLoginResp.ProtoReflect.Descriptor instead.
func (*MobileAppLoginResp) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescGZIP(), []int{1}
}
func (x *MobileAppLoginResp) GetStatus() bool {
if x != nil {
return x.Status
}
return false
}
func (x *MobileAppLoginResp) GetToken() *TokenResp {
if x != nil {
return x.Token
}
return nil
}
func (x *MobileAppLoginResp) GetCacheKey() string {
if x != nil {
return x.CacheKey
}
return ""
}
func (x *MobileAppLoginResp) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
// 移动App微信登录绑定手机号.
type MobileAppLoginBindPhoneReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 移动微信ID
AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
// 缓存key
CacheKey string `protobuf:"bytes,3,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"`
// 手机号码
PhoneNumber string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
// 验证码
VerifyCode string `protobuf:"bytes,5,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
// 昵称
NickName string `protobuf:"bytes,6,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
}
func (x *MobileAppLoginBindPhoneReq) Reset() {
*x = MobileAppLoginBindPhoneReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MobileAppLoginBindPhoneReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MobileAppLoginBindPhoneReq) ProtoMessage() {}
func (x *MobileAppLoginBindPhoneReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MobileAppLoginBindPhoneReq.ProtoReflect.Descriptor instead.
func (*MobileAppLoginBindPhoneReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescGZIP(), []int{2}
}
func (x *MobileAppLoginBindPhoneReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *MobileAppLoginBindPhoneReq) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
func (x *MobileAppLoginBindPhoneReq) GetCacheKey() string {
if x != nil {
return x.CacheKey
}
return ""
}
func (x *MobileAppLoginBindPhoneReq) GetPhoneNumber() string {
if x != nil {
return x.PhoneNumber
}
return ""
}
func (x *MobileAppLoginBindPhoneReq) GetVerifyCode() string {
if x != nil {
return x.VerifyCode
}
return ""
}
func (x *MobileAppLoginBindPhoneReq) GetNickName() string {
if x != nil {
return x.NickName
}
return ""
}
var File_jmash_rbac_protobuf_mobileapp_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_mobileapp_message_proto_rawDesc = []byte{
0x0a, 0x2b, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x61, 0x70, 0x70, 0x5f,
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x1a, 0x2b, 0x6a, 0x6d, 0x61, 0x73, 0x68,
0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72,
0x62, 0x61, 0x63, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62,
0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x62, 0x61, 0x63,
0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x11, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x41, 0x70,
0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e,
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x64, 0x65,
0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x12, 0x4d, 0x6f, 0x62, 0x69,
0x6c, 0x65, 0x41, 0x70, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16,
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x05, 0x74, 0x6f,
0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x6b, 0x65, 0x79,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x63, 0x68, 0x65, 0x4b, 0x65, 0x79,
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xc9, 0x01, 0x0a, 0x1a, 0x4d,
0x6f, 0x62, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x69, 0x6e,
0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e,
0x74, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68,
0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x63,
0x68, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f,
0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x69,
0x66, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76,
0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63,
0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x38, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e,
0x72, 0x62, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0e, 0x4d,
0x6f, 0x62, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
0x0f, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x3b, 0x72, 0x62, 0x61, 0x63,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescData = file_jmash_rbac_protobuf_mobileapp_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_mobileapp_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_jmash_rbac_protobuf_mobileapp_message_proto_goTypes = []interface{}{
(*MobileAppLoginReq)(nil), // 0: jmash.rbac.MobileAppLoginReq
(*MobileAppLoginResp)(nil), // 1: jmash.rbac.MobileAppLoginResp
(*MobileAppLoginBindPhoneReq)(nil), // 2: jmash.rbac.MobileAppLoginBindPhoneReq
(*TokenResp)(nil), // 3: jmash.rbac.TokenResp
}
var file_jmash_rbac_protobuf_mobileapp_message_proto_depIdxs = []int32{
3, // 0: jmash.rbac.MobileAppLoginResp.token:type_name -> jmash.rbac.TokenResp
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_mobileapp_message_proto_init() }
func file_jmash_rbac_protobuf_mobileapp_message_proto_init() {
if File_jmash_rbac_protobuf_mobileapp_message_proto != nil {
return
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_init()
file_jmash_rbac_protobuf_rbac_opens_message_proto_init()
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MobileAppLoginReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MobileAppLoginResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MobileAppLoginBindPhoneReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_jmash_rbac_protobuf_mobileapp_message_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_mobileapp_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_mobileapp_message_proto_depIdxs,
MessageInfos: file_jmash_rbac_protobuf_mobileapp_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_mobileapp_message_proto = out.File
file_jmash_rbac_protobuf_mobileapp_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_mobileapp_message_proto_goTypes = nil
file_jmash_rbac_protobuf_mobileapp_message_proto_depIdxs = nil
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。