// Code generated by protoc-gen-go. DO NOT EDIT. // source: article.proto package gapi import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package //资讯 created by daiyihua type Article struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` ArtTitle string `protobuf:"bytes,2,opt,name=artTitle,proto3" json:"artTitle,omitempty"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` ViewCount int32 `protobuf:"varint,4,opt,name=viewCount,proto3" json:"viewCount,omitempty"` DoctorCount int32 `protobuf:"varint,5,opt,name=doctorCount,proto3" json:"doctorCount,omitempty"` Type int32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` ArtContent string `protobuf:"bytes,7,opt,name=artContent,proto3" json:"artContent,omitempty"` UrlData string `protobuf:"bytes,8,opt,name=urlData,proto3" json:"urlData,omitempty"` ClassificationId int32 `protobuf:"varint,9,opt,name=classificationId,proto3" json:"classificationId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Article) Reset() { *m = Article{} } func (m *Article) String() string { return proto.CompactTextString(m) } func (*Article) ProtoMessage() {} func (*Article) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{0} } func (m *Article) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Article.Unmarshal(m, b) } func (m *Article) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Article.Marshal(b, m, deterministic) } func (m *Article) XXX_Merge(src proto.Message) { xxx_messageInfo_Article.Merge(m, src) } func (m *Article) XXX_Size() int { return xxx_messageInfo_Article.Size(m) } func (m *Article) XXX_DiscardUnknown() { xxx_messageInfo_Article.DiscardUnknown(m) } var xxx_messageInfo_Article proto.InternalMessageInfo func (m *Article) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *Article) GetArtTitle() string { if m != nil { return m.ArtTitle } return "" } func (m *Article) GetStatus() int32 { if m != nil { return m.Status } return 0 } func (m *Article) GetViewCount() int32 { if m != nil { return m.ViewCount } return 0 } func (m *Article) GetDoctorCount() int32 { if m != nil { return m.DoctorCount } return 0 } func (m *Article) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *Article) GetArtContent() string { if m != nil { return m.ArtContent } return "" } func (m *Article) GetUrlData() string { if m != nil { return m.UrlData } return "" } func (m *Article) GetClassificationId() int32 { if m != nil { return m.ClassificationId } return 0 } //快讯分类 type ArticleClassification struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Article []*Article `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ArticleClassification) Reset() { *m = ArticleClassification{} } func (m *ArticleClassification) String() string { return proto.CompactTextString(m) } func (*ArticleClassification) ProtoMessage() {} func (*ArticleClassification) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{1} } func (m *ArticleClassification) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArticleClassification.Unmarshal(m, b) } func (m *ArticleClassification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ArticleClassification.Marshal(b, m, deterministic) } func (m *ArticleClassification) XXX_Merge(src proto.Message) { xxx_messageInfo_ArticleClassification.Merge(m, src) } func (m *ArticleClassification) XXX_Size() int { return xxx_messageInfo_ArticleClassification.Size(m) } func (m *ArticleClassification) XXX_DiscardUnknown() { xxx_messageInfo_ArticleClassification.DiscardUnknown(m) } var xxx_messageInfo_ArticleClassification proto.InternalMessageInfo func (m *ArticleClassification) GetName() string { if m != nil { return m.Name } return "" } func (m *ArticleClassification) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *ArticleClassification) GetArticle() []*Article { if m != nil { return m.Article } return nil } //获取分类快讯列表请求 type GetClassifiedArticlesRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetClassifiedArticlesRequest) Reset() { *m = GetClassifiedArticlesRequest{} } func (m *GetClassifiedArticlesRequest) String() string { return proto.CompactTextString(m) } func (*GetClassifiedArticlesRequest) ProtoMessage() {} func (*GetClassifiedArticlesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{2} } func (m *GetClassifiedArticlesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClassifiedArticlesRequest.Unmarshal(m, b) } func (m *GetClassifiedArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClassifiedArticlesRequest.Marshal(b, m, deterministic) } func (m *GetClassifiedArticlesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetClassifiedArticlesRequest.Merge(m, src) } func (m *GetClassifiedArticlesRequest) XXX_Size() int { return xxx_messageInfo_GetClassifiedArticlesRequest.Size(m) } func (m *GetClassifiedArticlesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetClassifiedArticlesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetClassifiedArticlesRequest proto.InternalMessageInfo func (m *GetClassifiedArticlesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } //获取分类快讯列表响应 type GetClassifiedArticlesResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Classification []*ArticleClassification `protobuf:"bytes,2,rep,name=classification,proto3" json:"classification,omitempty"` NoReadCount int32 `protobuf:"varint,3,opt,name=noReadCount,proto3" json:"noReadCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetClassifiedArticlesResponse) Reset() { *m = GetClassifiedArticlesResponse{} } func (m *GetClassifiedArticlesResponse) String() string { return proto.CompactTextString(m) } func (*GetClassifiedArticlesResponse) ProtoMessage() {} func (*GetClassifiedArticlesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{3} } func (m *GetClassifiedArticlesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClassifiedArticlesResponse.Unmarshal(m, b) } func (m *GetClassifiedArticlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClassifiedArticlesResponse.Marshal(b, m, deterministic) } func (m *GetClassifiedArticlesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetClassifiedArticlesResponse.Merge(m, src) } func (m *GetClassifiedArticlesResponse) XXX_Size() int { return xxx_messageInfo_GetClassifiedArticlesResponse.Size(m) } func (m *GetClassifiedArticlesResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetClassifiedArticlesResponse.DiscardUnknown(m) } var xxx_messageInfo_GetClassifiedArticlesResponse proto.InternalMessageInfo func (m *GetClassifiedArticlesResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetClassifiedArticlesResponse) GetClassification() []*ArticleClassification { if m != nil { return m.Classification } return nil } func (m *GetClassifiedArticlesResponse) GetNoReadCount() int32 { if m != nil { return m.NoReadCount } return 0 } //得到用户资讯列表Request created by daiyihua type GetArticlesRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticlesRequest) Reset() { *m = GetArticlesRequest{} } func (m *GetArticlesRequest) String() string { return proto.CompactTextString(m) } func (*GetArticlesRequest) ProtoMessage() {} func (*GetArticlesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{4} } func (m *GetArticlesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticlesRequest.Unmarshal(m, b) } func (m *GetArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticlesRequest.Marshal(b, m, deterministic) } func (m *GetArticlesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticlesRequest.Merge(m, src) } func (m *GetArticlesRequest) XXX_Size() int { return xxx_messageInfo_GetArticlesRequest.Size(m) } func (m *GetArticlesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticlesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticlesRequest proto.InternalMessageInfo func (m *GetArticlesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetArticlesRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetArticlesRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } //得到用户资讯列表 created by daiyihua type GetArticlesResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Article []*Article `protobuf:"bytes,2,rep,name=article,proto3" json:"article,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` TotalPages int32 `protobuf:"varint,4,opt,name=totalPages,proto3" json:"totalPages,omitempty"` NoReadCount int32 `protobuf:"varint,5,opt,name=noReadCount,proto3" json:"noReadCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticlesResponse) Reset() { *m = GetArticlesResponse{} } func (m *GetArticlesResponse) String() string { return proto.CompactTextString(m) } func (*GetArticlesResponse) ProtoMessage() {} func (*GetArticlesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{5} } func (m *GetArticlesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticlesResponse.Unmarshal(m, b) } func (m *GetArticlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticlesResponse.Marshal(b, m, deterministic) } func (m *GetArticlesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticlesResponse.Merge(m, src) } func (m *GetArticlesResponse) XXX_Size() int { return xxx_messageInfo_GetArticlesResponse.Size(m) } func (m *GetArticlesResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticlesResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticlesResponse proto.InternalMessageInfo func (m *GetArticlesResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetArticlesResponse) GetArticle() []*Article { if m != nil { return m.Article } return nil } func (m *GetArticlesResponse) GetCount() int32 { if m != nil { return m.Count } return 0 } func (m *GetArticlesResponse) GetTotalPages() int32 { if m != nil { return m.TotalPages } return 0 } func (m *GetArticlesResponse) GetNoReadCount() int32 { if m != nil { return m.NoReadCount } return 0 } //根据资讯ID得到资讯内容Request created by daiyihua type GetArticleByIdRequest struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` DoctorId int32 `protobuf:"varint,2,opt,name=doctorId,proto3" json:"doctorId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleByIdRequest) Reset() { *m = GetArticleByIdRequest{} } func (m *GetArticleByIdRequest) String() string { return proto.CompactTextString(m) } func (*GetArticleByIdRequest) ProtoMessage() {} func (*GetArticleByIdRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{6} } func (m *GetArticleByIdRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleByIdRequest.Unmarshal(m, b) } func (m *GetArticleByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleByIdRequest.Marshal(b, m, deterministic) } func (m *GetArticleByIdRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleByIdRequest.Merge(m, src) } func (m *GetArticleByIdRequest) XXX_Size() int { return xxx_messageInfo_GetArticleByIdRequest.Size(m) } func (m *GetArticleByIdRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleByIdRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticleByIdRequest proto.InternalMessageInfo func (m *GetArticleByIdRequest) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *GetArticleByIdRequest) GetDoctorId() int32 { if m != nil { return m.DoctorId } return 0 } //根据资讯ID得到资讯内容Response created by daiyihua type GetArticleByIdResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Article *Article `protobuf:"bytes,2,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleByIdResponse) Reset() { *m = GetArticleByIdResponse{} } func (m *GetArticleByIdResponse) String() string { return proto.CompactTextString(m) } func (*GetArticleByIdResponse) ProtoMessage() {} func (*GetArticleByIdResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{7} } func (m *GetArticleByIdResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleByIdResponse.Unmarshal(m, b) } func (m *GetArticleByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleByIdResponse.Marshal(b, m, deterministic) } func (m *GetArticleByIdResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleByIdResponse.Merge(m, src) } func (m *GetArticleByIdResponse) XXX_Size() int { return xxx_messageInfo_GetArticleByIdResponse.Size(m) } func (m *GetArticleByIdResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleByIdResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticleByIdResponse proto.InternalMessageInfo func (m *GetArticleByIdResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetArticleByIdResponse) GetArticle() *Article { if m != nil { return m.Article } return nil } type GetDisplayArticleListRequest struct { PageIndex int32 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` DoctorId int32 `protobuf:"varint,3,opt,name=doctorId,proto3" json:"doctorId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetDisplayArticleListRequest) Reset() { *m = GetDisplayArticleListRequest{} } func (m *GetDisplayArticleListRequest) String() string { return proto.CompactTextString(m) } func (*GetDisplayArticleListRequest) ProtoMessage() {} func (*GetDisplayArticleListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{8} } func (m *GetDisplayArticleListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDisplayArticleListRequest.Unmarshal(m, b) } func (m *GetDisplayArticleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDisplayArticleListRequest.Marshal(b, m, deterministic) } func (m *GetDisplayArticleListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetDisplayArticleListRequest.Merge(m, src) } func (m *GetDisplayArticleListRequest) XXX_Size() int { return xxx_messageInfo_GetDisplayArticleListRequest.Size(m) } func (m *GetDisplayArticleListRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetDisplayArticleListRequest.DiscardUnknown(m) } var xxx_messageInfo_GetDisplayArticleListRequest proto.InternalMessageInfo func (m *GetDisplayArticleListRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetDisplayArticleListRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *GetDisplayArticleListRequest) GetDoctorId() int32 { if m != nil { return m.DoctorId } return 0 } type GetDisplayArticleListResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Article []*Article `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetDisplayArticleListResponse) Reset() { *m = GetDisplayArticleListResponse{} } func (m *GetDisplayArticleListResponse) String() string { return proto.CompactTextString(m) } func (*GetDisplayArticleListResponse) ProtoMessage() {} func (*GetDisplayArticleListResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{9} } func (m *GetDisplayArticleListResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDisplayArticleListResponse.Unmarshal(m, b) } func (m *GetDisplayArticleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDisplayArticleListResponse.Marshal(b, m, deterministic) } func (m *GetDisplayArticleListResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetDisplayArticleListResponse.Merge(m, src) } func (m *GetDisplayArticleListResponse) XXX_Size() int { return xxx_messageInfo_GetDisplayArticleListResponse.Size(m) } func (m *GetDisplayArticleListResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetDisplayArticleListResponse.DiscardUnknown(m) } var xxx_messageInfo_GetDisplayArticleListResponse proto.InternalMessageInfo func (m *GetDisplayArticleListResponse) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *GetDisplayArticleListResponse) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *GetDisplayArticleListResponse) GetArticle() []*Article { if m != nil { return m.Article } return nil } func (m *GetDisplayArticleListResponse) GetCount() int32 { if m != nil { return m.Count } return 0 } func (m *GetDisplayArticleListResponse) GetTotalPages() int32 { if m != nil { return m.TotalPages } return 0 } //获取资讯详情,并记录浏览相关信息 type GetArticleRequest struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` OwnerId int32 `protobuf:"varint,2,opt,name=ownerId,proto3" json:"ownerId,omitempty"` UserId int32 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleRequest) Reset() { *m = GetArticleRequest{} } func (m *GetArticleRequest) String() string { return proto.CompactTextString(m) } func (*GetArticleRequest) ProtoMessage() {} func (*GetArticleRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{10} } func (m *GetArticleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleRequest.Unmarshal(m, b) } func (m *GetArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleRequest.Marshal(b, m, deterministic) } func (m *GetArticleRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleRequest.Merge(m, src) } func (m *GetArticleRequest) XXX_Size() int { return xxx_messageInfo_GetArticleRequest.Size(m) } func (m *GetArticleRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticleRequest proto.InternalMessageInfo func (m *GetArticleRequest) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *GetArticleRequest) GetOwnerId() int32 { if m != nil { return m.OwnerId } return 0 } func (m *GetArticleRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetArticleRequest) GetType() int32 { if m != nil { return m.Type } return 0 } type GetArticleResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Article *Article `protobuf:"bytes,3,opt,name=article,proto3" json:"article,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleResponse) Reset() { *m = GetArticleResponse{} } func (m *GetArticleResponse) String() string { return proto.CompactTextString(m) } func (*GetArticleResponse) ProtoMessage() {} func (*GetArticleResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{11} } func (m *GetArticleResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleResponse.Unmarshal(m, b) } func (m *GetArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleResponse.Marshal(b, m, deterministic) } func (m *GetArticleResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleResponse.Merge(m, src) } func (m *GetArticleResponse) XXX_Size() int { return xxx_messageInfo_GetArticleResponse.Size(m) } func (m *GetArticleResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticleResponse proto.InternalMessageInfo func (m *GetArticleResponse) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *GetArticleResponse) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *GetArticleResponse) GetArticle() *Article { if m != nil { return m.Article } return nil } type GetPdfInfoRequest struct { InfoId int32 `protobuf:"varint,1,opt,name=infoId,proto3" json:"infoId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetPdfInfoRequest) Reset() { *m = GetPdfInfoRequest{} } func (m *GetPdfInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetPdfInfoRequest) ProtoMessage() {} func (*GetPdfInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{12} } func (m *GetPdfInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPdfInfoRequest.Unmarshal(m, b) } func (m *GetPdfInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetPdfInfoRequest.Marshal(b, m, deterministic) } func (m *GetPdfInfoRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetPdfInfoRequest.Merge(m, src) } func (m *GetPdfInfoRequest) XXX_Size() int { return xxx_messageInfo_GetPdfInfoRequest.Size(m) } func (m *GetPdfInfoRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetPdfInfoRequest.DiscardUnknown(m) } var xxx_messageInfo_GetPdfInfoRequest proto.InternalMessageInfo func (m *GetPdfInfoRequest) GetInfoId() int32 { if m != nil { return m.InfoId } return 0 } type GetPdfInfoResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Pdf []byte `protobuf:"bytes,2,opt,name=pdf,proto3" json:"pdf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetPdfInfoResponse) Reset() { *m = GetPdfInfoResponse{} } func (m *GetPdfInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetPdfInfoResponse) ProtoMessage() {} func (*GetPdfInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{13} } func (m *GetPdfInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPdfInfoResponse.Unmarshal(m, b) } func (m *GetPdfInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetPdfInfoResponse.Marshal(b, m, deterministic) } func (m *GetPdfInfoResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetPdfInfoResponse.Merge(m, src) } func (m *GetPdfInfoResponse) XXX_Size() int { return xxx_messageInfo_GetPdfInfoResponse.Size(m) } func (m *GetPdfInfoResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetPdfInfoResponse.DiscardUnknown(m) } var xxx_messageInfo_GetPdfInfoResponse proto.InternalMessageInfo func (m *GetPdfInfoResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetPdfInfoResponse) GetPdf() []byte { if m != nil { return m.Pdf } return nil } //获取医学界文章分页列表request type GetArticlesPagedListRequest struct { Terminal int32 `protobuf:"varint,1,opt,name=terminal,proto3" json:"terminal,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` PageIndex int32 `protobuf:"varint,3,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` UserId int32 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"` ProviderId int32 `protobuf:"varint,6,opt,name=providerId,proto3" json:"providerId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticlesPagedListRequest) Reset() { *m = GetArticlesPagedListRequest{} } func (m *GetArticlesPagedListRequest) String() string { return proto.CompactTextString(m) } func (*GetArticlesPagedListRequest) ProtoMessage() {} func (*GetArticlesPagedListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{14} } func (m *GetArticlesPagedListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticlesPagedListRequest.Unmarshal(m, b) } func (m *GetArticlesPagedListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticlesPagedListRequest.Marshal(b, m, deterministic) } func (m *GetArticlesPagedListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticlesPagedListRequest.Merge(m, src) } func (m *GetArticlesPagedListRequest) XXX_Size() int { return xxx_messageInfo_GetArticlesPagedListRequest.Size(m) } func (m *GetArticlesPagedListRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticlesPagedListRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticlesPagedListRequest proto.InternalMessageInfo func (m *GetArticlesPagedListRequest) GetTerminal() int32 { if m != nil { return m.Terminal } return 0 } func (m *GetArticlesPagedListRequest) GetKeyword() string { if m != nil { return m.Keyword } return "" } func (m *GetArticlesPagedListRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetArticlesPagedListRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *GetArticlesPagedListRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetArticlesPagedListRequest) GetProviderId() int32 { if m != nil { return m.ProviderId } return 0 } //医学界文章 type ArticleItem struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` ViewCount int32 `protobuf:"varint,3,opt,name=viewCount,proto3" json:"viewCount,omitempty"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` Digest string `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"` Price int32 `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"` PreviewUrl string `protobuf:"bytes,7,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"` Author string `protobuf:"bytes,8,opt,name=author,proto3" json:"author,omitempty"` JobTitle string `protobuf:"bytes,9,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"` Dept string `protobuf:"bytes,10,opt,name=dept,proto3" json:"dept,omitempty"` Hospital string `protobuf:"bytes,11,opt,name=hospital,proto3" json:"hospital,omitempty"` PublishTime string `protobuf:"bytes,12,opt,name=publishTime,proto3" json:"publishTime,omitempty"` HasPaid int32 `protobuf:"varint,13,opt,name=hasPaid,proto3" json:"hasPaid,omitempty"` Diagnosis string `protobuf:"bytes,14,opt,name=diagnosis,proto3" json:"diagnosis,omitempty"` LikeCount int32 `protobuf:"varint,15,opt,name=likeCount,proto3" json:"likeCount,omitempty"` VideoStatus int32 `protobuf:"varint,16,opt,name=videoStatus,proto3" json:"videoStatus,omitempty"` VideoConvertingRemark string `protobuf:"bytes,17,opt,name=videoConvertingRemark,proto3" json:"videoConvertingRemark,omitempty"` AuditStatus int32 `protobuf:"varint,18,opt,name=auditStatus,proto3" json:"auditStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ArticleItem) Reset() { *m = ArticleItem{} } func (m *ArticleItem) String() string { return proto.CompactTextString(m) } func (*ArticleItem) ProtoMessage() {} func (*ArticleItem) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{15} } func (m *ArticleItem) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArticleItem.Unmarshal(m, b) } func (m *ArticleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ArticleItem.Marshal(b, m, deterministic) } func (m *ArticleItem) XXX_Merge(src proto.Message) { xxx_messageInfo_ArticleItem.Merge(m, src) } func (m *ArticleItem) XXX_Size() int { return xxx_messageInfo_ArticleItem.Size(m) } func (m *ArticleItem) XXX_DiscardUnknown() { xxx_messageInfo_ArticleItem.DiscardUnknown(m) } var xxx_messageInfo_ArticleItem proto.InternalMessageInfo func (m *ArticleItem) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *ArticleItem) GetTitle() string { if m != nil { return m.Title } return "" } func (m *ArticleItem) GetViewCount() int32 { if m != nil { return m.ViewCount } return 0 } func (m *ArticleItem) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *ArticleItem) GetDigest() string { if m != nil { return m.Digest } return "" } func (m *ArticleItem) GetPrice() int32 { if m != nil { return m.Price } return 0 } func (m *ArticleItem) GetPreviewUrl() string { if m != nil { return m.PreviewUrl } return "" } func (m *ArticleItem) GetAuthor() string { if m != nil { return m.Author } return "" } func (m *ArticleItem) GetJobTitle() string { if m != nil { return m.JobTitle } return "" } func (m *ArticleItem) GetDept() string { if m != nil { return m.Dept } return "" } func (m *ArticleItem) GetHospital() string { if m != nil { return m.Hospital } return "" } func (m *ArticleItem) GetPublishTime() string { if m != nil { return m.PublishTime } return "" } func (m *ArticleItem) GetHasPaid() int32 { if m != nil { return m.HasPaid } return 0 } func (m *ArticleItem) GetDiagnosis() string { if m != nil { return m.Diagnosis } return "" } func (m *ArticleItem) GetLikeCount() int32 { if m != nil { return m.LikeCount } return 0 } func (m *ArticleItem) GetVideoStatus() int32 { if m != nil { return m.VideoStatus } return 0 } func (m *ArticleItem) GetVideoConvertingRemark() string { if m != nil { return m.VideoConvertingRemark } return "" } func (m *ArticleItem) GetAuditStatus() int32 { if m != nil { return m.AuditStatus } return 0 } //获取医学界文章分页列表response type GetArticlesPagedListResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Article []*ArticleItem `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticlesPagedListResponse) Reset() { *m = GetArticlesPagedListResponse{} } func (m *GetArticlesPagedListResponse) String() string { return proto.CompactTextString(m) } func (*GetArticlesPagedListResponse) ProtoMessage() {} func (*GetArticlesPagedListResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{16} } func (m *GetArticlesPagedListResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticlesPagedListResponse.Unmarshal(m, b) } func (m *GetArticlesPagedListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticlesPagedListResponse.Marshal(b, m, deterministic) } func (m *GetArticlesPagedListResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticlesPagedListResponse.Merge(m, src) } func (m *GetArticlesPagedListResponse) XXX_Size() int { return xxx_messageInfo_GetArticlesPagedListResponse.Size(m) } func (m *GetArticlesPagedListResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticlesPagedListResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticlesPagedListResponse proto.InternalMessageInfo func (m *GetArticlesPagedListResponse) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *GetArticlesPagedListResponse) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *GetArticlesPagedListResponse) GetArticle() []*ArticleItem { if m != nil { return m.Article } return nil } func (m *GetArticlesPagedListResponse) GetCount() int32 { if m != nil { return m.Count } return 0 } func (m *GetArticlesPagedListResponse) GetTotalPages() int32 { if m != nil { return m.TotalPages } return 0 } type GetArticleDetailRequest struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Terminal int32 `protobuf:"varint,3,opt,name=terminal,proto3" json:"terminal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleDetailRequest) Reset() { *m = GetArticleDetailRequest{} } func (m *GetArticleDetailRequest) String() string { return proto.CompactTextString(m) } func (*GetArticleDetailRequest) ProtoMessage() {} func (*GetArticleDetailRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{17} } func (m *GetArticleDetailRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleDetailRequest.Unmarshal(m, b) } func (m *GetArticleDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleDetailRequest.Marshal(b, m, deterministic) } func (m *GetArticleDetailRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleDetailRequest.Merge(m, src) } func (m *GetArticleDetailRequest) XXX_Size() int { return xxx_messageInfo_GetArticleDetailRequest.Size(m) } func (m *GetArticleDetailRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleDetailRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticleDetailRequest proto.InternalMessageInfo func (m *GetArticleDetailRequest) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *GetArticleDetailRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetArticleDetailRequest) GetTerminal() int32 { if m != nil { return m.Terminal } return 0 } type ArticleComment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"` ReplyId int32 `protobuf:"varint,3,opt,name=replyId,proto3" json:"replyId,omitempty"` ParentId int32 `protobuf:"varint,4,opt,name=parentId,proto3" json:"parentId,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` UserId int32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` CreateTime string `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"` UpdateTime string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"` Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` JobTitle string `protobuf:"bytes,10,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"` Dept string `protobuf:"bytes,11,opt,name=dept,proto3" json:"dept,omitempty"` Hospital string `protobuf:"bytes,12,opt,name=hospital,proto3" json:"hospital,omitempty"` Avatar string `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"` Replies []*ArticleComment `protobuf:"bytes,14,rep,name=replies,proto3" json:"replies,omitempty"` ReplyName string `protobuf:"bytes,15,opt,name=replyName,proto3" json:"replyName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ArticleComment) Reset() { *m = ArticleComment{} } func (m *ArticleComment) String() string { return proto.CompactTextString(m) } func (*ArticleComment) ProtoMessage() {} func (*ArticleComment) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{18} } func (m *ArticleComment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ArticleComment.Unmarshal(m, b) } func (m *ArticleComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ArticleComment.Marshal(b, m, deterministic) } func (m *ArticleComment) XXX_Merge(src proto.Message) { xxx_messageInfo_ArticleComment.Merge(m, src) } func (m *ArticleComment) XXX_Size() int { return xxx_messageInfo_ArticleComment.Size(m) } func (m *ArticleComment) XXX_DiscardUnknown() { xxx_messageInfo_ArticleComment.DiscardUnknown(m) } var xxx_messageInfo_ArticleComment proto.InternalMessageInfo func (m *ArticleComment) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *ArticleComment) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } func (m *ArticleComment) GetReplyId() int32 { if m != nil { return m.ReplyId } return 0 } func (m *ArticleComment) GetParentId() int32 { if m != nil { return m.ParentId } return 0 } func (m *ArticleComment) GetContent() string { if m != nil { return m.Content } return "" } func (m *ArticleComment) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *ArticleComment) GetCreateTime() string { if m != nil { return m.CreateTime } return "" } func (m *ArticleComment) GetUpdateTime() string { if m != nil { return m.UpdateTime } return "" } func (m *ArticleComment) GetName() string { if m != nil { return m.Name } return "" } func (m *ArticleComment) GetJobTitle() string { if m != nil { return m.JobTitle } return "" } func (m *ArticleComment) GetDept() string { if m != nil { return m.Dept } return "" } func (m *ArticleComment) GetHospital() string { if m != nil { return m.Hospital } return "" } func (m *ArticleComment) GetAvatar() string { if m != nil { return m.Avatar } return "" } func (m *ArticleComment) GetReplies() []*ArticleComment { if m != nil { return m.Replies } return nil } func (m *ArticleComment) GetReplyName() string { if m != nil { return m.ReplyName } return "" } type GetCommentsRequest struct { ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"` PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` UserId int32 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetCommentsRequest) Reset() { *m = GetCommentsRequest{} } func (m *GetCommentsRequest) String() string { return proto.CompactTextString(m) } func (*GetCommentsRequest) ProtoMessage() {} func (*GetCommentsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{19} } func (m *GetCommentsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCommentsRequest.Unmarshal(m, b) } func (m *GetCommentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetCommentsRequest.Marshal(b, m, deterministic) } func (m *GetCommentsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetCommentsRequest.Merge(m, src) } func (m *GetCommentsRequest) XXX_Size() int { return xxx_messageInfo_GetCommentsRequest.Size(m) } func (m *GetCommentsRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetCommentsRequest.DiscardUnknown(m) } var xxx_messageInfo_GetCommentsRequest proto.InternalMessageInfo func (m *GetCommentsRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } func (m *GetCommentsRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetCommentsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *GetCommentsRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } type GetCommentsResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Comments []*ArticleComment `protobuf:"bytes,3,rep,name=comments,proto3" json:"comments,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetCommentsResponse) Reset() { *m = GetCommentsResponse{} } func (m *GetCommentsResponse) String() string { return proto.CompactTextString(m) } func (*GetCommentsResponse) ProtoMessage() {} func (*GetCommentsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{20} } func (m *GetCommentsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCommentsResponse.Unmarshal(m, b) } func (m *GetCommentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetCommentsResponse.Marshal(b, m, deterministic) } func (m *GetCommentsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetCommentsResponse.Merge(m, src) } func (m *GetCommentsResponse) XXX_Size() int { return xxx_messageInfo_GetCommentsResponse.Size(m) } func (m *GetCommentsResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetCommentsResponse.DiscardUnknown(m) } var xxx_messageInfo_GetCommentsResponse proto.InternalMessageInfo func (m *GetCommentsResponse) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *GetCommentsResponse) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *GetCommentsResponse) GetComments() []*ArticleComment { if m != nil { return m.Comments } return nil } func (m *GetCommentsResponse) GetCount() int32 { if m != nil { return m.Count } return 0 } func (m *GetCommentsResponse) GetTotalPages() int32 { if m != nil { return m.TotalPages } return 0 } type AddCommentRequest struct { ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"` ReplyId int32 `protobuf:"varint,2,opt,name=replyId,proto3" json:"replyId,omitempty"` ParentId int32 `protobuf:"varint,3,opt,name=parentId,proto3" json:"parentId,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` UserId int32 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AddCommentRequest) Reset() { *m = AddCommentRequest{} } func (m *AddCommentRequest) String() string { return proto.CompactTextString(m) } func (*AddCommentRequest) ProtoMessage() {} func (*AddCommentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{21} } func (m *AddCommentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddCommentRequest.Unmarshal(m, b) } func (m *AddCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddCommentRequest.Marshal(b, m, deterministic) } func (m *AddCommentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_AddCommentRequest.Merge(m, src) } func (m *AddCommentRequest) XXX_Size() int { return xxx_messageInfo_AddCommentRequest.Size(m) } func (m *AddCommentRequest) XXX_DiscardUnknown() { xxx_messageInfo_AddCommentRequest.DiscardUnknown(m) } var xxx_messageInfo_AddCommentRequest proto.InternalMessageInfo func (m *AddCommentRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } func (m *AddCommentRequest) GetReplyId() int32 { if m != nil { return m.ReplyId } return 0 } func (m *AddCommentRequest) GetParentId() int32 { if m != nil { return m.ParentId } return 0 } func (m *AddCommentRequest) GetContent() string { if m != nil { return m.Content } return "" } func (m *AddCommentRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } type GetArticleDetailResponse struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` PublishTime string `protobuf:"bytes,3,opt,name=publishTime,proto3" json:"publishTime,omitempty"` ViewCount int32 `protobuf:"varint,4,opt,name=viewCount,proto3" json:"viewCount,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Dept string `protobuf:"bytes,6,opt,name=dept,proto3" json:"dept,omitempty"` Hospital string `protobuf:"bytes,7,opt,name=hospital,proto3" json:"hospital,omitempty"` JobTitle string `protobuf:"bytes,8,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"` UrlData string `protobuf:"bytes,9,opt,name=urlData,proto3" json:"urlData,omitempty"` Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` HasPaid int32 `protobuf:"varint,12,opt,name=hasPaid,proto3" json:"hasPaid,omitempty"` CommentCounts int32 `protobuf:"varint,13,opt,name=commentCounts,proto3" json:"commentCounts,omitempty"` IsFavorite int32 `protobuf:"varint,14,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"` Code int32 `protobuf:"varint,15,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,16,opt,name=msg,proto3" json:"msg,omitempty"` Extra string `protobuf:"bytes,17,opt,name=extra,proto3" json:"extra,omitempty"` PreviewUrl string `protobuf:"bytes,18,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"` IsLike int32 `protobuf:"varint,19,opt,name=isLike,proto3" json:"isLike,omitempty"` LikeCount int32 `protobuf:"varint,20,opt,name=likeCount,proto3" json:"likeCount,omitempty"` LikedUsers []string `protobuf:"bytes,21,rep,name=likedUsers,proto3" json:"likedUsers,omitempty"` QrCode1Url string `protobuf:"bytes,22,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"` QrCode2Url string `protobuf:"bytes,23,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"` QrCode1Remark string `protobuf:"bytes,24,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"` QrCode2Remark string `protobuf:"bytes,25,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleDetailResponse) Reset() { *m = GetArticleDetailResponse{} } func (m *GetArticleDetailResponse) String() string { return proto.CompactTextString(m) } func (*GetArticleDetailResponse) ProtoMessage() {} func (*GetArticleDetailResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{22} } func (m *GetArticleDetailResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleDetailResponse.Unmarshal(m, b) } func (m *GetArticleDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleDetailResponse.Marshal(b, m, deterministic) } func (m *GetArticleDetailResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleDetailResponse.Merge(m, src) } func (m *GetArticleDetailResponse) XXX_Size() int { return xxx_messageInfo_GetArticleDetailResponse.Size(m) } func (m *GetArticleDetailResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleDetailResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticleDetailResponse proto.InternalMessageInfo func (m *GetArticleDetailResponse) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *GetArticleDetailResponse) GetTitle() string { if m != nil { return m.Title } return "" } func (m *GetArticleDetailResponse) GetPublishTime() string { if m != nil { return m.PublishTime } return "" } func (m *GetArticleDetailResponse) GetViewCount() int32 { if m != nil { return m.ViewCount } return 0 } func (m *GetArticleDetailResponse) GetAuthor() string { if m != nil { return m.Author } return "" } func (m *GetArticleDetailResponse) GetDept() string { if m != nil { return m.Dept } return "" } func (m *GetArticleDetailResponse) GetHospital() string { if m != nil { return m.Hospital } return "" } func (m *GetArticleDetailResponse) GetJobTitle() string { if m != nil { return m.JobTitle } return "" } func (m *GetArticleDetailResponse) GetUrlData() string { if m != nil { return m.UrlData } return "" } func (m *GetArticleDetailResponse) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *GetArticleDetailResponse) GetContent() string { if m != nil { return m.Content } return "" } func (m *GetArticleDetailResponse) GetHasPaid() int32 { if m != nil { return m.HasPaid } return 0 } func (m *GetArticleDetailResponse) GetCommentCounts() int32 { if m != nil { return m.CommentCounts } return 0 } func (m *GetArticleDetailResponse) GetIsFavorite() int32 { if m != nil { return m.IsFavorite } return 0 } func (m *GetArticleDetailResponse) GetCode() int32 { if m != nil { return m.Code } return 0 } func (m *GetArticleDetailResponse) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *GetArticleDetailResponse) GetExtra() string { if m != nil { return m.Extra } return "" } func (m *GetArticleDetailResponse) GetPreviewUrl() string { if m != nil { return m.PreviewUrl } return "" } func (m *GetArticleDetailResponse) GetIsLike() int32 { if m != nil { return m.IsLike } return 0 } func (m *GetArticleDetailResponse) GetLikeCount() int32 { if m != nil { return m.LikeCount } return 0 } func (m *GetArticleDetailResponse) GetLikedUsers() []string { if m != nil { return m.LikedUsers } return nil } func (m *GetArticleDetailResponse) GetQrCode1Url() string { if m != nil { return m.QrCode1Url } return "" } func (m *GetArticleDetailResponse) GetQrCode2Url() string { if m != nil { return m.QrCode2Url } return "" } func (m *GetArticleDetailResponse) GetQrCode1Remark() string { if m != nil { return m.QrCode1Remark } return "" } func (m *GetArticleDetailResponse) GetQrCode2Remark() string { if m != nil { return m.QrCode2Remark } return "" } type OperateFavoritesRequest struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` IsFavorite int32 `protobuf:"varint,3,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OperateFavoritesRequest) Reset() { *m = OperateFavoritesRequest{} } func (m *OperateFavoritesRequest) String() string { return proto.CompactTextString(m) } func (*OperateFavoritesRequest) ProtoMessage() {} func (*OperateFavoritesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{23} } func (m *OperateFavoritesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperateFavoritesRequest.Unmarshal(m, b) } func (m *OperateFavoritesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OperateFavoritesRequest.Marshal(b, m, deterministic) } func (m *OperateFavoritesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_OperateFavoritesRequest.Merge(m, src) } func (m *OperateFavoritesRequest) XXX_Size() int { return xxx_messageInfo_OperateFavoritesRequest.Size(m) } func (m *OperateFavoritesRequest) XXX_DiscardUnknown() { xxx_messageInfo_OperateFavoritesRequest.DiscardUnknown(m) } var xxx_messageInfo_OperateFavoritesRequest proto.InternalMessageInfo func (m *OperateFavoritesRequest) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *OperateFavoritesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *OperateFavoritesRequest) GetIsFavorite() int32 { if m != nil { return m.IsFavorite } return 0 } type GetArticlesFavoritesRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticlesFavoritesRequest) Reset() { *m = GetArticlesFavoritesRequest{} } func (m *GetArticlesFavoritesRequest) String() string { return proto.CompactTextString(m) } func (*GetArticlesFavoritesRequest) ProtoMessage() {} func (*GetArticlesFavoritesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{24} } func (m *GetArticlesFavoritesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticlesFavoritesRequest.Unmarshal(m, b) } func (m *GetArticlesFavoritesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticlesFavoritesRequest.Marshal(b, m, deterministic) } func (m *GetArticlesFavoritesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticlesFavoritesRequest.Merge(m, src) } func (m *GetArticlesFavoritesRequest) XXX_Size() int { return xxx_messageInfo_GetArticlesFavoritesRequest.Size(m) } func (m *GetArticlesFavoritesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticlesFavoritesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticlesFavoritesRequest proto.InternalMessageInfo func (m *GetArticlesFavoritesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetArticlesFavoritesRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetArticlesFavoritesRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } type GetPaidArticlesRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetPaidArticlesRequest) Reset() { *m = GetPaidArticlesRequest{} } func (m *GetPaidArticlesRequest) String() string { return proto.CompactTextString(m) } func (*GetPaidArticlesRequest) ProtoMessage() {} func (*GetPaidArticlesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{25} } func (m *GetPaidArticlesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPaidArticlesRequest.Unmarshal(m, b) } func (m *GetPaidArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetPaidArticlesRequest.Marshal(b, m, deterministic) } func (m *GetPaidArticlesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetPaidArticlesRequest.Merge(m, src) } func (m *GetPaidArticlesRequest) XXX_Size() int { return xxx_messageInfo_GetPaidArticlesRequest.Size(m) } func (m *GetPaidArticlesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetPaidArticlesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetPaidArticlesRequest proto.InternalMessageInfo func (m *GetPaidArticlesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetPaidArticlesRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetPaidArticlesRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } type GetPublishArticlesRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` CurrentUserId int32 `protobuf:"varint,4,opt,name=currentUserId,proto3" json:"currentUserId,omitempty"` Terminal int32 `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetPublishArticlesRequest) Reset() { *m = GetPublishArticlesRequest{} } func (m *GetPublishArticlesRequest) String() string { return proto.CompactTextString(m) } func (*GetPublishArticlesRequest) ProtoMessage() {} func (*GetPublishArticlesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{26} } func (m *GetPublishArticlesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPublishArticlesRequest.Unmarshal(m, b) } func (m *GetPublishArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetPublishArticlesRequest.Marshal(b, m, deterministic) } func (m *GetPublishArticlesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetPublishArticlesRequest.Merge(m, src) } func (m *GetPublishArticlesRequest) XXX_Size() int { return xxx_messageInfo_GetPublishArticlesRequest.Size(m) } func (m *GetPublishArticlesRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetPublishArticlesRequest.DiscardUnknown(m) } var xxx_messageInfo_GetPublishArticlesRequest proto.InternalMessageInfo func (m *GetPublishArticlesRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *GetPublishArticlesRequest) GetPageIndex() int32 { if m != nil { return m.PageIndex } return 0 } func (m *GetPublishArticlesRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *GetPublishArticlesRequest) GetCurrentUserId() int32 { if m != nil { return m.CurrentUserId } return 0 } func (m *GetPublishArticlesRequest) GetTerminal() int32 { if m != nil { return m.Terminal } return 0 } type PublishMedicalFieldArticleRequest struct { ProviderId int32 `protobuf:"varint,1,opt,name=providerId,proto3" json:"providerId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` PreviewUrl string `protobuf:"bytes,4,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"` QrCode1Url string `protobuf:"bytes,5,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"` QrCode2Url string `protobuf:"bytes,6,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"` QrCode1Remark string `protobuf:"bytes,7,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"` QrCode2Remark string `protobuf:"bytes,8,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PublishMedicalFieldArticleRequest) Reset() { *m = PublishMedicalFieldArticleRequest{} } func (m *PublishMedicalFieldArticleRequest) String() string { return proto.CompactTextString(m) } func (*PublishMedicalFieldArticleRequest) ProtoMessage() {} func (*PublishMedicalFieldArticleRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{27} } func (m *PublishMedicalFieldArticleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishMedicalFieldArticleRequest.Unmarshal(m, b) } func (m *PublishMedicalFieldArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PublishMedicalFieldArticleRequest.Marshal(b, m, deterministic) } func (m *PublishMedicalFieldArticleRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PublishMedicalFieldArticleRequest.Merge(m, src) } func (m *PublishMedicalFieldArticleRequest) XXX_Size() int { return xxx_messageInfo_PublishMedicalFieldArticleRequest.Size(m) } func (m *PublishMedicalFieldArticleRequest) XXX_DiscardUnknown() { xxx_messageInfo_PublishMedicalFieldArticleRequest.DiscardUnknown(m) } var xxx_messageInfo_PublishMedicalFieldArticleRequest proto.InternalMessageInfo func (m *PublishMedicalFieldArticleRequest) GetProviderId() int32 { if m != nil { return m.ProviderId } return 0 } func (m *PublishMedicalFieldArticleRequest) GetTitle() string { if m != nil { return m.Title } return "" } func (m *PublishMedicalFieldArticleRequest) GetContent() string { if m != nil { return m.Content } return "" } func (m *PublishMedicalFieldArticleRequest) GetPreviewUrl() string { if m != nil { return m.PreviewUrl } return "" } func (m *PublishMedicalFieldArticleRequest) GetQrCode1Url() string { if m != nil { return m.QrCode1Url } return "" } func (m *PublishMedicalFieldArticleRequest) GetQrCode2Url() string { if m != nil { return m.QrCode2Url } return "" } func (m *PublishMedicalFieldArticleRequest) GetQrCode1Remark() string { if m != nil { return m.QrCode1Remark } return "" } func (m *PublishMedicalFieldArticleRequest) GetQrCode2Remark() string { if m != nil { return m.QrCode2Remark } return "" } type PublishMedicalFieldArticleResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PublishMedicalFieldArticleResponse) Reset() { *m = PublishMedicalFieldArticleResponse{} } func (m *PublishMedicalFieldArticleResponse) String() string { return proto.CompactTextString(m) } func (*PublishMedicalFieldArticleResponse) ProtoMessage() {} func (*PublishMedicalFieldArticleResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{28} } func (m *PublishMedicalFieldArticleResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishMedicalFieldArticleResponse.Unmarshal(m, b) } func (m *PublishMedicalFieldArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PublishMedicalFieldArticleResponse.Marshal(b, m, deterministic) } func (m *PublishMedicalFieldArticleResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_PublishMedicalFieldArticleResponse.Merge(m, src) } func (m *PublishMedicalFieldArticleResponse) XXX_Size() int { return xxx_messageInfo_PublishMedicalFieldArticleResponse.Size(m) } func (m *PublishMedicalFieldArticleResponse) XXX_DiscardUnknown() { xxx_messageInfo_PublishMedicalFieldArticleResponse.DiscardUnknown(m) } var xxx_messageInfo_PublishMedicalFieldArticleResponse proto.InternalMessageInfo func (m *PublishMedicalFieldArticleResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *PublishMedicalFieldArticleResponse) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } type PublishMedicalFieldVideoRequest struct { ProviderId int32 `protobuf:"varint,1,opt,name=providerId,proto3" json:"providerId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` VideoUrl string `protobuf:"bytes,3,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"` PreviewUrl string `protobuf:"bytes,4,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"` SpecialistIntro string `protobuf:"bytes,5,opt,name=specialistIntro,proto3" json:"specialistIntro,omitempty"` ContentIntro string `protobuf:"bytes,6,opt,name=contentIntro,proto3" json:"contentIntro,omitempty"` QrCode1Url string `protobuf:"bytes,7,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"` QrCode2Url string `protobuf:"bytes,8,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"` QrCode1Remark string `protobuf:"bytes,9,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"` QrCode2Remark string `protobuf:"bytes,10,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PublishMedicalFieldVideoRequest) Reset() { *m = PublishMedicalFieldVideoRequest{} } func (m *PublishMedicalFieldVideoRequest) String() string { return proto.CompactTextString(m) } func (*PublishMedicalFieldVideoRequest) ProtoMessage() {} func (*PublishMedicalFieldVideoRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{29} } func (m *PublishMedicalFieldVideoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishMedicalFieldVideoRequest.Unmarshal(m, b) } func (m *PublishMedicalFieldVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PublishMedicalFieldVideoRequest.Marshal(b, m, deterministic) } func (m *PublishMedicalFieldVideoRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PublishMedicalFieldVideoRequest.Merge(m, src) } func (m *PublishMedicalFieldVideoRequest) XXX_Size() int { return xxx_messageInfo_PublishMedicalFieldVideoRequest.Size(m) } func (m *PublishMedicalFieldVideoRequest) XXX_DiscardUnknown() { xxx_messageInfo_PublishMedicalFieldVideoRequest.DiscardUnknown(m) } var xxx_messageInfo_PublishMedicalFieldVideoRequest proto.InternalMessageInfo func (m *PublishMedicalFieldVideoRequest) GetProviderId() int32 { if m != nil { return m.ProviderId } return 0 } func (m *PublishMedicalFieldVideoRequest) GetTitle() string { if m != nil { return m.Title } return "" } func (m *PublishMedicalFieldVideoRequest) GetVideoUrl() string { if m != nil { return m.VideoUrl } return "" } func (m *PublishMedicalFieldVideoRequest) GetPreviewUrl() string { if m != nil { return m.PreviewUrl } return "" } func (m *PublishMedicalFieldVideoRequest) GetSpecialistIntro() string { if m != nil { return m.SpecialistIntro } return "" } func (m *PublishMedicalFieldVideoRequest) GetContentIntro() string { if m != nil { return m.ContentIntro } return "" } func (m *PublishMedicalFieldVideoRequest) GetQrCode1Url() string { if m != nil { return m.QrCode1Url } return "" } func (m *PublishMedicalFieldVideoRequest) GetQrCode2Url() string { if m != nil { return m.QrCode2Url } return "" } func (m *PublishMedicalFieldVideoRequest) GetQrCode1Remark() string { if m != nil { return m.QrCode1Remark } return "" } func (m *PublishMedicalFieldVideoRequest) GetQrCode2Remark() string { if m != nil { return m.QrCode2Remark } return "" } type PublishMedicalFieldVideoResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PublishMedicalFieldVideoResponse) Reset() { *m = PublishMedicalFieldVideoResponse{} } func (m *PublishMedicalFieldVideoResponse) String() string { return proto.CompactTextString(m) } func (*PublishMedicalFieldVideoResponse) ProtoMessage() {} func (*PublishMedicalFieldVideoResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{30} } func (m *PublishMedicalFieldVideoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PublishMedicalFieldVideoResponse.Unmarshal(m, b) } func (m *PublishMedicalFieldVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PublishMedicalFieldVideoResponse.Marshal(b, m, deterministic) } func (m *PublishMedicalFieldVideoResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_PublishMedicalFieldVideoResponse.Merge(m, src) } func (m *PublishMedicalFieldVideoResponse) XXX_Size() int { return xxx_messageInfo_PublishMedicalFieldVideoResponse.Size(m) } func (m *PublishMedicalFieldVideoResponse) XXX_DiscardUnknown() { xxx_messageInfo_PublishMedicalFieldVideoResponse.DiscardUnknown(m) } var xxx_messageInfo_PublishMedicalFieldVideoResponse proto.InternalMessageInfo func (m *PublishMedicalFieldVideoResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *PublishMedicalFieldVideoResponse) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } type EditArticleSettingRequest struct { ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"` Price int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` PushType int32 `protobuf:"varint,3,opt,name=pushType,proto3" json:"pushType,omitempty"` UserId int32 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"` DiagnosisType string `protobuf:"bytes,5,opt,name=diagnosisType,proto3" json:"diagnosisType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *EditArticleSettingRequest) Reset() { *m = EditArticleSettingRequest{} } func (m *EditArticleSettingRequest) String() string { return proto.CompactTextString(m) } func (*EditArticleSettingRequest) ProtoMessage() {} func (*EditArticleSettingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{31} } func (m *EditArticleSettingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EditArticleSettingRequest.Unmarshal(m, b) } func (m *EditArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EditArticleSettingRequest.Marshal(b, m, deterministic) } func (m *EditArticleSettingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_EditArticleSettingRequest.Merge(m, src) } func (m *EditArticleSettingRequest) XXX_Size() int { return xxx_messageInfo_EditArticleSettingRequest.Size(m) } func (m *EditArticleSettingRequest) XXX_DiscardUnknown() { xxx_messageInfo_EditArticleSettingRequest.DiscardUnknown(m) } var xxx_messageInfo_EditArticleSettingRequest proto.InternalMessageInfo func (m *EditArticleSettingRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } func (m *EditArticleSettingRequest) GetPrice() int32 { if m != nil { return m.Price } return 0 } func (m *EditArticleSettingRequest) GetPushType() int32 { if m != nil { return m.PushType } return 0 } func (m *EditArticleSettingRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *EditArticleSettingRequest) GetDiagnosisType() string { if m != nil { return m.DiagnosisType } return "" } type GetArticleSettingRequest struct { ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleSettingRequest) Reset() { *m = GetArticleSettingRequest{} } func (m *GetArticleSettingRequest) String() string { return proto.CompactTextString(m) } func (*GetArticleSettingRequest) ProtoMessage() {} func (*GetArticleSettingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{32} } func (m *GetArticleSettingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleSettingRequest.Unmarshal(m, b) } func (m *GetArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleSettingRequest.Marshal(b, m, deterministic) } func (m *GetArticleSettingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleSettingRequest.Merge(m, src) } func (m *GetArticleSettingRequest) XXX_Size() int { return xxx_messageInfo_GetArticleSettingRequest.Size(m) } func (m *GetArticleSettingRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleSettingRequest.DiscardUnknown(m) } var xxx_messageInfo_GetArticleSettingRequest proto.InternalMessageInfo func (m *GetArticleSettingRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } type GetLastArticleSettingRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetLastArticleSettingRequest) Reset() { *m = GetLastArticleSettingRequest{} } func (m *GetLastArticleSettingRequest) String() string { return proto.CompactTextString(m) } func (*GetLastArticleSettingRequest) ProtoMessage() {} func (*GetLastArticleSettingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{33} } func (m *GetLastArticleSettingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLastArticleSettingRequest.Unmarshal(m, b) } func (m *GetLastArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetLastArticleSettingRequest.Marshal(b, m, deterministic) } func (m *GetLastArticleSettingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetLastArticleSettingRequest.Merge(m, src) } func (m *GetLastArticleSettingRequest) XXX_Size() int { return xxx_messageInfo_GetLastArticleSettingRequest.Size(m) } func (m *GetLastArticleSettingRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetLastArticleSettingRequest.DiscardUnknown(m) } var xxx_messageInfo_GetLastArticleSettingRequest proto.InternalMessageInfo func (m *GetLastArticleSettingRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } type GetArticleSettingResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` PushType int32 `protobuf:"varint,2,opt,name=pushType,proto3" json:"pushType,omitempty"` Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` DiagnosisType string `protobuf:"bytes,4,opt,name=diagnosisType,proto3" json:"diagnosisType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetArticleSettingResponse) Reset() { *m = GetArticleSettingResponse{} } func (m *GetArticleSettingResponse) String() string { return proto.CompactTextString(m) } func (*GetArticleSettingResponse) ProtoMessage() {} func (*GetArticleSettingResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{34} } func (m *GetArticleSettingResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetArticleSettingResponse.Unmarshal(m, b) } func (m *GetArticleSettingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetArticleSettingResponse.Marshal(b, m, deterministic) } func (m *GetArticleSettingResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetArticleSettingResponse.Merge(m, src) } func (m *GetArticleSettingResponse) XXX_Size() int { return xxx_messageInfo_GetArticleSettingResponse.Size(m) } func (m *GetArticleSettingResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetArticleSettingResponse.DiscardUnknown(m) } var xxx_messageInfo_GetArticleSettingResponse proto.InternalMessageInfo func (m *GetArticleSettingResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetArticleSettingResponse) GetPushType() int32 { if m != nil { return m.PushType } return 0 } func (m *GetArticleSettingResponse) GetPrice() int32 { if m != nil { return m.Price } return 0 } func (m *GetArticleSettingResponse) GetDiagnosisType() string { if m != nil { return m.DiagnosisType } return "" } type CreateOrderRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateOrderRequest) Reset() { *m = CreateOrderRequest{} } func (m *CreateOrderRequest) String() string { return proto.CompactTextString(m) } func (*CreateOrderRequest) ProtoMessage() {} func (*CreateOrderRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{35} } func (m *CreateOrderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOrderRequest.Unmarshal(m, b) } func (m *CreateOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateOrderRequest.Marshal(b, m, deterministic) } func (m *CreateOrderRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateOrderRequest.Merge(m, src) } func (m *CreateOrderRequest) XXX_Size() int { return xxx_messageInfo_CreateOrderRequest.Size(m) } func (m *CreateOrderRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateOrderRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateOrderRequest proto.InternalMessageInfo func (m *CreateOrderRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *CreateOrderRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } type CreateOrderResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderNo string `protobuf:"bytes,3,opt,name=orderNo,proto3" json:"orderNo,omitempty"` Amount int32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateOrderResponse) Reset() { *m = CreateOrderResponse{} } func (m *CreateOrderResponse) String() string { return proto.CompactTextString(m) } func (*CreateOrderResponse) ProtoMessage() {} func (*CreateOrderResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{36} } func (m *CreateOrderResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOrderResponse.Unmarshal(m, b) } func (m *CreateOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateOrderResponse.Marshal(b, m, deterministic) } func (m *CreateOrderResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateOrderResponse.Merge(m, src) } func (m *CreateOrderResponse) XXX_Size() int { return xxx_messageInfo_CreateOrderResponse.Size(m) } func (m *CreateOrderResponse) XXX_DiscardUnknown() { xxx_messageInfo_CreateOrderResponse.DiscardUnknown(m) } var xxx_messageInfo_CreateOrderResponse proto.InternalMessageInfo func (m *CreateOrderResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *CreateOrderResponse) GetOrderId() int32 { if m != nil { return m.OrderId } return 0 } func (m *CreateOrderResponse) GetOrderNo() string { if m != nil { return m.OrderNo } return "" } func (m *CreateOrderResponse) GetAmount() int32 { if m != nil { return m.Amount } return 0 } type OrderPaymentCallbackNotifyRequest struct { OrderNo string `protobuf:"bytes,1,opt,name=orderNo,proto3" json:"orderNo,omitempty"` OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"` PayType int32 `protobuf:"varint,3,opt,name=payType,proto3" json:"payType,omitempty"` Custom string `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom,omitempty"` BizId int32 `protobuf:"varint,5,opt,name=bizId,proto3" json:"bizId,omitempty"` PaymentNo string `protobuf:"bytes,6,opt,name=paymentNo,proto3" json:"paymentNo,omitempty"` UserId int32 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"` PrepayId string `protobuf:"bytes,8,opt,name=prepayId,proto3" json:"prepayId,omitempty"` Terminal int32 `protobuf:"varint,9,opt,name=terminal,proto3" json:"terminal,omitempty"` Openid string `protobuf:"bytes,10,opt,name=openid,proto3" json:"openid,omitempty"` PaymentChannel int32 `protobuf:"varint,11,opt,name=paymentChannel,proto3" json:"paymentChannel,omitempty"` OneTimeCustom string `protobuf:"bytes,12,opt,name=oneTimeCustom,proto3" json:"oneTimeCustom,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OrderPaymentCallbackNotifyRequest) Reset() { *m = OrderPaymentCallbackNotifyRequest{} } func (m *OrderPaymentCallbackNotifyRequest) String() string { return proto.CompactTextString(m) } func (*OrderPaymentCallbackNotifyRequest) ProtoMessage() {} func (*OrderPaymentCallbackNotifyRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{37} } func (m *OrderPaymentCallbackNotifyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Unmarshal(m, b) } func (m *OrderPaymentCallbackNotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Marshal(b, m, deterministic) } func (m *OrderPaymentCallbackNotifyRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Merge(m, src) } func (m *OrderPaymentCallbackNotifyRequest) XXX_Size() int { return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Size(m) } func (m *OrderPaymentCallbackNotifyRequest) XXX_DiscardUnknown() { xxx_messageInfo_OrderPaymentCallbackNotifyRequest.DiscardUnknown(m) } var xxx_messageInfo_OrderPaymentCallbackNotifyRequest proto.InternalMessageInfo func (m *OrderPaymentCallbackNotifyRequest) GetOrderNo() string { if m != nil { return m.OrderNo } return "" } func (m *OrderPaymentCallbackNotifyRequest) GetOrderId() int32 { if m != nil { return m.OrderId } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetPayType() int32 { if m != nil { return m.PayType } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetCustom() string { if m != nil { return m.Custom } return "" } func (m *OrderPaymentCallbackNotifyRequest) GetBizId() int32 { if m != nil { return m.BizId } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetPaymentNo() string { if m != nil { return m.PaymentNo } return "" } func (m *OrderPaymentCallbackNotifyRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetPrepayId() string { if m != nil { return m.PrepayId } return "" } func (m *OrderPaymentCallbackNotifyRequest) GetTerminal() int32 { if m != nil { return m.Terminal } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetOpenid() string { if m != nil { return m.Openid } return "" } func (m *OrderPaymentCallbackNotifyRequest) GetPaymentChannel() int32 { if m != nil { return m.PaymentChannel } return 0 } func (m *OrderPaymentCallbackNotifyRequest) GetOneTimeCustom() string { if m != nil { return m.OneTimeCustom } return "" } type OperateLikeRequest struct { ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` IsLike int32 `protobuf:"varint,3,opt,name=isLike,proto3" json:"isLike,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OperateLikeRequest) Reset() { *m = OperateLikeRequest{} } func (m *OperateLikeRequest) String() string { return proto.CompactTextString(m) } func (*OperateLikeRequest) ProtoMessage() {} func (*OperateLikeRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{38} } func (m *OperateLikeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperateLikeRequest.Unmarshal(m, b) } func (m *OperateLikeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OperateLikeRequest.Marshal(b, m, deterministic) } func (m *OperateLikeRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_OperateLikeRequest.Merge(m, src) } func (m *OperateLikeRequest) XXX_Size() int { return xxx_messageInfo_OperateLikeRequest.Size(m) } func (m *OperateLikeRequest) XXX_DiscardUnknown() { xxx_messageInfo_OperateLikeRequest.DiscardUnknown(m) } var xxx_messageInfo_OperateLikeRequest proto.InternalMessageInfo func (m *OperateLikeRequest) GetArtId() int32 { if m != nil { return m.ArtId } return 0 } func (m *OperateLikeRequest) GetUserId() int32 { if m != nil { return m.UserId } return 0 } func (m *OperateLikeRequest) GetIsLike() int32 { if m != nil { return m.IsLike } return 0 } type GetLikedUsersRequest struct { ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetLikedUsersRequest) Reset() { *m = GetLikedUsersRequest{} } func (m *GetLikedUsersRequest) String() string { return proto.CompactTextString(m) } func (*GetLikedUsersRequest) ProtoMessage() {} func (*GetLikedUsersRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{39} } func (m *GetLikedUsersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLikedUsersRequest.Unmarshal(m, b) } func (m *GetLikedUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetLikedUsersRequest.Marshal(b, m, deterministic) } func (m *GetLikedUsersRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetLikedUsersRequest.Merge(m, src) } func (m *GetLikedUsersRequest) XXX_Size() int { return xxx_messageInfo_GetLikedUsersRequest.Size(m) } func (m *GetLikedUsersRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetLikedUsersRequest.DiscardUnknown(m) } var xxx_messageInfo_GetLikedUsersRequest proto.InternalMessageInfo func (m *GetLikedUsersRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } type LikedUserInfo struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` IsVirtual int32 `protobuf:"varint,4,opt,name=isVirtual,proto3" json:"isVirtual,omitempty"` UserType int32 `protobuf:"varint,5,opt,name=userType,proto3" json:"userType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LikedUserInfo) Reset() { *m = LikedUserInfo{} } func (m *LikedUserInfo) String() string { return proto.CompactTextString(m) } func (*LikedUserInfo) ProtoMessage() {} func (*LikedUserInfo) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{40} } func (m *LikedUserInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LikedUserInfo.Unmarshal(m, b) } func (m *LikedUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LikedUserInfo.Marshal(b, m, deterministic) } func (m *LikedUserInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_LikedUserInfo.Merge(m, src) } func (m *LikedUserInfo) XXX_Size() int { return xxx_messageInfo_LikedUserInfo.Size(m) } func (m *LikedUserInfo) XXX_DiscardUnknown() { xxx_messageInfo_LikedUserInfo.DiscardUnknown(m) } var xxx_messageInfo_LikedUserInfo proto.InternalMessageInfo func (m *LikedUserInfo) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *LikedUserInfo) GetName() string { if m != nil { return m.Name } return "" } func (m *LikedUserInfo) GetAvatar() string { if m != nil { return m.Avatar } return "" } func (m *LikedUserInfo) GetIsVirtual() int32 { if m != nil { return m.IsVirtual } return 0 } func (m *LikedUserInfo) GetUserType() int32 { if m != nil { return m.UserType } return 0 } type GetLikedUsersResponse struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` LikedUsers []*LikedUserInfo `protobuf:"bytes,2,rep,name=likedUsers,proto3" json:"likedUsers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetLikedUsersResponse) Reset() { *m = GetLikedUsersResponse{} } func (m *GetLikedUsersResponse) String() string { return proto.CompactTextString(m) } func (*GetLikedUsersResponse) ProtoMessage() {} func (*GetLikedUsersResponse) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{41} } func (m *GetLikedUsersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetLikedUsersResponse.Unmarshal(m, b) } func (m *GetLikedUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetLikedUsersResponse.Marshal(b, m, deterministic) } func (m *GetLikedUsersResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_GetLikedUsersResponse.Merge(m, src) } func (m *GetLikedUsersResponse) XXX_Size() int { return xxx_messageInfo_GetLikedUsersResponse.Size(m) } func (m *GetLikedUsersResponse) XXX_DiscardUnknown() { xxx_messageInfo_GetLikedUsersResponse.DiscardUnknown(m) } var xxx_messageInfo_GetLikedUsersResponse proto.InternalMessageInfo func (m *GetLikedUsersResponse) GetResult() *Result { if m != nil { return m.Result } return nil } func (m *GetLikedUsersResponse) GetLikedUsers() []*LikedUserInfo { if m != nil { return m.LikedUsers } return nil } type ConvertVideoCallbackRequest struct { NewVideoUrl string `protobuf:"bytes,1,opt,name=newVideoUrl,proto3" json:"newVideoUrl,omitempty"` ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ConvertVideoCallbackRequest) Reset() { *m = ConvertVideoCallbackRequest{} } func (m *ConvertVideoCallbackRequest) String() string { return proto.CompactTextString(m) } func (*ConvertVideoCallbackRequest) ProtoMessage() {} func (*ConvertVideoCallbackRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5c593d380f9840a2, []int{42} } func (m *ConvertVideoCallbackRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConvertVideoCallbackRequest.Unmarshal(m, b) } func (m *ConvertVideoCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConvertVideoCallbackRequest.Marshal(b, m, deterministic) } func (m *ConvertVideoCallbackRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ConvertVideoCallbackRequest.Merge(m, src) } func (m *ConvertVideoCallbackRequest) XXX_Size() int { return xxx_messageInfo_ConvertVideoCallbackRequest.Size(m) } func (m *ConvertVideoCallbackRequest) XXX_DiscardUnknown() { xxx_messageInfo_ConvertVideoCallbackRequest.DiscardUnknown(m) } var xxx_messageInfo_ConvertVideoCallbackRequest proto.InternalMessageInfo func (m *ConvertVideoCallbackRequest) GetNewVideoUrl() string { if m != nil { return m.NewVideoUrl } return "" } func (m *ConvertVideoCallbackRequest) GetArticleId() int32 { if m != nil { return m.ArticleId } return 0 } func (m *ConvertVideoCallbackRequest) GetStatus() int32 { if m != nil { return m.Status } return 0 } func (m *ConvertVideoCallbackRequest) GetRemark() string { if m != nil { return m.Remark } return "" } func init() { proto.RegisterType((*Article)(nil), "com.ywt.gapi.user.Article") proto.RegisterType((*ArticleClassification)(nil), "com.ywt.gapi.user.ArticleClassification") proto.RegisterType((*GetClassifiedArticlesRequest)(nil), "com.ywt.gapi.user.GetClassifiedArticlesRequest") proto.RegisterType((*GetClassifiedArticlesResponse)(nil), "com.ywt.gapi.user.GetClassifiedArticlesResponse") proto.RegisterType((*GetArticlesRequest)(nil), "com.ywt.gapi.user.GetArticlesRequest") proto.RegisterType((*GetArticlesResponse)(nil), "com.ywt.gapi.user.GetArticlesResponse") proto.RegisterType((*GetArticleByIdRequest)(nil), "com.ywt.gapi.user.GetArticleByIdRequest") proto.RegisterType((*GetArticleByIdResponse)(nil), "com.ywt.gapi.user.GetArticleByIdResponse") proto.RegisterType((*GetDisplayArticleListRequest)(nil), "com.ywt.gapi.user.GetDisplayArticleListRequest") proto.RegisterType((*GetDisplayArticleListResponse)(nil), "com.ywt.gapi.user.GetDisplayArticleListResponse") proto.RegisterType((*GetArticleRequest)(nil), "com.ywt.gapi.user.GetArticleRequest") proto.RegisterType((*GetArticleResponse)(nil), "com.ywt.gapi.user.GetArticleResponse") proto.RegisterType((*GetPdfInfoRequest)(nil), "com.ywt.gapi.user.GetPdfInfoRequest") proto.RegisterType((*GetPdfInfoResponse)(nil), "com.ywt.gapi.user.GetPdfInfoResponse") proto.RegisterType((*GetArticlesPagedListRequest)(nil), "com.ywt.gapi.user.GetArticlesPagedListRequest") proto.RegisterType((*ArticleItem)(nil), "com.ywt.gapi.user.ArticleItem") proto.RegisterType((*GetArticlesPagedListResponse)(nil), "com.ywt.gapi.user.GetArticlesPagedListResponse") proto.RegisterType((*GetArticleDetailRequest)(nil), "com.ywt.gapi.user.GetArticleDetailRequest") proto.RegisterType((*ArticleComment)(nil), "com.ywt.gapi.user.ArticleComment") proto.RegisterType((*GetCommentsRequest)(nil), "com.ywt.gapi.user.GetCommentsRequest") proto.RegisterType((*GetCommentsResponse)(nil), "com.ywt.gapi.user.GetCommentsResponse") proto.RegisterType((*AddCommentRequest)(nil), "com.ywt.gapi.user.AddCommentRequest") proto.RegisterType((*GetArticleDetailResponse)(nil), "com.ywt.gapi.user.GetArticleDetailResponse") proto.RegisterType((*OperateFavoritesRequest)(nil), "com.ywt.gapi.user.OperateFavoritesRequest") proto.RegisterType((*GetArticlesFavoritesRequest)(nil), "com.ywt.gapi.user.GetArticlesFavoritesRequest") proto.RegisterType((*GetPaidArticlesRequest)(nil), "com.ywt.gapi.user.GetPaidArticlesRequest") proto.RegisterType((*GetPublishArticlesRequest)(nil), "com.ywt.gapi.user.GetPublishArticlesRequest") proto.RegisterType((*PublishMedicalFieldArticleRequest)(nil), "com.ywt.gapi.user.PublishMedicalFieldArticleRequest") proto.RegisterType((*PublishMedicalFieldArticleResponse)(nil), "com.ywt.gapi.user.PublishMedicalFieldArticleResponse") proto.RegisterType((*PublishMedicalFieldVideoRequest)(nil), "com.ywt.gapi.user.PublishMedicalFieldVideoRequest") proto.RegisterType((*PublishMedicalFieldVideoResponse)(nil), "com.ywt.gapi.user.PublishMedicalFieldVideoResponse") proto.RegisterType((*EditArticleSettingRequest)(nil), "com.ywt.gapi.user.EditArticleSettingRequest") proto.RegisterType((*GetArticleSettingRequest)(nil), "com.ywt.gapi.user.GetArticleSettingRequest") proto.RegisterType((*GetLastArticleSettingRequest)(nil), "com.ywt.gapi.user.GetLastArticleSettingRequest") proto.RegisterType((*GetArticleSettingResponse)(nil), "com.ywt.gapi.user.GetArticleSettingResponse") proto.RegisterType((*CreateOrderRequest)(nil), "com.ywt.gapi.user.CreateOrderRequest") proto.RegisterType((*CreateOrderResponse)(nil), "com.ywt.gapi.user.CreateOrderResponse") proto.RegisterType((*OrderPaymentCallbackNotifyRequest)(nil), "com.ywt.gapi.user.OrderPaymentCallbackNotifyRequest") proto.RegisterType((*OperateLikeRequest)(nil), "com.ywt.gapi.user.OperateLikeRequest") proto.RegisterType((*GetLikedUsersRequest)(nil), "com.ywt.gapi.user.GetLikedUsersRequest") proto.RegisterType((*LikedUserInfo)(nil), "com.ywt.gapi.user.LikedUserInfo") proto.RegisterType((*GetLikedUsersResponse)(nil), "com.ywt.gapi.user.GetLikedUsersResponse") proto.RegisterType((*ConvertVideoCallbackRequest)(nil), "com.ywt.gapi.user.ConvertVideoCallbackRequest") } func init() { proto.RegisterFile("article.proto", fileDescriptor_5c593d380f9840a2) } var fileDescriptor_5c593d380f9840a2 = []byte{ // 2439 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcb, 0x6f, 0x1c, 0x49, 0x19, 0x57, 0xcf, 0xc3, 0xf6, 0x7c, 0x93, 0x38, 0x4e, 0xc5, 0x71, 0x3a, 0x93, 0x90, 0x75, 0x5a, 0x9b, 0xc5, 0xec, 0x46, 0x0e, 0x78, 0x03, 0x5a, 0x09, 0x21, 0xb1, 0xeb, 0xb0, 0xcb, 0xa0, 0x90, 0x35, 0x93, 0x87, 0x20, 0x5a, 0x09, 0x95, 0xa7, 0xcb, 0xe3, 0x5a, 0xf7, 0x74, 0x77, 0xba, 0x6b, 0xec, 0x75, 0xe0, 0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0xab, 0xf4, 0x65, 0xc1, 0x96, 0xfd, 0x2a, 0x2f, 0xff, 0x3f, 0x04, 0x44, 0x2a, 0x2d, 0x68, 0xad, 0xc7, 0x58, 0x3b, 0x55, 0xcb, 0xd5, 0x43, 0x91, 0xbb, 0x4b, 0x1b, 0x4f, 0x8f, 0x0a, 0xa5, 0x7d, 0xef, 0xce, 0x37, 0x59, 0x49, 0x72, 0x2a, 0x72, 0x50, 0xb5, 0xcf, 0xb4, 0x45, 0x69, 0x6b, 0x47, 0xba, 0xe0, 0xb9, 0x9f, 0x40, 0x77, 0x58, 0xb4, 0x6d, 0xb5, 0xf6, 0xa9, 0xf6, 0x88, 0xb5, 0xf6, 0xa9, 0xeb, 0xfe, 0x8e, 0xa1, 0x17, 0x59, 0x5b, 0xb0, 0x5a, 0x6c, 0xcd, 0xec, 0xd8, 0x2c, 0xf6, 0xfa, 0x01, 0x20, 0x33, 0x06, 0x8b, 0x97, 0xed, 0x3b, 0xf6, 0xf8, 0xab, 0xb5, 0x27, 0x96, 0x2d, 0x0f, 0xe1, 0xe2, 0x48, 0xaf, 0xd7, 0xd1, 0x97, 0x2d, 0xa6, 0x28, 0x37, 0x24, 0xbd, 0x9d, 0xd9, 0x13, 0x73, 0xf5, 0x6f, 0x0e, 0x6b, 0x2a, 0xf1, 0xda, 0xd0, 0x3e, 0xa5, 0x64, 0xaf, 0x97, 0xe0, 0x83, 0x37, 0xa0, 0xfa, 0xf7, 0xc4, 0x03, 0xe7, 0x79, 0xfb, 0x1e, 0xa7, 0x7e, 0xed, 0x38, 0x87, 0x2b, 0xe2, 0x5f, 0x8a, 0xef, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x52, 0x88, 0xd4, 0x76, 0xd5, 0x28, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // ArticleServiceClient is the client API for ArticleService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ArticleServiceClient interface { //得到用户资讯列表 created by daiyihua GetArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) //根据资讯ID得到资讯内容 created by daiyihua GetArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) //得到药商推送给医生的资讯列表 created by daiyihua GetDoctorArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) //根据资讯ID得到资讯内容 created by daiyihua GetDoctorArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) //获取医生显示的文章列表 GetDisplayArticleList(ctx context.Context, in *GetDisplayArticleListRequest, opts ...grpc.CallOption) (*GetDisplayArticleListResponse, error) //获取资讯详情,并记录浏览相关信息 GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error) //获取快讯分类列表 GetClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) //获取快讯pdf GetPdfInfo(ctx context.Context, in *GetPdfInfoRequest, opts ...grpc.CallOption) (*GetPdfInfoResponse, error) //获取药商推送给医生的快讯分类列表 GetDoctorClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) //获取医学界文章分页列表 GetArticlesPagedList(ctx context.Context, in *GetArticlesPagedListRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) //获取医学界文章详情 GetArticleDetail(ctx context.Context, in *GetArticleDetailRequest, opts ...grpc.CallOption) (*GetArticleDetailResponse, error) //处理收藏/取消收藏文章 OperateArticleFavorite(ctx context.Context, in *OperateFavoritesRequest, opts ...grpc.CallOption) (*Result, error) //获取收藏列表 GetArticlesFavoritesList(ctx context.Context, in *GetArticlesFavoritesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) //获取已购列表 GetPaidArticles(ctx context.Context, in *GetPaidArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) //获取发表列表 GetPublishArticles(ctx context.Context, in *GetPublishArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) //发表医学界文章 PublishMedicalFieldArticle(ctx context.Context, in *PublishMedicalFieldArticleRequest, opts ...grpc.CallOption) (*PublishMedicalFieldArticleResponse, error) //发表医学界视频 PublishMedicalFieldVideo(ctx context.Context, in *PublishMedicalFieldVideoRequest, opts ...grpc.CallOption) (*PublishMedicalFieldVideoResponse, error) //添加评论 AddComment(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*Result, error) //获取评论列表 GetCommentList(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error) //修改文章设置 EditArticleSetting(ctx context.Context, in *EditArticleSettingRequest, opts ...grpc.CallOption) (*Result, error) //获取文章设置 GetArticleSetting(ctx context.Context, in *GetArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) //获取上一次的文章设置 GetLastArticleSetting(ctx context.Context, in *GetLastArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) //创建订单 CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error) //订单支付回调 OrderPaymentCallbackNotify(ctx context.Context, in *OrderPaymentCallbackNotifyRequest, opts ...grpc.CallOption) (*Result, error) //文章点赞操作 OperateArticleLike(ctx context.Context, in *OperateLikeRequest, opts ...grpc.CallOption) (*Result, error) //获取点赞列表 GetLikedUsers(ctx context.Context, in *GetLikedUsersRequest, opts ...grpc.CallOption) (*GetLikedUsersResponse, error) //视频转换后的回调方法 ConvertVideoCallback(ctx context.Context, in *ConvertVideoCallbackRequest, opts ...grpc.CallOption) (*Result, error) } type articleServiceClient struct { cc *grpc.ClientConn } func NewArticleServiceClient(cc *grpc.ClientConn) ArticleServiceClient { return &articleServiceClient{cc} } func (c *articleServiceClient) GetArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) { out := new(GetArticlesResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) { out := new(GetArticleByIdResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleById", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetDoctorArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) { out := new(GetArticlesResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetDoctorArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) { out := new(GetArticleByIdResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorArticleById", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetDisplayArticleList(ctx context.Context, in *GetDisplayArticleListRequest, opts ...grpc.CallOption) (*GetDisplayArticleListResponse, error) { out := new(GetDisplayArticleListResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDisplayArticleList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error) { out := new(GetArticleResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticle", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) { out := new(GetClassifiedArticlesResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getClassifiedArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetPdfInfo(ctx context.Context, in *GetPdfInfoRequest, opts ...grpc.CallOption) (*GetPdfInfoResponse, error) { out := new(GetPdfInfoResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPdfInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetDoctorClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) { out := new(GetClassifiedArticlesResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorClassifiedArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticlesPagedList(ctx context.Context, in *GetArticlesPagedListRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) { out := new(GetArticlesPagedListResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticlesPagedList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticleDetail(ctx context.Context, in *GetArticleDetailRequest, opts ...grpc.CallOption) (*GetArticleDetailResponse, error) { out := new(GetArticleDetailResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleDetail", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) OperateArticleFavorite(ctx context.Context, in *OperateFavoritesRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/operateArticleFavorite", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticlesFavoritesList(ctx context.Context, in *GetArticlesFavoritesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) { out := new(GetArticlesPagedListResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticlesFavoritesList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetPaidArticles(ctx context.Context, in *GetPaidArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) { out := new(GetArticlesPagedListResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPaidArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetPublishArticles(ctx context.Context, in *GetPublishArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) { out := new(GetArticlesPagedListResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPublishArticles", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) PublishMedicalFieldArticle(ctx context.Context, in *PublishMedicalFieldArticleRequest, opts ...grpc.CallOption) (*PublishMedicalFieldArticleResponse, error) { out := new(PublishMedicalFieldArticleResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/publishMedicalFieldArticle", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) PublishMedicalFieldVideo(ctx context.Context, in *PublishMedicalFieldVideoRequest, opts ...grpc.CallOption) (*PublishMedicalFieldVideoResponse, error) { out := new(PublishMedicalFieldVideoResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/publishMedicalFieldVideo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) AddComment(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/addComment", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetCommentList(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error) { out := new(GetCommentsResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getCommentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) EditArticleSetting(ctx context.Context, in *EditArticleSettingRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/editArticleSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetArticleSetting(ctx context.Context, in *GetArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) { out := new(GetArticleSettingResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetLastArticleSetting(ctx context.Context, in *GetLastArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) { out := new(GetArticleSettingResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getLastArticleSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error) { out := new(CreateOrderResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/createOrder", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) OrderPaymentCallbackNotify(ctx context.Context, in *OrderPaymentCallbackNotifyRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/orderPaymentCallbackNotify", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) OperateArticleLike(ctx context.Context, in *OperateLikeRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/operateArticleLike", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) GetLikedUsers(ctx context.Context, in *GetLikedUsersRequest, opts ...grpc.CallOption) (*GetLikedUsersResponse, error) { out := new(GetLikedUsersResponse) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getLikedUsers", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *articleServiceClient) ConvertVideoCallback(ctx context.Context, in *ConvertVideoCallbackRequest, opts ...grpc.CallOption) (*Result, error) { out := new(Result) err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/convertVideoCallback", in, out, opts...) if err != nil { return nil, err } return out, nil } // ArticleServiceServer is the server API for ArticleService service. type ArticleServiceServer interface { //得到用户资讯列表 created by daiyihua GetArticles(context.Context, *GetArticlesRequest) (*GetArticlesResponse, error) //根据资讯ID得到资讯内容 created by daiyihua GetArticleById(context.Context, *GetArticleByIdRequest) (*GetArticleByIdResponse, error) //得到药商推送给医生的资讯列表 created by daiyihua GetDoctorArticles(context.Context, *GetArticlesRequest) (*GetArticlesResponse, error) //根据资讯ID得到资讯内容 created by daiyihua GetDoctorArticleById(context.Context, *GetArticleByIdRequest) (*GetArticleByIdResponse, error) //获取医生显示的文章列表 GetDisplayArticleList(context.Context, *GetDisplayArticleListRequest) (*GetDisplayArticleListResponse, error) //获取资讯详情,并记录浏览相关信息 GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error) //获取快讯分类列表 GetClassifiedArticles(context.Context, *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) //获取快讯pdf GetPdfInfo(context.Context, *GetPdfInfoRequest) (*GetPdfInfoResponse, error) //获取药商推送给医生的快讯分类列表 GetDoctorClassifiedArticles(context.Context, *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) //获取医学界文章分页列表 GetArticlesPagedList(context.Context, *GetArticlesPagedListRequest) (*GetArticlesPagedListResponse, error) //获取医学界文章详情 GetArticleDetail(context.Context, *GetArticleDetailRequest) (*GetArticleDetailResponse, error) //处理收藏/取消收藏文章 OperateArticleFavorite(context.Context, *OperateFavoritesRequest) (*Result, error) //获取收藏列表 GetArticlesFavoritesList(context.Context, *GetArticlesFavoritesRequest) (*GetArticlesPagedListResponse, error) //获取已购列表 GetPaidArticles(context.Context, *GetPaidArticlesRequest) (*GetArticlesPagedListResponse, error) //获取发表列表 GetPublishArticles(context.Context, *GetPublishArticlesRequest) (*GetArticlesPagedListResponse, error) //发表医学界文章 PublishMedicalFieldArticle(context.Context, *PublishMedicalFieldArticleRequest) (*PublishMedicalFieldArticleResponse, error) //发表医学界视频 PublishMedicalFieldVideo(context.Context, *PublishMedicalFieldVideoRequest) (*PublishMedicalFieldVideoResponse, error) //添加评论 AddComment(context.Context, *AddCommentRequest) (*Result, error) //获取评论列表 GetCommentList(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error) //修改文章设置 EditArticleSetting(context.Context, *EditArticleSettingRequest) (*Result, error) //获取文章设置 GetArticleSetting(context.Context, *GetArticleSettingRequest) (*GetArticleSettingResponse, error) //获取上一次的文章设置 GetLastArticleSetting(context.Context, *GetLastArticleSettingRequest) (*GetArticleSettingResponse, error) //创建订单 CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderResponse, error) //订单支付回调 OrderPaymentCallbackNotify(context.Context, *OrderPaymentCallbackNotifyRequest) (*Result, error) //文章点赞操作 OperateArticleLike(context.Context, *OperateLikeRequest) (*Result, error) //获取点赞列表 GetLikedUsers(context.Context, *GetLikedUsersRequest) (*GetLikedUsersResponse, error) //视频转换后的回调方法 ConvertVideoCallback(context.Context, *ConvertVideoCallbackRequest) (*Result, error) } // UnimplementedArticleServiceServer can be embedded to have forward compatible implementations. type UnimplementedArticleServiceServer struct { } func (*UnimplementedArticleServiceServer) GetArticles(ctx context.Context, req *GetArticlesRequest) (*GetArticlesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticles not implemented") } func (*UnimplementedArticleServiceServer) GetArticleById(ctx context.Context, req *GetArticleByIdRequest) (*GetArticleByIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticleById not implemented") } func (*UnimplementedArticleServiceServer) GetDoctorArticles(ctx context.Context, req *GetArticlesRequest) (*GetArticlesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDoctorArticles not implemented") } func (*UnimplementedArticleServiceServer) GetDoctorArticleById(ctx context.Context, req *GetArticleByIdRequest) (*GetArticleByIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDoctorArticleById not implemented") } func (*UnimplementedArticleServiceServer) GetDisplayArticleList(ctx context.Context, req *GetDisplayArticleListRequest) (*GetDisplayArticleListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDisplayArticleList not implemented") } func (*UnimplementedArticleServiceServer) GetArticle(ctx context.Context, req *GetArticleRequest) (*GetArticleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticle not implemented") } func (*UnimplementedArticleServiceServer) GetClassifiedArticles(ctx context.Context, req *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetClassifiedArticles not implemented") } func (*UnimplementedArticleServiceServer) GetPdfInfo(ctx context.Context, req *GetPdfInfoRequest) (*GetPdfInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPdfInfo not implemented") } func (*UnimplementedArticleServiceServer) GetDoctorClassifiedArticles(ctx context.Context, req *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDoctorClassifiedArticles not implemented") } func (*UnimplementedArticleServiceServer) GetArticlesPagedList(ctx context.Context, req *GetArticlesPagedListRequest) (*GetArticlesPagedListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticlesPagedList not implemented") } func (*UnimplementedArticleServiceServer) GetArticleDetail(ctx context.Context, req *GetArticleDetailRequest) (*GetArticleDetailResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticleDetail not implemented") } func (*UnimplementedArticleServiceServer) OperateArticleFavorite(ctx context.Context, req *OperateFavoritesRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method OperateArticleFavorite not implemented") } func (*UnimplementedArticleServiceServer) GetArticlesFavoritesList(ctx context.Context, req *GetArticlesFavoritesRequest) (*GetArticlesPagedListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticlesFavoritesList not implemented") } func (*UnimplementedArticleServiceServer) GetPaidArticles(ctx context.Context, req *GetPaidArticlesRequest) (*GetArticlesPagedListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPaidArticles not implemented") } func (*UnimplementedArticleServiceServer) GetPublishArticles(ctx context.Context, req *GetPublishArticlesRequest) (*GetArticlesPagedListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPublishArticles not implemented") } func (*UnimplementedArticleServiceServer) PublishMedicalFieldArticle(ctx context.Context, req *PublishMedicalFieldArticleRequest) (*PublishMedicalFieldArticleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PublishMedicalFieldArticle not implemented") } func (*UnimplementedArticleServiceServer) PublishMedicalFieldVideo(ctx context.Context, req *PublishMedicalFieldVideoRequest) (*PublishMedicalFieldVideoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PublishMedicalFieldVideo not implemented") } func (*UnimplementedArticleServiceServer) AddComment(ctx context.Context, req *AddCommentRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method AddComment not implemented") } func (*UnimplementedArticleServiceServer) GetCommentList(ctx context.Context, req *GetCommentsRequest) (*GetCommentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCommentList not implemented") } func (*UnimplementedArticleServiceServer) EditArticleSetting(ctx context.Context, req *EditArticleSettingRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method EditArticleSetting not implemented") } func (*UnimplementedArticleServiceServer) GetArticleSetting(ctx context.Context, req *GetArticleSettingRequest) (*GetArticleSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArticleSetting not implemented") } func (*UnimplementedArticleServiceServer) GetLastArticleSetting(ctx context.Context, req *GetLastArticleSettingRequest) (*GetArticleSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLastArticleSetting not implemented") } func (*UnimplementedArticleServiceServer) CreateOrder(ctx context.Context, req *CreateOrderRequest) (*CreateOrderResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateOrder not implemented") } func (*UnimplementedArticleServiceServer) OrderPaymentCallbackNotify(ctx context.Context, req *OrderPaymentCallbackNotifyRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method OrderPaymentCallbackNotify not implemented") } func (*UnimplementedArticleServiceServer) OperateArticleLike(ctx context.Context, req *OperateLikeRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method OperateArticleLike not implemented") } func (*UnimplementedArticleServiceServer) GetLikedUsers(ctx context.Context, req *GetLikedUsersRequest) (*GetLikedUsersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLikedUsers not implemented") } func (*UnimplementedArticleServiceServer) ConvertVideoCallback(ctx context.Context, req *ConvertVideoCallbackRequest) (*Result, error) { return nil, status.Errorf(codes.Unimplemented, "method ConvertVideoCallback not implemented") } func RegisterArticleServiceServer(s *grpc.Server, srv ArticleServiceServer) { s.RegisterService(&_ArticleService_serviceDesc, srv) } func _ArticleService_GetArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticles(ctx, req.(*GetArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticleById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticleByIdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticleById(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleById", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticleById(ctx, req.(*GetArticleByIdRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetDoctorArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetDoctorArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetDoctorArticles(ctx, req.(*GetArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetDoctorArticleById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticleByIdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetDoctorArticleById(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorArticleById", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetDoctorArticleById(ctx, req.(*GetArticleByIdRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetDisplayArticleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetDisplayArticleListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetDisplayArticleList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetDisplayArticleList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetDisplayArticleList(ctx, req.(*GetDisplayArticleListRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticleRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticle(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticle(ctx, req.(*GetArticleRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetClassifiedArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetClassifiedArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetClassifiedArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetClassifiedArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetClassifiedArticles(ctx, req.(*GetClassifiedArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetPdfInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetPdfInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetPdfInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetPdfInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetPdfInfo(ctx, req.(*GetPdfInfoRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetDoctorClassifiedArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetClassifiedArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetDoctorClassifiedArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorClassifiedArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetDoctorClassifiedArticles(ctx, req.(*GetClassifiedArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticlesPagedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticlesPagedListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticlesPagedList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticlesPagedList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticlesPagedList(ctx, req.(*GetArticlesPagedListRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticleDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticleDetailRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticleDetail(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleDetail", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticleDetail(ctx, req.(*GetArticleDetailRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_OperateArticleFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OperateFavoritesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).OperateArticleFavorite(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/OperateArticleFavorite", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).OperateArticleFavorite(ctx, req.(*OperateFavoritesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticlesFavoritesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticlesFavoritesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticlesFavoritesList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticlesFavoritesList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticlesFavoritesList(ctx, req.(*GetArticlesFavoritesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetPaidArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetPaidArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetPaidArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetPaidArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetPaidArticles(ctx, req.(*GetPaidArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetPublishArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetPublishArticlesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetPublishArticles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetPublishArticles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetPublishArticles(ctx, req.(*GetPublishArticlesRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_PublishMedicalFieldArticle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PublishMedicalFieldArticleRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).PublishMedicalFieldArticle(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/PublishMedicalFieldArticle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).PublishMedicalFieldArticle(ctx, req.(*PublishMedicalFieldArticleRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_PublishMedicalFieldVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PublishMedicalFieldVideoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).PublishMedicalFieldVideo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/PublishMedicalFieldVideo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).PublishMedicalFieldVideo(ctx, req.(*PublishMedicalFieldVideoRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_AddComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddCommentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).AddComment(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/AddComment", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).AddComment(ctx, req.(*AddCommentRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetCommentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetCommentsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetCommentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetCommentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetCommentList(ctx, req.(*GetCommentsRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_EditArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EditArticleSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).EditArticleSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/EditArticleSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).EditArticleSetting(ctx, req.(*EditArticleSettingRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArticleSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetArticleSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetArticleSetting(ctx, req.(*GetArticleSettingRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetLastArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetLastArticleSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetLastArticleSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetLastArticleSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetLastArticleSetting(ctx, req.(*GetLastArticleSettingRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_CreateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateOrderRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).CreateOrder(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/CreateOrder", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).CreateOrder(ctx, req.(*CreateOrderRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_OrderPaymentCallbackNotify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OrderPaymentCallbackNotifyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).OrderPaymentCallbackNotify(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/OrderPaymentCallbackNotify", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).OrderPaymentCallbackNotify(ctx, req.(*OrderPaymentCallbackNotifyRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_OperateArticleLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OperateLikeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).OperateArticleLike(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/OperateArticleLike", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).OperateArticleLike(ctx, req.(*OperateLikeRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_GetLikedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetLikedUsersRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).GetLikedUsers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/GetLikedUsers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).GetLikedUsers(ctx, req.(*GetLikedUsersRequest)) } return interceptor(ctx, in, info, handler) } func _ArticleService_ConvertVideoCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ConvertVideoCallbackRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ArticleServiceServer).ConvertVideoCallback(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/com.ywt.gapi.user.ArticleService/ConvertVideoCallback", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ArticleServiceServer).ConvertVideoCallback(ctx, req.(*ConvertVideoCallbackRequest)) } return interceptor(ctx, in, info, handler) } var _ArticleService_serviceDesc = grpc.ServiceDesc{ ServiceName: "com.ywt.gapi.user.ArticleService", HandlerType: (*ArticleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getArticles", Handler: _ArticleService_GetArticles_Handler, }, { MethodName: "getArticleById", Handler: _ArticleService_GetArticleById_Handler, }, { MethodName: "getDoctorArticles", Handler: _ArticleService_GetDoctorArticles_Handler, }, { MethodName: "getDoctorArticleById", Handler: _ArticleService_GetDoctorArticleById_Handler, }, { MethodName: "getDisplayArticleList", Handler: _ArticleService_GetDisplayArticleList_Handler, }, { MethodName: "getArticle", Handler: _ArticleService_GetArticle_Handler, }, { MethodName: "getClassifiedArticles", Handler: _ArticleService_GetClassifiedArticles_Handler, }, { MethodName: "getPdfInfo", Handler: _ArticleService_GetPdfInfo_Handler, }, { MethodName: "getDoctorClassifiedArticles", Handler: _ArticleService_GetDoctorClassifiedArticles_Handler, }, { MethodName: "getArticlesPagedList", Handler: _ArticleService_GetArticlesPagedList_Handler, }, { MethodName: "getArticleDetail", Handler: _ArticleService_GetArticleDetail_Handler, }, { MethodName: "operateArticleFavorite", Handler: _ArticleService_OperateArticleFavorite_Handler, }, { MethodName: "getArticlesFavoritesList", Handler: _ArticleService_GetArticlesFavoritesList_Handler, }, { MethodName: "getPaidArticles", Handler: _ArticleService_GetPaidArticles_Handler, }, { MethodName: "getPublishArticles", Handler: _ArticleService_GetPublishArticles_Handler, }, { MethodName: "publishMedicalFieldArticle", Handler: _ArticleService_PublishMedicalFieldArticle_Handler, }, { MethodName: "publishMedicalFieldVideo", Handler: _ArticleService_PublishMedicalFieldVideo_Handler, }, { MethodName: "addComment", Handler: _ArticleService_AddComment_Handler, }, { MethodName: "getCommentList", Handler: _ArticleService_GetCommentList_Handler, }, { MethodName: "editArticleSetting", Handler: _ArticleService_EditArticleSetting_Handler, }, { MethodName: "getArticleSetting", Handler: _ArticleService_GetArticleSetting_Handler, }, { MethodName: "getLastArticleSetting", Handler: _ArticleService_GetLastArticleSetting_Handler, }, { MethodName: "createOrder", Handler: _ArticleService_CreateOrder_Handler, }, { MethodName: "orderPaymentCallbackNotify", Handler: _ArticleService_OrderPaymentCallbackNotify_Handler, }, { MethodName: "operateArticleLike", Handler: _ArticleService_OperateArticleLike_Handler, }, { MethodName: "getLikedUsers", Handler: _ArticleService_GetLikedUsers_Handler, }, { MethodName: "convertVideoCallback", Handler: _ArticleService_ConvertVideoCallback_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "article.proto", }