Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
fbd7578058 | |||
cee52be722 | |||
fb8bac623c | |||
69beac21ff | |||
736975ed2e | |||
7af00f999b | |||
7ee27e263b | |||
26ed034734 | |||
2131894c7f | |||
df3ad7fd57 | |||
191011fa53 | |||
|
359c745423 | ||
|
85a0d2a4e0 | ||
|
817db127a8 | ||
|
746f4404b0 | ||
0e5a51826a |
@ -699,7 +699,7 @@ type UserListInfo struct {
|
||||
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
||||
Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"`
|
||||
Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex"`
|
||||
Nationality string `protobuf:"bytes,5,opt,name=nationality,proto3" json:"nationality"`
|
||||
DocumentType int32 `protobuf:"varint,6,opt,name=documentType,proto3" json:"documentType"`
|
||||
CertificatePicture string `protobuf:"bytes,7,opt,name=certificatePicture,proto3" json:"certificatePicture"`
|
||||
@ -771,11 +771,11 @@ func (x *UserListInfo) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserListInfo) GetSex() int32 {
|
||||
func (x *UserListInfo) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserListInfo) GetNationality() string {
|
||||
@ -899,7 +899,7 @@ type UserListRequest struct {
|
||||
SubNum string `protobuf:"bytes,2,opt,name=subNum,proto3" json:"subNum"`
|
||||
RealNameOrNot int32 `protobuf:"varint,3,opt,name=realNameOrNot,proto3" json:"realNameOrNot"`
|
||||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
|
||||
Sex int32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"`
|
||||
Sex string `protobuf:"bytes,5,opt,name=sex,proto3" json:"sex"`
|
||||
DocumentType int32 `protobuf:"varint,6,opt,name=documentType,proto3" json:"documentType"`
|
||||
AuditStatus int32 `protobuf:"varint,7,opt,name=auditStatus,proto3" json:"auditStatus"`
|
||||
Page uint64 `protobuf:"varint,8,opt,name=page,proto3" json:"page"`
|
||||
@ -966,11 +966,11 @@ func (x *UserListRequest) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserListRequest) GetSex() int32 {
|
||||
func (x *UserListRequest) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserListRequest) GetDocumentType() int32 {
|
||||
@ -1009,7 +1009,7 @@ type UserInfoResponse struct {
|
||||
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
||||
Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"`
|
||||
Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex"`
|
||||
Nationality string `protobuf:"bytes,5,opt,name=nationality,proto3" json:"nationality"`
|
||||
DocumentType int32 `protobuf:"varint,6,opt,name=documentType,proto3" json:"documentType"`
|
||||
CertificatePicture string `protobuf:"bytes,7,opt,name=certificatePicture,proto3" json:"certificatePicture"`
|
||||
@ -1078,11 +1078,11 @@ func (x *UserInfoResponse) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserInfoResponse) GetSex() int32 {
|
||||
func (x *UserInfoResponse) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserInfoResponse) GetNationality() string {
|
||||
@ -1238,7 +1238,7 @@ type RealNameRequest struct {
|
||||
|
||||
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
|
||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
|
||||
Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"`
|
||||
Sex string `protobuf:"bytes,3,opt,name=sex,proto3" json:"sex"`
|
||||
Nationality string `protobuf:"bytes,4,opt,name=nationality,proto3" json:"nationality"`
|
||||
DocumentType int32 `protobuf:"varint,5,opt,name=documentType,proto3" json:"documentType"`
|
||||
CertificatePicture string `protobuf:"bytes,6,opt,name=certificatePicture,proto3" json:"certificatePicture"`
|
||||
@ -1294,11 +1294,11 @@ func (x *RealNameRequest) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RealNameRequest) GetSex() int32 {
|
||||
func (x *RealNameRequest) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RealNameRequest) GetNationality() string {
|
||||
@ -5729,7 +5729,7 @@ type AccountInfo struct {
|
||||
JobNum string `protobuf:"bytes,18,opt,name=JobNum,json=jobNum,proto3" json:"JobNum"`
|
||||
BirthDate string `protobuf:"bytes,19,opt,name=BirthDate,json=birth_date,proto3" json:"BirthDate"`
|
||||
Age uint64 `protobuf:"varint,20,opt,name=Age,json=age,proto3" json:"Age"`
|
||||
Sex uint64 `protobuf:"varint,21,opt,name=Sex,json=sex,proto3" json:"Sex"`
|
||||
Sex string `protobuf:"bytes,21,opt,name=Sex,json=sex,proto3" json:"Sex"`
|
||||
Title string `protobuf:"bytes,22,opt,name=Title,json=title,proto3" json:"Title"`
|
||||
Departments []*Department `protobuf:"bytes,23,rep,name=Departments,json=departments,proto3" json:"Departments"`
|
||||
Ip string `protobuf:"bytes,24,opt,name=Ip,json=ip,proto3" json:"Ip"`
|
||||
@ -5926,11 +5926,11 @@ func (x *AccountInfo) GetAge() uint64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AccountInfo) GetSex() uint64 {
|
||||
func (x *AccountInfo) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AccountInfo) GetTitle() string {
|
||||
@ -7891,7 +7891,7 @@ var file_api_account_account_proto_rawDesc = []byte{
|
||||
0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73,
|
||||
0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a,
|
||||
0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12,
|
||||
0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||
@ -7934,7 +7934,7 @@ var file_api_account_account_proto_rawDesc = []byte{
|
||||
0x61, 0x6d, 0x65, 0x4f, 0x72, 0x4e, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
|
||||
0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x4f, 0x72, 0x4e, 0x6f, 0x74, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
||||
0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||
0x73, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d,
|
||||
0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x74,
|
||||
@ -7948,7 +7948,7 @@ var file_api_account_account_proto_rawDesc = []byte{
|
||||
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
|
||||
0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x22,
|
||||
0x0a, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06,
|
||||
@ -7984,7 +7984,7 @@ var file_api_account_account_proto_rawDesc = []byte{
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
|
||||
0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x22,
|
||||
0x0a, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05,
|
||||
@ -8536,7 +8536,7 @@ var file_api_account_account_proto_rawDesc = []byte{
|
||||
0x69, 0x72, 0x74, 0x68, 0x44, 0x61, 0x74, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x62, 0x69, 0x72, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67,
|
||||
0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x53, 0x65, 0x78, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x14,
|
||||
0x53, 0x65, 0x78, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
|
||||
0x69, 0x74, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x63, 0x63, 0x6f,
|
||||
|
@ -125,7 +125,7 @@ message UserListInfo{
|
||||
uint64 id = 1;
|
||||
int32 status = 2;
|
||||
string name = 3;
|
||||
int32 sex = 4;
|
||||
string sex = 4;
|
||||
string nationality = 5;
|
||||
int32 documentType =6;
|
||||
string certificatePicture = 7;
|
||||
@ -148,7 +148,7 @@ message UserListRequest{
|
||||
string subNum = 2;
|
||||
int32 realNameOrNot = 3;
|
||||
string name = 4;
|
||||
int32 sex = 5;
|
||||
string sex = 5;
|
||||
int32 documentType = 6;
|
||||
int32 auditStatus = 7;
|
||||
uint64 page = 8;
|
||||
@ -158,7 +158,7 @@ message UserInfoResponse{
|
||||
uint64 id = 1;
|
||||
int32 status = 2;
|
||||
string name = 3;
|
||||
int32 sex = 4;
|
||||
string sex = 4;
|
||||
string nationality = 5;
|
||||
int32 documentType =6;
|
||||
string certificatePicture = 7;
|
||||
@ -180,7 +180,7 @@ message RealNameResponse{
|
||||
message RealNameRequest{
|
||||
uint64 id = 1;
|
||||
string name = 2;
|
||||
int32 sex = 3;
|
||||
string sex = 3;
|
||||
string nationality = 4;
|
||||
int32 documentType = 5;
|
||||
string certificatePicture = 6;
|
||||
@ -635,7 +635,7 @@ message AccountInfo {
|
||||
string JobNum = 18 [json_name = "jobNum"];
|
||||
string BirthDate = 19 [json_name = "birth_date"];
|
||||
uint64 Age = 20 [json_name = "age"];
|
||||
uint64 Sex = 21 [json_name = "sex"];
|
||||
string Sex = 21 [json_name = "sex"];
|
||||
string Title = 22 [json_name = "title"];
|
||||
repeated Department Departments = 23 [json_name = "departments"];
|
||||
string Ip = 24 [json_name = "ip"];
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.10.1
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v3.21.8
|
||||
// source: pb/bundle.proto
|
||||
|
||||
package bundle
|
||||
@ -34,11 +34,9 @@ type CommonResponse struct {
|
||||
|
||||
func (x *CommonResponse) Reset() {
|
||||
*x = CommonResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CommonResponse) String() string {
|
||||
@ -49,7 +47,7 @@ func (*CommonResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CommonResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -106,11 +104,9 @@ type BundleProfile struct {
|
||||
|
||||
func (x *BundleProfile) Reset() {
|
||||
*x = BundleProfile{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BundleProfile) String() string {
|
||||
@ -121,7 +117,7 @@ func (*BundleProfile) ProtoMessage() {}
|
||||
|
||||
func (x *BundleProfile) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -230,11 +226,9 @@ type DelBundleRequest struct {
|
||||
|
||||
func (x *DelBundleRequest) Reset() {
|
||||
*x = DelBundleRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DelBundleRequest) String() string {
|
||||
@ -245,7 +239,7 @@ func (*DelBundleRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DelBundleRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -281,11 +275,9 @@ type BundleListRequest struct {
|
||||
|
||||
func (x *BundleListRequest) Reset() {
|
||||
*x = BundleListRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BundleListRequest) String() string {
|
||||
@ -296,7 +288,7 @@ func (*BundleListRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BundleListRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -357,11 +349,9 @@ type BundleListResponse struct {
|
||||
|
||||
func (x *BundleListResponse) Reset() {
|
||||
*x = BundleListResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BundleListResponse) String() string {
|
||||
@ -372,7 +362,7 @@ func (*BundleListResponse) ProtoMessage() {}
|
||||
|
||||
func (x *BundleListResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -411,11 +401,9 @@ type BundleDetailRequest struct {
|
||||
|
||||
func (x *BundleDetailRequest) Reset() {
|
||||
*x = BundleDetailRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BundleDetailRequest) String() string {
|
||||
@ -426,7 +414,7 @@ func (*BundleDetailRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BundleDetailRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -459,11 +447,9 @@ type BundleDetailResponse struct {
|
||||
|
||||
func (x *BundleDetailResponse) Reset() {
|
||||
*x = BundleDetailResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BundleDetailResponse) String() string {
|
||||
@ -474,7 +460,7 @@ func (*BundleDetailResponse) ProtoMessage() {}
|
||||
|
||||
func (x *BundleDetailResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -531,9 +517,9 @@ type OrderRecord struct {
|
||||
ValueAddOriginalPrice float32 `protobuf:"fixed32,21,opt,name=valueAddOriginalPrice,proto3" json:"valueAddOriginalPrice"` //原单价
|
||||
ValueAddDiscountPrice float32 `protobuf:"fixed32,22,opt,name=valueAddDiscountPrice,proto3" json:"valueAddDiscountPrice"` //优惠单价
|
||||
ValueAddSavedAmount float32 `protobuf:"fixed32,23,opt,name=valueAddSavedAmount,proto3" json:"valueAddSavedAmount"` //节省金额
|
||||
Num int32 `protobuf:"varint,24,opt,name=num,json=sex,proto3" json:"num"`
|
||||
Num int32 `protobuf:"varint,24,opt,name=num,proto3" json:"num"`
|
||||
TotalAmount float32 `protobuf:"fixed32,25,opt,name=totalAmount,proto3" json:"totalAmount"` //总金额
|
||||
Sex int32 `protobuf:"varint,26,opt,name=sex,proto3" json:"sex"`
|
||||
Sex string `protobuf:"bytes,26,opt,name=sex,proto3" json:"sex"`
|
||||
Nationality string `protobuf:"bytes,27,opt,name=nationality,proto3" json:"nationality"`
|
||||
CertificatePicture string `protobuf:"bytes,28,opt,name=certificatePicture,proto3" json:"certificatePicture"`
|
||||
PlaceOfResidence string `protobuf:"bytes,29,opt,name=placeOfResidence,proto3" json:"placeOfResidence"`
|
||||
@ -544,11 +530,9 @@ type OrderRecord struct {
|
||||
|
||||
func (x *OrderRecord) Reset() {
|
||||
*x = OrderRecord{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrderRecord) String() string {
|
||||
@ -559,7 +543,7 @@ func (*OrderRecord) ProtoMessage() {}
|
||||
|
||||
func (x *OrderRecord) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -749,11 +733,11 @@ func (x *OrderRecord) GetTotalAmount() float32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *OrderRecord) GetSex() int32 {
|
||||
func (x *OrderRecord) GetSex() string {
|
||||
if x != nil {
|
||||
return x.Sex
|
||||
}
|
||||
return 0
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *OrderRecord) GetNationality() string {
|
||||
@ -821,11 +805,9 @@ type OrderRecordsRequest struct {
|
||||
|
||||
func (x *OrderRecordsRequest) Reset() {
|
||||
*x = OrderRecordsRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrderRecordsRequest) String() string {
|
||||
@ -836,7 +818,7 @@ func (*OrderRecordsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OrderRecordsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -960,11 +942,9 @@ type OrderRecordsResponse struct {
|
||||
|
||||
func (x *OrderRecordsResponse) Reset() {
|
||||
*x = OrderRecordsResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrderRecordsResponse) String() string {
|
||||
@ -975,7 +955,7 @@ func (*OrderRecordsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OrderRecordsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1016,11 +996,9 @@ type OrderRecordsDetailRequest struct {
|
||||
|
||||
func (x *OrderRecordsDetailRequest) Reset() {
|
||||
*x = OrderRecordsDetailRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrderRecordsDetailRequest) String() string {
|
||||
@ -1031,7 +1009,7 @@ func (*OrderRecordsDetailRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OrderRecordsDetailRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1078,11 +1056,9 @@ type OrderRecordsDetailResponse struct {
|
||||
|
||||
func (x *OrderRecordsDetailResponse) Reset() {
|
||||
*x = OrderRecordsDetailResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrderRecordsDetailResponse) String() string {
|
||||
@ -1093,7 +1069,7 @@ func (*OrderRecordsDetailResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OrderRecordsDetailResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1142,11 +1118,9 @@ type ValueAddBundleProfile struct {
|
||||
|
||||
func (x *ValueAddBundleProfile) Reset() {
|
||||
*x = ValueAddBundleProfile{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ValueAddBundleProfile) String() string {
|
||||
@ -1157,7 +1131,7 @@ func (*ValueAddBundleProfile) ProtoMessage() {}
|
||||
|
||||
func (x *ValueAddBundleProfile) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1252,11 +1226,9 @@ type CreateValueAddBundleRequest struct {
|
||||
|
||||
func (x *CreateValueAddBundleRequest) Reset() {
|
||||
*x = CreateValueAddBundleRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreateValueAddBundleRequest) String() string {
|
||||
@ -1267,7 +1239,7 @@ func (*CreateValueAddBundleRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateValueAddBundleRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1302,11 +1274,9 @@ type CreateValueAddBundleResponse struct {
|
||||
|
||||
func (x *CreateValueAddBundleResponse) Reset() {
|
||||
*x = CreateValueAddBundleResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreateValueAddBundleResponse) String() string {
|
||||
@ -1317,7 +1287,7 @@ func (*CreateValueAddBundleResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateValueAddBundleResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1373,11 +1343,9 @@ type ValueAddBundleListRequest struct {
|
||||
|
||||
func (x *ValueAddBundleListRequest) Reset() {
|
||||
*x = ValueAddBundleListRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ValueAddBundleListRequest) String() string {
|
||||
@ -1388,7 +1356,7 @@ func (*ValueAddBundleListRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ValueAddBundleListRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[15]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1441,11 +1409,9 @@ type ValueAddBundleListResponse struct {
|
||||
|
||||
func (x *ValueAddBundleListResponse) Reset() {
|
||||
*x = ValueAddBundleListResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ValueAddBundleListResponse) String() string {
|
||||
@ -1456,7 +1422,7 @@ func (*ValueAddBundleListResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ValueAddBundleListResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[16]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1537,11 +1503,9 @@ type ValueAddBundleDetailRequest struct {
|
||||
|
||||
func (x *ValueAddBundleDetailRequest) Reset() {
|
||||
*x = ValueAddBundleDetailRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ValueAddBundleDetailRequest) String() string {
|
||||
@ -1552,7 +1516,7 @@ func (*ValueAddBundleDetailRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ValueAddBundleDetailRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[17]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1586,11 +1550,9 @@ type ValueAddBundleDetailResponse struct {
|
||||
|
||||
func (x *ValueAddBundleDetailResponse) Reset() {
|
||||
*x = ValueAddBundleDetailResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_bundle_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_pb_bundle_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ValueAddBundleDetailResponse) String() string {
|
||||
@ -1601,7 +1563,7 @@ func (*ValueAddBundleDetailResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ValueAddBundleDetailResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_bundle_proto_msgTypes[18]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1751,10 +1713,10 @@ var file_pb_bundle_proto_rawDesc = []byte{
|
||||
0x75, 0x65, 0x41, 0x64, 0x64, 0x53, 0x61, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x18, 0x17, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x64, 0x64,
|
||||
0x53, 0x61, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6e,
|
||||
0x75, 0x6d, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x20, 0x0a,
|
||||
0x75, 0x6d, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x19, 0x20, 0x01,
|
||||
0x28, 0x02, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65,
|
||||
0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65,
|
||||
0x78, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
|
||||
0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
||||
@ -1972,7 +1934,7 @@ func file_pb_bundle_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_pb_bundle_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
||||
var file_pb_bundle_proto_goTypes = []interface{}{
|
||||
var file_pb_bundle_proto_goTypes = []any{
|
||||
(*CommonResponse)(nil), // 0: bundle.CommonResponse
|
||||
(*BundleProfile)(nil), // 1: bundle.BundleProfile
|
||||
(*DelBundleRequest)(nil), // 2: bundle.DelBundleRequest
|
||||
@ -2038,236 +2000,6 @@ func file_pb_bundle_proto_init() {
|
||||
if File_pb_bundle_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_pb_bundle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CommonResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BundleProfile); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DelBundleRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BundleListRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BundleListResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BundleDetailRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BundleDetailResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OrderRecord); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OrderRecordsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OrderRecordsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OrderRecordsDetailRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OrderRecordsDetailResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ValueAddBundleProfile); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateValueAddBundleRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CreateValueAddBundleResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ValueAddBundleListRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ValueAddBundleListResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ValueAddBundleDetailRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_bundle_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ValueAddBundleDetailResponse); 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{
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.8
|
||||
// - protoc v3.10.1
|
||||
// - protoc-gen-go-triple v1.0.5
|
||||
// - protoc v3.21.8
|
||||
// source: pb/bundle.proto
|
||||
|
||||
package bundle
|
||||
@ -38,7 +38,7 @@ type BundleClient interface {
|
||||
UpdateOrderRecordByOrderNo(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
|
||||
OrderRecordsList(ctx context.Context, in *OrderRecordsRequest, opts ...grpc_go.CallOption) (*OrderRecordsResponse, common.ErrorWithAttachment)
|
||||
OrderRecordsDetail(ctx context.Context, in *OrderRecordsDetailRequest, opts ...grpc_go.CallOption) (*OrderRecordsDetailResponse, common.ErrorWithAttachment)
|
||||
//增值套餐
|
||||
// 增值套餐
|
||||
CreateValueAddBundle(ctx context.Context, in *CreateValueAddBundleRequest, opts ...grpc_go.CallOption) (*CreateValueAddBundleResponse, common.ErrorWithAttachment)
|
||||
ValueAddBundleList(ctx context.Context, in *ValueAddBundleListRequest, opts ...grpc_go.CallOption) (*ValueAddBundleListResponse, common.ErrorWithAttachment)
|
||||
ValueAddBundleDetail(ctx context.Context, in *ValueAddBundleDetailRequest, opts ...grpc_go.CallOption) (*ValueAddBundleDetailResponse, common.ErrorWithAttachment)
|
||||
@ -168,7 +168,7 @@ type BundleServer interface {
|
||||
UpdateOrderRecordByOrderNo(context.Context, *OrderRecord) (*CommonResponse, error)
|
||||
OrderRecordsList(context.Context, *OrderRecordsRequest) (*OrderRecordsResponse, error)
|
||||
OrderRecordsDetail(context.Context, *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error)
|
||||
//增值套餐
|
||||
// 增值套餐
|
||||
CreateValueAddBundle(context.Context, *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error)
|
||||
ValueAddBundleList(context.Context, *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error)
|
||||
ValueAddBundleDetail(context.Context, *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@ service Payment{
|
||||
|
||||
// stripe支付
|
||||
rpc CreateStripeCheckoutSession(CreateStripeCheckoutSessionRequest) returns (CreateStripeCheckoutSessionResponse){}; // 创建支付会话链接
|
||||
// rpc CommonCheckoutWebhook(GetCheckoutWebhookRequest) returns(GetCheckoutWebhookResponse){}; // 支付回调,通用
|
||||
// rpc CommonCheckoutWebhook(GetCheckoutWebhookRequest) returns(GetCheckoutWebhookResponse){}; // 支付回调,通用
|
||||
|
||||
// 支付宝支付
|
||||
rpc AliWapPay(AliWapPayRequest) returns (AliWapPayResponse) {}; // ali网页支付
|
||||
@ -71,6 +71,7 @@ message AntomNotifyPayRequest {
|
||||
string paymentTime = 4 [json_name = "paymentTime"];
|
||||
string resultStatus = 5 [json_name = "resultStatus"];
|
||||
string resultMessage = 6 [json_name = "resultMessage"];
|
||||
string channelCode = 7 [json_name = "channelCode"];
|
||||
}
|
||||
|
||||
message AntomNotifyPayResponse {
|
||||
|
@ -26,9 +26,11 @@ dubbo:
|
||||
protocol: tri
|
||||
retries: 0
|
||||
interface: com.fontree.microservices.common.micro.account
|
||||
PaymentClientImpl:
|
||||
interface: com.fontree.microservices.common.payment # must be compatible with grpc or dubbo-java
|
||||
filter: cshutdown,sign,auth
|
||||
PaymentCentClientImpl:
|
||||
protocol: tri
|
||||
retries: 0
|
||||
interface: com.fontree.microservices.common.payment.cent # must be compatible with grpc or dubbo-java
|
||||
# filter: cshutdown,sign,auth
|
||||
params:
|
||||
.accessKeyId: "Paymentksl"
|
||||
.secretAccessKey: "BSDY-FDF1-Fontree_payment"
|
||||
|
@ -14,7 +14,7 @@ type Info struct {
|
||||
ID uint64 `json:"ID"`
|
||||
Status int32 `json:"status"`
|
||||
Name string `json:"name"`
|
||||
Sex int32 `json:"sex"`
|
||||
Sex string `json:"sex"`
|
||||
Nationality string `json:"nationality"`
|
||||
DocumentType int32 `json:"documentType"`
|
||||
CertificatePicture string `json:"certificatePicture"`
|
||||
|
@ -87,7 +87,7 @@ type AccountInfo struct {
|
||||
Status string `json:"Status"` //头像
|
||||
CreatedAt string `json:"CreatedAt"` //头像
|
||||
IsNeedChange uint64 `json:"IsNeedChange"` //是否强制修改密码
|
||||
Sex uint64 `json:"Sex"`
|
||||
Sex string `json:"Sex"`
|
||||
}
|
||||
|
||||
type Login struct {
|
||||
|
@ -238,13 +238,19 @@ func CreateAntomPay(c *gin.Context) {
|
||||
CheckoutSessionId: result.CheckoutSessionId,
|
||||
CheckoutSessionUrl: result.Url,
|
||||
})
|
||||
fmt.Println("=====================================")
|
||||
resp := &order.CreateStripeCheckoutSessionResponse{}
|
||||
resp.CheckoutSessionUrl = result.Url
|
||||
resp.CheckoutSessionId = result.CheckoutSessionId
|
||||
fmt.Println("resp:", resp)
|
||||
|
||||
if updateOrderRecordErr != nil {
|
||||
fmt.Println("有更新报错:", updateOrderRecordErr)
|
||||
service.Error(c, updateOrderRecordErr)
|
||||
return
|
||||
}
|
||||
|
||||
service.Success(c, result)
|
||||
service.Success(c, resp)
|
||||
|
||||
}
|
||||
|
||||
@ -336,6 +342,7 @@ func AntomWebhook(c *gin.Context) {
|
||||
PaymentTime: paymentTime,
|
||||
ResultStatus: resultStatus,
|
||||
ResultMessage: resultMessage,
|
||||
ChannelCode: "Antom", // fiee对应payment的渠道码
|
||||
}
|
||||
|
||||
resp, err := service.PaymentProvider.AntomWebhook(c, params)
|
||||
|
Loading…
Reference in New Issue
Block a user