Jelajahi Sumber

AuthorizationHalfScreenMiniProgram

wfz 2 tahun lalu
induk
melakukan
2bbd220a86

+ 195 - 108
api/account/account.pb.go

@@ -1188,6 +1188,61 @@ func (x *AuthorizationMiniProgramRequest) GetJsCode() string {
 	return ""
 }
 
+type AuthorizationHalfScreenMiniProgramRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
+	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId"`
+}
+
+func (x *AuthorizationHalfScreenMiniProgramRequest) Reset() {
+	*x = AuthorizationHalfScreenMiniProgramRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_account_proto_msgTypes[19]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *AuthorizationHalfScreenMiniProgramRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AuthorizationHalfScreenMiniProgramRequest) ProtoMessage() {}
+
+func (x *AuthorizationHalfScreenMiniProgramRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_account_proto_msgTypes[19]
+	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 AuthorizationHalfScreenMiniProgramRequest.ProtoReflect.Descriptor instead.
+func (*AuthorizationHalfScreenMiniProgramRequest) Descriptor() ([]byte, []int) {
+	return file_account_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *AuthorizationHalfScreenMiniProgramRequest) GetJsCode() string {
+	if x != nil {
+		return x.JsCode
+	}
+	return ""
+}
+
+func (x *AuthorizationHalfScreenMiniProgramRequest) GetUserId() string {
+	if x != nil {
+		return x.UserId
+	}
+	return ""
+}
+
 type AuthorizationRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -1203,7 +1258,7 @@ type AuthorizationRequest struct {
 func (x *AuthorizationRequest) Reset() {
 	*x = AuthorizationRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_account_proto_msgTypes[19]
+		mi := &file_account_proto_msgTypes[20]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1216,7 +1271,7 @@ func (x *AuthorizationRequest) String() string {
 func (*AuthorizationRequest) ProtoMessage() {}
 
 func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_account_proto_msgTypes[19]
+	mi := &file_account_proto_msgTypes[20]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1229,7 +1284,7 @@ func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.
 func (*AuthorizationRequest) Descriptor() ([]byte, []int) {
-	return file_account_proto_rawDescGZIP(), []int{19}
+	return file_account_proto_rawDescGZIP(), []int{20}
 }
 
 func (x *AuthorizationRequest) GetJsCode() string {
@@ -1279,7 +1334,7 @@ type TokenReply struct {
 func (x *TokenReply) Reset() {
 	*x = TokenReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_account_proto_msgTypes[20]
+		mi := &file_account_proto_msgTypes[21]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1292,7 +1347,7 @@ func (x *TokenReply) String() string {
 func (*TokenReply) ProtoMessage() {}
 
 func (x *TokenReply) ProtoReflect() protoreflect.Message {
-	mi := &file_account_proto_msgTypes[20]
+	mi := &file_account_proto_msgTypes[21]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1305,7 +1360,7 @@ func (x *TokenReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
 func (*TokenReply) Descriptor() ([]byte, []int) {
-	return file_account_proto_rawDescGZIP(), []int{20}
+	return file_account_proto_rawDescGZIP(), []int{21}
 }
 
 func (x *TokenReply) GetToken() string {
@@ -1335,7 +1390,7 @@ type MiniProgramTokenReply struct {
 func (x *MiniProgramTokenReply) Reset() {
 	*x = MiniProgramTokenReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_account_proto_msgTypes[21]
+		mi := &file_account_proto_msgTypes[22]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1348,7 +1403,7 @@ func (x *MiniProgramTokenReply) String() string {
 func (*MiniProgramTokenReply) ProtoMessage() {}
 
 func (x *MiniProgramTokenReply) ProtoReflect() protoreflect.Message {
-	mi := &file_account_proto_msgTypes[21]
+	mi := &file_account_proto_msgTypes[22]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1361,7 +1416,7 @@ func (x *MiniProgramTokenReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use MiniProgramTokenReply.ProtoReflect.Descriptor instead.
 func (*MiniProgramTokenReply) Descriptor() ([]byte, []int) {
-	return file_account_proto_rawDescGZIP(), []int{21}
+	return file_account_proto_rawDescGZIP(), []int{22}
 }
 
 func (x *MiniProgramTokenReply) GetToken() string {
@@ -1397,7 +1452,7 @@ type DebugLoginRequest struct {
 func (x *DebugLoginRequest) Reset() {
 	*x = DebugLoginRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_account_proto_msgTypes[22]
+		mi := &file_account_proto_msgTypes[23]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1410,7 +1465,7 @@ func (x *DebugLoginRequest) String() string {
 func (*DebugLoginRequest) ProtoMessage() {}
 
 func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_account_proto_msgTypes[22]
+	mi := &file_account_proto_msgTypes[23]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1423,7 +1478,7 @@ func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
 func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
-	return file_account_proto_rawDescGZIP(), []int{22}
+	return file_account_proto_rawDescGZIP(), []int{23}
 }
 
 func (x *DebugLoginRequest) GetId() int64 {
@@ -1452,7 +1507,7 @@ type LoginToken struct {
 func (x *LoginToken) Reset() {
 	*x = LoginToken{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_account_proto_msgTypes[23]
+		mi := &file_account_proto_msgTypes[24]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1465,7 +1520,7 @@ func (x *LoginToken) String() string {
 func (*LoginToken) ProtoMessage() {}
 
 func (x *LoginToken) ProtoReflect() protoreflect.Message {
-	mi := &file_account_proto_msgTypes[23]
+	mi := &file_account_proto_msgTypes[24]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1478,7 +1533,7 @@ func (x *LoginToken) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use LoginToken.ProtoReflect.Descriptor instead.
 func (*LoginToken) Descriptor() ([]byte, []int) {
-	return file_account_proto_rawDescGZIP(), []int{23}
+	return file_account_proto_rawDescGZIP(), []int{24}
 }
 
 func (x *LoginToken) GetPid() string {
@@ -1635,57 +1690,74 @@ var file_account_proto_rawDesc = []byte{
 	0x74, 0x22, 0x39, 0x0a, 0x1f, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
 	0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71,
 	0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01,
-	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x8a, 0x01, 0x0a,
-	0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18,
-	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a,
-	0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
-	0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
-	0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f,
-	0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f,
-	0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05,
-	0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x38, 0x0a, 0x0a, 0x54, 0x6f, 0x6b,
-	0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
-	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a,
-	0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
-	0x70, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x15, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72,
-	0x61, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05,
-	0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
-	0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
-	0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x73, 0x4e, 0x65,
-	0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
-	0x0d, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x37,
-	0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
-	0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
-	0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
-	0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
-	0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
-	0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
-	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xc5, 0x0c, 0x0a, 0x07,
-	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67,
-	0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
-	0x75, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
-	0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b,
-	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67,
-	0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0d, 0x41,
-	0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f,
-	0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
-	0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f,
-	0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d,
-	0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74,
-	0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x9d, 0x01,
-	0x0a, 0x18, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
-	0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
-	0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61,
-	0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61,
-	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72,
-	0x61, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x2f, 0x82, 0xd3,
-	0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e,
-	0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6d,
-	0x69, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x3a, 0x01, 0x2a, 0x12, 0x6b, 0x0a,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x5b, 0x0a, 0x29,
+	0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6c,
+	0x66, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72,
+	0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43,
+	0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64,
+	0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x41, 0x75,
+	0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
+	0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
+	0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
+	0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+	0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e,
+	0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4f, 0x70,
+	0x65, 0x6e, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x38, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
+	0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
+	0x22, 0x69, 0x0a, 0x15, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x54,
+	0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
+	0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
+	0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+	0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x4d,
+	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73,
+	0x4e, 0x65, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x44,
+	0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
+	0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+	0x63, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x6b,
+	0x65, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+	0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
+	0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xf8, 0x0d, 0x0a, 0x07, 0x41, 0x63, 0x63,
+	0x6f, 0x75, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67,
+	0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+	0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+	0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4,
+	0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f,
+	0x64, 0x65, 0x62, 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68,
+	0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
+	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
+	0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f,
+	0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
+	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x9d, 0x01, 0x0a, 0x18, 0x41,
+	0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69,
+	0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
+	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
+	0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65,
+	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
+	0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x54,
+	0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+	0x29, 0x22, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75,
+	0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x69, 0x6e, 0x69,
+	0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x3a, 0x01, 0x2a, 0x12, 0xb0, 0x01, 0x0a, 0x22, 0x41,
+	0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6c, 0x66,
+	0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61,
+	0x6d, 0x12, 0x36, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
+	0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x6c,
+	0x66, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72,
+	0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
+	0x79, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x22, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x2f,
+	0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
+	0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x69, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2f,
+	0x68, 0x61, 0x6c, 0x66, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x6b, 0x0a,
 	0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
 	0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
 	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e, 0x61, 0x70,
@@ -1782,7 +1854,7 @@ func file_account_proto_rawDescGZIP() []byte {
 	return file_account_proto_rawDescData
 }
 
-var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
+var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
 var file_account_proto_goTypes = []interface{}{
 	(*GetUserPhoneByCodeRequest)(nil),                    // 0: api.account.GetUserPhoneByCodeRequest
 	(*GetUserPhoneByCodeReply)(nil),                      // 1: api.account.GetUserPhoneByCodeReply
@@ -1803,46 +1875,49 @@ var file_account_proto_goTypes = []interface{}{
 	(*UserInfoDB)(nil),                                   // 16: api.account.UserInfoDB
 	(*PartnerInfoDB)(nil),                                // 17: api.account.PartnerInfoDB
 	(*AuthorizationMiniProgramRequest)(nil),              // 18: api.account.AuthorizationMiniProgramRequest
-	(*AuthorizationRequest)(nil),                         // 19: api.account.AuthorizationRequest
-	(*TokenReply)(nil),                                   // 20: api.account.TokenReply
-	(*MiniProgramTokenReply)(nil),                        // 21: api.account.MiniProgramTokenReply
-	(*DebugLoginRequest)(nil),                            // 22: api.account.DebugLoginRequest
-	(*LoginToken)(nil),                                   // 23: api.account.LoginToken
-	(*emptypb.Empty)(nil),                                // 24: google.protobuf.Empty
-	(*common.GetLoginConfigReply)(nil),                   // 25: api.common.GetLoginConfigReply
+	(*AuthorizationHalfScreenMiniProgramRequest)(nil),    // 19: api.account.AuthorizationHalfScreenMiniProgramRequest
+	(*AuthorizationRequest)(nil),                         // 20: api.account.AuthorizationRequest
+	(*TokenReply)(nil),                                   // 21: api.account.TokenReply
+	(*MiniProgramTokenReply)(nil),                        // 22: api.account.MiniProgramTokenReply
+	(*DebugLoginRequest)(nil),                            // 23: api.account.DebugLoginRequest
+	(*LoginToken)(nil),                                   // 24: api.account.LoginToken
+	(*emptypb.Empty)(nil),                                // 25: google.protobuf.Empty
+	(*common.GetLoginConfigReply)(nil),                   // 26: api.common.GetLoginConfigReply
 }
 var file_account_proto_depIdxs = []int32{
 	6,  // 0: api.account.FindIdentifyByAccountIDAndIsSubscribeReply.list:type_name -> api.account.FindIdentifyByAccountIDInfo
-	22, // 1: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
-	19, // 2: api.account.Account.Authorization:input_type -> api.account.AuthorizationRequest
+	23, // 1: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
+	20, // 2: api.account.Account.Authorization:input_type -> api.account.AuthorizationRequest
 	18, // 3: api.account.Account.AuthorizationMiniProgram:input_type -> api.account.AuthorizationMiniProgramRequest
-	24, // 4: api.account.Account.GetUserLoginConfig:input_type -> google.protobuf.Empty
-	24, // 5: api.account.Account.GetGetGzhConfig:input_type -> google.protobuf.Empty
-	14, // 6: api.account.Account.GetIdentityByOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
-	14, // 7: api.account.Account.GetIdentityByOpenIDAndAppIDAndCreate:input_type -> api.account.OpenIDAndAppIDRequest
-	8,  // 8: api.account.Account.GetIdentifyByAccountID:input_type -> api.account.GetIdentifyByAccountIDRequest
-	8,  // 9: api.account.Account.GetIdentifyByAccountIDAndIsSubscribe:input_type -> api.account.GetIdentifyByAccountIDRequest
-	8,  // 10: api.account.Account.GetIdentifyByAccountIDAndIsSubscribeByMiniProgram:input_type -> api.account.GetIdentifyByAccountIDRequest
-	4,  // 11: api.account.Account.FindIdentifyByAccountIDAndIsSubscribe:input_type -> api.account.FindIdentifyByAccountIDAndIsSubscribeRequest
-	14, // 12: api.account.Account.UserSubscribe:input_type -> api.account.OpenIDAndAppIDRequest
-	14, // 13: api.account.Account.UserUnsubscribe:input_type -> api.account.OpenIDAndAppIDRequest
-	0,  // 14: api.account.Account.GetUserPhoneByCode:input_type -> api.account.GetUserPhoneByCodeRequest
-	20, // 15: api.account.Account.DebugLogin:output_type -> api.account.TokenReply
-	20, // 16: api.account.Account.Authorization:output_type -> api.account.TokenReply
-	21, // 17: api.account.Account.AuthorizationMiniProgram:output_type -> api.account.MiniProgramTokenReply
-	25, // 18: api.account.Account.GetUserLoginConfig:output_type -> api.common.GetLoginConfigReply
-	7,  // 19: api.account.Account.GetGetGzhConfig:output_type -> api.account.GetGetGzhConfigReply
-	15, // 20: api.account.Account.GetIdentityByOpenIDAndAppID:output_type -> api.account.IdentityInfo
-	15, // 21: api.account.Account.GetIdentityByOpenIDAndAppIDAndCreate:output_type -> api.account.IdentityInfo
-	9,  // 22: api.account.Account.GetIdentifyByAccountID:output_type -> api.account.GetIdentifyByAccountIDReply
-	9,  // 23: api.account.Account.GetIdentifyByAccountIDAndIsSubscribe:output_type -> api.account.GetIdentifyByAccountIDReply
-	9,  // 24: api.account.Account.GetIdentifyByAccountIDAndIsSubscribeByMiniProgram:output_type -> api.account.GetIdentifyByAccountIDReply
-	5,  // 25: api.account.Account.FindIdentifyByAccountIDAndIsSubscribe:output_type -> api.account.FindIdentifyByAccountIDAndIsSubscribeReply
-	24, // 26: api.account.Account.UserSubscribe:output_type -> google.protobuf.Empty
-	24, // 27: api.account.Account.UserUnsubscribe:output_type -> google.protobuf.Empty
-	1,  // 28: api.account.Account.GetUserPhoneByCode:output_type -> api.account.GetUserPhoneByCodeReply
-	15, // [15:29] is the sub-list for method output_type
-	1,  // [1:15] is the sub-list for method input_type
+	19, // 4: api.account.Account.AuthorizationHalfScreenMiniProgram:input_type -> api.account.AuthorizationHalfScreenMiniProgramRequest
+	25, // 5: api.account.Account.GetUserLoginConfig:input_type -> google.protobuf.Empty
+	25, // 6: api.account.Account.GetGetGzhConfig:input_type -> google.protobuf.Empty
+	14, // 7: api.account.Account.GetIdentityByOpenIDAndAppID:input_type -> api.account.OpenIDAndAppIDRequest
+	14, // 8: api.account.Account.GetIdentityByOpenIDAndAppIDAndCreate:input_type -> api.account.OpenIDAndAppIDRequest
+	8,  // 9: api.account.Account.GetIdentifyByAccountID:input_type -> api.account.GetIdentifyByAccountIDRequest
+	8,  // 10: api.account.Account.GetIdentifyByAccountIDAndIsSubscribe:input_type -> api.account.GetIdentifyByAccountIDRequest
+	8,  // 11: api.account.Account.GetIdentifyByAccountIDAndIsSubscribeByMiniProgram:input_type -> api.account.GetIdentifyByAccountIDRequest
+	4,  // 12: api.account.Account.FindIdentifyByAccountIDAndIsSubscribe:input_type -> api.account.FindIdentifyByAccountIDAndIsSubscribeRequest
+	14, // 13: api.account.Account.UserSubscribe:input_type -> api.account.OpenIDAndAppIDRequest
+	14, // 14: api.account.Account.UserUnsubscribe:input_type -> api.account.OpenIDAndAppIDRequest
+	0,  // 15: api.account.Account.GetUserPhoneByCode:input_type -> api.account.GetUserPhoneByCodeRequest
+	21, // 16: api.account.Account.DebugLogin:output_type -> api.account.TokenReply
+	21, // 17: api.account.Account.Authorization:output_type -> api.account.TokenReply
+	22, // 18: api.account.Account.AuthorizationMiniProgram:output_type -> api.account.MiniProgramTokenReply
+	25, // 19: api.account.Account.AuthorizationHalfScreenMiniProgram:output_type -> google.protobuf.Empty
+	26, // 20: api.account.Account.GetUserLoginConfig:output_type -> api.common.GetLoginConfigReply
+	7,  // 21: api.account.Account.GetGetGzhConfig:output_type -> api.account.GetGetGzhConfigReply
+	15, // 22: api.account.Account.GetIdentityByOpenIDAndAppID:output_type -> api.account.IdentityInfo
+	15, // 23: api.account.Account.GetIdentityByOpenIDAndAppIDAndCreate:output_type -> api.account.IdentityInfo
+	9,  // 24: api.account.Account.GetIdentifyByAccountID:output_type -> api.account.GetIdentifyByAccountIDReply
+	9,  // 25: api.account.Account.GetIdentifyByAccountIDAndIsSubscribe:output_type -> api.account.GetIdentifyByAccountIDReply
+	9,  // 26: api.account.Account.GetIdentifyByAccountIDAndIsSubscribeByMiniProgram:output_type -> api.account.GetIdentifyByAccountIDReply
+	5,  // 27: api.account.Account.FindIdentifyByAccountIDAndIsSubscribe:output_type -> api.account.FindIdentifyByAccountIDAndIsSubscribeReply
+	25, // 28: api.account.Account.UserSubscribe:output_type -> google.protobuf.Empty
+	25, // 29: api.account.Account.UserUnsubscribe:output_type -> google.protobuf.Empty
+	1,  // 30: api.account.Account.GetUserPhoneByCode:output_type -> api.account.GetUserPhoneByCodeReply
+	16, // [16:31] is the sub-list for method output_type
+	1,  // [1:16] 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
@@ -2083,7 +2158,7 @@ func file_account_proto_init() {
 			}
 		}
 		file_account_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*AuthorizationRequest); i {
+			switch v := v.(*AuthorizationHalfScreenMiniProgramRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2095,7 +2170,7 @@ func file_account_proto_init() {
 			}
 		}
 		file_account_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*TokenReply); i {
+			switch v := v.(*AuthorizationRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2107,7 +2182,7 @@ func file_account_proto_init() {
 			}
 		}
 		file_account_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*MiniProgramTokenReply); i {
+			switch v := v.(*TokenReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2119,7 +2194,7 @@ func file_account_proto_init() {
 			}
 		}
 		file_account_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*DebugLoginRequest); i {
+			switch v := v.(*MiniProgramTokenReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2131,6 +2206,18 @@ func file_account_proto_init() {
 			}
 		}
 		file_account_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*DebugLoginRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_account_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*LoginToken); i {
 			case 0:
 				return &v.state
@@ -2149,7 +2236,7 @@ func file_account_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_account_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   24,
+			NumMessages:   25,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 10 - 0
api/account/account.proto

@@ -31,6 +31,12 @@ service Account {
       body:"*"
     };
   };
+  rpc AuthorizationHalfScreenMiniProgram (AuthorizationHalfScreenMiniProgramRequest) returns (google.protobuf.Empty){
+    option (google.api.http) = {
+      post: "/api/login/authorization/miniprogram/halfscreen",
+      body:"*"
+    };
+  };
   // 获取用户登录配置
   rpc GetUserLoginConfig (google.protobuf.Empty) returns (common.GetLoginConfigReply){
     option (google.api.http) = {
@@ -175,6 +181,10 @@ message PartnerInfoDB{
 message AuthorizationMiniProgramRequest {
   string jsCode = 1;
 }
+message AuthorizationHalfScreenMiniProgramRequest {
+  string jsCode = 1;
+  string userId = 2;
+}
 
 message AuthorizationRequest {
   string jsCode = 1;

+ 36 - 0
api/account/account_grpc.pb.go

@@ -23,6 +23,7 @@ type AccountClient interface {
 	DebugLogin(ctx context.Context, in *DebugLoginRequest, opts ...grpc.CallOption) (*TokenReply, error)
 	Authorization(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*TokenReply, error)
 	AuthorizationMiniProgram(ctx context.Context, in *AuthorizationMiniProgramRequest, opts ...grpc.CallOption) (*MiniProgramTokenReply, error)
+	AuthorizationHalfScreenMiniProgram(ctx context.Context, in *AuthorizationHalfScreenMiniProgramRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 获取用户登录配置
 	GetUserLoginConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error)
 	// 获取公众号配置
@@ -82,6 +83,15 @@ func (c *accountClient) AuthorizationMiniProgram(ctx context.Context, in *Author
 	return out, nil
 }
 
+func (c *accountClient) AuthorizationHalfScreenMiniProgram(ctx context.Context, in *AuthorizationHalfScreenMiniProgramRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.account.Account/AuthorizationHalfScreenMiniProgram", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *accountClient) GetUserLoginConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error) {
 	out := new(common.GetLoginConfigReply)
 	err := c.cc.Invoke(ctx, "/api.account.Account/GetUserLoginConfig", in, out, opts...)
@@ -188,6 +198,7 @@ type AccountServer interface {
 	DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error)
 	Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error)
 	AuthorizationMiniProgram(context.Context, *AuthorizationMiniProgramRequest) (*MiniProgramTokenReply, error)
+	AuthorizationHalfScreenMiniProgram(context.Context, *AuthorizationHalfScreenMiniProgramRequest) (*emptypb.Empty, error)
 	// 获取用户登录配置
 	GetUserLoginConfig(context.Context, *emptypb.Empty) (*common.GetLoginConfigReply, error)
 	// 获取公众号配置
@@ -226,6 +237,9 @@ func (UnimplementedAccountServer) Authorization(context.Context, *AuthorizationR
 func (UnimplementedAccountServer) AuthorizationMiniProgram(context.Context, *AuthorizationMiniProgramRequest) (*MiniProgramTokenReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method AuthorizationMiniProgram not implemented")
 }
+func (UnimplementedAccountServer) AuthorizationHalfScreenMiniProgram(context.Context, *AuthorizationHalfScreenMiniProgramRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method AuthorizationHalfScreenMiniProgram not implemented")
+}
 func (UnimplementedAccountServer) GetUserLoginConfig(context.Context, *emptypb.Empty) (*common.GetLoginConfigReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetUserLoginConfig not implemented")
 }
@@ -326,6 +340,24 @@ func _Account_AuthorizationMiniProgram_Handler(srv interface{}, ctx context.Cont
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Account_AuthorizationHalfScreenMiniProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(AuthorizationHalfScreenMiniProgramRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(AccountServer).AuthorizationHalfScreenMiniProgram(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.account.Account/AuthorizationHalfScreenMiniProgram",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(AccountServer).AuthorizationHalfScreenMiniProgram(ctx, req.(*AuthorizationHalfScreenMiniProgramRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Account_GetUserLoginConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(emptypb.Empty)
 	if err := dec(in); err != nil {
@@ -543,6 +575,10 @@ var Account_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "AuthorizationMiniProgram",
 			Handler:    _Account_AuthorizationMiniProgram_Handler,
 		},
+		{
+			MethodName: "AuthorizationHalfScreenMiniProgram",
+			Handler:    _Account_AuthorizationHalfScreenMiniProgram_Handler,
+		},
 		{
 			MethodName: "GetUserLoginConfig",
 			Handler:    _Account_GetUserLoginConfig_Handler,

+ 43 - 0
api/account/account_http.pb.go

@@ -29,6 +29,7 @@ const _ = http.SupportPackageIsVersion1
 
 type AccountHTTPServer interface {
 	Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error)
+	AuthorizationHalfScreenMiniProgram(context.Context, *AuthorizationHalfScreenMiniProgramRequest) (*emptypb.Empty, error)
 	AuthorizationMiniProgram(context.Context, *AuthorizationMiniProgramRequest) (*MiniProgramTokenReply, error)
 	DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error)
 	GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error)
@@ -40,6 +41,7 @@ func RegisterAccountHTTPServer(s *http.Server, srv AccountHTTPServer) {
 	r.POST("/api/login/debug", _Account_DebugLogin0_HTTP_Handler(srv))
 	r.POST("/api/login/authorization", _Account_Authorization0_HTTP_Handler(srv))
 	r.POST("/api/login/authorization/miniprogram", _Account_AuthorizationMiniProgram0_HTTP_Handler(srv))
+	r.POST("/api/login/authorization/miniprogram/halfscreen", _Account_AuthorizationHalfScreenMiniProgram0_HTTP_Handler(srv))
 	r.POST("/api/login/config", _Account_GetUserLoginConfig0_HTTP_Handler(srv))
 	r.POST("/api/login/gzh/conf", _Account_GetGetGzhConfig0_HTTP_Handler(srv))
 }
@@ -125,6 +127,33 @@ func _Account_AuthorizationMiniProgram0_HTTP_Handler(srv AccountHTTPServer) func
 	}
 }
 
+func _Account_AuthorizationHalfScreenMiniProgram0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in AuthorizationHalfScreenMiniProgramRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.account.Account/AuthorizationHalfScreenMiniProgram")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.AuthorizationHalfScreenMiniProgram(ctx, req.(*AuthorizationHalfScreenMiniProgramRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
 func _Account_GetUserLoginConfig0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
 	return func(ctx http.Context) error {
 		var in emptypb.Empty
@@ -181,6 +210,7 @@ func _Account_GetGetGzhConfig0_HTTP_Handler(srv AccountHTTPServer) func(ctx http
 
 type AccountHTTPClient interface {
 	Authorization(ctx context.Context, req *AuthorizationRequest, opts ...http.CallOption) (rsp *TokenReply, err error)
+	AuthorizationHalfScreenMiniProgram(ctx context.Context, req *AuthorizationHalfScreenMiniProgramRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	AuthorizationMiniProgram(ctx context.Context, req *AuthorizationMiniProgramRequest, opts ...http.CallOption) (rsp *MiniProgramTokenReply, err error)
 	DebugLogin(ctx context.Context, req *DebugLoginRequest, opts ...http.CallOption) (rsp *TokenReply, err error)
 	GetGetGzhConfig(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetGetGzhConfigReply, err error)
@@ -208,6 +238,19 @@ func (c *AccountHTTPClientImpl) Authorization(ctx context.Context, in *Authoriza
 	return &out, err
 }
 
+func (c *AccountHTTPClientImpl) AuthorizationHalfScreenMiniProgram(ctx context.Context, in *AuthorizationHalfScreenMiniProgramRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
+	var out emptypb.Empty
+	pattern := "/api/login/authorization/miniprogram/halfscreen"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.account.Account/AuthorizationHalfScreenMiniProgram"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *AccountHTTPClientImpl) AuthorizationMiniProgram(ctx context.Context, in *AuthorizationMiniProgramRequest, opts ...http.CallOption) (*MiniProgramTokenReply, error) {
 	var out MiniProgramTokenReply
 	pattern := "/api/login/authorization/miniprogram"

+ 5 - 1
js/api/account/account_http_pb.ts

@@ -1,6 +1,6 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {DebugLoginRequest,TokenReply,AuthorizationRequest,AuthorizationMiniProgramRequest,MiniProgramTokenReply,GetGetGzhConfigReply,OpenIDAndAppIDRequest,IdentityInfo,GetIdentifyByAccountIDRequest,GetIdentifyByAccountIDReply,FindIdentifyByAccountIDAndIsSubscribeRequest,FindIdentifyByAccountIDAndIsSubscribeReply,GetUserPhoneByCodeRequest,GetUserPhoneByCodeReply} from "./account_pb";
+import {DebugLoginRequest,TokenReply,AuthorizationRequest,AuthorizationMiniProgramRequest,MiniProgramTokenReply,AuthorizationHalfScreenMiniProgramRequest,GetGetGzhConfigReply,OpenIDAndAppIDRequest,IdentityInfo,GetIdentifyByAccountIDRequest,GetIdentifyByAccountIDReply,FindIdentifyByAccountIDAndIsSubscribeRequest,FindIdentifyByAccountIDAndIsSubscribeReply,GetUserPhoneByCodeRequest,GetUserPhoneByCodeReply} from "./account_pb";
 import {GetLoginConfigReply} from "../common/common_pb";
 
 const AccountService = {
@@ -16,6 +16,10 @@ const AccountService = {
 	const res = await request.post<{ data: MiniProgramTokenReply, code: string, message: string }>('/api/login/authorization/miniprogram', req);
     return res.data.data;
   },
+  AuthorizationHalfScreenMiniProgram: async (req?: AuthorizationHalfScreenMiniProgramRequest) => {
+	const res = await request.post('/api/login/authorization/miniprogram/halfscreen', req);
+    return res.data.data;
+  },
   /**  获取用户登录配置 */
   GetUserLoginConfig: async (req?: undefined) => {
 	const res = await request.post<{ data: GetLoginConfigReply, code: string, message: string }>('/api/login/config', req);

+ 4 - 0
js/api/account/account_pb.ts

@@ -113,6 +113,10 @@ export interface PartnerInfoDB{
 export interface AuthorizationMiniProgramRequest{
     jsCode?:string;
 }
+export interface AuthorizationHalfScreenMiniProgramRequest{
+    jsCode?:string;
+    userId?:string;
+}
 export interface AuthorizationRequest{
     jsCode?:string;
     appId?:string;