修改官网数据
This commit is contained in:
parent
73537c1a21
commit
d14dbaaf99
@ -1058,6 +1058,128 @@ func (x *SecFilingListResp) GetData() []*SecFiling {
|
||||
return nil
|
||||
}
|
||||
|
||||
type WebListSecFilingReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
||||
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
||||
Year string `protobuf:"bytes,3,opt,name=year,proto3" json:"year,omitempty"`
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingReq) Reset() {
|
||||
*x = WebListSecFilingReq{}
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WebListSecFilingReq) ProtoMessage() {}
|
||||
|
||||
func (x *WebListSecFilingReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use WebListSecFilingReq.ProtoReflect.Descriptor instead.
|
||||
func (*WebListSecFilingReq) Descriptor() ([]byte, []int) {
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingReq) GetPage() uint32 {
|
||||
if x != nil {
|
||||
return x.Page
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingReq) GetPageSize() uint32 {
|
||||
if x != nil {
|
||||
return x.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingReq) GetYear() string {
|
||||
if x != nil {
|
||||
return x.Year
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type WebListSecFilingResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
||||
Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||
Data []*SecFiling `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingResp) Reset() {
|
||||
*x = WebListSecFilingResp{}
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*WebListSecFilingResp) ProtoMessage() {}
|
||||
|
||||
func (x *WebListSecFilingResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use WebListSecFilingResp.ProtoReflect.Descriptor instead.
|
||||
func (*WebListSecFilingResp) Descriptor() ([]byte, []int) {
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingResp) GetMsg() string {
|
||||
if x != nil {
|
||||
return x.Msg
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingResp) GetTotal() uint32 {
|
||||
if x != nil {
|
||||
return x.Total
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *WebListSecFilingResp) GetData() []*SecFiling {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeleteSecFilingReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -1070,7 +1192,7 @@ type DeleteSecFilingReq struct {
|
||||
|
||||
func (x *DeleteSecFilingReq) Reset() {
|
||||
*x = DeleteSecFilingReq{}
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[14]
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -1082,7 +1204,7 @@ func (x *DeleteSecFilingReq) String() string {
|
||||
func (*DeleteSecFilingReq) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteSecFilingReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[14]
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -1095,7 +1217,7 @@ func (x *DeleteSecFilingReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteSecFilingReq.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteSecFilingReq) Descriptor() ([]byte, []int) {
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{14}
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *DeleteSecFilingReq) GetFilingKey() string {
|
||||
@ -1132,7 +1254,7 @@ type UpdateSecFilingStatusReq struct {
|
||||
|
||||
func (x *UpdateSecFilingStatusReq) Reset() {
|
||||
*x = UpdateSecFilingStatusReq{}
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[15]
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -1144,7 +1266,7 @@ func (x *UpdateSecFilingStatusReq) String() string {
|
||||
func (*UpdateSecFilingStatusReq) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateSecFilingStatusReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[15]
|
||||
mi := &file_api_secFilings_secFilings_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -1157,7 +1279,7 @@ func (x *UpdateSecFilingStatusReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateSecFilingStatusReq.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateSecFilingStatusReq) Descriptor() ([]byte, []int) {
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{15}
|
||||
return file_api_secFilings_secFilings_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *UpdateSecFilingStatusReq) GetFilingKey() string {
|
||||
@ -1333,66 +1455,84 @@ var file_api_secFilings_secFilings_proto_rawDesc = []byte{
|
||||
0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x73, 0x2e, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x64, 0x61, 0x74,
|
||||
0x61, 0x22, 0x6e, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,
|
||||
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,
|
||||
0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49,
|
||||
0x64, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x12, 0x1c,
|
||||
0x0a, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64,
|
||||
0x32, 0x98, 0x05, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x12,
|
||||
0x4b, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52,
|
||||
0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0f,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12,
|
||||
0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a,
|
||||
0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0f, 0x44, 0x65, 0x74,
|
||||
0x61, 0x69, 0x6c, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73,
|
||||
0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
|
||||
0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x73,
|
||||
0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c,
|
||||
0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12,
|
||||
0x4e, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x12, 0x1c, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1d,
|
||||
0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12,
|
||||
0x4b, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52,
|
||||
0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x10,
|
||||
0x49, 0x73, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x69, 0x73, 0x74,
|
||||
0x12, 0x1f, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49, 0x73,
|
||||
0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65,
|
||||
0x71, 0x1a, 0x20, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49,
|
||||
0x73, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
|
||||
0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24,
|
||||
0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x61, 0x22, 0x59, 0x0a, 0x13, 0x57, 0x65, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
|
||||
0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x22, 0x69, 0x0a, 0x14,
|
||||
0x57, 0x65, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x29, 0x0a, 0x04,
|
||||
0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73, 0x65, 0x63,
|
||||
0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6e, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f,
|
||||
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f,
|
||||
0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
||||
0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, 0x65,
|
||||
0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4b,
|
||||
0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b,
|
||||
0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x46, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x73, 0x65,
|
||||
0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70,
|
||||
0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x42, 0x0f, 0x5a, 0x0d, 0x2e,
|
||||
0x2f, 0x3b, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x73, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b, 0x65,
|
||||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4b,
|
||||
0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70,
|
||||
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70,
|
||||
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
||||
0x6f, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72,
|
||||
0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x32, 0xf1, 0x05, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
|
||||
0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
||||
0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12,
|
||||
0x54, 0x0a, 0x0f, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52,
|
||||
0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e,
|
||||
0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
|
||||
0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63,
|
||||
0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x73, 0x2e, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,
|
||||
0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
||||
0x22, 0x00, 0x12, 0x57, 0x0a, 0x10, 0x49, 0x73, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x73, 0x2e, 0x49, 0x73, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x45,
|
||||
0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c,
|
||||
0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49, 0x73, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x15, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x63,
|
||||
0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x73, 0x70, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67,
|
||||
0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
|
||||
0x71, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x46,
|
||||
0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22,
|
||||
0x00, 0x12, 0x57, 0x0a, 0x10, 0x57, 0x65, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46,
|
||||
0x69, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e,
|
||||
0x67, 0x73, 0x2e, 0x57, 0x65, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69, 0x6c,
|
||||
0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69,
|
||||
0x6e, 0x67, 0x73, 0x2e, 0x57, 0x65, 0x62, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x46, 0x69,
|
||||
0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x2f,
|
||||
0x3b, 0x73, 0x65, 0x63, 0x46, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -1407,7 +1547,7 @@ func file_api_secFilings_secFilings_proto_rawDescGZIP() []byte {
|
||||
return file_api_secFilings_secFilings_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_api_secFilings_secFilings_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_api_secFilings_secFilings_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_api_secFilings_secFilings_proto_goTypes = []any{
|
||||
(*ListFormTypeReq)(nil), // 0: secFilings.ListFormTypeReq
|
||||
(*FormTypeListResp)(nil), // 1: secFilings.FormTypeListResp
|
||||
@ -1423,8 +1563,10 @@ var file_api_secFilings_secFilings_proto_goTypes = []any{
|
||||
(*SecFilingDetailResp)(nil), // 11: secFilings.SecFilingDetailResp
|
||||
(*ListSecFilingReq)(nil), // 12: secFilings.ListSecFilingReq
|
||||
(*SecFilingListResp)(nil), // 13: secFilings.SecFilingListResp
|
||||
(*DeleteSecFilingReq)(nil), // 14: secFilings.DeleteSecFilingReq
|
||||
(*UpdateSecFilingStatusReq)(nil), // 15: secFilings.UpdateSecFilingStatusReq
|
||||
(*WebListSecFilingReq)(nil), // 14: secFilings.WebListSecFilingReq
|
||||
(*WebListSecFilingResp)(nil), // 15: secFilings.WebListSecFilingResp
|
||||
(*DeleteSecFilingReq)(nil), // 16: secFilings.DeleteSecFilingReq
|
||||
(*UpdateSecFilingStatusReq)(nil), // 17: secFilings.UpdateSecFilingStatusReq
|
||||
}
|
||||
var file_api_secFilings_secFilings_proto_depIdxs = []int32{
|
||||
2, // 0: secFilings.FormTypeListResp.formType:type_name -> secFilings.FormType
|
||||
@ -1433,27 +1575,30 @@ var file_api_secFilings_secFilings_proto_depIdxs = []int32{
|
||||
7, // 3: secFilings.UpdateSecFilingReq.dataFiles:type_name -> secFilings.DataFiles
|
||||
6, // 4: secFilings.SecFilingDetailResp.data:type_name -> secFilings.SecFiling
|
||||
6, // 5: secFilings.SecFilingListResp.data:type_name -> secFilings.SecFiling
|
||||
8, // 6: secFilings.SecFilings.CreateSecFiling:input_type -> secFilings.CreateSecFilingReq
|
||||
9, // 7: secFilings.SecFilings.UpdateSecFiling:input_type -> secFilings.UpdateSecFilingReq
|
||||
10, // 8: secFilings.SecFilings.DetailSecFiling:input_type -> secFilings.DetailSecFilingReq
|
||||
12, // 9: secFilings.SecFilings.ListSecFiling:input_type -> secFilings.ListSecFilingReq
|
||||
14, // 10: secFilings.SecFilings.DeleteSecFiling:input_type -> secFilings.DeleteSecFilingReq
|
||||
3, // 11: secFilings.SecFilings.IsSecFilingExist:input_type -> secFilings.IsSecFilingExistReq
|
||||
15, // 12: secFilings.SecFilings.UpdateSecFilingStatus:input_type -> secFilings.UpdateSecFilingStatusReq
|
||||
0, // 13: secFilings.SecFilings.ListFormType:input_type -> secFilings.ListFormTypeReq
|
||||
5, // 14: secFilings.SecFilings.CreateSecFiling:output_type -> secFilings.CommonResp
|
||||
5, // 15: secFilings.SecFilings.UpdateSecFiling:output_type -> secFilings.CommonResp
|
||||
11, // 16: secFilings.SecFilings.DetailSecFiling:output_type -> secFilings.SecFilingDetailResp
|
||||
13, // 17: secFilings.SecFilings.ListSecFiling:output_type -> secFilings.SecFilingListResp
|
||||
5, // 18: secFilings.SecFilings.DeleteSecFiling:output_type -> secFilings.CommonResp
|
||||
4, // 19: secFilings.SecFilings.IsSecFilingExist:output_type -> secFilings.IsSecFilingExistResp
|
||||
5, // 20: secFilings.SecFilings.UpdateSecFilingStatus:output_type -> secFilings.CommonResp
|
||||
1, // 21: secFilings.SecFilings.ListFormType:output_type -> secFilings.FormTypeListResp
|
||||
14, // [14:22] is the sub-list for method output_type
|
||||
6, // [6:14] is the sub-list for method input_type
|
||||
6, // [6:6] is the sub-list for extension type_name
|
||||
6, // [6:6] is the sub-list for extension extendee
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
6, // 6: secFilings.WebListSecFilingResp.data:type_name -> secFilings.SecFiling
|
||||
8, // 7: secFilings.SecFilings.CreateSecFiling:input_type -> secFilings.CreateSecFilingReq
|
||||
9, // 8: secFilings.SecFilings.UpdateSecFiling:input_type -> secFilings.UpdateSecFilingReq
|
||||
10, // 9: secFilings.SecFilings.DetailSecFiling:input_type -> secFilings.DetailSecFilingReq
|
||||
12, // 10: secFilings.SecFilings.ListSecFiling:input_type -> secFilings.ListSecFilingReq
|
||||
16, // 11: secFilings.SecFilings.DeleteSecFiling:input_type -> secFilings.DeleteSecFilingReq
|
||||
3, // 12: secFilings.SecFilings.IsSecFilingExist:input_type -> secFilings.IsSecFilingExistReq
|
||||
17, // 13: secFilings.SecFilings.UpdateSecFilingStatus:input_type -> secFilings.UpdateSecFilingStatusReq
|
||||
0, // 14: secFilings.SecFilings.ListFormType:input_type -> secFilings.ListFormTypeReq
|
||||
14, // 15: secFilings.SecFilings.WebListSecFiling:input_type -> secFilings.WebListSecFilingReq
|
||||
5, // 16: secFilings.SecFilings.CreateSecFiling:output_type -> secFilings.CommonResp
|
||||
5, // 17: secFilings.SecFilings.UpdateSecFiling:output_type -> secFilings.CommonResp
|
||||
11, // 18: secFilings.SecFilings.DetailSecFiling:output_type -> secFilings.SecFilingDetailResp
|
||||
13, // 19: secFilings.SecFilings.ListSecFiling:output_type -> secFilings.SecFilingListResp
|
||||
5, // 20: secFilings.SecFilings.DeleteSecFiling:output_type -> secFilings.CommonResp
|
||||
4, // 21: secFilings.SecFilings.IsSecFilingExist:output_type -> secFilings.IsSecFilingExistResp
|
||||
5, // 22: secFilings.SecFilings.UpdateSecFilingStatus:output_type -> secFilings.CommonResp
|
||||
1, // 23: secFilings.SecFilings.ListFormType:output_type -> secFilings.FormTypeListResp
|
||||
15, // 24: secFilings.SecFilings.WebListSecFiling:output_type -> secFilings.WebListSecFilingResp
|
||||
16, // [16:25] is the sub-list for method output_type
|
||||
7, // [7:16] is the sub-list for method input_type
|
||||
7, // [7:7] is the sub-list for extension type_name
|
||||
7, // [7:7] is the sub-list for extension extendee
|
||||
0, // [0:7] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_api_secFilings_secFilings_proto_init() }
|
||||
@ -1467,7 +1612,7 @@ func file_api_secFilings_secFilings_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_api_secFilings_secFilings_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 16,
|
||||
NumMessages: 18,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
@ -14,6 +14,7 @@ service SecFilings{
|
||||
rpc IsSecFilingExist(IsSecFilingExistReq) returns (IsSecFilingExistResp) {}
|
||||
rpc UpdateSecFilingStatus(UpdateSecFilingStatusReq) returns(CommonResp) {}
|
||||
rpc ListFormType(ListFormTypeReq) returns (FormTypeListResp) {}
|
||||
rpc WebListSecFiling(WebListSecFilingReq) returns (WebListSecFilingResp) {}
|
||||
}
|
||||
message ListFormTypeReq{
|
||||
int32 page = 1;
|
||||
@ -109,6 +110,16 @@ message SecFilingListResp{
|
||||
uint32 total = 2 [json_name="total"];
|
||||
repeated SecFiling data = 3 [json_name="data"];
|
||||
}
|
||||
message WebListSecFilingReq{
|
||||
uint32 page = 1;
|
||||
uint32 pageSize = 2;
|
||||
string year = 3;
|
||||
}
|
||||
message WebListSecFilingResp{
|
||||
string msg = 1 [json_name="msg"];
|
||||
uint32 total = 2 [json_name="total"];
|
||||
repeated SecFiling data = 3 [json_name="data"];
|
||||
}
|
||||
message DeleteSecFilingReq {
|
||||
string filingKey = 1;
|
||||
string operator = 2;
|
||||
|
@ -97,6 +97,19 @@ func (this *SecFilingListResp) Validate() error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (this *WebListSecFilingReq) Validate() error {
|
||||
return nil
|
||||
}
|
||||
func (this *WebListSecFilingResp) Validate() error {
|
||||
for _, item := range this.Data {
|
||||
if item != nil {
|
||||
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
||||
return github_com_mwitkow_go_proto_validators.FieldError("Data", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (this *DeleteSecFilingReq) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ type SecFilingsClient interface {
|
||||
IsSecFilingExist(ctx context.Context, in *IsSecFilingExistReq, opts ...grpc_go.CallOption) (*IsSecFilingExistResp, common.ErrorWithAttachment)
|
||||
UpdateSecFilingStatus(ctx context.Context, in *UpdateSecFilingStatusReq, opts ...grpc_go.CallOption) (*CommonResp, common.ErrorWithAttachment)
|
||||
ListFormType(ctx context.Context, in *ListFormTypeReq, opts ...grpc_go.CallOption) (*FormTypeListResp, common.ErrorWithAttachment)
|
||||
WebListSecFiling(ctx context.Context, in *WebListSecFilingReq, opts ...grpc_go.CallOption) (*WebListSecFilingResp, common.ErrorWithAttachment)
|
||||
}
|
||||
|
||||
type secFilingsClient struct {
|
||||
@ -51,6 +52,7 @@ type SecFilingsClientImpl struct {
|
||||
IsSecFilingExist func(ctx context.Context, in *IsSecFilingExistReq) (*IsSecFilingExistResp, error)
|
||||
UpdateSecFilingStatus func(ctx context.Context, in *UpdateSecFilingStatusReq) (*CommonResp, error)
|
||||
ListFormType func(ctx context.Context, in *ListFormTypeReq) (*FormTypeListResp, error)
|
||||
WebListSecFiling func(ctx context.Context, in *WebListSecFilingReq) (*WebListSecFilingResp, error)
|
||||
}
|
||||
|
||||
func (c *SecFilingsClientImpl) GetDubboStub(cc *triple.TripleConn) SecFilingsClient {
|
||||
@ -113,6 +115,12 @@ func (c *secFilingsClient) ListFormType(ctx context.Context, in *ListFormTypeReq
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListFormType", in, out)
|
||||
}
|
||||
|
||||
func (c *secFilingsClient) WebListSecFiling(ctx context.Context, in *WebListSecFilingReq, opts ...grpc_go.CallOption) (*WebListSecFilingResp, common.ErrorWithAttachment) {
|
||||
out := new(WebListSecFilingResp)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/WebListSecFiling", in, out)
|
||||
}
|
||||
|
||||
// SecFilingsServer is the server API for SecFilings service.
|
||||
// All implementations must embed UnimplementedSecFilingsServer
|
||||
// for forward compatibility
|
||||
@ -125,6 +133,7 @@ type SecFilingsServer interface {
|
||||
IsSecFilingExist(context.Context, *IsSecFilingExistReq) (*IsSecFilingExistResp, error)
|
||||
UpdateSecFilingStatus(context.Context, *UpdateSecFilingStatusReq) (*CommonResp, error)
|
||||
ListFormType(context.Context, *ListFormTypeReq) (*FormTypeListResp, error)
|
||||
WebListSecFiling(context.Context, *WebListSecFilingReq) (*WebListSecFilingResp, error)
|
||||
mustEmbedUnimplementedSecFilingsServer()
|
||||
}
|
||||
|
||||
@ -157,6 +166,9 @@ func (UnimplementedSecFilingsServer) UpdateSecFilingStatus(context.Context, *Upd
|
||||
func (UnimplementedSecFilingsServer) ListFormType(context.Context, *ListFormTypeReq) (*FormTypeListResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListFormType not implemented")
|
||||
}
|
||||
func (UnimplementedSecFilingsServer) WebListSecFiling(context.Context, *WebListSecFilingReq) (*WebListSecFilingResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method WebListSecFiling not implemented")
|
||||
}
|
||||
func (s *UnimplementedSecFilingsServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
s.proxyImpl = impl
|
||||
}
|
||||
@ -417,6 +429,35 @@ func _SecFilings_ListFormType_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SecFilings_WebListSecFiling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(WebListSecFilingReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
base := srv.(dubbo3.Dubbo3GrpcService)
|
||||
args := []interface{}{}
|
||||
args = append(args, in)
|
||||
md, _ := metadata.FromIncomingContext(ctx)
|
||||
invAttachment := make(map[string]interface{}, len(md))
|
||||
for k, v := range md {
|
||||
invAttachment[k] = v
|
||||
}
|
||||
invo := invocation.NewRPCInvocation("WebListSecFiling", args, invAttachment)
|
||||
if interceptor == nil {
|
||||
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
||||
return result, result.Error()
|
||||
}
|
||||
info := &grpc_go.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
||||
return result, result.Error()
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// SecFilings_ServiceDesc is the grpc_go.ServiceDesc for SecFilings service.
|
||||
// It's only intended for direct use with grpc_go.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
@ -456,6 +497,10 @@ var SecFilings_ServiceDesc = grpc_go.ServiceDesc{
|
||||
MethodName: "ListFormType",
|
||||
Handler: _SecFilings_ListFormType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "WebListSecFiling",
|
||||
Handler: _SecFilings_WebListSecFiling_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc_go.StreamDesc{},
|
||||
Metadata: "api/secFilings/secFilings.proto",
|
||||
|
@ -23,5 +23,6 @@ func SecFilingRouter(r *gin.RouterGroup) {
|
||||
secFilingRoute.POST("get", secfilings.GetSecFilings)
|
||||
secFilingRoute.POST("update/status", secfilings.UpdateSecFilingStatus)
|
||||
secFilingRoute.POST("form/list", secfilings.GetFormList)
|
||||
secFilingRoute.POST("web/list", secfilings.WebListSecFiling)
|
||||
}
|
||||
}
|
||||
|
@ -220,3 +220,16 @@ func GetFormList(c *gin.Context) {
|
||||
}
|
||||
service.Success(c, res)
|
||||
}
|
||||
func WebListSecFiling(c *gin.Context) {
|
||||
var req secFilings.WebListSecFilingReq
|
||||
if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil {
|
||||
service.Error(c, err)
|
||||
return
|
||||
}
|
||||
res, err := service.SecFilingProvider.WebListSecFiling(c, &req)
|
||||
if err != nil {
|
||||
service.Error(c, err)
|
||||
return
|
||||
}
|
||||
service.Success(c, res)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user