article.pb.go 161 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: article.proto
  3. package gapi
  4. import (
  5. context "context"
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. grpc "google.golang.org/grpc"
  9. codes "google.golang.org/grpc/codes"
  10. status "google.golang.org/grpc/status"
  11. math "math"
  12. )
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  22. //资讯 created by daiyihua
  23. type Article struct {
  24. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  25. ArtTitle string `protobuf:"bytes,2,opt,name=artTitle,proto3" json:"artTitle,omitempty"`
  26. Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
  27. ViewCount int32 `protobuf:"varint,4,opt,name=viewCount,proto3" json:"viewCount,omitempty"`
  28. DoctorCount int32 `protobuf:"varint,5,opt,name=doctorCount,proto3" json:"doctorCount,omitempty"`
  29. Type int32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"`
  30. ArtContent string `protobuf:"bytes,7,opt,name=artContent,proto3" json:"artContent,omitempty"`
  31. UrlData string `protobuf:"bytes,8,opt,name=urlData,proto3" json:"urlData,omitempty"`
  32. ClassificationId int32 `protobuf:"varint,9,opt,name=classificationId,proto3" json:"classificationId,omitempty"`
  33. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  34. XXX_unrecognized []byte `json:"-"`
  35. XXX_sizecache int32 `json:"-"`
  36. }
  37. func (m *Article) Reset() { *m = Article{} }
  38. func (m *Article) String() string { return proto.CompactTextString(m) }
  39. func (*Article) ProtoMessage() {}
  40. func (*Article) Descriptor() ([]byte, []int) {
  41. return fileDescriptor_5c593d380f9840a2, []int{0}
  42. }
  43. func (m *Article) XXX_Unmarshal(b []byte) error {
  44. return xxx_messageInfo_Article.Unmarshal(m, b)
  45. }
  46. func (m *Article) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  47. return xxx_messageInfo_Article.Marshal(b, m, deterministic)
  48. }
  49. func (m *Article) XXX_Merge(src proto.Message) {
  50. xxx_messageInfo_Article.Merge(m, src)
  51. }
  52. func (m *Article) XXX_Size() int {
  53. return xxx_messageInfo_Article.Size(m)
  54. }
  55. func (m *Article) XXX_DiscardUnknown() {
  56. xxx_messageInfo_Article.DiscardUnknown(m)
  57. }
  58. var xxx_messageInfo_Article proto.InternalMessageInfo
  59. func (m *Article) GetArtId() int32 {
  60. if m != nil {
  61. return m.ArtId
  62. }
  63. return 0
  64. }
  65. func (m *Article) GetArtTitle() string {
  66. if m != nil {
  67. return m.ArtTitle
  68. }
  69. return ""
  70. }
  71. func (m *Article) GetStatus() int32 {
  72. if m != nil {
  73. return m.Status
  74. }
  75. return 0
  76. }
  77. func (m *Article) GetViewCount() int32 {
  78. if m != nil {
  79. return m.ViewCount
  80. }
  81. return 0
  82. }
  83. func (m *Article) GetDoctorCount() int32 {
  84. if m != nil {
  85. return m.DoctorCount
  86. }
  87. return 0
  88. }
  89. func (m *Article) GetType() int32 {
  90. if m != nil {
  91. return m.Type
  92. }
  93. return 0
  94. }
  95. func (m *Article) GetArtContent() string {
  96. if m != nil {
  97. return m.ArtContent
  98. }
  99. return ""
  100. }
  101. func (m *Article) GetUrlData() string {
  102. if m != nil {
  103. return m.UrlData
  104. }
  105. return ""
  106. }
  107. func (m *Article) GetClassificationId() int32 {
  108. if m != nil {
  109. return m.ClassificationId
  110. }
  111. return 0
  112. }
  113. //快讯分类
  114. type ArticleClassification struct {
  115. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  116. Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
  117. Article []*Article `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"`
  118. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  119. XXX_unrecognized []byte `json:"-"`
  120. XXX_sizecache int32 `json:"-"`
  121. }
  122. func (m *ArticleClassification) Reset() { *m = ArticleClassification{} }
  123. func (m *ArticleClassification) String() string { return proto.CompactTextString(m) }
  124. func (*ArticleClassification) ProtoMessage() {}
  125. func (*ArticleClassification) Descriptor() ([]byte, []int) {
  126. return fileDescriptor_5c593d380f9840a2, []int{1}
  127. }
  128. func (m *ArticleClassification) XXX_Unmarshal(b []byte) error {
  129. return xxx_messageInfo_ArticleClassification.Unmarshal(m, b)
  130. }
  131. func (m *ArticleClassification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  132. return xxx_messageInfo_ArticleClassification.Marshal(b, m, deterministic)
  133. }
  134. func (m *ArticleClassification) XXX_Merge(src proto.Message) {
  135. xxx_messageInfo_ArticleClassification.Merge(m, src)
  136. }
  137. func (m *ArticleClassification) XXX_Size() int {
  138. return xxx_messageInfo_ArticleClassification.Size(m)
  139. }
  140. func (m *ArticleClassification) XXX_DiscardUnknown() {
  141. xxx_messageInfo_ArticleClassification.DiscardUnknown(m)
  142. }
  143. var xxx_messageInfo_ArticleClassification proto.InternalMessageInfo
  144. func (m *ArticleClassification) GetName() string {
  145. if m != nil {
  146. return m.Name
  147. }
  148. return ""
  149. }
  150. func (m *ArticleClassification) GetId() int32 {
  151. if m != nil {
  152. return m.Id
  153. }
  154. return 0
  155. }
  156. func (m *ArticleClassification) GetArticle() []*Article {
  157. if m != nil {
  158. return m.Article
  159. }
  160. return nil
  161. }
  162. //获取分类快讯列表请求
  163. type GetClassifiedArticlesRequest struct {
  164. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  165. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  166. XXX_unrecognized []byte `json:"-"`
  167. XXX_sizecache int32 `json:"-"`
  168. }
  169. func (m *GetClassifiedArticlesRequest) Reset() { *m = GetClassifiedArticlesRequest{} }
  170. func (m *GetClassifiedArticlesRequest) String() string { return proto.CompactTextString(m) }
  171. func (*GetClassifiedArticlesRequest) ProtoMessage() {}
  172. func (*GetClassifiedArticlesRequest) Descriptor() ([]byte, []int) {
  173. return fileDescriptor_5c593d380f9840a2, []int{2}
  174. }
  175. func (m *GetClassifiedArticlesRequest) XXX_Unmarshal(b []byte) error {
  176. return xxx_messageInfo_GetClassifiedArticlesRequest.Unmarshal(m, b)
  177. }
  178. func (m *GetClassifiedArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  179. return xxx_messageInfo_GetClassifiedArticlesRequest.Marshal(b, m, deterministic)
  180. }
  181. func (m *GetClassifiedArticlesRequest) XXX_Merge(src proto.Message) {
  182. xxx_messageInfo_GetClassifiedArticlesRequest.Merge(m, src)
  183. }
  184. func (m *GetClassifiedArticlesRequest) XXX_Size() int {
  185. return xxx_messageInfo_GetClassifiedArticlesRequest.Size(m)
  186. }
  187. func (m *GetClassifiedArticlesRequest) XXX_DiscardUnknown() {
  188. xxx_messageInfo_GetClassifiedArticlesRequest.DiscardUnknown(m)
  189. }
  190. var xxx_messageInfo_GetClassifiedArticlesRequest proto.InternalMessageInfo
  191. func (m *GetClassifiedArticlesRequest) GetUserId() int32 {
  192. if m != nil {
  193. return m.UserId
  194. }
  195. return 0
  196. }
  197. //获取分类快讯列表响应
  198. type GetClassifiedArticlesResponse struct {
  199. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  200. Classification []*ArticleClassification `protobuf:"bytes,2,rep,name=classification,proto3" json:"classification,omitempty"`
  201. NoReadCount int32 `protobuf:"varint,3,opt,name=noReadCount,proto3" json:"noReadCount,omitempty"`
  202. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  203. XXX_unrecognized []byte `json:"-"`
  204. XXX_sizecache int32 `json:"-"`
  205. }
  206. func (m *GetClassifiedArticlesResponse) Reset() { *m = GetClassifiedArticlesResponse{} }
  207. func (m *GetClassifiedArticlesResponse) String() string { return proto.CompactTextString(m) }
  208. func (*GetClassifiedArticlesResponse) ProtoMessage() {}
  209. func (*GetClassifiedArticlesResponse) Descriptor() ([]byte, []int) {
  210. return fileDescriptor_5c593d380f9840a2, []int{3}
  211. }
  212. func (m *GetClassifiedArticlesResponse) XXX_Unmarshal(b []byte) error {
  213. return xxx_messageInfo_GetClassifiedArticlesResponse.Unmarshal(m, b)
  214. }
  215. func (m *GetClassifiedArticlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  216. return xxx_messageInfo_GetClassifiedArticlesResponse.Marshal(b, m, deterministic)
  217. }
  218. func (m *GetClassifiedArticlesResponse) XXX_Merge(src proto.Message) {
  219. xxx_messageInfo_GetClassifiedArticlesResponse.Merge(m, src)
  220. }
  221. func (m *GetClassifiedArticlesResponse) XXX_Size() int {
  222. return xxx_messageInfo_GetClassifiedArticlesResponse.Size(m)
  223. }
  224. func (m *GetClassifiedArticlesResponse) XXX_DiscardUnknown() {
  225. xxx_messageInfo_GetClassifiedArticlesResponse.DiscardUnknown(m)
  226. }
  227. var xxx_messageInfo_GetClassifiedArticlesResponse proto.InternalMessageInfo
  228. func (m *GetClassifiedArticlesResponse) GetResult() *Result {
  229. if m != nil {
  230. return m.Result
  231. }
  232. return nil
  233. }
  234. func (m *GetClassifiedArticlesResponse) GetClassification() []*ArticleClassification {
  235. if m != nil {
  236. return m.Classification
  237. }
  238. return nil
  239. }
  240. func (m *GetClassifiedArticlesResponse) GetNoReadCount() int32 {
  241. if m != nil {
  242. return m.NoReadCount
  243. }
  244. return 0
  245. }
  246. //得到用户资讯列表Request created by daiyihua
  247. type GetArticlesRequest struct {
  248. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  249. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  250. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  251. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  252. XXX_unrecognized []byte `json:"-"`
  253. XXX_sizecache int32 `json:"-"`
  254. }
  255. func (m *GetArticlesRequest) Reset() { *m = GetArticlesRequest{} }
  256. func (m *GetArticlesRequest) String() string { return proto.CompactTextString(m) }
  257. func (*GetArticlesRequest) ProtoMessage() {}
  258. func (*GetArticlesRequest) Descriptor() ([]byte, []int) {
  259. return fileDescriptor_5c593d380f9840a2, []int{4}
  260. }
  261. func (m *GetArticlesRequest) XXX_Unmarshal(b []byte) error {
  262. return xxx_messageInfo_GetArticlesRequest.Unmarshal(m, b)
  263. }
  264. func (m *GetArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  265. return xxx_messageInfo_GetArticlesRequest.Marshal(b, m, deterministic)
  266. }
  267. func (m *GetArticlesRequest) XXX_Merge(src proto.Message) {
  268. xxx_messageInfo_GetArticlesRequest.Merge(m, src)
  269. }
  270. func (m *GetArticlesRequest) XXX_Size() int {
  271. return xxx_messageInfo_GetArticlesRequest.Size(m)
  272. }
  273. func (m *GetArticlesRequest) XXX_DiscardUnknown() {
  274. xxx_messageInfo_GetArticlesRequest.DiscardUnknown(m)
  275. }
  276. var xxx_messageInfo_GetArticlesRequest proto.InternalMessageInfo
  277. func (m *GetArticlesRequest) GetUserId() int32 {
  278. if m != nil {
  279. return m.UserId
  280. }
  281. return 0
  282. }
  283. func (m *GetArticlesRequest) GetPageIndex() int32 {
  284. if m != nil {
  285. return m.PageIndex
  286. }
  287. return 0
  288. }
  289. func (m *GetArticlesRequest) GetPageSize() int32 {
  290. if m != nil {
  291. return m.PageSize
  292. }
  293. return 0
  294. }
  295. //得到用户资讯列表 created by daiyihua
  296. type GetArticlesResponse struct {
  297. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  298. Article []*Article `protobuf:"bytes,2,rep,name=article,proto3" json:"article,omitempty"`
  299. Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
  300. TotalPages int32 `protobuf:"varint,4,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
  301. NoReadCount int32 `protobuf:"varint,5,opt,name=noReadCount,proto3" json:"noReadCount,omitempty"`
  302. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  303. XXX_unrecognized []byte `json:"-"`
  304. XXX_sizecache int32 `json:"-"`
  305. }
  306. func (m *GetArticlesResponse) Reset() { *m = GetArticlesResponse{} }
  307. func (m *GetArticlesResponse) String() string { return proto.CompactTextString(m) }
  308. func (*GetArticlesResponse) ProtoMessage() {}
  309. func (*GetArticlesResponse) Descriptor() ([]byte, []int) {
  310. return fileDescriptor_5c593d380f9840a2, []int{5}
  311. }
  312. func (m *GetArticlesResponse) XXX_Unmarshal(b []byte) error {
  313. return xxx_messageInfo_GetArticlesResponse.Unmarshal(m, b)
  314. }
  315. func (m *GetArticlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  316. return xxx_messageInfo_GetArticlesResponse.Marshal(b, m, deterministic)
  317. }
  318. func (m *GetArticlesResponse) XXX_Merge(src proto.Message) {
  319. xxx_messageInfo_GetArticlesResponse.Merge(m, src)
  320. }
  321. func (m *GetArticlesResponse) XXX_Size() int {
  322. return xxx_messageInfo_GetArticlesResponse.Size(m)
  323. }
  324. func (m *GetArticlesResponse) XXX_DiscardUnknown() {
  325. xxx_messageInfo_GetArticlesResponse.DiscardUnknown(m)
  326. }
  327. var xxx_messageInfo_GetArticlesResponse proto.InternalMessageInfo
  328. func (m *GetArticlesResponse) GetResult() *Result {
  329. if m != nil {
  330. return m.Result
  331. }
  332. return nil
  333. }
  334. func (m *GetArticlesResponse) GetArticle() []*Article {
  335. if m != nil {
  336. return m.Article
  337. }
  338. return nil
  339. }
  340. func (m *GetArticlesResponse) GetCount() int32 {
  341. if m != nil {
  342. return m.Count
  343. }
  344. return 0
  345. }
  346. func (m *GetArticlesResponse) GetTotalPages() int32 {
  347. if m != nil {
  348. return m.TotalPages
  349. }
  350. return 0
  351. }
  352. func (m *GetArticlesResponse) GetNoReadCount() int32 {
  353. if m != nil {
  354. return m.NoReadCount
  355. }
  356. return 0
  357. }
  358. //根据资讯ID得到资讯内容Request created by daiyihua
  359. type GetArticleByIdRequest struct {
  360. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  361. DoctorId int32 `protobuf:"varint,2,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  362. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  363. XXX_unrecognized []byte `json:"-"`
  364. XXX_sizecache int32 `json:"-"`
  365. }
  366. func (m *GetArticleByIdRequest) Reset() { *m = GetArticleByIdRequest{} }
  367. func (m *GetArticleByIdRequest) String() string { return proto.CompactTextString(m) }
  368. func (*GetArticleByIdRequest) ProtoMessage() {}
  369. func (*GetArticleByIdRequest) Descriptor() ([]byte, []int) {
  370. return fileDescriptor_5c593d380f9840a2, []int{6}
  371. }
  372. func (m *GetArticleByIdRequest) XXX_Unmarshal(b []byte) error {
  373. return xxx_messageInfo_GetArticleByIdRequest.Unmarshal(m, b)
  374. }
  375. func (m *GetArticleByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  376. return xxx_messageInfo_GetArticleByIdRequest.Marshal(b, m, deterministic)
  377. }
  378. func (m *GetArticleByIdRequest) XXX_Merge(src proto.Message) {
  379. xxx_messageInfo_GetArticleByIdRequest.Merge(m, src)
  380. }
  381. func (m *GetArticleByIdRequest) XXX_Size() int {
  382. return xxx_messageInfo_GetArticleByIdRequest.Size(m)
  383. }
  384. func (m *GetArticleByIdRequest) XXX_DiscardUnknown() {
  385. xxx_messageInfo_GetArticleByIdRequest.DiscardUnknown(m)
  386. }
  387. var xxx_messageInfo_GetArticleByIdRequest proto.InternalMessageInfo
  388. func (m *GetArticleByIdRequest) GetArtId() int32 {
  389. if m != nil {
  390. return m.ArtId
  391. }
  392. return 0
  393. }
  394. func (m *GetArticleByIdRequest) GetDoctorId() int32 {
  395. if m != nil {
  396. return m.DoctorId
  397. }
  398. return 0
  399. }
  400. //根据资讯ID得到资讯内容Response created by daiyihua
  401. type GetArticleByIdResponse struct {
  402. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  403. Article *Article `protobuf:"bytes,2,opt,name=article,proto3" json:"article,omitempty"`
  404. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  405. XXX_unrecognized []byte `json:"-"`
  406. XXX_sizecache int32 `json:"-"`
  407. }
  408. func (m *GetArticleByIdResponse) Reset() { *m = GetArticleByIdResponse{} }
  409. func (m *GetArticleByIdResponse) String() string { return proto.CompactTextString(m) }
  410. func (*GetArticleByIdResponse) ProtoMessage() {}
  411. func (*GetArticleByIdResponse) Descriptor() ([]byte, []int) {
  412. return fileDescriptor_5c593d380f9840a2, []int{7}
  413. }
  414. func (m *GetArticleByIdResponse) XXX_Unmarshal(b []byte) error {
  415. return xxx_messageInfo_GetArticleByIdResponse.Unmarshal(m, b)
  416. }
  417. func (m *GetArticleByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  418. return xxx_messageInfo_GetArticleByIdResponse.Marshal(b, m, deterministic)
  419. }
  420. func (m *GetArticleByIdResponse) XXX_Merge(src proto.Message) {
  421. xxx_messageInfo_GetArticleByIdResponse.Merge(m, src)
  422. }
  423. func (m *GetArticleByIdResponse) XXX_Size() int {
  424. return xxx_messageInfo_GetArticleByIdResponse.Size(m)
  425. }
  426. func (m *GetArticleByIdResponse) XXX_DiscardUnknown() {
  427. xxx_messageInfo_GetArticleByIdResponse.DiscardUnknown(m)
  428. }
  429. var xxx_messageInfo_GetArticleByIdResponse proto.InternalMessageInfo
  430. func (m *GetArticleByIdResponse) GetResult() *Result {
  431. if m != nil {
  432. return m.Result
  433. }
  434. return nil
  435. }
  436. func (m *GetArticleByIdResponse) GetArticle() *Article {
  437. if m != nil {
  438. return m.Article
  439. }
  440. return nil
  441. }
  442. type GetDisplayArticleListRequest struct {
  443. PageIndex int32 `protobuf:"varint,1,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  444. PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  445. DoctorId int32 `protobuf:"varint,3,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  446. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  447. XXX_unrecognized []byte `json:"-"`
  448. XXX_sizecache int32 `json:"-"`
  449. }
  450. func (m *GetDisplayArticleListRequest) Reset() { *m = GetDisplayArticleListRequest{} }
  451. func (m *GetDisplayArticleListRequest) String() string { return proto.CompactTextString(m) }
  452. func (*GetDisplayArticleListRequest) ProtoMessage() {}
  453. func (*GetDisplayArticleListRequest) Descriptor() ([]byte, []int) {
  454. return fileDescriptor_5c593d380f9840a2, []int{8}
  455. }
  456. func (m *GetDisplayArticleListRequest) XXX_Unmarshal(b []byte) error {
  457. return xxx_messageInfo_GetDisplayArticleListRequest.Unmarshal(m, b)
  458. }
  459. func (m *GetDisplayArticleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  460. return xxx_messageInfo_GetDisplayArticleListRequest.Marshal(b, m, deterministic)
  461. }
  462. func (m *GetDisplayArticleListRequest) XXX_Merge(src proto.Message) {
  463. xxx_messageInfo_GetDisplayArticleListRequest.Merge(m, src)
  464. }
  465. func (m *GetDisplayArticleListRequest) XXX_Size() int {
  466. return xxx_messageInfo_GetDisplayArticleListRequest.Size(m)
  467. }
  468. func (m *GetDisplayArticleListRequest) XXX_DiscardUnknown() {
  469. xxx_messageInfo_GetDisplayArticleListRequest.DiscardUnknown(m)
  470. }
  471. var xxx_messageInfo_GetDisplayArticleListRequest proto.InternalMessageInfo
  472. func (m *GetDisplayArticleListRequest) GetPageIndex() int32 {
  473. if m != nil {
  474. return m.PageIndex
  475. }
  476. return 0
  477. }
  478. func (m *GetDisplayArticleListRequest) GetPageSize() int32 {
  479. if m != nil {
  480. return m.PageSize
  481. }
  482. return 0
  483. }
  484. func (m *GetDisplayArticleListRequest) GetDoctorId() int32 {
  485. if m != nil {
  486. return m.DoctorId
  487. }
  488. return 0
  489. }
  490. type GetDisplayArticleListResponse struct {
  491. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  492. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  493. Article []*Article `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"`
  494. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  495. TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
  496. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  497. XXX_unrecognized []byte `json:"-"`
  498. XXX_sizecache int32 `json:"-"`
  499. }
  500. func (m *GetDisplayArticleListResponse) Reset() { *m = GetDisplayArticleListResponse{} }
  501. func (m *GetDisplayArticleListResponse) String() string { return proto.CompactTextString(m) }
  502. func (*GetDisplayArticleListResponse) ProtoMessage() {}
  503. func (*GetDisplayArticleListResponse) Descriptor() ([]byte, []int) {
  504. return fileDescriptor_5c593d380f9840a2, []int{9}
  505. }
  506. func (m *GetDisplayArticleListResponse) XXX_Unmarshal(b []byte) error {
  507. return xxx_messageInfo_GetDisplayArticleListResponse.Unmarshal(m, b)
  508. }
  509. func (m *GetDisplayArticleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  510. return xxx_messageInfo_GetDisplayArticleListResponse.Marshal(b, m, deterministic)
  511. }
  512. func (m *GetDisplayArticleListResponse) XXX_Merge(src proto.Message) {
  513. xxx_messageInfo_GetDisplayArticleListResponse.Merge(m, src)
  514. }
  515. func (m *GetDisplayArticleListResponse) XXX_Size() int {
  516. return xxx_messageInfo_GetDisplayArticleListResponse.Size(m)
  517. }
  518. func (m *GetDisplayArticleListResponse) XXX_DiscardUnknown() {
  519. xxx_messageInfo_GetDisplayArticleListResponse.DiscardUnknown(m)
  520. }
  521. var xxx_messageInfo_GetDisplayArticleListResponse proto.InternalMessageInfo
  522. func (m *GetDisplayArticleListResponse) GetCode() int32 {
  523. if m != nil {
  524. return m.Code
  525. }
  526. return 0
  527. }
  528. func (m *GetDisplayArticleListResponse) GetMsg() string {
  529. if m != nil {
  530. return m.Msg
  531. }
  532. return ""
  533. }
  534. func (m *GetDisplayArticleListResponse) GetArticle() []*Article {
  535. if m != nil {
  536. return m.Article
  537. }
  538. return nil
  539. }
  540. func (m *GetDisplayArticleListResponse) GetCount() int32 {
  541. if m != nil {
  542. return m.Count
  543. }
  544. return 0
  545. }
  546. func (m *GetDisplayArticleListResponse) GetTotalPages() int32 {
  547. if m != nil {
  548. return m.TotalPages
  549. }
  550. return 0
  551. }
  552. //获取资讯详情,并记录浏览相关信息
  553. type GetArticleRequest struct {
  554. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  555. OwnerId int32 `protobuf:"varint,2,opt,name=ownerId,proto3" json:"ownerId,omitempty"`
  556. UserId int32 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"`
  557. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
  558. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  559. XXX_unrecognized []byte `json:"-"`
  560. XXX_sizecache int32 `json:"-"`
  561. }
  562. func (m *GetArticleRequest) Reset() { *m = GetArticleRequest{} }
  563. func (m *GetArticleRequest) String() string { return proto.CompactTextString(m) }
  564. func (*GetArticleRequest) ProtoMessage() {}
  565. func (*GetArticleRequest) Descriptor() ([]byte, []int) {
  566. return fileDescriptor_5c593d380f9840a2, []int{10}
  567. }
  568. func (m *GetArticleRequest) XXX_Unmarshal(b []byte) error {
  569. return xxx_messageInfo_GetArticleRequest.Unmarshal(m, b)
  570. }
  571. func (m *GetArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  572. return xxx_messageInfo_GetArticleRequest.Marshal(b, m, deterministic)
  573. }
  574. func (m *GetArticleRequest) XXX_Merge(src proto.Message) {
  575. xxx_messageInfo_GetArticleRequest.Merge(m, src)
  576. }
  577. func (m *GetArticleRequest) XXX_Size() int {
  578. return xxx_messageInfo_GetArticleRequest.Size(m)
  579. }
  580. func (m *GetArticleRequest) XXX_DiscardUnknown() {
  581. xxx_messageInfo_GetArticleRequest.DiscardUnknown(m)
  582. }
  583. var xxx_messageInfo_GetArticleRequest proto.InternalMessageInfo
  584. func (m *GetArticleRequest) GetArtId() int32 {
  585. if m != nil {
  586. return m.ArtId
  587. }
  588. return 0
  589. }
  590. func (m *GetArticleRequest) GetOwnerId() int32 {
  591. if m != nil {
  592. return m.OwnerId
  593. }
  594. return 0
  595. }
  596. func (m *GetArticleRequest) GetUserId() int32 {
  597. if m != nil {
  598. return m.UserId
  599. }
  600. return 0
  601. }
  602. func (m *GetArticleRequest) GetType() int32 {
  603. if m != nil {
  604. return m.Type
  605. }
  606. return 0
  607. }
  608. type GetArticleResponse struct {
  609. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  610. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  611. Article *Article `protobuf:"bytes,3,opt,name=article,proto3" json:"article,omitempty"`
  612. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  613. XXX_unrecognized []byte `json:"-"`
  614. XXX_sizecache int32 `json:"-"`
  615. }
  616. func (m *GetArticleResponse) Reset() { *m = GetArticleResponse{} }
  617. func (m *GetArticleResponse) String() string { return proto.CompactTextString(m) }
  618. func (*GetArticleResponse) ProtoMessage() {}
  619. func (*GetArticleResponse) Descriptor() ([]byte, []int) {
  620. return fileDescriptor_5c593d380f9840a2, []int{11}
  621. }
  622. func (m *GetArticleResponse) XXX_Unmarshal(b []byte) error {
  623. return xxx_messageInfo_GetArticleResponse.Unmarshal(m, b)
  624. }
  625. func (m *GetArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  626. return xxx_messageInfo_GetArticleResponse.Marshal(b, m, deterministic)
  627. }
  628. func (m *GetArticleResponse) XXX_Merge(src proto.Message) {
  629. xxx_messageInfo_GetArticleResponse.Merge(m, src)
  630. }
  631. func (m *GetArticleResponse) XXX_Size() int {
  632. return xxx_messageInfo_GetArticleResponse.Size(m)
  633. }
  634. func (m *GetArticleResponse) XXX_DiscardUnknown() {
  635. xxx_messageInfo_GetArticleResponse.DiscardUnknown(m)
  636. }
  637. var xxx_messageInfo_GetArticleResponse proto.InternalMessageInfo
  638. func (m *GetArticleResponse) GetCode() int32 {
  639. if m != nil {
  640. return m.Code
  641. }
  642. return 0
  643. }
  644. func (m *GetArticleResponse) GetMsg() string {
  645. if m != nil {
  646. return m.Msg
  647. }
  648. return ""
  649. }
  650. func (m *GetArticleResponse) GetArticle() *Article {
  651. if m != nil {
  652. return m.Article
  653. }
  654. return nil
  655. }
  656. type GetPdfInfoRequest struct {
  657. InfoId int32 `protobuf:"varint,1,opt,name=infoId,proto3" json:"infoId,omitempty"`
  658. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  659. XXX_unrecognized []byte `json:"-"`
  660. XXX_sizecache int32 `json:"-"`
  661. }
  662. func (m *GetPdfInfoRequest) Reset() { *m = GetPdfInfoRequest{} }
  663. func (m *GetPdfInfoRequest) String() string { return proto.CompactTextString(m) }
  664. func (*GetPdfInfoRequest) ProtoMessage() {}
  665. func (*GetPdfInfoRequest) Descriptor() ([]byte, []int) {
  666. return fileDescriptor_5c593d380f9840a2, []int{12}
  667. }
  668. func (m *GetPdfInfoRequest) XXX_Unmarshal(b []byte) error {
  669. return xxx_messageInfo_GetPdfInfoRequest.Unmarshal(m, b)
  670. }
  671. func (m *GetPdfInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  672. return xxx_messageInfo_GetPdfInfoRequest.Marshal(b, m, deterministic)
  673. }
  674. func (m *GetPdfInfoRequest) XXX_Merge(src proto.Message) {
  675. xxx_messageInfo_GetPdfInfoRequest.Merge(m, src)
  676. }
  677. func (m *GetPdfInfoRequest) XXX_Size() int {
  678. return xxx_messageInfo_GetPdfInfoRequest.Size(m)
  679. }
  680. func (m *GetPdfInfoRequest) XXX_DiscardUnknown() {
  681. xxx_messageInfo_GetPdfInfoRequest.DiscardUnknown(m)
  682. }
  683. var xxx_messageInfo_GetPdfInfoRequest proto.InternalMessageInfo
  684. func (m *GetPdfInfoRequest) GetInfoId() int32 {
  685. if m != nil {
  686. return m.InfoId
  687. }
  688. return 0
  689. }
  690. type GetPdfInfoResponse struct {
  691. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  692. Pdf []byte `protobuf:"bytes,2,opt,name=pdf,proto3" json:"pdf,omitempty"`
  693. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  694. XXX_unrecognized []byte `json:"-"`
  695. XXX_sizecache int32 `json:"-"`
  696. }
  697. func (m *GetPdfInfoResponse) Reset() { *m = GetPdfInfoResponse{} }
  698. func (m *GetPdfInfoResponse) String() string { return proto.CompactTextString(m) }
  699. func (*GetPdfInfoResponse) ProtoMessage() {}
  700. func (*GetPdfInfoResponse) Descriptor() ([]byte, []int) {
  701. return fileDescriptor_5c593d380f9840a2, []int{13}
  702. }
  703. func (m *GetPdfInfoResponse) XXX_Unmarshal(b []byte) error {
  704. return xxx_messageInfo_GetPdfInfoResponse.Unmarshal(m, b)
  705. }
  706. func (m *GetPdfInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  707. return xxx_messageInfo_GetPdfInfoResponse.Marshal(b, m, deterministic)
  708. }
  709. func (m *GetPdfInfoResponse) XXX_Merge(src proto.Message) {
  710. xxx_messageInfo_GetPdfInfoResponse.Merge(m, src)
  711. }
  712. func (m *GetPdfInfoResponse) XXX_Size() int {
  713. return xxx_messageInfo_GetPdfInfoResponse.Size(m)
  714. }
  715. func (m *GetPdfInfoResponse) XXX_DiscardUnknown() {
  716. xxx_messageInfo_GetPdfInfoResponse.DiscardUnknown(m)
  717. }
  718. var xxx_messageInfo_GetPdfInfoResponse proto.InternalMessageInfo
  719. func (m *GetPdfInfoResponse) GetResult() *Result {
  720. if m != nil {
  721. return m.Result
  722. }
  723. return nil
  724. }
  725. func (m *GetPdfInfoResponse) GetPdf() []byte {
  726. if m != nil {
  727. return m.Pdf
  728. }
  729. return nil
  730. }
  731. //获取医学界文章分页列表request
  732. type GetArticlesPagedListRequest struct {
  733. Terminal int32 `protobuf:"varint,1,opt,name=terminal,proto3" json:"terminal,omitempty"`
  734. Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
  735. PageIndex int32 `protobuf:"varint,3,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  736. PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  737. UserId int32 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"`
  738. ProviderId int32 `protobuf:"varint,6,opt,name=providerId,proto3" json:"providerId,omitempty"`
  739. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  740. XXX_unrecognized []byte `json:"-"`
  741. XXX_sizecache int32 `json:"-"`
  742. }
  743. func (m *GetArticlesPagedListRequest) Reset() { *m = GetArticlesPagedListRequest{} }
  744. func (m *GetArticlesPagedListRequest) String() string { return proto.CompactTextString(m) }
  745. func (*GetArticlesPagedListRequest) ProtoMessage() {}
  746. func (*GetArticlesPagedListRequest) Descriptor() ([]byte, []int) {
  747. return fileDescriptor_5c593d380f9840a2, []int{14}
  748. }
  749. func (m *GetArticlesPagedListRequest) XXX_Unmarshal(b []byte) error {
  750. return xxx_messageInfo_GetArticlesPagedListRequest.Unmarshal(m, b)
  751. }
  752. func (m *GetArticlesPagedListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  753. return xxx_messageInfo_GetArticlesPagedListRequest.Marshal(b, m, deterministic)
  754. }
  755. func (m *GetArticlesPagedListRequest) XXX_Merge(src proto.Message) {
  756. xxx_messageInfo_GetArticlesPagedListRequest.Merge(m, src)
  757. }
  758. func (m *GetArticlesPagedListRequest) XXX_Size() int {
  759. return xxx_messageInfo_GetArticlesPagedListRequest.Size(m)
  760. }
  761. func (m *GetArticlesPagedListRequest) XXX_DiscardUnknown() {
  762. xxx_messageInfo_GetArticlesPagedListRequest.DiscardUnknown(m)
  763. }
  764. var xxx_messageInfo_GetArticlesPagedListRequest proto.InternalMessageInfo
  765. func (m *GetArticlesPagedListRequest) GetTerminal() int32 {
  766. if m != nil {
  767. return m.Terminal
  768. }
  769. return 0
  770. }
  771. func (m *GetArticlesPagedListRequest) GetKeyword() string {
  772. if m != nil {
  773. return m.Keyword
  774. }
  775. return ""
  776. }
  777. func (m *GetArticlesPagedListRequest) GetPageIndex() int32 {
  778. if m != nil {
  779. return m.PageIndex
  780. }
  781. return 0
  782. }
  783. func (m *GetArticlesPagedListRequest) GetPageSize() int32 {
  784. if m != nil {
  785. return m.PageSize
  786. }
  787. return 0
  788. }
  789. func (m *GetArticlesPagedListRequest) GetUserId() int32 {
  790. if m != nil {
  791. return m.UserId
  792. }
  793. return 0
  794. }
  795. func (m *GetArticlesPagedListRequest) GetProviderId() int32 {
  796. if m != nil {
  797. return m.ProviderId
  798. }
  799. return 0
  800. }
  801. //医学界文章
  802. type ArticleItem struct {
  803. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  804. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  805. ViewCount int32 `protobuf:"varint,3,opt,name=viewCount,proto3" json:"viewCount,omitempty"`
  806. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
  807. Digest string `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"`
  808. Price int32 `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"`
  809. PreviewUrl string `protobuf:"bytes,7,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"`
  810. Author string `protobuf:"bytes,8,opt,name=author,proto3" json:"author,omitempty"`
  811. JobTitle string `protobuf:"bytes,9,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"`
  812. Dept string `protobuf:"bytes,10,opt,name=dept,proto3" json:"dept,omitempty"`
  813. Hospital string `protobuf:"bytes,11,opt,name=hospital,proto3" json:"hospital,omitempty"`
  814. PublishTime string `protobuf:"bytes,12,opt,name=publishTime,proto3" json:"publishTime,omitempty"`
  815. HasPaid int32 `protobuf:"varint,13,opt,name=hasPaid,proto3" json:"hasPaid,omitempty"`
  816. Diagnosis string `protobuf:"bytes,14,opt,name=diagnosis,proto3" json:"diagnosis,omitempty"`
  817. LikeCount int32 `protobuf:"varint,15,opt,name=likeCount,proto3" json:"likeCount,omitempty"`
  818. VideoStatus int32 `protobuf:"varint,16,opt,name=videoStatus,proto3" json:"videoStatus,omitempty"`
  819. VideoConvertingRemark string `protobuf:"bytes,17,opt,name=videoConvertingRemark,proto3" json:"videoConvertingRemark,omitempty"`
  820. AuditStatus int32 `protobuf:"varint,18,opt,name=auditStatus,proto3" json:"auditStatus,omitempty"`
  821. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  822. XXX_unrecognized []byte `json:"-"`
  823. XXX_sizecache int32 `json:"-"`
  824. }
  825. func (m *ArticleItem) Reset() { *m = ArticleItem{} }
  826. func (m *ArticleItem) String() string { return proto.CompactTextString(m) }
  827. func (*ArticleItem) ProtoMessage() {}
  828. func (*ArticleItem) Descriptor() ([]byte, []int) {
  829. return fileDescriptor_5c593d380f9840a2, []int{15}
  830. }
  831. func (m *ArticleItem) XXX_Unmarshal(b []byte) error {
  832. return xxx_messageInfo_ArticleItem.Unmarshal(m, b)
  833. }
  834. func (m *ArticleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  835. return xxx_messageInfo_ArticleItem.Marshal(b, m, deterministic)
  836. }
  837. func (m *ArticleItem) XXX_Merge(src proto.Message) {
  838. xxx_messageInfo_ArticleItem.Merge(m, src)
  839. }
  840. func (m *ArticleItem) XXX_Size() int {
  841. return xxx_messageInfo_ArticleItem.Size(m)
  842. }
  843. func (m *ArticleItem) XXX_DiscardUnknown() {
  844. xxx_messageInfo_ArticleItem.DiscardUnknown(m)
  845. }
  846. var xxx_messageInfo_ArticleItem proto.InternalMessageInfo
  847. func (m *ArticleItem) GetArtId() int32 {
  848. if m != nil {
  849. return m.ArtId
  850. }
  851. return 0
  852. }
  853. func (m *ArticleItem) GetTitle() string {
  854. if m != nil {
  855. return m.Title
  856. }
  857. return ""
  858. }
  859. func (m *ArticleItem) GetViewCount() int32 {
  860. if m != nil {
  861. return m.ViewCount
  862. }
  863. return 0
  864. }
  865. func (m *ArticleItem) GetType() int32 {
  866. if m != nil {
  867. return m.Type
  868. }
  869. return 0
  870. }
  871. func (m *ArticleItem) GetDigest() string {
  872. if m != nil {
  873. return m.Digest
  874. }
  875. return ""
  876. }
  877. func (m *ArticleItem) GetPrice() int32 {
  878. if m != nil {
  879. return m.Price
  880. }
  881. return 0
  882. }
  883. func (m *ArticleItem) GetPreviewUrl() string {
  884. if m != nil {
  885. return m.PreviewUrl
  886. }
  887. return ""
  888. }
  889. func (m *ArticleItem) GetAuthor() string {
  890. if m != nil {
  891. return m.Author
  892. }
  893. return ""
  894. }
  895. func (m *ArticleItem) GetJobTitle() string {
  896. if m != nil {
  897. return m.JobTitle
  898. }
  899. return ""
  900. }
  901. func (m *ArticleItem) GetDept() string {
  902. if m != nil {
  903. return m.Dept
  904. }
  905. return ""
  906. }
  907. func (m *ArticleItem) GetHospital() string {
  908. if m != nil {
  909. return m.Hospital
  910. }
  911. return ""
  912. }
  913. func (m *ArticleItem) GetPublishTime() string {
  914. if m != nil {
  915. return m.PublishTime
  916. }
  917. return ""
  918. }
  919. func (m *ArticleItem) GetHasPaid() int32 {
  920. if m != nil {
  921. return m.HasPaid
  922. }
  923. return 0
  924. }
  925. func (m *ArticleItem) GetDiagnosis() string {
  926. if m != nil {
  927. return m.Diagnosis
  928. }
  929. return ""
  930. }
  931. func (m *ArticleItem) GetLikeCount() int32 {
  932. if m != nil {
  933. return m.LikeCount
  934. }
  935. return 0
  936. }
  937. func (m *ArticleItem) GetVideoStatus() int32 {
  938. if m != nil {
  939. return m.VideoStatus
  940. }
  941. return 0
  942. }
  943. func (m *ArticleItem) GetVideoConvertingRemark() string {
  944. if m != nil {
  945. return m.VideoConvertingRemark
  946. }
  947. return ""
  948. }
  949. func (m *ArticleItem) GetAuditStatus() int32 {
  950. if m != nil {
  951. return m.AuditStatus
  952. }
  953. return 0
  954. }
  955. //获取医学界文章分页列表response
  956. type GetArticlesPagedListResponse struct {
  957. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  958. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  959. Article []*ArticleItem `protobuf:"bytes,3,rep,name=article,proto3" json:"article,omitempty"`
  960. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  961. TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
  962. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  963. XXX_unrecognized []byte `json:"-"`
  964. XXX_sizecache int32 `json:"-"`
  965. }
  966. func (m *GetArticlesPagedListResponse) Reset() { *m = GetArticlesPagedListResponse{} }
  967. func (m *GetArticlesPagedListResponse) String() string { return proto.CompactTextString(m) }
  968. func (*GetArticlesPagedListResponse) ProtoMessage() {}
  969. func (*GetArticlesPagedListResponse) Descriptor() ([]byte, []int) {
  970. return fileDescriptor_5c593d380f9840a2, []int{16}
  971. }
  972. func (m *GetArticlesPagedListResponse) XXX_Unmarshal(b []byte) error {
  973. return xxx_messageInfo_GetArticlesPagedListResponse.Unmarshal(m, b)
  974. }
  975. func (m *GetArticlesPagedListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  976. return xxx_messageInfo_GetArticlesPagedListResponse.Marshal(b, m, deterministic)
  977. }
  978. func (m *GetArticlesPagedListResponse) XXX_Merge(src proto.Message) {
  979. xxx_messageInfo_GetArticlesPagedListResponse.Merge(m, src)
  980. }
  981. func (m *GetArticlesPagedListResponse) XXX_Size() int {
  982. return xxx_messageInfo_GetArticlesPagedListResponse.Size(m)
  983. }
  984. func (m *GetArticlesPagedListResponse) XXX_DiscardUnknown() {
  985. xxx_messageInfo_GetArticlesPagedListResponse.DiscardUnknown(m)
  986. }
  987. var xxx_messageInfo_GetArticlesPagedListResponse proto.InternalMessageInfo
  988. func (m *GetArticlesPagedListResponse) GetCode() int32 {
  989. if m != nil {
  990. return m.Code
  991. }
  992. return 0
  993. }
  994. func (m *GetArticlesPagedListResponse) GetMsg() string {
  995. if m != nil {
  996. return m.Msg
  997. }
  998. return ""
  999. }
  1000. func (m *GetArticlesPagedListResponse) GetArticle() []*ArticleItem {
  1001. if m != nil {
  1002. return m.Article
  1003. }
  1004. return nil
  1005. }
  1006. func (m *GetArticlesPagedListResponse) GetCount() int32 {
  1007. if m != nil {
  1008. return m.Count
  1009. }
  1010. return 0
  1011. }
  1012. func (m *GetArticlesPagedListResponse) GetTotalPages() int32 {
  1013. if m != nil {
  1014. return m.TotalPages
  1015. }
  1016. return 0
  1017. }
  1018. type GetArticleDetailRequest struct {
  1019. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  1020. UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
  1021. Terminal int32 `protobuf:"varint,3,opt,name=terminal,proto3" json:"terminal,omitempty"`
  1022. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1023. XXX_unrecognized []byte `json:"-"`
  1024. XXX_sizecache int32 `json:"-"`
  1025. }
  1026. func (m *GetArticleDetailRequest) Reset() { *m = GetArticleDetailRequest{} }
  1027. func (m *GetArticleDetailRequest) String() string { return proto.CompactTextString(m) }
  1028. func (*GetArticleDetailRequest) ProtoMessage() {}
  1029. func (*GetArticleDetailRequest) Descriptor() ([]byte, []int) {
  1030. return fileDescriptor_5c593d380f9840a2, []int{17}
  1031. }
  1032. func (m *GetArticleDetailRequest) XXX_Unmarshal(b []byte) error {
  1033. return xxx_messageInfo_GetArticleDetailRequest.Unmarshal(m, b)
  1034. }
  1035. func (m *GetArticleDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1036. return xxx_messageInfo_GetArticleDetailRequest.Marshal(b, m, deterministic)
  1037. }
  1038. func (m *GetArticleDetailRequest) XXX_Merge(src proto.Message) {
  1039. xxx_messageInfo_GetArticleDetailRequest.Merge(m, src)
  1040. }
  1041. func (m *GetArticleDetailRequest) XXX_Size() int {
  1042. return xxx_messageInfo_GetArticleDetailRequest.Size(m)
  1043. }
  1044. func (m *GetArticleDetailRequest) XXX_DiscardUnknown() {
  1045. xxx_messageInfo_GetArticleDetailRequest.DiscardUnknown(m)
  1046. }
  1047. var xxx_messageInfo_GetArticleDetailRequest proto.InternalMessageInfo
  1048. func (m *GetArticleDetailRequest) GetArtId() int32 {
  1049. if m != nil {
  1050. return m.ArtId
  1051. }
  1052. return 0
  1053. }
  1054. func (m *GetArticleDetailRequest) GetUserId() int32 {
  1055. if m != nil {
  1056. return m.UserId
  1057. }
  1058. return 0
  1059. }
  1060. func (m *GetArticleDetailRequest) GetTerminal() int32 {
  1061. if m != nil {
  1062. return m.Terminal
  1063. }
  1064. return 0
  1065. }
  1066. type ArticleComment struct {
  1067. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1068. ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"`
  1069. ReplyId int32 `protobuf:"varint,3,opt,name=replyId,proto3" json:"replyId,omitempty"`
  1070. ParentId int32 `protobuf:"varint,4,opt,name=parentId,proto3" json:"parentId,omitempty"`
  1071. Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
  1072. UserId int32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"`
  1073. CreateTime string `protobuf:"bytes,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
  1074. UpdateTime string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
  1075. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
  1076. JobTitle string `protobuf:"bytes,10,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"`
  1077. Dept string `protobuf:"bytes,11,opt,name=dept,proto3" json:"dept,omitempty"`
  1078. Hospital string `protobuf:"bytes,12,opt,name=hospital,proto3" json:"hospital,omitempty"`
  1079. Avatar string `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"`
  1080. Replies []*ArticleComment `protobuf:"bytes,14,rep,name=replies,proto3" json:"replies,omitempty"`
  1081. ReplyName string `protobuf:"bytes,15,opt,name=replyName,proto3" json:"replyName,omitempty"`
  1082. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1083. XXX_unrecognized []byte `json:"-"`
  1084. XXX_sizecache int32 `json:"-"`
  1085. }
  1086. func (m *ArticleComment) Reset() { *m = ArticleComment{} }
  1087. func (m *ArticleComment) String() string { return proto.CompactTextString(m) }
  1088. func (*ArticleComment) ProtoMessage() {}
  1089. func (*ArticleComment) Descriptor() ([]byte, []int) {
  1090. return fileDescriptor_5c593d380f9840a2, []int{18}
  1091. }
  1092. func (m *ArticleComment) XXX_Unmarshal(b []byte) error {
  1093. return xxx_messageInfo_ArticleComment.Unmarshal(m, b)
  1094. }
  1095. func (m *ArticleComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1096. return xxx_messageInfo_ArticleComment.Marshal(b, m, deterministic)
  1097. }
  1098. func (m *ArticleComment) XXX_Merge(src proto.Message) {
  1099. xxx_messageInfo_ArticleComment.Merge(m, src)
  1100. }
  1101. func (m *ArticleComment) XXX_Size() int {
  1102. return xxx_messageInfo_ArticleComment.Size(m)
  1103. }
  1104. func (m *ArticleComment) XXX_DiscardUnknown() {
  1105. xxx_messageInfo_ArticleComment.DiscardUnknown(m)
  1106. }
  1107. var xxx_messageInfo_ArticleComment proto.InternalMessageInfo
  1108. func (m *ArticleComment) GetId() int32 {
  1109. if m != nil {
  1110. return m.Id
  1111. }
  1112. return 0
  1113. }
  1114. func (m *ArticleComment) GetArticleId() int32 {
  1115. if m != nil {
  1116. return m.ArticleId
  1117. }
  1118. return 0
  1119. }
  1120. func (m *ArticleComment) GetReplyId() int32 {
  1121. if m != nil {
  1122. return m.ReplyId
  1123. }
  1124. return 0
  1125. }
  1126. func (m *ArticleComment) GetParentId() int32 {
  1127. if m != nil {
  1128. return m.ParentId
  1129. }
  1130. return 0
  1131. }
  1132. func (m *ArticleComment) GetContent() string {
  1133. if m != nil {
  1134. return m.Content
  1135. }
  1136. return ""
  1137. }
  1138. func (m *ArticleComment) GetUserId() int32 {
  1139. if m != nil {
  1140. return m.UserId
  1141. }
  1142. return 0
  1143. }
  1144. func (m *ArticleComment) GetCreateTime() string {
  1145. if m != nil {
  1146. return m.CreateTime
  1147. }
  1148. return ""
  1149. }
  1150. func (m *ArticleComment) GetUpdateTime() string {
  1151. if m != nil {
  1152. return m.UpdateTime
  1153. }
  1154. return ""
  1155. }
  1156. func (m *ArticleComment) GetName() string {
  1157. if m != nil {
  1158. return m.Name
  1159. }
  1160. return ""
  1161. }
  1162. func (m *ArticleComment) GetJobTitle() string {
  1163. if m != nil {
  1164. return m.JobTitle
  1165. }
  1166. return ""
  1167. }
  1168. func (m *ArticleComment) GetDept() string {
  1169. if m != nil {
  1170. return m.Dept
  1171. }
  1172. return ""
  1173. }
  1174. func (m *ArticleComment) GetHospital() string {
  1175. if m != nil {
  1176. return m.Hospital
  1177. }
  1178. return ""
  1179. }
  1180. func (m *ArticleComment) GetAvatar() string {
  1181. if m != nil {
  1182. return m.Avatar
  1183. }
  1184. return ""
  1185. }
  1186. func (m *ArticleComment) GetReplies() []*ArticleComment {
  1187. if m != nil {
  1188. return m.Replies
  1189. }
  1190. return nil
  1191. }
  1192. func (m *ArticleComment) GetReplyName() string {
  1193. if m != nil {
  1194. return m.ReplyName
  1195. }
  1196. return ""
  1197. }
  1198. type GetCommentsRequest struct {
  1199. ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"`
  1200. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  1201. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  1202. UserId int32 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"`
  1203. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1204. XXX_unrecognized []byte `json:"-"`
  1205. XXX_sizecache int32 `json:"-"`
  1206. }
  1207. func (m *GetCommentsRequest) Reset() { *m = GetCommentsRequest{} }
  1208. func (m *GetCommentsRequest) String() string { return proto.CompactTextString(m) }
  1209. func (*GetCommentsRequest) ProtoMessage() {}
  1210. func (*GetCommentsRequest) Descriptor() ([]byte, []int) {
  1211. return fileDescriptor_5c593d380f9840a2, []int{19}
  1212. }
  1213. func (m *GetCommentsRequest) XXX_Unmarshal(b []byte) error {
  1214. return xxx_messageInfo_GetCommentsRequest.Unmarshal(m, b)
  1215. }
  1216. func (m *GetCommentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1217. return xxx_messageInfo_GetCommentsRequest.Marshal(b, m, deterministic)
  1218. }
  1219. func (m *GetCommentsRequest) XXX_Merge(src proto.Message) {
  1220. xxx_messageInfo_GetCommentsRequest.Merge(m, src)
  1221. }
  1222. func (m *GetCommentsRequest) XXX_Size() int {
  1223. return xxx_messageInfo_GetCommentsRequest.Size(m)
  1224. }
  1225. func (m *GetCommentsRequest) XXX_DiscardUnknown() {
  1226. xxx_messageInfo_GetCommentsRequest.DiscardUnknown(m)
  1227. }
  1228. var xxx_messageInfo_GetCommentsRequest proto.InternalMessageInfo
  1229. func (m *GetCommentsRequest) GetArticleId() int32 {
  1230. if m != nil {
  1231. return m.ArticleId
  1232. }
  1233. return 0
  1234. }
  1235. func (m *GetCommentsRequest) GetPageIndex() int32 {
  1236. if m != nil {
  1237. return m.PageIndex
  1238. }
  1239. return 0
  1240. }
  1241. func (m *GetCommentsRequest) GetPageSize() int32 {
  1242. if m != nil {
  1243. return m.PageSize
  1244. }
  1245. return 0
  1246. }
  1247. func (m *GetCommentsRequest) GetUserId() int32 {
  1248. if m != nil {
  1249. return m.UserId
  1250. }
  1251. return 0
  1252. }
  1253. type GetCommentsResponse struct {
  1254. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1255. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1256. Comments []*ArticleComment `protobuf:"bytes,3,rep,name=comments,proto3" json:"comments,omitempty"`
  1257. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  1258. TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
  1259. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1260. XXX_unrecognized []byte `json:"-"`
  1261. XXX_sizecache int32 `json:"-"`
  1262. }
  1263. func (m *GetCommentsResponse) Reset() { *m = GetCommentsResponse{} }
  1264. func (m *GetCommentsResponse) String() string { return proto.CompactTextString(m) }
  1265. func (*GetCommentsResponse) ProtoMessage() {}
  1266. func (*GetCommentsResponse) Descriptor() ([]byte, []int) {
  1267. return fileDescriptor_5c593d380f9840a2, []int{20}
  1268. }
  1269. func (m *GetCommentsResponse) XXX_Unmarshal(b []byte) error {
  1270. return xxx_messageInfo_GetCommentsResponse.Unmarshal(m, b)
  1271. }
  1272. func (m *GetCommentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1273. return xxx_messageInfo_GetCommentsResponse.Marshal(b, m, deterministic)
  1274. }
  1275. func (m *GetCommentsResponse) XXX_Merge(src proto.Message) {
  1276. xxx_messageInfo_GetCommentsResponse.Merge(m, src)
  1277. }
  1278. func (m *GetCommentsResponse) XXX_Size() int {
  1279. return xxx_messageInfo_GetCommentsResponse.Size(m)
  1280. }
  1281. func (m *GetCommentsResponse) XXX_DiscardUnknown() {
  1282. xxx_messageInfo_GetCommentsResponse.DiscardUnknown(m)
  1283. }
  1284. var xxx_messageInfo_GetCommentsResponse proto.InternalMessageInfo
  1285. func (m *GetCommentsResponse) GetCode() int32 {
  1286. if m != nil {
  1287. return m.Code
  1288. }
  1289. return 0
  1290. }
  1291. func (m *GetCommentsResponse) GetMsg() string {
  1292. if m != nil {
  1293. return m.Msg
  1294. }
  1295. return ""
  1296. }
  1297. func (m *GetCommentsResponse) GetComments() []*ArticleComment {
  1298. if m != nil {
  1299. return m.Comments
  1300. }
  1301. return nil
  1302. }
  1303. func (m *GetCommentsResponse) GetCount() int32 {
  1304. if m != nil {
  1305. return m.Count
  1306. }
  1307. return 0
  1308. }
  1309. func (m *GetCommentsResponse) GetTotalPages() int32 {
  1310. if m != nil {
  1311. return m.TotalPages
  1312. }
  1313. return 0
  1314. }
  1315. type AddCommentRequest struct {
  1316. ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"`
  1317. ReplyId int32 `protobuf:"varint,2,opt,name=replyId,proto3" json:"replyId,omitempty"`
  1318. ParentId int32 `protobuf:"varint,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
  1319. Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
  1320. UserId int32 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"`
  1321. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1322. XXX_unrecognized []byte `json:"-"`
  1323. XXX_sizecache int32 `json:"-"`
  1324. }
  1325. func (m *AddCommentRequest) Reset() { *m = AddCommentRequest{} }
  1326. func (m *AddCommentRequest) String() string { return proto.CompactTextString(m) }
  1327. func (*AddCommentRequest) ProtoMessage() {}
  1328. func (*AddCommentRequest) Descriptor() ([]byte, []int) {
  1329. return fileDescriptor_5c593d380f9840a2, []int{21}
  1330. }
  1331. func (m *AddCommentRequest) XXX_Unmarshal(b []byte) error {
  1332. return xxx_messageInfo_AddCommentRequest.Unmarshal(m, b)
  1333. }
  1334. func (m *AddCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1335. return xxx_messageInfo_AddCommentRequest.Marshal(b, m, deterministic)
  1336. }
  1337. func (m *AddCommentRequest) XXX_Merge(src proto.Message) {
  1338. xxx_messageInfo_AddCommentRequest.Merge(m, src)
  1339. }
  1340. func (m *AddCommentRequest) XXX_Size() int {
  1341. return xxx_messageInfo_AddCommentRequest.Size(m)
  1342. }
  1343. func (m *AddCommentRequest) XXX_DiscardUnknown() {
  1344. xxx_messageInfo_AddCommentRequest.DiscardUnknown(m)
  1345. }
  1346. var xxx_messageInfo_AddCommentRequest proto.InternalMessageInfo
  1347. func (m *AddCommentRequest) GetArticleId() int32 {
  1348. if m != nil {
  1349. return m.ArticleId
  1350. }
  1351. return 0
  1352. }
  1353. func (m *AddCommentRequest) GetReplyId() int32 {
  1354. if m != nil {
  1355. return m.ReplyId
  1356. }
  1357. return 0
  1358. }
  1359. func (m *AddCommentRequest) GetParentId() int32 {
  1360. if m != nil {
  1361. return m.ParentId
  1362. }
  1363. return 0
  1364. }
  1365. func (m *AddCommentRequest) GetContent() string {
  1366. if m != nil {
  1367. return m.Content
  1368. }
  1369. return ""
  1370. }
  1371. func (m *AddCommentRequest) GetUserId() int32 {
  1372. if m != nil {
  1373. return m.UserId
  1374. }
  1375. return 0
  1376. }
  1377. type GetArticleDetailResponse struct {
  1378. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  1379. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  1380. PublishTime string `protobuf:"bytes,3,opt,name=publishTime,proto3" json:"publishTime,omitempty"`
  1381. ViewCount int32 `protobuf:"varint,4,opt,name=viewCount,proto3" json:"viewCount,omitempty"`
  1382. Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
  1383. Dept string `protobuf:"bytes,6,opt,name=dept,proto3" json:"dept,omitempty"`
  1384. Hospital string `protobuf:"bytes,7,opt,name=hospital,proto3" json:"hospital,omitempty"`
  1385. JobTitle string `protobuf:"bytes,8,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"`
  1386. UrlData string `protobuf:"bytes,9,opt,name=urlData,proto3" json:"urlData,omitempty"`
  1387. Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
  1388. Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"`
  1389. HasPaid int32 `protobuf:"varint,12,opt,name=hasPaid,proto3" json:"hasPaid,omitempty"`
  1390. CommentCounts int32 `protobuf:"varint,13,opt,name=commentCounts,proto3" json:"commentCounts,omitempty"`
  1391. IsFavorite int32 `protobuf:"varint,14,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"`
  1392. Code int32 `protobuf:"varint,15,opt,name=code,proto3" json:"code,omitempty"`
  1393. Msg string `protobuf:"bytes,16,opt,name=msg,proto3" json:"msg,omitempty"`
  1394. Extra string `protobuf:"bytes,17,opt,name=extra,proto3" json:"extra,omitempty"`
  1395. PreviewUrl string `protobuf:"bytes,18,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"`
  1396. IsLike int32 `protobuf:"varint,19,opt,name=isLike,proto3" json:"isLike,omitempty"`
  1397. LikeCount int32 `protobuf:"varint,20,opt,name=likeCount,proto3" json:"likeCount,omitempty"`
  1398. LikedUsers []string `protobuf:"bytes,21,rep,name=likedUsers,proto3" json:"likedUsers,omitempty"`
  1399. QrCode1Url string `protobuf:"bytes,22,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"`
  1400. QrCode2Url string `protobuf:"bytes,23,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"`
  1401. QrCode1Remark string `protobuf:"bytes,24,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"`
  1402. QrCode2Remark string `protobuf:"bytes,25,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"`
  1403. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1404. XXX_unrecognized []byte `json:"-"`
  1405. XXX_sizecache int32 `json:"-"`
  1406. }
  1407. func (m *GetArticleDetailResponse) Reset() { *m = GetArticleDetailResponse{} }
  1408. func (m *GetArticleDetailResponse) String() string { return proto.CompactTextString(m) }
  1409. func (*GetArticleDetailResponse) ProtoMessage() {}
  1410. func (*GetArticleDetailResponse) Descriptor() ([]byte, []int) {
  1411. return fileDescriptor_5c593d380f9840a2, []int{22}
  1412. }
  1413. func (m *GetArticleDetailResponse) XXX_Unmarshal(b []byte) error {
  1414. return xxx_messageInfo_GetArticleDetailResponse.Unmarshal(m, b)
  1415. }
  1416. func (m *GetArticleDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1417. return xxx_messageInfo_GetArticleDetailResponse.Marshal(b, m, deterministic)
  1418. }
  1419. func (m *GetArticleDetailResponse) XXX_Merge(src proto.Message) {
  1420. xxx_messageInfo_GetArticleDetailResponse.Merge(m, src)
  1421. }
  1422. func (m *GetArticleDetailResponse) XXX_Size() int {
  1423. return xxx_messageInfo_GetArticleDetailResponse.Size(m)
  1424. }
  1425. func (m *GetArticleDetailResponse) XXX_DiscardUnknown() {
  1426. xxx_messageInfo_GetArticleDetailResponse.DiscardUnknown(m)
  1427. }
  1428. var xxx_messageInfo_GetArticleDetailResponse proto.InternalMessageInfo
  1429. func (m *GetArticleDetailResponse) GetArtId() int32 {
  1430. if m != nil {
  1431. return m.ArtId
  1432. }
  1433. return 0
  1434. }
  1435. func (m *GetArticleDetailResponse) GetTitle() string {
  1436. if m != nil {
  1437. return m.Title
  1438. }
  1439. return ""
  1440. }
  1441. func (m *GetArticleDetailResponse) GetPublishTime() string {
  1442. if m != nil {
  1443. return m.PublishTime
  1444. }
  1445. return ""
  1446. }
  1447. func (m *GetArticleDetailResponse) GetViewCount() int32 {
  1448. if m != nil {
  1449. return m.ViewCount
  1450. }
  1451. return 0
  1452. }
  1453. func (m *GetArticleDetailResponse) GetAuthor() string {
  1454. if m != nil {
  1455. return m.Author
  1456. }
  1457. return ""
  1458. }
  1459. func (m *GetArticleDetailResponse) GetDept() string {
  1460. if m != nil {
  1461. return m.Dept
  1462. }
  1463. return ""
  1464. }
  1465. func (m *GetArticleDetailResponse) GetHospital() string {
  1466. if m != nil {
  1467. return m.Hospital
  1468. }
  1469. return ""
  1470. }
  1471. func (m *GetArticleDetailResponse) GetJobTitle() string {
  1472. if m != nil {
  1473. return m.JobTitle
  1474. }
  1475. return ""
  1476. }
  1477. func (m *GetArticleDetailResponse) GetUrlData() string {
  1478. if m != nil {
  1479. return m.UrlData
  1480. }
  1481. return ""
  1482. }
  1483. func (m *GetArticleDetailResponse) GetType() int32 {
  1484. if m != nil {
  1485. return m.Type
  1486. }
  1487. return 0
  1488. }
  1489. func (m *GetArticleDetailResponse) GetContent() string {
  1490. if m != nil {
  1491. return m.Content
  1492. }
  1493. return ""
  1494. }
  1495. func (m *GetArticleDetailResponse) GetHasPaid() int32 {
  1496. if m != nil {
  1497. return m.HasPaid
  1498. }
  1499. return 0
  1500. }
  1501. func (m *GetArticleDetailResponse) GetCommentCounts() int32 {
  1502. if m != nil {
  1503. return m.CommentCounts
  1504. }
  1505. return 0
  1506. }
  1507. func (m *GetArticleDetailResponse) GetIsFavorite() int32 {
  1508. if m != nil {
  1509. return m.IsFavorite
  1510. }
  1511. return 0
  1512. }
  1513. func (m *GetArticleDetailResponse) GetCode() int32 {
  1514. if m != nil {
  1515. return m.Code
  1516. }
  1517. return 0
  1518. }
  1519. func (m *GetArticleDetailResponse) GetMsg() string {
  1520. if m != nil {
  1521. return m.Msg
  1522. }
  1523. return ""
  1524. }
  1525. func (m *GetArticleDetailResponse) GetExtra() string {
  1526. if m != nil {
  1527. return m.Extra
  1528. }
  1529. return ""
  1530. }
  1531. func (m *GetArticleDetailResponse) GetPreviewUrl() string {
  1532. if m != nil {
  1533. return m.PreviewUrl
  1534. }
  1535. return ""
  1536. }
  1537. func (m *GetArticleDetailResponse) GetIsLike() int32 {
  1538. if m != nil {
  1539. return m.IsLike
  1540. }
  1541. return 0
  1542. }
  1543. func (m *GetArticleDetailResponse) GetLikeCount() int32 {
  1544. if m != nil {
  1545. return m.LikeCount
  1546. }
  1547. return 0
  1548. }
  1549. func (m *GetArticleDetailResponse) GetLikedUsers() []string {
  1550. if m != nil {
  1551. return m.LikedUsers
  1552. }
  1553. return nil
  1554. }
  1555. func (m *GetArticleDetailResponse) GetQrCode1Url() string {
  1556. if m != nil {
  1557. return m.QrCode1Url
  1558. }
  1559. return ""
  1560. }
  1561. func (m *GetArticleDetailResponse) GetQrCode2Url() string {
  1562. if m != nil {
  1563. return m.QrCode2Url
  1564. }
  1565. return ""
  1566. }
  1567. func (m *GetArticleDetailResponse) GetQrCode1Remark() string {
  1568. if m != nil {
  1569. return m.QrCode1Remark
  1570. }
  1571. return ""
  1572. }
  1573. func (m *GetArticleDetailResponse) GetQrCode2Remark() string {
  1574. if m != nil {
  1575. return m.QrCode2Remark
  1576. }
  1577. return ""
  1578. }
  1579. type OperateFavoritesRequest struct {
  1580. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  1581. UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
  1582. IsFavorite int32 `protobuf:"varint,3,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"`
  1583. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1584. XXX_unrecognized []byte `json:"-"`
  1585. XXX_sizecache int32 `json:"-"`
  1586. }
  1587. func (m *OperateFavoritesRequest) Reset() { *m = OperateFavoritesRequest{} }
  1588. func (m *OperateFavoritesRequest) String() string { return proto.CompactTextString(m) }
  1589. func (*OperateFavoritesRequest) ProtoMessage() {}
  1590. func (*OperateFavoritesRequest) Descriptor() ([]byte, []int) {
  1591. return fileDescriptor_5c593d380f9840a2, []int{23}
  1592. }
  1593. func (m *OperateFavoritesRequest) XXX_Unmarshal(b []byte) error {
  1594. return xxx_messageInfo_OperateFavoritesRequest.Unmarshal(m, b)
  1595. }
  1596. func (m *OperateFavoritesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1597. return xxx_messageInfo_OperateFavoritesRequest.Marshal(b, m, deterministic)
  1598. }
  1599. func (m *OperateFavoritesRequest) XXX_Merge(src proto.Message) {
  1600. xxx_messageInfo_OperateFavoritesRequest.Merge(m, src)
  1601. }
  1602. func (m *OperateFavoritesRequest) XXX_Size() int {
  1603. return xxx_messageInfo_OperateFavoritesRequest.Size(m)
  1604. }
  1605. func (m *OperateFavoritesRequest) XXX_DiscardUnknown() {
  1606. xxx_messageInfo_OperateFavoritesRequest.DiscardUnknown(m)
  1607. }
  1608. var xxx_messageInfo_OperateFavoritesRequest proto.InternalMessageInfo
  1609. func (m *OperateFavoritesRequest) GetArtId() int32 {
  1610. if m != nil {
  1611. return m.ArtId
  1612. }
  1613. return 0
  1614. }
  1615. func (m *OperateFavoritesRequest) GetUserId() int32 {
  1616. if m != nil {
  1617. return m.UserId
  1618. }
  1619. return 0
  1620. }
  1621. func (m *OperateFavoritesRequest) GetIsFavorite() int32 {
  1622. if m != nil {
  1623. return m.IsFavorite
  1624. }
  1625. return 0
  1626. }
  1627. type GetArticlesFavoritesRequest struct {
  1628. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1629. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  1630. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  1631. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1632. XXX_unrecognized []byte `json:"-"`
  1633. XXX_sizecache int32 `json:"-"`
  1634. }
  1635. func (m *GetArticlesFavoritesRequest) Reset() { *m = GetArticlesFavoritesRequest{} }
  1636. func (m *GetArticlesFavoritesRequest) String() string { return proto.CompactTextString(m) }
  1637. func (*GetArticlesFavoritesRequest) ProtoMessage() {}
  1638. func (*GetArticlesFavoritesRequest) Descriptor() ([]byte, []int) {
  1639. return fileDescriptor_5c593d380f9840a2, []int{24}
  1640. }
  1641. func (m *GetArticlesFavoritesRequest) XXX_Unmarshal(b []byte) error {
  1642. return xxx_messageInfo_GetArticlesFavoritesRequest.Unmarshal(m, b)
  1643. }
  1644. func (m *GetArticlesFavoritesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1645. return xxx_messageInfo_GetArticlesFavoritesRequest.Marshal(b, m, deterministic)
  1646. }
  1647. func (m *GetArticlesFavoritesRequest) XXX_Merge(src proto.Message) {
  1648. xxx_messageInfo_GetArticlesFavoritesRequest.Merge(m, src)
  1649. }
  1650. func (m *GetArticlesFavoritesRequest) XXX_Size() int {
  1651. return xxx_messageInfo_GetArticlesFavoritesRequest.Size(m)
  1652. }
  1653. func (m *GetArticlesFavoritesRequest) XXX_DiscardUnknown() {
  1654. xxx_messageInfo_GetArticlesFavoritesRequest.DiscardUnknown(m)
  1655. }
  1656. var xxx_messageInfo_GetArticlesFavoritesRequest proto.InternalMessageInfo
  1657. func (m *GetArticlesFavoritesRequest) GetUserId() int32 {
  1658. if m != nil {
  1659. return m.UserId
  1660. }
  1661. return 0
  1662. }
  1663. func (m *GetArticlesFavoritesRequest) GetPageIndex() int32 {
  1664. if m != nil {
  1665. return m.PageIndex
  1666. }
  1667. return 0
  1668. }
  1669. func (m *GetArticlesFavoritesRequest) GetPageSize() int32 {
  1670. if m != nil {
  1671. return m.PageSize
  1672. }
  1673. return 0
  1674. }
  1675. type GetPaidArticlesRequest struct {
  1676. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1677. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  1678. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  1679. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1680. XXX_unrecognized []byte `json:"-"`
  1681. XXX_sizecache int32 `json:"-"`
  1682. }
  1683. func (m *GetPaidArticlesRequest) Reset() { *m = GetPaidArticlesRequest{} }
  1684. func (m *GetPaidArticlesRequest) String() string { return proto.CompactTextString(m) }
  1685. func (*GetPaidArticlesRequest) ProtoMessage() {}
  1686. func (*GetPaidArticlesRequest) Descriptor() ([]byte, []int) {
  1687. return fileDescriptor_5c593d380f9840a2, []int{25}
  1688. }
  1689. func (m *GetPaidArticlesRequest) XXX_Unmarshal(b []byte) error {
  1690. return xxx_messageInfo_GetPaidArticlesRequest.Unmarshal(m, b)
  1691. }
  1692. func (m *GetPaidArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1693. return xxx_messageInfo_GetPaidArticlesRequest.Marshal(b, m, deterministic)
  1694. }
  1695. func (m *GetPaidArticlesRequest) XXX_Merge(src proto.Message) {
  1696. xxx_messageInfo_GetPaidArticlesRequest.Merge(m, src)
  1697. }
  1698. func (m *GetPaidArticlesRequest) XXX_Size() int {
  1699. return xxx_messageInfo_GetPaidArticlesRequest.Size(m)
  1700. }
  1701. func (m *GetPaidArticlesRequest) XXX_DiscardUnknown() {
  1702. xxx_messageInfo_GetPaidArticlesRequest.DiscardUnknown(m)
  1703. }
  1704. var xxx_messageInfo_GetPaidArticlesRequest proto.InternalMessageInfo
  1705. func (m *GetPaidArticlesRequest) GetUserId() int32 {
  1706. if m != nil {
  1707. return m.UserId
  1708. }
  1709. return 0
  1710. }
  1711. func (m *GetPaidArticlesRequest) GetPageIndex() int32 {
  1712. if m != nil {
  1713. return m.PageIndex
  1714. }
  1715. return 0
  1716. }
  1717. func (m *GetPaidArticlesRequest) GetPageSize() int32 {
  1718. if m != nil {
  1719. return m.PageSize
  1720. }
  1721. return 0
  1722. }
  1723. type GetPublishArticlesRequest struct {
  1724. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1725. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  1726. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  1727. CurrentUserId int32 `protobuf:"varint,4,opt,name=currentUserId,proto3" json:"currentUserId,omitempty"`
  1728. Terminal int32 `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"`
  1729. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1730. XXX_unrecognized []byte `json:"-"`
  1731. XXX_sizecache int32 `json:"-"`
  1732. }
  1733. func (m *GetPublishArticlesRequest) Reset() { *m = GetPublishArticlesRequest{} }
  1734. func (m *GetPublishArticlesRequest) String() string { return proto.CompactTextString(m) }
  1735. func (*GetPublishArticlesRequest) ProtoMessage() {}
  1736. func (*GetPublishArticlesRequest) Descriptor() ([]byte, []int) {
  1737. return fileDescriptor_5c593d380f9840a2, []int{26}
  1738. }
  1739. func (m *GetPublishArticlesRequest) XXX_Unmarshal(b []byte) error {
  1740. return xxx_messageInfo_GetPublishArticlesRequest.Unmarshal(m, b)
  1741. }
  1742. func (m *GetPublishArticlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1743. return xxx_messageInfo_GetPublishArticlesRequest.Marshal(b, m, deterministic)
  1744. }
  1745. func (m *GetPublishArticlesRequest) XXX_Merge(src proto.Message) {
  1746. xxx_messageInfo_GetPublishArticlesRequest.Merge(m, src)
  1747. }
  1748. func (m *GetPublishArticlesRequest) XXX_Size() int {
  1749. return xxx_messageInfo_GetPublishArticlesRequest.Size(m)
  1750. }
  1751. func (m *GetPublishArticlesRequest) XXX_DiscardUnknown() {
  1752. xxx_messageInfo_GetPublishArticlesRequest.DiscardUnknown(m)
  1753. }
  1754. var xxx_messageInfo_GetPublishArticlesRequest proto.InternalMessageInfo
  1755. func (m *GetPublishArticlesRequest) GetUserId() int32 {
  1756. if m != nil {
  1757. return m.UserId
  1758. }
  1759. return 0
  1760. }
  1761. func (m *GetPublishArticlesRequest) GetPageIndex() int32 {
  1762. if m != nil {
  1763. return m.PageIndex
  1764. }
  1765. return 0
  1766. }
  1767. func (m *GetPublishArticlesRequest) GetPageSize() int32 {
  1768. if m != nil {
  1769. return m.PageSize
  1770. }
  1771. return 0
  1772. }
  1773. func (m *GetPublishArticlesRequest) GetCurrentUserId() int32 {
  1774. if m != nil {
  1775. return m.CurrentUserId
  1776. }
  1777. return 0
  1778. }
  1779. func (m *GetPublishArticlesRequest) GetTerminal() int32 {
  1780. if m != nil {
  1781. return m.Terminal
  1782. }
  1783. return 0
  1784. }
  1785. type PublishMedicalFieldArticleRequest struct {
  1786. ProviderId int32 `protobuf:"varint,1,opt,name=providerId,proto3" json:"providerId,omitempty"`
  1787. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  1788. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
  1789. PreviewUrl string `protobuf:"bytes,4,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"`
  1790. QrCode1Url string `protobuf:"bytes,5,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"`
  1791. QrCode2Url string `protobuf:"bytes,6,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"`
  1792. QrCode1Remark string `protobuf:"bytes,7,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"`
  1793. QrCode2Remark string `protobuf:"bytes,8,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"`
  1794. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1795. XXX_unrecognized []byte `json:"-"`
  1796. XXX_sizecache int32 `json:"-"`
  1797. }
  1798. func (m *PublishMedicalFieldArticleRequest) Reset() { *m = PublishMedicalFieldArticleRequest{} }
  1799. func (m *PublishMedicalFieldArticleRequest) String() string { return proto.CompactTextString(m) }
  1800. func (*PublishMedicalFieldArticleRequest) ProtoMessage() {}
  1801. func (*PublishMedicalFieldArticleRequest) Descriptor() ([]byte, []int) {
  1802. return fileDescriptor_5c593d380f9840a2, []int{27}
  1803. }
  1804. func (m *PublishMedicalFieldArticleRequest) XXX_Unmarshal(b []byte) error {
  1805. return xxx_messageInfo_PublishMedicalFieldArticleRequest.Unmarshal(m, b)
  1806. }
  1807. func (m *PublishMedicalFieldArticleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1808. return xxx_messageInfo_PublishMedicalFieldArticleRequest.Marshal(b, m, deterministic)
  1809. }
  1810. func (m *PublishMedicalFieldArticleRequest) XXX_Merge(src proto.Message) {
  1811. xxx_messageInfo_PublishMedicalFieldArticleRequest.Merge(m, src)
  1812. }
  1813. func (m *PublishMedicalFieldArticleRequest) XXX_Size() int {
  1814. return xxx_messageInfo_PublishMedicalFieldArticleRequest.Size(m)
  1815. }
  1816. func (m *PublishMedicalFieldArticleRequest) XXX_DiscardUnknown() {
  1817. xxx_messageInfo_PublishMedicalFieldArticleRequest.DiscardUnknown(m)
  1818. }
  1819. var xxx_messageInfo_PublishMedicalFieldArticleRequest proto.InternalMessageInfo
  1820. func (m *PublishMedicalFieldArticleRequest) GetProviderId() int32 {
  1821. if m != nil {
  1822. return m.ProviderId
  1823. }
  1824. return 0
  1825. }
  1826. func (m *PublishMedicalFieldArticleRequest) GetTitle() string {
  1827. if m != nil {
  1828. return m.Title
  1829. }
  1830. return ""
  1831. }
  1832. func (m *PublishMedicalFieldArticleRequest) GetContent() string {
  1833. if m != nil {
  1834. return m.Content
  1835. }
  1836. return ""
  1837. }
  1838. func (m *PublishMedicalFieldArticleRequest) GetPreviewUrl() string {
  1839. if m != nil {
  1840. return m.PreviewUrl
  1841. }
  1842. return ""
  1843. }
  1844. func (m *PublishMedicalFieldArticleRequest) GetQrCode1Url() string {
  1845. if m != nil {
  1846. return m.QrCode1Url
  1847. }
  1848. return ""
  1849. }
  1850. func (m *PublishMedicalFieldArticleRequest) GetQrCode2Url() string {
  1851. if m != nil {
  1852. return m.QrCode2Url
  1853. }
  1854. return ""
  1855. }
  1856. func (m *PublishMedicalFieldArticleRequest) GetQrCode1Remark() string {
  1857. if m != nil {
  1858. return m.QrCode1Remark
  1859. }
  1860. return ""
  1861. }
  1862. func (m *PublishMedicalFieldArticleRequest) GetQrCode2Remark() string {
  1863. if m != nil {
  1864. return m.QrCode2Remark
  1865. }
  1866. return ""
  1867. }
  1868. type PublishMedicalFieldArticleResponse struct {
  1869. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  1870. ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"`
  1871. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1872. XXX_unrecognized []byte `json:"-"`
  1873. XXX_sizecache int32 `json:"-"`
  1874. }
  1875. func (m *PublishMedicalFieldArticleResponse) Reset() { *m = PublishMedicalFieldArticleResponse{} }
  1876. func (m *PublishMedicalFieldArticleResponse) String() string { return proto.CompactTextString(m) }
  1877. func (*PublishMedicalFieldArticleResponse) ProtoMessage() {}
  1878. func (*PublishMedicalFieldArticleResponse) Descriptor() ([]byte, []int) {
  1879. return fileDescriptor_5c593d380f9840a2, []int{28}
  1880. }
  1881. func (m *PublishMedicalFieldArticleResponse) XXX_Unmarshal(b []byte) error {
  1882. return xxx_messageInfo_PublishMedicalFieldArticleResponse.Unmarshal(m, b)
  1883. }
  1884. func (m *PublishMedicalFieldArticleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1885. return xxx_messageInfo_PublishMedicalFieldArticleResponse.Marshal(b, m, deterministic)
  1886. }
  1887. func (m *PublishMedicalFieldArticleResponse) XXX_Merge(src proto.Message) {
  1888. xxx_messageInfo_PublishMedicalFieldArticleResponse.Merge(m, src)
  1889. }
  1890. func (m *PublishMedicalFieldArticleResponse) XXX_Size() int {
  1891. return xxx_messageInfo_PublishMedicalFieldArticleResponse.Size(m)
  1892. }
  1893. func (m *PublishMedicalFieldArticleResponse) XXX_DiscardUnknown() {
  1894. xxx_messageInfo_PublishMedicalFieldArticleResponse.DiscardUnknown(m)
  1895. }
  1896. var xxx_messageInfo_PublishMedicalFieldArticleResponse proto.InternalMessageInfo
  1897. func (m *PublishMedicalFieldArticleResponse) GetResult() *Result {
  1898. if m != nil {
  1899. return m.Result
  1900. }
  1901. return nil
  1902. }
  1903. func (m *PublishMedicalFieldArticleResponse) GetArticleId() int32 {
  1904. if m != nil {
  1905. return m.ArticleId
  1906. }
  1907. return 0
  1908. }
  1909. type PublishMedicalFieldVideoRequest struct {
  1910. ProviderId int32 `protobuf:"varint,1,opt,name=providerId,proto3" json:"providerId,omitempty"`
  1911. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  1912. VideoUrl string `protobuf:"bytes,3,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"`
  1913. PreviewUrl string `protobuf:"bytes,4,opt,name=previewUrl,proto3" json:"previewUrl,omitempty"`
  1914. SpecialistIntro string `protobuf:"bytes,5,opt,name=specialistIntro,proto3" json:"specialistIntro,omitempty"`
  1915. ContentIntro string `protobuf:"bytes,6,opt,name=contentIntro,proto3" json:"contentIntro,omitempty"`
  1916. QrCode1Url string `protobuf:"bytes,7,opt,name=qrCode1Url,proto3" json:"qrCode1Url,omitempty"`
  1917. QrCode2Url string `protobuf:"bytes,8,opt,name=qrCode2Url,proto3" json:"qrCode2Url,omitempty"`
  1918. QrCode1Remark string `protobuf:"bytes,9,opt,name=qrCode1Remark,proto3" json:"qrCode1Remark,omitempty"`
  1919. QrCode2Remark string `protobuf:"bytes,10,opt,name=qrCode2Remark,proto3" json:"qrCode2Remark,omitempty"`
  1920. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1921. XXX_unrecognized []byte `json:"-"`
  1922. XXX_sizecache int32 `json:"-"`
  1923. }
  1924. func (m *PublishMedicalFieldVideoRequest) Reset() { *m = PublishMedicalFieldVideoRequest{} }
  1925. func (m *PublishMedicalFieldVideoRequest) String() string { return proto.CompactTextString(m) }
  1926. func (*PublishMedicalFieldVideoRequest) ProtoMessage() {}
  1927. func (*PublishMedicalFieldVideoRequest) Descriptor() ([]byte, []int) {
  1928. return fileDescriptor_5c593d380f9840a2, []int{29}
  1929. }
  1930. func (m *PublishMedicalFieldVideoRequest) XXX_Unmarshal(b []byte) error {
  1931. return xxx_messageInfo_PublishMedicalFieldVideoRequest.Unmarshal(m, b)
  1932. }
  1933. func (m *PublishMedicalFieldVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1934. return xxx_messageInfo_PublishMedicalFieldVideoRequest.Marshal(b, m, deterministic)
  1935. }
  1936. func (m *PublishMedicalFieldVideoRequest) XXX_Merge(src proto.Message) {
  1937. xxx_messageInfo_PublishMedicalFieldVideoRequest.Merge(m, src)
  1938. }
  1939. func (m *PublishMedicalFieldVideoRequest) XXX_Size() int {
  1940. return xxx_messageInfo_PublishMedicalFieldVideoRequest.Size(m)
  1941. }
  1942. func (m *PublishMedicalFieldVideoRequest) XXX_DiscardUnknown() {
  1943. xxx_messageInfo_PublishMedicalFieldVideoRequest.DiscardUnknown(m)
  1944. }
  1945. var xxx_messageInfo_PublishMedicalFieldVideoRequest proto.InternalMessageInfo
  1946. func (m *PublishMedicalFieldVideoRequest) GetProviderId() int32 {
  1947. if m != nil {
  1948. return m.ProviderId
  1949. }
  1950. return 0
  1951. }
  1952. func (m *PublishMedicalFieldVideoRequest) GetTitle() string {
  1953. if m != nil {
  1954. return m.Title
  1955. }
  1956. return ""
  1957. }
  1958. func (m *PublishMedicalFieldVideoRequest) GetVideoUrl() string {
  1959. if m != nil {
  1960. return m.VideoUrl
  1961. }
  1962. return ""
  1963. }
  1964. func (m *PublishMedicalFieldVideoRequest) GetPreviewUrl() string {
  1965. if m != nil {
  1966. return m.PreviewUrl
  1967. }
  1968. return ""
  1969. }
  1970. func (m *PublishMedicalFieldVideoRequest) GetSpecialistIntro() string {
  1971. if m != nil {
  1972. return m.SpecialistIntro
  1973. }
  1974. return ""
  1975. }
  1976. func (m *PublishMedicalFieldVideoRequest) GetContentIntro() string {
  1977. if m != nil {
  1978. return m.ContentIntro
  1979. }
  1980. return ""
  1981. }
  1982. func (m *PublishMedicalFieldVideoRequest) GetQrCode1Url() string {
  1983. if m != nil {
  1984. return m.QrCode1Url
  1985. }
  1986. return ""
  1987. }
  1988. func (m *PublishMedicalFieldVideoRequest) GetQrCode2Url() string {
  1989. if m != nil {
  1990. return m.QrCode2Url
  1991. }
  1992. return ""
  1993. }
  1994. func (m *PublishMedicalFieldVideoRequest) GetQrCode1Remark() string {
  1995. if m != nil {
  1996. return m.QrCode1Remark
  1997. }
  1998. return ""
  1999. }
  2000. func (m *PublishMedicalFieldVideoRequest) GetQrCode2Remark() string {
  2001. if m != nil {
  2002. return m.QrCode2Remark
  2003. }
  2004. return ""
  2005. }
  2006. type PublishMedicalFieldVideoResponse struct {
  2007. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  2008. ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2009. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2010. XXX_unrecognized []byte `json:"-"`
  2011. XXX_sizecache int32 `json:"-"`
  2012. }
  2013. func (m *PublishMedicalFieldVideoResponse) Reset() { *m = PublishMedicalFieldVideoResponse{} }
  2014. func (m *PublishMedicalFieldVideoResponse) String() string { return proto.CompactTextString(m) }
  2015. func (*PublishMedicalFieldVideoResponse) ProtoMessage() {}
  2016. func (*PublishMedicalFieldVideoResponse) Descriptor() ([]byte, []int) {
  2017. return fileDescriptor_5c593d380f9840a2, []int{30}
  2018. }
  2019. func (m *PublishMedicalFieldVideoResponse) XXX_Unmarshal(b []byte) error {
  2020. return xxx_messageInfo_PublishMedicalFieldVideoResponse.Unmarshal(m, b)
  2021. }
  2022. func (m *PublishMedicalFieldVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2023. return xxx_messageInfo_PublishMedicalFieldVideoResponse.Marshal(b, m, deterministic)
  2024. }
  2025. func (m *PublishMedicalFieldVideoResponse) XXX_Merge(src proto.Message) {
  2026. xxx_messageInfo_PublishMedicalFieldVideoResponse.Merge(m, src)
  2027. }
  2028. func (m *PublishMedicalFieldVideoResponse) XXX_Size() int {
  2029. return xxx_messageInfo_PublishMedicalFieldVideoResponse.Size(m)
  2030. }
  2031. func (m *PublishMedicalFieldVideoResponse) XXX_DiscardUnknown() {
  2032. xxx_messageInfo_PublishMedicalFieldVideoResponse.DiscardUnknown(m)
  2033. }
  2034. var xxx_messageInfo_PublishMedicalFieldVideoResponse proto.InternalMessageInfo
  2035. func (m *PublishMedicalFieldVideoResponse) GetResult() *Result {
  2036. if m != nil {
  2037. return m.Result
  2038. }
  2039. return nil
  2040. }
  2041. func (m *PublishMedicalFieldVideoResponse) GetArticleId() int32 {
  2042. if m != nil {
  2043. return m.ArticleId
  2044. }
  2045. return 0
  2046. }
  2047. type EditArticleSettingRequest struct {
  2048. ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2049. Price int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"`
  2050. PushType int32 `protobuf:"varint,3,opt,name=pushType,proto3" json:"pushType,omitempty"`
  2051. UserId int32 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"`
  2052. DiagnosisType string `protobuf:"bytes,5,opt,name=diagnosisType,proto3" json:"diagnosisType,omitempty"`
  2053. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2054. XXX_unrecognized []byte `json:"-"`
  2055. XXX_sizecache int32 `json:"-"`
  2056. }
  2057. func (m *EditArticleSettingRequest) Reset() { *m = EditArticleSettingRequest{} }
  2058. func (m *EditArticleSettingRequest) String() string { return proto.CompactTextString(m) }
  2059. func (*EditArticleSettingRequest) ProtoMessage() {}
  2060. func (*EditArticleSettingRequest) Descriptor() ([]byte, []int) {
  2061. return fileDescriptor_5c593d380f9840a2, []int{31}
  2062. }
  2063. func (m *EditArticleSettingRequest) XXX_Unmarshal(b []byte) error {
  2064. return xxx_messageInfo_EditArticleSettingRequest.Unmarshal(m, b)
  2065. }
  2066. func (m *EditArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2067. return xxx_messageInfo_EditArticleSettingRequest.Marshal(b, m, deterministic)
  2068. }
  2069. func (m *EditArticleSettingRequest) XXX_Merge(src proto.Message) {
  2070. xxx_messageInfo_EditArticleSettingRequest.Merge(m, src)
  2071. }
  2072. func (m *EditArticleSettingRequest) XXX_Size() int {
  2073. return xxx_messageInfo_EditArticleSettingRequest.Size(m)
  2074. }
  2075. func (m *EditArticleSettingRequest) XXX_DiscardUnknown() {
  2076. xxx_messageInfo_EditArticleSettingRequest.DiscardUnknown(m)
  2077. }
  2078. var xxx_messageInfo_EditArticleSettingRequest proto.InternalMessageInfo
  2079. func (m *EditArticleSettingRequest) GetArticleId() int32 {
  2080. if m != nil {
  2081. return m.ArticleId
  2082. }
  2083. return 0
  2084. }
  2085. func (m *EditArticleSettingRequest) GetPrice() int32 {
  2086. if m != nil {
  2087. return m.Price
  2088. }
  2089. return 0
  2090. }
  2091. func (m *EditArticleSettingRequest) GetPushType() int32 {
  2092. if m != nil {
  2093. return m.PushType
  2094. }
  2095. return 0
  2096. }
  2097. func (m *EditArticleSettingRequest) GetUserId() int32 {
  2098. if m != nil {
  2099. return m.UserId
  2100. }
  2101. return 0
  2102. }
  2103. func (m *EditArticleSettingRequest) GetDiagnosisType() string {
  2104. if m != nil {
  2105. return m.DiagnosisType
  2106. }
  2107. return ""
  2108. }
  2109. type GetArticleSettingRequest struct {
  2110. ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2111. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2112. XXX_unrecognized []byte `json:"-"`
  2113. XXX_sizecache int32 `json:"-"`
  2114. }
  2115. func (m *GetArticleSettingRequest) Reset() { *m = GetArticleSettingRequest{} }
  2116. func (m *GetArticleSettingRequest) String() string { return proto.CompactTextString(m) }
  2117. func (*GetArticleSettingRequest) ProtoMessage() {}
  2118. func (*GetArticleSettingRequest) Descriptor() ([]byte, []int) {
  2119. return fileDescriptor_5c593d380f9840a2, []int{32}
  2120. }
  2121. func (m *GetArticleSettingRequest) XXX_Unmarshal(b []byte) error {
  2122. return xxx_messageInfo_GetArticleSettingRequest.Unmarshal(m, b)
  2123. }
  2124. func (m *GetArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2125. return xxx_messageInfo_GetArticleSettingRequest.Marshal(b, m, deterministic)
  2126. }
  2127. func (m *GetArticleSettingRequest) XXX_Merge(src proto.Message) {
  2128. xxx_messageInfo_GetArticleSettingRequest.Merge(m, src)
  2129. }
  2130. func (m *GetArticleSettingRequest) XXX_Size() int {
  2131. return xxx_messageInfo_GetArticleSettingRequest.Size(m)
  2132. }
  2133. func (m *GetArticleSettingRequest) XXX_DiscardUnknown() {
  2134. xxx_messageInfo_GetArticleSettingRequest.DiscardUnknown(m)
  2135. }
  2136. var xxx_messageInfo_GetArticleSettingRequest proto.InternalMessageInfo
  2137. func (m *GetArticleSettingRequest) GetArticleId() int32 {
  2138. if m != nil {
  2139. return m.ArticleId
  2140. }
  2141. return 0
  2142. }
  2143. type GetLastArticleSettingRequest struct {
  2144. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  2145. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2146. XXX_unrecognized []byte `json:"-"`
  2147. XXX_sizecache int32 `json:"-"`
  2148. }
  2149. func (m *GetLastArticleSettingRequest) Reset() { *m = GetLastArticleSettingRequest{} }
  2150. func (m *GetLastArticleSettingRequest) String() string { return proto.CompactTextString(m) }
  2151. func (*GetLastArticleSettingRequest) ProtoMessage() {}
  2152. func (*GetLastArticleSettingRequest) Descriptor() ([]byte, []int) {
  2153. return fileDescriptor_5c593d380f9840a2, []int{33}
  2154. }
  2155. func (m *GetLastArticleSettingRequest) XXX_Unmarshal(b []byte) error {
  2156. return xxx_messageInfo_GetLastArticleSettingRequest.Unmarshal(m, b)
  2157. }
  2158. func (m *GetLastArticleSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2159. return xxx_messageInfo_GetLastArticleSettingRequest.Marshal(b, m, deterministic)
  2160. }
  2161. func (m *GetLastArticleSettingRequest) XXX_Merge(src proto.Message) {
  2162. xxx_messageInfo_GetLastArticleSettingRequest.Merge(m, src)
  2163. }
  2164. func (m *GetLastArticleSettingRequest) XXX_Size() int {
  2165. return xxx_messageInfo_GetLastArticleSettingRequest.Size(m)
  2166. }
  2167. func (m *GetLastArticleSettingRequest) XXX_DiscardUnknown() {
  2168. xxx_messageInfo_GetLastArticleSettingRequest.DiscardUnknown(m)
  2169. }
  2170. var xxx_messageInfo_GetLastArticleSettingRequest proto.InternalMessageInfo
  2171. func (m *GetLastArticleSettingRequest) GetUserId() int32 {
  2172. if m != nil {
  2173. return m.UserId
  2174. }
  2175. return 0
  2176. }
  2177. type GetArticleSettingResponse struct {
  2178. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  2179. PushType int32 `protobuf:"varint,2,opt,name=pushType,proto3" json:"pushType,omitempty"`
  2180. Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
  2181. DiagnosisType string `protobuf:"bytes,4,opt,name=diagnosisType,proto3" json:"diagnosisType,omitempty"`
  2182. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2183. XXX_unrecognized []byte `json:"-"`
  2184. XXX_sizecache int32 `json:"-"`
  2185. }
  2186. func (m *GetArticleSettingResponse) Reset() { *m = GetArticleSettingResponse{} }
  2187. func (m *GetArticleSettingResponse) String() string { return proto.CompactTextString(m) }
  2188. func (*GetArticleSettingResponse) ProtoMessage() {}
  2189. func (*GetArticleSettingResponse) Descriptor() ([]byte, []int) {
  2190. return fileDescriptor_5c593d380f9840a2, []int{34}
  2191. }
  2192. func (m *GetArticleSettingResponse) XXX_Unmarshal(b []byte) error {
  2193. return xxx_messageInfo_GetArticleSettingResponse.Unmarshal(m, b)
  2194. }
  2195. func (m *GetArticleSettingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2196. return xxx_messageInfo_GetArticleSettingResponse.Marshal(b, m, deterministic)
  2197. }
  2198. func (m *GetArticleSettingResponse) XXX_Merge(src proto.Message) {
  2199. xxx_messageInfo_GetArticleSettingResponse.Merge(m, src)
  2200. }
  2201. func (m *GetArticleSettingResponse) XXX_Size() int {
  2202. return xxx_messageInfo_GetArticleSettingResponse.Size(m)
  2203. }
  2204. func (m *GetArticleSettingResponse) XXX_DiscardUnknown() {
  2205. xxx_messageInfo_GetArticleSettingResponse.DiscardUnknown(m)
  2206. }
  2207. var xxx_messageInfo_GetArticleSettingResponse proto.InternalMessageInfo
  2208. func (m *GetArticleSettingResponse) GetResult() *Result {
  2209. if m != nil {
  2210. return m.Result
  2211. }
  2212. return nil
  2213. }
  2214. func (m *GetArticleSettingResponse) GetPushType() int32 {
  2215. if m != nil {
  2216. return m.PushType
  2217. }
  2218. return 0
  2219. }
  2220. func (m *GetArticleSettingResponse) GetPrice() int32 {
  2221. if m != nil {
  2222. return m.Price
  2223. }
  2224. return 0
  2225. }
  2226. func (m *GetArticleSettingResponse) GetDiagnosisType() string {
  2227. if m != nil {
  2228. return m.DiagnosisType
  2229. }
  2230. return ""
  2231. }
  2232. type CreateOrderRequest struct {
  2233. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  2234. ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2235. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2236. XXX_unrecognized []byte `json:"-"`
  2237. XXX_sizecache int32 `json:"-"`
  2238. }
  2239. func (m *CreateOrderRequest) Reset() { *m = CreateOrderRequest{} }
  2240. func (m *CreateOrderRequest) String() string { return proto.CompactTextString(m) }
  2241. func (*CreateOrderRequest) ProtoMessage() {}
  2242. func (*CreateOrderRequest) Descriptor() ([]byte, []int) {
  2243. return fileDescriptor_5c593d380f9840a2, []int{35}
  2244. }
  2245. func (m *CreateOrderRequest) XXX_Unmarshal(b []byte) error {
  2246. return xxx_messageInfo_CreateOrderRequest.Unmarshal(m, b)
  2247. }
  2248. func (m *CreateOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2249. return xxx_messageInfo_CreateOrderRequest.Marshal(b, m, deterministic)
  2250. }
  2251. func (m *CreateOrderRequest) XXX_Merge(src proto.Message) {
  2252. xxx_messageInfo_CreateOrderRequest.Merge(m, src)
  2253. }
  2254. func (m *CreateOrderRequest) XXX_Size() int {
  2255. return xxx_messageInfo_CreateOrderRequest.Size(m)
  2256. }
  2257. func (m *CreateOrderRequest) XXX_DiscardUnknown() {
  2258. xxx_messageInfo_CreateOrderRequest.DiscardUnknown(m)
  2259. }
  2260. var xxx_messageInfo_CreateOrderRequest proto.InternalMessageInfo
  2261. func (m *CreateOrderRequest) GetUserId() int32 {
  2262. if m != nil {
  2263. return m.UserId
  2264. }
  2265. return 0
  2266. }
  2267. func (m *CreateOrderRequest) GetArticleId() int32 {
  2268. if m != nil {
  2269. return m.ArticleId
  2270. }
  2271. return 0
  2272. }
  2273. type CreateOrderResponse struct {
  2274. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  2275. OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
  2276. OrderNo string `protobuf:"bytes,3,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
  2277. Amount int32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
  2278. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2279. XXX_unrecognized []byte `json:"-"`
  2280. XXX_sizecache int32 `json:"-"`
  2281. }
  2282. func (m *CreateOrderResponse) Reset() { *m = CreateOrderResponse{} }
  2283. func (m *CreateOrderResponse) String() string { return proto.CompactTextString(m) }
  2284. func (*CreateOrderResponse) ProtoMessage() {}
  2285. func (*CreateOrderResponse) Descriptor() ([]byte, []int) {
  2286. return fileDescriptor_5c593d380f9840a2, []int{36}
  2287. }
  2288. func (m *CreateOrderResponse) XXX_Unmarshal(b []byte) error {
  2289. return xxx_messageInfo_CreateOrderResponse.Unmarshal(m, b)
  2290. }
  2291. func (m *CreateOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2292. return xxx_messageInfo_CreateOrderResponse.Marshal(b, m, deterministic)
  2293. }
  2294. func (m *CreateOrderResponse) XXX_Merge(src proto.Message) {
  2295. xxx_messageInfo_CreateOrderResponse.Merge(m, src)
  2296. }
  2297. func (m *CreateOrderResponse) XXX_Size() int {
  2298. return xxx_messageInfo_CreateOrderResponse.Size(m)
  2299. }
  2300. func (m *CreateOrderResponse) XXX_DiscardUnknown() {
  2301. xxx_messageInfo_CreateOrderResponse.DiscardUnknown(m)
  2302. }
  2303. var xxx_messageInfo_CreateOrderResponse proto.InternalMessageInfo
  2304. func (m *CreateOrderResponse) GetResult() *Result {
  2305. if m != nil {
  2306. return m.Result
  2307. }
  2308. return nil
  2309. }
  2310. func (m *CreateOrderResponse) GetOrderId() int32 {
  2311. if m != nil {
  2312. return m.OrderId
  2313. }
  2314. return 0
  2315. }
  2316. func (m *CreateOrderResponse) GetOrderNo() string {
  2317. if m != nil {
  2318. return m.OrderNo
  2319. }
  2320. return ""
  2321. }
  2322. func (m *CreateOrderResponse) GetAmount() int32 {
  2323. if m != nil {
  2324. return m.Amount
  2325. }
  2326. return 0
  2327. }
  2328. type OrderPaymentCallbackNotifyRequest struct {
  2329. OrderNo string `protobuf:"bytes,1,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
  2330. OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
  2331. PayType int32 `protobuf:"varint,3,opt,name=payType,proto3" json:"payType,omitempty"`
  2332. Custom string `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom,omitempty"`
  2333. BizId int32 `protobuf:"varint,5,opt,name=bizId,proto3" json:"bizId,omitempty"`
  2334. PaymentNo string `protobuf:"bytes,6,opt,name=paymentNo,proto3" json:"paymentNo,omitempty"`
  2335. UserId int32 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"`
  2336. PrepayId string `protobuf:"bytes,8,opt,name=prepayId,proto3" json:"prepayId,omitempty"`
  2337. Terminal int32 `protobuf:"varint,9,opt,name=terminal,proto3" json:"terminal,omitempty"`
  2338. Openid string `protobuf:"bytes,10,opt,name=openid,proto3" json:"openid,omitempty"`
  2339. PaymentChannel int32 `protobuf:"varint,11,opt,name=paymentChannel,proto3" json:"paymentChannel,omitempty"`
  2340. OneTimeCustom string `protobuf:"bytes,12,opt,name=oneTimeCustom,proto3" json:"oneTimeCustom,omitempty"`
  2341. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2342. XXX_unrecognized []byte `json:"-"`
  2343. XXX_sizecache int32 `json:"-"`
  2344. }
  2345. func (m *OrderPaymentCallbackNotifyRequest) Reset() { *m = OrderPaymentCallbackNotifyRequest{} }
  2346. func (m *OrderPaymentCallbackNotifyRequest) String() string { return proto.CompactTextString(m) }
  2347. func (*OrderPaymentCallbackNotifyRequest) ProtoMessage() {}
  2348. func (*OrderPaymentCallbackNotifyRequest) Descriptor() ([]byte, []int) {
  2349. return fileDescriptor_5c593d380f9840a2, []int{37}
  2350. }
  2351. func (m *OrderPaymentCallbackNotifyRequest) XXX_Unmarshal(b []byte) error {
  2352. return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Unmarshal(m, b)
  2353. }
  2354. func (m *OrderPaymentCallbackNotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2355. return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Marshal(b, m, deterministic)
  2356. }
  2357. func (m *OrderPaymentCallbackNotifyRequest) XXX_Merge(src proto.Message) {
  2358. xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Merge(m, src)
  2359. }
  2360. func (m *OrderPaymentCallbackNotifyRequest) XXX_Size() int {
  2361. return xxx_messageInfo_OrderPaymentCallbackNotifyRequest.Size(m)
  2362. }
  2363. func (m *OrderPaymentCallbackNotifyRequest) XXX_DiscardUnknown() {
  2364. xxx_messageInfo_OrderPaymentCallbackNotifyRequest.DiscardUnknown(m)
  2365. }
  2366. var xxx_messageInfo_OrderPaymentCallbackNotifyRequest proto.InternalMessageInfo
  2367. func (m *OrderPaymentCallbackNotifyRequest) GetOrderNo() string {
  2368. if m != nil {
  2369. return m.OrderNo
  2370. }
  2371. return ""
  2372. }
  2373. func (m *OrderPaymentCallbackNotifyRequest) GetOrderId() int32 {
  2374. if m != nil {
  2375. return m.OrderId
  2376. }
  2377. return 0
  2378. }
  2379. func (m *OrderPaymentCallbackNotifyRequest) GetPayType() int32 {
  2380. if m != nil {
  2381. return m.PayType
  2382. }
  2383. return 0
  2384. }
  2385. func (m *OrderPaymentCallbackNotifyRequest) GetCustom() string {
  2386. if m != nil {
  2387. return m.Custom
  2388. }
  2389. return ""
  2390. }
  2391. func (m *OrderPaymentCallbackNotifyRequest) GetBizId() int32 {
  2392. if m != nil {
  2393. return m.BizId
  2394. }
  2395. return 0
  2396. }
  2397. func (m *OrderPaymentCallbackNotifyRequest) GetPaymentNo() string {
  2398. if m != nil {
  2399. return m.PaymentNo
  2400. }
  2401. return ""
  2402. }
  2403. func (m *OrderPaymentCallbackNotifyRequest) GetUserId() int32 {
  2404. if m != nil {
  2405. return m.UserId
  2406. }
  2407. return 0
  2408. }
  2409. func (m *OrderPaymentCallbackNotifyRequest) GetPrepayId() string {
  2410. if m != nil {
  2411. return m.PrepayId
  2412. }
  2413. return ""
  2414. }
  2415. func (m *OrderPaymentCallbackNotifyRequest) GetTerminal() int32 {
  2416. if m != nil {
  2417. return m.Terminal
  2418. }
  2419. return 0
  2420. }
  2421. func (m *OrderPaymentCallbackNotifyRequest) GetOpenid() string {
  2422. if m != nil {
  2423. return m.Openid
  2424. }
  2425. return ""
  2426. }
  2427. func (m *OrderPaymentCallbackNotifyRequest) GetPaymentChannel() int32 {
  2428. if m != nil {
  2429. return m.PaymentChannel
  2430. }
  2431. return 0
  2432. }
  2433. func (m *OrderPaymentCallbackNotifyRequest) GetOneTimeCustom() string {
  2434. if m != nil {
  2435. return m.OneTimeCustom
  2436. }
  2437. return ""
  2438. }
  2439. type OperateLikeRequest struct {
  2440. ArtId int32 `protobuf:"varint,1,opt,name=artId,proto3" json:"artId,omitempty"`
  2441. UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
  2442. IsLike int32 `protobuf:"varint,3,opt,name=isLike,proto3" json:"isLike,omitempty"`
  2443. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2444. XXX_unrecognized []byte `json:"-"`
  2445. XXX_sizecache int32 `json:"-"`
  2446. }
  2447. func (m *OperateLikeRequest) Reset() { *m = OperateLikeRequest{} }
  2448. func (m *OperateLikeRequest) String() string { return proto.CompactTextString(m) }
  2449. func (*OperateLikeRequest) ProtoMessage() {}
  2450. func (*OperateLikeRequest) Descriptor() ([]byte, []int) {
  2451. return fileDescriptor_5c593d380f9840a2, []int{38}
  2452. }
  2453. func (m *OperateLikeRequest) XXX_Unmarshal(b []byte) error {
  2454. return xxx_messageInfo_OperateLikeRequest.Unmarshal(m, b)
  2455. }
  2456. func (m *OperateLikeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2457. return xxx_messageInfo_OperateLikeRequest.Marshal(b, m, deterministic)
  2458. }
  2459. func (m *OperateLikeRequest) XXX_Merge(src proto.Message) {
  2460. xxx_messageInfo_OperateLikeRequest.Merge(m, src)
  2461. }
  2462. func (m *OperateLikeRequest) XXX_Size() int {
  2463. return xxx_messageInfo_OperateLikeRequest.Size(m)
  2464. }
  2465. func (m *OperateLikeRequest) XXX_DiscardUnknown() {
  2466. xxx_messageInfo_OperateLikeRequest.DiscardUnknown(m)
  2467. }
  2468. var xxx_messageInfo_OperateLikeRequest proto.InternalMessageInfo
  2469. func (m *OperateLikeRequest) GetArtId() int32 {
  2470. if m != nil {
  2471. return m.ArtId
  2472. }
  2473. return 0
  2474. }
  2475. func (m *OperateLikeRequest) GetUserId() int32 {
  2476. if m != nil {
  2477. return m.UserId
  2478. }
  2479. return 0
  2480. }
  2481. func (m *OperateLikeRequest) GetIsLike() int32 {
  2482. if m != nil {
  2483. return m.IsLike
  2484. }
  2485. return 0
  2486. }
  2487. type GetLikedUsersRequest struct {
  2488. ArticleId int32 `protobuf:"varint,1,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2489. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2490. XXX_unrecognized []byte `json:"-"`
  2491. XXX_sizecache int32 `json:"-"`
  2492. }
  2493. func (m *GetLikedUsersRequest) Reset() { *m = GetLikedUsersRequest{} }
  2494. func (m *GetLikedUsersRequest) String() string { return proto.CompactTextString(m) }
  2495. func (*GetLikedUsersRequest) ProtoMessage() {}
  2496. func (*GetLikedUsersRequest) Descriptor() ([]byte, []int) {
  2497. return fileDescriptor_5c593d380f9840a2, []int{39}
  2498. }
  2499. func (m *GetLikedUsersRequest) XXX_Unmarshal(b []byte) error {
  2500. return xxx_messageInfo_GetLikedUsersRequest.Unmarshal(m, b)
  2501. }
  2502. func (m *GetLikedUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2503. return xxx_messageInfo_GetLikedUsersRequest.Marshal(b, m, deterministic)
  2504. }
  2505. func (m *GetLikedUsersRequest) XXX_Merge(src proto.Message) {
  2506. xxx_messageInfo_GetLikedUsersRequest.Merge(m, src)
  2507. }
  2508. func (m *GetLikedUsersRequest) XXX_Size() int {
  2509. return xxx_messageInfo_GetLikedUsersRequest.Size(m)
  2510. }
  2511. func (m *GetLikedUsersRequest) XXX_DiscardUnknown() {
  2512. xxx_messageInfo_GetLikedUsersRequest.DiscardUnknown(m)
  2513. }
  2514. var xxx_messageInfo_GetLikedUsersRequest proto.InternalMessageInfo
  2515. func (m *GetLikedUsersRequest) GetArticleId() int32 {
  2516. if m != nil {
  2517. return m.ArticleId
  2518. }
  2519. return 0
  2520. }
  2521. type LikedUserInfo struct {
  2522. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  2523. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  2524. Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
  2525. IsVirtual int32 `protobuf:"varint,4,opt,name=isVirtual,proto3" json:"isVirtual,omitempty"`
  2526. UserType int32 `protobuf:"varint,5,opt,name=userType,proto3" json:"userType,omitempty"`
  2527. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2528. XXX_unrecognized []byte `json:"-"`
  2529. XXX_sizecache int32 `json:"-"`
  2530. }
  2531. func (m *LikedUserInfo) Reset() { *m = LikedUserInfo{} }
  2532. func (m *LikedUserInfo) String() string { return proto.CompactTextString(m) }
  2533. func (*LikedUserInfo) ProtoMessage() {}
  2534. func (*LikedUserInfo) Descriptor() ([]byte, []int) {
  2535. return fileDescriptor_5c593d380f9840a2, []int{40}
  2536. }
  2537. func (m *LikedUserInfo) XXX_Unmarshal(b []byte) error {
  2538. return xxx_messageInfo_LikedUserInfo.Unmarshal(m, b)
  2539. }
  2540. func (m *LikedUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2541. return xxx_messageInfo_LikedUserInfo.Marshal(b, m, deterministic)
  2542. }
  2543. func (m *LikedUserInfo) XXX_Merge(src proto.Message) {
  2544. xxx_messageInfo_LikedUserInfo.Merge(m, src)
  2545. }
  2546. func (m *LikedUserInfo) XXX_Size() int {
  2547. return xxx_messageInfo_LikedUserInfo.Size(m)
  2548. }
  2549. func (m *LikedUserInfo) XXX_DiscardUnknown() {
  2550. xxx_messageInfo_LikedUserInfo.DiscardUnknown(m)
  2551. }
  2552. var xxx_messageInfo_LikedUserInfo proto.InternalMessageInfo
  2553. func (m *LikedUserInfo) GetId() int32 {
  2554. if m != nil {
  2555. return m.Id
  2556. }
  2557. return 0
  2558. }
  2559. func (m *LikedUserInfo) GetName() string {
  2560. if m != nil {
  2561. return m.Name
  2562. }
  2563. return ""
  2564. }
  2565. func (m *LikedUserInfo) GetAvatar() string {
  2566. if m != nil {
  2567. return m.Avatar
  2568. }
  2569. return ""
  2570. }
  2571. func (m *LikedUserInfo) GetIsVirtual() int32 {
  2572. if m != nil {
  2573. return m.IsVirtual
  2574. }
  2575. return 0
  2576. }
  2577. func (m *LikedUserInfo) GetUserType() int32 {
  2578. if m != nil {
  2579. return m.UserType
  2580. }
  2581. return 0
  2582. }
  2583. type GetLikedUsersResponse struct {
  2584. Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  2585. LikedUsers []*LikedUserInfo `protobuf:"bytes,2,rep,name=likedUsers,proto3" json:"likedUsers,omitempty"`
  2586. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2587. XXX_unrecognized []byte `json:"-"`
  2588. XXX_sizecache int32 `json:"-"`
  2589. }
  2590. func (m *GetLikedUsersResponse) Reset() { *m = GetLikedUsersResponse{} }
  2591. func (m *GetLikedUsersResponse) String() string { return proto.CompactTextString(m) }
  2592. func (*GetLikedUsersResponse) ProtoMessage() {}
  2593. func (*GetLikedUsersResponse) Descriptor() ([]byte, []int) {
  2594. return fileDescriptor_5c593d380f9840a2, []int{41}
  2595. }
  2596. func (m *GetLikedUsersResponse) XXX_Unmarshal(b []byte) error {
  2597. return xxx_messageInfo_GetLikedUsersResponse.Unmarshal(m, b)
  2598. }
  2599. func (m *GetLikedUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2600. return xxx_messageInfo_GetLikedUsersResponse.Marshal(b, m, deterministic)
  2601. }
  2602. func (m *GetLikedUsersResponse) XXX_Merge(src proto.Message) {
  2603. xxx_messageInfo_GetLikedUsersResponse.Merge(m, src)
  2604. }
  2605. func (m *GetLikedUsersResponse) XXX_Size() int {
  2606. return xxx_messageInfo_GetLikedUsersResponse.Size(m)
  2607. }
  2608. func (m *GetLikedUsersResponse) XXX_DiscardUnknown() {
  2609. xxx_messageInfo_GetLikedUsersResponse.DiscardUnknown(m)
  2610. }
  2611. var xxx_messageInfo_GetLikedUsersResponse proto.InternalMessageInfo
  2612. func (m *GetLikedUsersResponse) GetResult() *Result {
  2613. if m != nil {
  2614. return m.Result
  2615. }
  2616. return nil
  2617. }
  2618. func (m *GetLikedUsersResponse) GetLikedUsers() []*LikedUserInfo {
  2619. if m != nil {
  2620. return m.LikedUsers
  2621. }
  2622. return nil
  2623. }
  2624. type ConvertVideoCallbackRequest struct {
  2625. NewVideoUrl string `protobuf:"bytes,1,opt,name=newVideoUrl,proto3" json:"newVideoUrl,omitempty"`
  2626. ArticleId int32 `protobuf:"varint,2,opt,name=articleId,proto3" json:"articleId,omitempty"`
  2627. Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
  2628. Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"`
  2629. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2630. XXX_unrecognized []byte `json:"-"`
  2631. XXX_sizecache int32 `json:"-"`
  2632. }
  2633. func (m *ConvertVideoCallbackRequest) Reset() { *m = ConvertVideoCallbackRequest{} }
  2634. func (m *ConvertVideoCallbackRequest) String() string { return proto.CompactTextString(m) }
  2635. func (*ConvertVideoCallbackRequest) ProtoMessage() {}
  2636. func (*ConvertVideoCallbackRequest) Descriptor() ([]byte, []int) {
  2637. return fileDescriptor_5c593d380f9840a2, []int{42}
  2638. }
  2639. func (m *ConvertVideoCallbackRequest) XXX_Unmarshal(b []byte) error {
  2640. return xxx_messageInfo_ConvertVideoCallbackRequest.Unmarshal(m, b)
  2641. }
  2642. func (m *ConvertVideoCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2643. return xxx_messageInfo_ConvertVideoCallbackRequest.Marshal(b, m, deterministic)
  2644. }
  2645. func (m *ConvertVideoCallbackRequest) XXX_Merge(src proto.Message) {
  2646. xxx_messageInfo_ConvertVideoCallbackRequest.Merge(m, src)
  2647. }
  2648. func (m *ConvertVideoCallbackRequest) XXX_Size() int {
  2649. return xxx_messageInfo_ConvertVideoCallbackRequest.Size(m)
  2650. }
  2651. func (m *ConvertVideoCallbackRequest) XXX_DiscardUnknown() {
  2652. xxx_messageInfo_ConvertVideoCallbackRequest.DiscardUnknown(m)
  2653. }
  2654. var xxx_messageInfo_ConvertVideoCallbackRequest proto.InternalMessageInfo
  2655. func (m *ConvertVideoCallbackRequest) GetNewVideoUrl() string {
  2656. if m != nil {
  2657. return m.NewVideoUrl
  2658. }
  2659. return ""
  2660. }
  2661. func (m *ConvertVideoCallbackRequest) GetArticleId() int32 {
  2662. if m != nil {
  2663. return m.ArticleId
  2664. }
  2665. return 0
  2666. }
  2667. func (m *ConvertVideoCallbackRequest) GetStatus() int32 {
  2668. if m != nil {
  2669. return m.Status
  2670. }
  2671. return 0
  2672. }
  2673. func (m *ConvertVideoCallbackRequest) GetRemark() string {
  2674. if m != nil {
  2675. return m.Remark
  2676. }
  2677. return ""
  2678. }
  2679. func init() {
  2680. proto.RegisterType((*Article)(nil), "com.ywt.gapi.user.Article")
  2681. proto.RegisterType((*ArticleClassification)(nil), "com.ywt.gapi.user.ArticleClassification")
  2682. proto.RegisterType((*GetClassifiedArticlesRequest)(nil), "com.ywt.gapi.user.GetClassifiedArticlesRequest")
  2683. proto.RegisterType((*GetClassifiedArticlesResponse)(nil), "com.ywt.gapi.user.GetClassifiedArticlesResponse")
  2684. proto.RegisterType((*GetArticlesRequest)(nil), "com.ywt.gapi.user.GetArticlesRequest")
  2685. proto.RegisterType((*GetArticlesResponse)(nil), "com.ywt.gapi.user.GetArticlesResponse")
  2686. proto.RegisterType((*GetArticleByIdRequest)(nil), "com.ywt.gapi.user.GetArticleByIdRequest")
  2687. proto.RegisterType((*GetArticleByIdResponse)(nil), "com.ywt.gapi.user.GetArticleByIdResponse")
  2688. proto.RegisterType((*GetDisplayArticleListRequest)(nil), "com.ywt.gapi.user.GetDisplayArticleListRequest")
  2689. proto.RegisterType((*GetDisplayArticleListResponse)(nil), "com.ywt.gapi.user.GetDisplayArticleListResponse")
  2690. proto.RegisterType((*GetArticleRequest)(nil), "com.ywt.gapi.user.GetArticleRequest")
  2691. proto.RegisterType((*GetArticleResponse)(nil), "com.ywt.gapi.user.GetArticleResponse")
  2692. proto.RegisterType((*GetPdfInfoRequest)(nil), "com.ywt.gapi.user.GetPdfInfoRequest")
  2693. proto.RegisterType((*GetPdfInfoResponse)(nil), "com.ywt.gapi.user.GetPdfInfoResponse")
  2694. proto.RegisterType((*GetArticlesPagedListRequest)(nil), "com.ywt.gapi.user.GetArticlesPagedListRequest")
  2695. proto.RegisterType((*ArticleItem)(nil), "com.ywt.gapi.user.ArticleItem")
  2696. proto.RegisterType((*GetArticlesPagedListResponse)(nil), "com.ywt.gapi.user.GetArticlesPagedListResponse")
  2697. proto.RegisterType((*GetArticleDetailRequest)(nil), "com.ywt.gapi.user.GetArticleDetailRequest")
  2698. proto.RegisterType((*ArticleComment)(nil), "com.ywt.gapi.user.ArticleComment")
  2699. proto.RegisterType((*GetCommentsRequest)(nil), "com.ywt.gapi.user.GetCommentsRequest")
  2700. proto.RegisterType((*GetCommentsResponse)(nil), "com.ywt.gapi.user.GetCommentsResponse")
  2701. proto.RegisterType((*AddCommentRequest)(nil), "com.ywt.gapi.user.AddCommentRequest")
  2702. proto.RegisterType((*GetArticleDetailResponse)(nil), "com.ywt.gapi.user.GetArticleDetailResponse")
  2703. proto.RegisterType((*OperateFavoritesRequest)(nil), "com.ywt.gapi.user.OperateFavoritesRequest")
  2704. proto.RegisterType((*GetArticlesFavoritesRequest)(nil), "com.ywt.gapi.user.GetArticlesFavoritesRequest")
  2705. proto.RegisterType((*GetPaidArticlesRequest)(nil), "com.ywt.gapi.user.GetPaidArticlesRequest")
  2706. proto.RegisterType((*GetPublishArticlesRequest)(nil), "com.ywt.gapi.user.GetPublishArticlesRequest")
  2707. proto.RegisterType((*PublishMedicalFieldArticleRequest)(nil), "com.ywt.gapi.user.PublishMedicalFieldArticleRequest")
  2708. proto.RegisterType((*PublishMedicalFieldArticleResponse)(nil), "com.ywt.gapi.user.PublishMedicalFieldArticleResponse")
  2709. proto.RegisterType((*PublishMedicalFieldVideoRequest)(nil), "com.ywt.gapi.user.PublishMedicalFieldVideoRequest")
  2710. proto.RegisterType((*PublishMedicalFieldVideoResponse)(nil), "com.ywt.gapi.user.PublishMedicalFieldVideoResponse")
  2711. proto.RegisterType((*EditArticleSettingRequest)(nil), "com.ywt.gapi.user.EditArticleSettingRequest")
  2712. proto.RegisterType((*GetArticleSettingRequest)(nil), "com.ywt.gapi.user.GetArticleSettingRequest")
  2713. proto.RegisterType((*GetLastArticleSettingRequest)(nil), "com.ywt.gapi.user.GetLastArticleSettingRequest")
  2714. proto.RegisterType((*GetArticleSettingResponse)(nil), "com.ywt.gapi.user.GetArticleSettingResponse")
  2715. proto.RegisterType((*CreateOrderRequest)(nil), "com.ywt.gapi.user.CreateOrderRequest")
  2716. proto.RegisterType((*CreateOrderResponse)(nil), "com.ywt.gapi.user.CreateOrderResponse")
  2717. proto.RegisterType((*OrderPaymentCallbackNotifyRequest)(nil), "com.ywt.gapi.user.OrderPaymentCallbackNotifyRequest")
  2718. proto.RegisterType((*OperateLikeRequest)(nil), "com.ywt.gapi.user.OperateLikeRequest")
  2719. proto.RegisterType((*GetLikedUsersRequest)(nil), "com.ywt.gapi.user.GetLikedUsersRequest")
  2720. proto.RegisterType((*LikedUserInfo)(nil), "com.ywt.gapi.user.LikedUserInfo")
  2721. proto.RegisterType((*GetLikedUsersResponse)(nil), "com.ywt.gapi.user.GetLikedUsersResponse")
  2722. proto.RegisterType((*ConvertVideoCallbackRequest)(nil), "com.ywt.gapi.user.ConvertVideoCallbackRequest")
  2723. }
  2724. func init() { proto.RegisterFile("article.proto", fileDescriptor_5c593d380f9840a2) }
  2725. var fileDescriptor_5c593d380f9840a2 = []byte{
  2726. // 2439 bytes of a gzipped FileDescriptorProto
  2727. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcb, 0x6f, 0x1c, 0x49,
  2728. 0x19, 0x57, 0xcf, 0xc3, 0xf6, 0x7c, 0x93, 0x38, 0x4e, 0xc5, 0x71, 0x3a, 0x93, 0x90, 0x75, 0x5a,
  2729. 0x9b, 0xc5, 0xec, 0x46, 0x0e, 0x78, 0x03, 0x5a, 0x09, 0x21, 0xb1, 0xeb, 0xb0, 0xcb, 0xa0, 0x90,
  2730. 0x35, 0x93, 0x87, 0x20, 0x5a, 0x09, 0x95, 0xa7, 0xcb, 0xe3, 0x5a, 0xf7, 0x74, 0x77, 0xba, 0x6b,
  2731. 0xec, 0x75, 0xe0, 0x80, 0x04, 0x08, 0x38, 0xac, 0xf6, 0xcc, 0x09, 0x71, 0xe4, 0x04, 0x48, 0x5c,
  2732. 0x38, 0x72, 0xe0, 0x0e, 0x17, 0xfe, 0x0b, 0x4e, 0xfc, 0x03, 0xa8, 0x1e, 0xdd, 0x5d, 0xd5, 0xdd,
  2733. 0x35, 0xaf, 0x10, 0x71, 0x9b, 0xef, 0xab, 0xe7, 0xf7, 0xf8, 0x7d, 0x8f, 0xea, 0x81, 0x8b, 0x38,
  2734. 0x61, 0x74, 0x18, 0x90, 0xdd, 0x38, 0x89, 0x58, 0x84, 0x2e, 0x0f, 0xa3, 0xf1, 0xee, 0xf9, 0x19,
  2735. 0xdb, 0x1d, 0xe1, 0x98, 0xee, 0x4e, 0x52, 0x92, 0xf4, 0xe0, 0x10, 0xa7, 0x6a, 0xd8, 0xfb, 0xbc,
  2736. 0x01, 0xab, 0xef, 0xcb, 0x05, 0x68, 0x13, 0xda, 0x38, 0x61, 0x7d, 0xdf, 0x75, 0xb6, 0x9d, 0x9d,
  2737. 0xf6, 0x40, 0x12, 0xa8, 0x07, 0x6b, 0x38, 0x61, 0x4f, 0x28, 0x0b, 0x88, 0xdb, 0xd8, 0x76, 0x76,
  2738. 0x3a, 0x83, 0x9c, 0x46, 0x5b, 0xb0, 0x92, 0x32, 0xcc, 0x26, 0xa9, 0xdb, 0x14, 0x4b, 0x14, 0x85,
  2739. 0x6e, 0x42, 0xe7, 0x94, 0x92, 0xb3, 0xfd, 0x68, 0x12, 0x32, 0xb7, 0x25, 0x86, 0x0a, 0x06, 0xda,
  2740. 0x86, 0xae, 0x1f, 0x0d, 0x59, 0x94, 0xc8, 0xf1, 0xb6, 0x18, 0xd7, 0x59, 0x08, 0x41, 0x8b, 0x9d,
  2741. 0xc7, 0xc4, 0x5d, 0x11, 0x43, 0xe2, 0x37, 0xba, 0x05, 0x80, 0x13, 0xb6, 0x1f, 0x85, 0x8c, 0x84,
  2742. 0xcc, 0x5d, 0x15, 0x37, 0xd1, 0x38, 0xc8, 0x85, 0xd5, 0x49, 0x12, 0x3c, 0xc0, 0x0c, 0xbb, 0x6b,
  2743. 0x62, 0x30, 0x23, 0xd1, 0xdb, 0xb0, 0x31, 0x0c, 0x70, 0x9a, 0xd2, 0x23, 0x3a, 0xc4, 0x8c, 0x46,
  2744. 0x61, 0xdf, 0x77, 0x3b, 0x62, 0xe7, 0x0a, 0xdf, 0x7b, 0x01, 0x57, 0x95, 0x3a, 0xf6, 0x8d, 0x21,
  2745. 0x7e, 0xa5, 0x10, 0x8f, 0x89, 0xd0, 0x4d, 0x67, 0x20, 0x7e, 0xa3, 0x75, 0x68, 0x50, 0x5f, 0x28,
  2746. 0xa5, 0x3d, 0x68, 0x50, 0x1f, 0xdd, 0x87, 0x55, 0xa5, 0x7c, 0xb7, 0xb9, 0xdd, 0xdc, 0xe9, 0xee,
  2747. 0xf5, 0x76, 0x2b, 0xda, 0xdf, 0x55, 0xdb, 0x0f, 0xb2, 0xa9, 0xde, 0x37, 0xe0, 0xe6, 0x47, 0x84,
  2748. 0x65, 0xc7, 0x11, 0x5f, 0x4d, 0x48, 0x07, 0xe4, 0xc5, 0x84, 0xa4, 0x8c, 0x2b, 0x99, 0x2f, 0xcc,
  2749. 0xed, 0xa2, 0x28, 0xef, 0x6f, 0x0e, 0x7c, 0xc9, 0xb2, 0x30, 0x8d, 0xa3, 0x30, 0x25, 0xe8, 0x2e,
  2750. 0xac, 0x24, 0x24, 0x9d, 0x04, 0x4c, 0xac, 0xec, 0xee, 0x6d, 0x9a, 0xd7, 0x19, 0x88, 0xb1, 0x81,
  2751. 0x9a, 0x83, 0x0e, 0x60, 0xdd, 0x54, 0x87, 0xdb, 0x10, 0x42, 0xec, 0xd8, 0x85, 0x30, 0x75, 0x34,
  2752. 0x28, 0xad, 0xe7, 0x86, 0x0e, 0xa3, 0x01, 0xc1, 0xbe, 0x34, 0xb4, 0xf4, 0x11, 0x9d, 0xe5, 0x1d,
  2753. 0x01, 0xfa, 0x88, 0xb0, 0x39, 0x25, 0xe6, 0x6e, 0x15, 0xe3, 0x11, 0xe9, 0x87, 0x3e, 0xf9, 0x4c,
  2754. 0xa9, 0xbd, 0x60, 0x70, 0x47, 0xe5, 0xc4, 0x63, 0xfa, 0x92, 0xa8, 0xa3, 0x72, 0xda, 0xfb, 0xa7,
  2755. 0x03, 0x57, 0x8c, 0x83, 0x96, 0xd2, 0x90, 0x66, 0xdf, 0xc6, 0xdc, 0xf6, 0xe5, 0xb0, 0x1a, 0x6a,
  2756. 0xf2, 0x4b, 0x82, 0xbb, 0x33, 0x8b, 0x18, 0x0e, 0x0e, 0xf0, 0x88, 0xa4, 0x0a, 0x23, 0x1a, 0xa7,
  2757. 0xac, 0xbb, 0x76, 0x55, 0x77, 0x7d, 0xb8, 0x5a, 0x88, 0xf4, 0xc1, 0x79, 0xdf, 0xcf, 0xd4, 0x67,
  2758. 0xc5, 0xb1, 0x84, 0x58, 0x3f, 0x73, 0xd9, 0x9c, 0xf6, 0x7e, 0x0a, 0x5b, 0xe5, 0xad, 0x5e, 0x5d,
  2759. 0x41, 0xce, 0xbc, 0x00, 0x60, 0x02, 0x00, 0x0f, 0x68, 0x1a, 0x07, 0xf8, 0x5c, 0x8d, 0x3e, 0xa4,
  2760. 0x29, 0xcb, 0xe4, 0x31, 0xcc, 0xee, 0x4c, 0x33, 0x7b, 0xc3, 0x34, 0xbb, 0x21, 0x73, 0xb3, 0x24,
  2761. 0xf3, 0x9f, 0x25, 0x7c, 0xea, 0x8e, 0x55, 0xb2, 0x23, 0x68, 0x0d, 0x23, 0x9f, 0xa8, 0x23, 0xc5,
  2762. 0x6f, 0xb4, 0x01, 0xcd, 0x71, 0x3a, 0x52, 0x81, 0x90, 0xff, 0x5c, 0x0e, 0xf4, 0x85, 0x53, 0xb4,
  2763. 0xec, 0x4e, 0xd1, 0x2e, 0x3b, 0x85, 0x17, 0xc1, 0xe5, 0xc2, 0x4e, 0xd3, 0xcd, 0xed, 0xc2, 0x6a,
  2764. 0x74, 0x16, 0x92, 0xc2, 0xda, 0x19, 0xa9, 0xa1, 0xab, 0x69, 0xa0, 0x2b, 0x0b, 0xba, 0xad, 0x22,
  2765. 0xe8, 0x7a, 0xb1, 0x8e, 0xcf, 0x57, 0x51, 0xcc, 0xdc, 0xce, 0xf0, 0x8e, 0x10, 0xf1, 0xc0, 0x3f,
  2766. 0xea, 0x87, 0x47, 0x91, 0x16, 0x10, 0x68, 0x78, 0x14, 0x15, 0x01, 0x41, 0x52, 0xde, 0x13, 0x71,
  2767. 0xbd, 0x7c, 0xf2, 0x52, 0x3e, 0xbb, 0x01, 0xcd, 0xd8, 0x3f, 0x12, 0x17, 0xbf, 0x30, 0xe0, 0x3f,
  2768. 0xbd, 0xbf, 0x3b, 0x70, 0x43, 0x0b, 0x16, 0x5c, 0xf5, 0xbe, 0xee, 0x8f, 0x3d, 0x58, 0x63, 0x24,
  2769. 0x19, 0xd3, 0x10, 0x07, 0xea, 0x3e, 0x39, 0xcd, 0xd5, 0x7e, 0x42, 0xce, 0xcf, 0xa2, 0xc4, 0x57,
  2770. 0xaa, 0xc8, 0x48, 0xd3, 0x8b, 0x9b, 0xd3, 0xbc, 0xb8, 0x55, 0xf2, 0xe2, 0xc2, 0x60, 0x6d, 0xc3,
  2771. 0x60, 0xb7, 0x00, 0xe2, 0x24, 0x3a, 0xa5, 0xbe, 0x18, 0x93, 0xb9, 0x52, 0xe3, 0x78, 0x5f, 0xb4,
  2772. 0xa0, 0xab, 0x84, 0xe8, 0x33, 0x32, 0xb6, 0x38, 0xca, 0x26, 0xb4, 0x99, 0x96, 0xdc, 0x25, 0x61,
  2773. 0x66, 0xf0, 0x66, 0x39, 0x83, 0xd7, 0xb8, 0x0a, 0xbf, 0xa5, 0x4f, 0x47, 0x24, 0x95, 0xb1, 0xaa,
  2774. 0x33, 0x50, 0x14, 0xdf, 0x3f, 0x4e, 0xe8, 0x30, 0x4b, 0xe6, 0x92, 0x90, 0x77, 0x27, 0x7c, 0xc7,
  2775. 0xa7, 0x49, 0x90, 0x65, 0xf3, 0x82, 0xc3, 0x77, 0xc3, 0x13, 0x76, 0x1c, 0x25, 0x2a, 0x99, 0x2b,
  2776. 0x8a, 0xeb, 0xe9, 0xd3, 0xe8, 0x50, 0x56, 0x23, 0x1d, 0x59, 0x8d, 0x64, 0x34, 0xbf, 0x95, 0x4f,
  2777. 0x62, 0xe6, 0x82, 0x4c, 0xd1, 0xfc, 0x37, 0x9f, 0x7f, 0x1c, 0xa5, 0x31, 0x65, 0x38, 0x70, 0xbb,
  2778. 0x72, 0x7e, 0x46, 0xf3, 0x10, 0x1b, 0x4f, 0x0e, 0x03, 0x9a, 0x1e, 0x3f, 0xa1, 0x63, 0xe2, 0x5e,
  2779. 0x10, 0xc3, 0x3a, 0x8b, 0x5b, 0xf3, 0x18, 0xa7, 0x07, 0x98, 0xfa, 0xee, 0x45, 0x09, 0x22, 0x45,
  2780. 0x72, 0xfd, 0xf8, 0x14, 0x8f, 0xc2, 0x28, 0xa5, 0xa9, 0xbb, 0x2e, 0x56, 0x16, 0x0c, 0x3e, 0x1a,
  2781. 0xd0, 0x13, 0x22, 0xb5, 0x77, 0x49, 0x6a, 0x2f, 0x67, 0xf0, 0x73, 0xb9, 0x89, 0xa2, 0xc7, 0xb2,
  2782. 0x74, 0xda, 0x90, 0xa1, 0x5d, 0x63, 0xa1, 0xfb, 0x70, 0x55, 0x90, 0xfb, 0x51, 0x78, 0x4a, 0x12,
  2783. 0x46, 0xc3, 0xd1, 0x80, 0x8c, 0x71, 0x72, 0xe2, 0x5e, 0x16, 0x27, 0xd5, 0x0f, 0xf2, 0x7d, 0xf1,
  2784. 0xc4, 0xa7, 0x4c, 0xed, 0x8b, 0xe4, 0xbe, 0x1a, 0xcb, 0xfb, 0x8b, 0x23, 0x42, 0x6d, 0x8d, 0x67,
  2785. 0x2f, 0x84, 0xec, 0xf7, 0xca, 0x21, 0xef, 0x96, 0x1d, 0xd9, 0xdc, 0xf3, 0x5e, 0x35, 0xec, 0x0d,
  2786. 0xe1, 0x5a, 0x71, 0xeb, 0x07, 0x84, 0x61, 0x1a, 0x4c, 0x0f, 0x7e, 0x05, 0x62, 0x1a, 0x06, 0x62,
  2787. 0x74, 0xe4, 0x36, 0x4d, 0xe4, 0x7a, 0x7f, 0x6d, 0xc2, 0x7a, 0x56, 0xd6, 0x44, 0xe3, 0x31, 0x2f,
  2788. 0x29, 0x65, 0x7d, 0xe7, 0xe4, 0xf5, 0xdd, 0x4d, 0xe8, 0x28, 0x41, 0xf2, 0x9d, 0x0b, 0x06, 0x77,
  2789. 0x96, 0x84, 0xc4, 0xc1, 0x79, 0x1e, 0x58, 0x33, 0x52, 0x82, 0x3b, 0x21, 0x21, 0xbf, 0x67, 0x0e,
  2790. 0x6e, 0x49, 0xf3, 0x55, 0x43, 0x55, 0xd3, 0x4a, 0xdc, 0x64, 0xa4, 0x26, 0xc4, 0x4a, 0x19, 0xf6,
  2791. 0xc3, 0x84, 0x60, 0x46, 0x84, 0xd7, 0x2a, 0xe8, 0x14, 0x1c, 0x3e, 0x3e, 0x89, 0xfd, 0x6c, 0x5c,
  2792. 0xc2, 0x47, 0xe3, 0xe4, 0x95, 0x6c, 0x47, 0xab, 0x64, 0x75, 0x58, 0x81, 0x05, 0x56, 0x5d, 0x0b,
  2793. 0xac, 0x2e, 0x94, 0x60, 0xc5, 0xa1, 0x7b, 0x8a, 0x19, 0x4e, 0x04, 0x66, 0x38, 0x74, 0x05, 0x85,
  2794. 0xbe, 0x29, 0xf5, 0x43, 0x09, 0x07, 0x0c, 0xf7, 0x9a, 0xdb, 0x53, 0x0a, 0x4b, 0x69, 0x81, 0x41,
  2795. 0xb6, 0x82, 0xab, 0x5e, 0x68, 0xf3, 0x11, 0xbf, 0xf9, 0x25, 0x89, 0xb7, 0x9c, 0xe1, 0xfd, 0xc2,
  2796. 0x11, 0x89, 0x40, 0xad, 0x4a, 0xb5, 0xc2, 0xa1, 0xb0, 0x97, 0x53, 0xb6, 0xd7, 0xd2, 0xd5, 0xa4,
  2797. 0x66, 0x99, 0x96, 0x51, 0x91, 0xff, 0x49, 0x56, 0x99, 0xc5, 0x35, 0x16, 0x42, 0xd5, 0xb7, 0x60,
  2798. 0x6d, 0xa8, 0x56, 0x2a, 0x58, 0xcd, 0xa1, 0xa0, 0x7c, 0xc9, 0x92, 0xd0, 0xfa, 0xad, 0x03, 0x97,
  2799. 0xdf, 0xf7, 0xfd, 0x6c, 0xbb, 0xb9, 0x14, 0xa7, 0x39, 0x7a, 0xc3, 0xee, 0xe8, 0x4d, 0xbb, 0xa3,
  2800. 0xb7, 0x6c, 0x8e, 0x6e, 0xe4, 0x37, 0xef, 0x1f, 0x6d, 0x70, 0xab, 0xb8, 0x57, 0x3a, 0x5d, 0x24,
  2801. 0x99, 0x95, 0x02, 0x7d, 0xb3, 0x1a, 0xe8, 0xa7, 0x37, 0xac, 0x45, 0x32, 0x6a, 0x1b, 0xc9, 0x28,
  2802. 0x43, 0xc6, 0x8a, 0x05, 0x19, 0xab, 0x25, 0x64, 0xe8, 0x28, 0x5b, 0x2b, 0xa1, 0x4c, 0x6b, 0x5f,
  2803. 0x3b, 0x66, 0xfb, 0x9a, 0x25, 0x5b, 0xd0, 0x92, 0xad, 0xa6, 0xcc, 0xae, 0xa9, 0x4c, 0x2d, 0x65,
  2804. 0x5d, 0x30, 0x53, 0xd6, 0x9b, 0x70, 0x51, 0x39, 0x8b, 0x90, 0x2a, 0x55, 0x29, 0xcd, 0x64, 0x72,
  2805. 0x87, 0xa1, 0xe9, 0x87, 0xf8, 0x34, 0x4a, 0x28, 0x23, 0x22, 0xb3, 0xb5, 0x07, 0x1a, 0x27, 0xf7,
  2806. 0xe5, 0x4b, 0x55, 0x5f, 0xde, 0x28, 0x7c, 0x79, 0x13, 0xda, 0xe4, 0x33, 0x96, 0x60, 0x95, 0xb0,
  2807. 0x24, 0x51, 0x4a, 0xfa, 0xa8, 0x2e, 0xe9, 0xd3, 0xf4, 0x21, 0x3d, 0x21, 0xee, 0x15, 0x55, 0xe6,
  2808. 0x09, 0xca, 0x4c, 0xa7, 0x9b, 0xe5, 0x74, 0x7a, 0x0b, 0x80, 0x13, 0xfe, 0xd3, 0x94, 0x24, 0xa9,
  2809. 0x7b, 0x75, 0xbb, 0xc9, 0x77, 0x2d, 0x38, 0x7c, 0xfc, 0x45, 0xb2, 0x1f, 0xf9, 0xe4, 0x6b, 0xfc,
  2810. 0xd4, 0x2d, 0x79, 0x6a, 0xc1, 0x29, 0xc6, 0xf7, 0xf8, 0xf8, 0x35, 0x7d, 0x9c, 0x73, 0xb8, 0xde,
  2811. 0xd4, 0x6c, 0x95, 0x84, 0x5d, 0x31, 0xc5, 0x64, 0x16, 0xb3, 0xf6, 0xd4, 0xac, 0xeb, 0xfa, 0x2c,
  2812. 0xc5, 0xf4, 0x46, 0x70, 0xed, 0xe3, 0x98, 0x24, 0x98, 0x91, 0x4c, 0xa1, 0xe9, 0x72, 0x99, 0xcc,
  2813. 0x34, 0x53, 0xb3, 0x6c, 0x26, 0x2f, 0x32, 0x4a, 0xd8, 0xca, 0x61, 0xff, 0xfb, 0x0e, 0xfb, 0x53,
  2814. 0xd1, 0x42, 0x72, 0x47, 0x7b, 0xfd, 0xdd, 0xfc, 0x1f, 0x1d, 0xb8, 0xce, 0x0f, 0x93, 0x00, 0x7e,
  2815. 0xed, 0xe7, 0x09, 0xe4, 0x4c, 0x12, 0x1e, 0xc7, 0x9e, 0xea, 0x61, 0xdf, 0x64, 0x1a, 0xc5, 0x45,
  2816. 0xbb, 0x54, 0x5c, 0xfc, 0xae, 0x01, 0xb7, 0xd5, 0x75, 0xbf, 0x4f, 0x7c, 0x3a, 0xc4, 0xc1, 0x87,
  2817. 0x94, 0x04, 0x7e, 0xa9, 0x93, 0x33, 0x0b, 0x7a, 0xa7, 0x5c, 0xd0, 0x5b, 0xa2, 0x9b, 0x16, 0x0b,
  2818. 0x9a, 0x66, 0x2c, 0x30, 0xf1, 0xd6, 0xaa, 0xe0, 0xcd, 0x44, 0x46, 0x7b, 0x06, 0x32, 0x56, 0x66,
  2819. 0x23, 0x63, 0x75, 0x2e, 0x64, 0xac, 0xd5, 0x21, 0x23, 0x06, 0x6f, 0x9a, 0x82, 0x96, 0x6a, 0xed,
  2820. 0xa6, 0xd6, 0x6b, 0xde, 0xbf, 0x1b, 0xf0, 0x46, 0xcd, 0x91, 0xcf, 0x78, 0x6d, 0xfd, 0x6a, 0x16,
  2821. 0xe9, 0xc1, 0x9a, 0xa8, 0xd0, 0xb9, 0xd6, 0xa4, 0x49, 0x72, 0x7a, 0xa6, 0x4d, 0x76, 0xe0, 0x52,
  2822. 0x1a, 0x93, 0x21, 0xc5, 0x01, 0x4d, 0x59, 0x3f, 0x64, 0x49, 0xa4, 0x0c, 0x53, 0x66, 0x23, 0x0f,
  2823. 0x2e, 0x28, 0x43, 0xcb, 0x69, 0xd2, 0x3e, 0x06, 0xaf, 0x64, 0xe1, 0xd5, 0x19, 0x16, 0x5e, 0x9b,
  2824. 0x6d, 0xe1, 0xce, 0x5c, 0x16, 0x86, 0x3a, 0x0b, 0x87, 0xb0, 0x6d, 0x57, 0xf7, 0x6b, 0xb0, 0xef,
  2825. 0x1f, 0x1c, 0xb8, 0xfe, 0x1d, 0x9f, 0x66, 0x41, 0xf0, 0x31, 0x61, 0xb2, 0x57, 0x9a, 0xa7, 0xc4,
  2826. 0xc9, 0x9b, 0xd6, 0x86, 0xde, 0xb4, 0xf2, 0x18, 0x31, 0x49, 0x8f, 0x9f, 0xf0, 0x6c, 0x9c, 0xc5,
  2827. 0x08, 0x45, 0xdb, 0x6a, 0x42, 0xae, 0x9b, 0xbc, 0x2f, 0x14, 0x0b, 0xa5, 0x35, 0x4d, 0xa6, 0xf7,
  2828. 0x9e, 0x5e, 0xe9, 0x2c, 0x72, 0x53, 0xf5, 0x7a, 0xfc, 0x10, 0xa7, 0x96, 0xd5, 0xb6, 0xd7, 0xe3,
  2829. 0xdf, 0xcb, 0x18, 0x5a, 0x5e, 0xb4, 0x94, 0x1d, 0x74, 0xbd, 0x34, 0x4a, 0x7a, 0xc9, 0x35, 0xd9,
  2830. 0xd4, 0x35, 0x59, 0xd1, 0x4a, 0xab, 0x4e, 0x2b, 0xdf, 0x03, 0xb4, 0x2f, 0xfa, 0x9a, 0x8f, 0x13,
  2831. 0x9f, 0x24, 0x73, 0xc4, 0xf7, 0x29, 0xde, 0xf0, 0x85, 0x03, 0x57, 0x8c, 0xcd, 0x96, 0x92, 0xd4,
  2832. 0x85, 0xd5, 0x28, 0xf1, 0x8d, 0x57, 0x35, 0x49, 0xe6, 0x23, 0x8f, 0xa2, 0x2c, 0x0a, 0x2b, 0x52,
  2833. 0x54, 0x8f, 0x63, 0xad, 0xb0, 0x54, 0x94, 0xf7, 0x9f, 0x06, 0xdc, 0x16, 0x77, 0x39, 0xc0, 0xe7,
  2834. 0xa2, 0x00, 0xc3, 0x41, 0x70, 0x88, 0x87, 0x27, 0x8f, 0x22, 0x46, 0x8f, 0xce, 0x33, 0x69, 0xb5,
  2835. 0x7d, 0x1d, 0x73, 0xdf, 0xa9, 0x77, 0x89, 0xf1, 0xb9, 0xe6, 0xa6, 0x19, 0xc9, 0xef, 0x32, 0x9c,
  2836. 0xa4, 0x2c, 0x1a, 0x2b, 0x85, 0x2b, 0x8a, 0x5b, 0xe9, 0x90, 0xbe, 0xcc, 0x2b, 0x70, 0x49, 0xc8,
  2837. 0x8c, 0x29, 0xee, 0xf6, 0x28, 0x0b, 0x2f, 0x05, 0x43, 0xb3, 0xc3, 0x6a, 0xb9, 0xc9, 0x8e, 0x13,
  2838. 0x12, 0x63, 0xde, 0x1f, 0xa8, 0x2a, 0x37, 0xa3, 0x8d, 0x1c, 0xd9, 0x29, 0x3d, 0x9d, 0x6d, 0xc1,
  2839. 0x4a, 0x14, 0x93, 0x90, 0xfa, 0x2a, 0x7c, 0x28, 0x0a, 0xbd, 0x05, 0xeb, 0xea, 0xd0, 0xfd, 0x63,
  2840. 0x1c, 0x86, 0x44, 0x3e, 0xe4, 0xb4, 0x07, 0x25, 0x2e, 0xf7, 0xa9, 0x28, 0x14, 0x2d, 0xee, 0xbe,
  2841. 0x14, 0x51, 0x36, 0xa6, 0x26, 0xd3, 0x7b, 0x0e, 0x48, 0x55, 0x60, 0xbc, 0xb4, 0x5c, 0xae, 0xf8,
  2842. 0x2a, 0xea, 0xd4, 0xa6, 0x5e, 0xa7, 0x7a, 0xf7, 0x61, 0x93, 0x63, 0x31, 0x2f, 0x3d, 0xe7, 0x43,
  2843. 0xf0, 0x2f, 0x1d, 0xb8, 0x98, 0xaf, 0xe9, 0x87, 0x47, 0x51, 0xe5, 0xdd, 0x21, 0xeb, 0xd8, 0x1b,
  2844. 0x5a, 0xc7, 0x5e, 0x74, 0xd9, 0x4d, 0xa3, 0xcb, 0xbe, 0x09, 0x1d, 0x9a, 0x3e, 0xa3, 0x09, 0x9b,
  2845. 0xe0, 0x20, 0xeb, 0x64, 0x72, 0x06, 0xd7, 0x3f, 0x97, 0x21, 0x0f, 0x44, 0xed, 0x41, 0x4e, 0x7b,
  2846. 0xbf, 0x72, 0xc4, 0x07, 0x05, 0xfd, 0xfa, 0x4b, 0x61, 0xe4, 0xdb, 0x46, 0x3d, 0x2e, 0x3f, 0x94,
  2847. 0x6c, 0xd7, 0x74, 0xb2, 0x86, 0xcc, 0x7a, 0xc5, 0xee, 0x7d, 0xee, 0xc0, 0x0d, 0xf5, 0xba, 0x25,
  2848. 0xd2, 0x43, 0x86, 0x8c, 0x4c, 0x9f, 0xdb, 0xd0, 0x0d, 0xc9, 0xd9, 0xb3, 0x2c, 0xc5, 0x4a, 0x5c,
  2849. 0xe8, 0xac, 0x19, 0x2f, 0x35, 0xb6, 0xcf, 0x96, 0x5b, 0x5c, 0x4e, 0x91, 0xc0, 0x14, 0x3a, 0x24,
  2850. 0xb5, 0xf7, 0xaf, 0xad, 0xfc, 0x69, 0xe8, 0x31, 0x49, 0x4e, 0x79, 0x00, 0xfb, 0x04, 0xba, 0xa3,
  2851. 0xa2, 0xbe, 0x46, 0x77, 0x6a, 0xe4, 0xab, 0x7e, 0xd8, 0xea, 0xbd, 0x35, 0x6b, 0x9a, 0x52, 0x38,
  2852. 0x81, 0xf5, 0x91, 0xf1, 0x3d, 0x06, 0xed, 0x4c, 0x5d, 0xa9, 0x7d, 0xfd, 0xe9, 0x7d, 0x65, 0x8e,
  2853. 0x99, 0xea, 0x98, 0x43, 0xb8, 0x3c, 0x22, 0xec, 0x81, 0xf8, 0x22, 0xf2, 0xba, 0x44, 0x39, 0x81,
  2854. 0xcd, 0xf2, 0x19, 0xaf, 0x4f, 0xa0, 0x97, 0x70, 0x75, 0x54, 0xf7, 0x49, 0x07, 0xdd, 0xab, 0xdf,
  2855. 0xc3, 0xfa, 0xcd, 0xa9, 0xf7, 0xd5, 0xf9, 0x17, 0xa8, 0xb3, 0x7f, 0x04, 0x50, 0xd8, 0x0c, 0xbd,
  2856. 0x39, 0xf5, 0xd2, 0xd9, 0x29, 0x77, 0x66, 0xcc, 0x32, 0xc4, 0xaa, 0x7e, 0xe8, 0xb5, 0x89, 0x65,
  2857. 0xfd, 0x96, 0x6c, 0x13, 0x6b, 0xca, 0x37, 0x64, 0x29, 0x96, 0xfa, 0xc4, 0x62, 0x13, 0xcb, 0xfc,
  2858. 0x5c, 0x63, 0x13, 0xab, 0xfc, 0x9d, 0xe6, 0x67, 0x0e, 0xdc, 0xc8, 0x7d, 0xe3, 0xff, 0x23, 0xdd,
  2859. 0x99, 0xf0, 0xce, 0xca, 0x7b, 0x38, 0xda, 0x9d, 0xee, 0xdd, 0xe5, 0x4f, 0x42, 0xbd, 0x7b, 0x73,
  2860. 0xcf, 0xcf, 0x61, 0xb1, 0x31, 0x2a, 0x3d, 0x6d, 0xa1, 0xb7, 0xa7, 0x6e, 0x62, 0xbc, 0x7b, 0xf7,
  2861. 0xde, 0x99, 0x6b, 0xae, 0x3a, 0xec, 0x39, 0x6c, 0x45, 0x32, 0xe7, 0xa9, 0xf1, 0xfc, 0x35, 0xa7,
  2862. 0xee, 0x48, 0xcb, 0x03, 0x45, 0xaf, 0x36, 0xea, 0xa3, 0x9f, 0x80, 0x3b, 0xaa, 0x79, 0x68, 0x98,
  2863. 0x47, 0x8b, 0x95, 0x13, 0x16, 0xd6, 0xe2, 0x18, 0x2e, 0x8d, 0xcc, 0x47, 0x07, 0x64, 0x89, 0x16,
  2864. 0x35, 0x0f, 0x13, 0x8b, 0x1f, 0x97, 0x02, 0x1a, 0x55, 0x9e, 0x1d, 0xd0, 0x5d, 0xcb, 0x89, 0xb5,
  2865. 0xaf, 0x13, 0x8b, 0x1f, 0xfa, 0x1b, 0x07, 0x7a, 0xb1, 0xb5, 0x33, 0x46, 0xf7, 0x6b, 0xf6, 0x9b,
  2866. 0xf9, 0xd2, 0xd0, 0xfb, 0xfa, 0x82, 0xab, 0xd4, 0x5d, 0x7e, 0xee, 0x80, 0x1b, 0x5b, 0x7a, 0x38,
  2867. 0xb4, 0x37, 0xdf, 0x9e, 0x7a, 0x7f, 0xdd, 0x7b, 0x77, 0xa1, 0x35, 0xea, 0x16, 0xdf, 0x05, 0xc0,
  2868. 0xf9, 0x93, 0x75, 0x6d, 0x48, 0xaa, 0xbc, 0x68, 0x5b, 0x9c, 0xf7, 0xc7, 0x22, 0xcf, 0xaa, 0xa9,
  2869. 0xc2, 0x65, 0x2d, 0xa1, 0xab, 0xf4, 0x65, 0xc1, 0x96, 0xfd, 0x2a, 0x2f, 0xff, 0x3f, 0x04, 0x44,
  2870. 0x2a, 0x2d, 0x68, 0xad, 0xc7, 0x58, 0x3b, 0x55, 0xcb, 0xd5, 0x43, 0x91, 0xbb, 0x4b, 0x1b, 0x4f,
  2871. 0x8f, 0x0a, 0xa5, 0x7d, 0xef, 0xce, 0x37, 0x59, 0x49, 0x72, 0x2a, 0x72, 0x50, 0xb5, 0xcf, 0xb4,
  2872. 0x45, 0x69, 0x6b, 0x47, 0xba, 0xe0, 0xb9, 0x9f, 0x40, 0x77, 0x58, 0xb4, 0x6d, 0xb5, 0xf6, 0xa9,
  2873. 0xf6, 0x88, 0xb5, 0xf6, 0xa9, 0xeb, 0xfe, 0x8e, 0xa1, 0x17, 0x59, 0x5b, 0xb0, 0x5a, 0x6c, 0xcd,
  2874. 0xec, 0xd8, 0x2c, 0xf6, 0xfa, 0x01, 0x20, 0x33, 0x06, 0x8b, 0x97, 0xed, 0x3b, 0xf6, 0xf8, 0xab,
  2875. 0xb5, 0x27, 0x96, 0x2d, 0x0f, 0xe1, 0xe2, 0x48, 0xaf, 0xd7, 0xd1, 0x97, 0x2d, 0xa6, 0x28, 0x37,
  2876. 0x24, 0xbd, 0x9d, 0xd9, 0x13, 0x73, 0xf5, 0x6f, 0x0e, 0x6b, 0x2a, 0xf1, 0xda, 0xd0, 0x3e, 0xa5,
  2877. 0x64, 0xaf, 0x97, 0xe0, 0x83, 0x37, 0xa0, 0xfa, 0xf7, 0xc4, 0x03, 0xe7, 0x79, 0xfb, 0x1e, 0xa7,
  2878. 0x7e, 0xed, 0x38, 0x87, 0x2b, 0xe2, 0x5f, 0x8a, 0xef, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x52,
  2879. 0x88, 0xd4, 0x76, 0xd5, 0x28, 0x00, 0x00,
  2880. }
  2881. // Reference imports to suppress errors if they are not otherwise used.
  2882. var _ context.Context
  2883. var _ grpc.ClientConn
  2884. // This is a compile-time assertion to ensure that this generated file
  2885. // is compatible with the grpc package it is being compiled against.
  2886. const _ = grpc.SupportPackageIsVersion4
  2887. // ArticleServiceClient is the client API for ArticleService service.
  2888. //
  2889. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2890. type ArticleServiceClient interface {
  2891. //得到用户资讯列表 created by daiyihua
  2892. GetArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error)
  2893. //根据资讯ID得到资讯内容 created by daiyihua
  2894. GetArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error)
  2895. //得到药商推送给医生的资讯列表 created by daiyihua
  2896. GetDoctorArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error)
  2897. //根据资讯ID得到资讯内容 created by daiyihua
  2898. GetDoctorArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error)
  2899. //获取医生显示的文章列表
  2900. GetDisplayArticleList(ctx context.Context, in *GetDisplayArticleListRequest, opts ...grpc.CallOption) (*GetDisplayArticleListResponse, error)
  2901. //获取资讯详情,并记录浏览相关信息
  2902. GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error)
  2903. //获取快讯分类列表
  2904. GetClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error)
  2905. //获取快讯pdf
  2906. GetPdfInfo(ctx context.Context, in *GetPdfInfoRequest, opts ...grpc.CallOption) (*GetPdfInfoResponse, error)
  2907. //获取药商推送给医生的快讯分类列表
  2908. GetDoctorClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error)
  2909. //获取医学界文章分页列表
  2910. GetArticlesPagedList(ctx context.Context, in *GetArticlesPagedListRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error)
  2911. //获取医学界文章详情
  2912. GetArticleDetail(ctx context.Context, in *GetArticleDetailRequest, opts ...grpc.CallOption) (*GetArticleDetailResponse, error)
  2913. //处理收藏/取消收藏文章
  2914. OperateArticleFavorite(ctx context.Context, in *OperateFavoritesRequest, opts ...grpc.CallOption) (*Result, error)
  2915. //获取收藏列表
  2916. GetArticlesFavoritesList(ctx context.Context, in *GetArticlesFavoritesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error)
  2917. //获取已购列表
  2918. GetPaidArticles(ctx context.Context, in *GetPaidArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error)
  2919. //获取发表列表
  2920. GetPublishArticles(ctx context.Context, in *GetPublishArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error)
  2921. //发表医学界文章
  2922. PublishMedicalFieldArticle(ctx context.Context, in *PublishMedicalFieldArticleRequest, opts ...grpc.CallOption) (*PublishMedicalFieldArticleResponse, error)
  2923. //发表医学界视频
  2924. PublishMedicalFieldVideo(ctx context.Context, in *PublishMedicalFieldVideoRequest, opts ...grpc.CallOption) (*PublishMedicalFieldVideoResponse, error)
  2925. //添加评论
  2926. AddComment(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*Result, error)
  2927. //获取评论列表
  2928. GetCommentList(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error)
  2929. //修改文章设置
  2930. EditArticleSetting(ctx context.Context, in *EditArticleSettingRequest, opts ...grpc.CallOption) (*Result, error)
  2931. //获取文章设置
  2932. GetArticleSetting(ctx context.Context, in *GetArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error)
  2933. //获取上一次的文章设置
  2934. GetLastArticleSetting(ctx context.Context, in *GetLastArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error)
  2935. //创建订单
  2936. CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error)
  2937. //订单支付回调
  2938. OrderPaymentCallbackNotify(ctx context.Context, in *OrderPaymentCallbackNotifyRequest, opts ...grpc.CallOption) (*Result, error)
  2939. //文章点赞操作
  2940. OperateArticleLike(ctx context.Context, in *OperateLikeRequest, opts ...grpc.CallOption) (*Result, error)
  2941. //获取点赞列表
  2942. GetLikedUsers(ctx context.Context, in *GetLikedUsersRequest, opts ...grpc.CallOption) (*GetLikedUsersResponse, error)
  2943. //视频转换后的回调方法
  2944. ConvertVideoCallback(ctx context.Context, in *ConvertVideoCallbackRequest, opts ...grpc.CallOption) (*Result, error)
  2945. }
  2946. type articleServiceClient struct {
  2947. cc *grpc.ClientConn
  2948. }
  2949. func NewArticleServiceClient(cc *grpc.ClientConn) ArticleServiceClient {
  2950. return &articleServiceClient{cc}
  2951. }
  2952. func (c *articleServiceClient) GetArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) {
  2953. out := new(GetArticlesResponse)
  2954. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticles", in, out, opts...)
  2955. if err != nil {
  2956. return nil, err
  2957. }
  2958. return out, nil
  2959. }
  2960. func (c *articleServiceClient) GetArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) {
  2961. out := new(GetArticleByIdResponse)
  2962. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleById", in, out, opts...)
  2963. if err != nil {
  2964. return nil, err
  2965. }
  2966. return out, nil
  2967. }
  2968. func (c *articleServiceClient) GetDoctorArticles(ctx context.Context, in *GetArticlesRequest, opts ...grpc.CallOption) (*GetArticlesResponse, error) {
  2969. out := new(GetArticlesResponse)
  2970. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorArticles", in, out, opts...)
  2971. if err != nil {
  2972. return nil, err
  2973. }
  2974. return out, nil
  2975. }
  2976. func (c *articleServiceClient) GetDoctorArticleById(ctx context.Context, in *GetArticleByIdRequest, opts ...grpc.CallOption) (*GetArticleByIdResponse, error) {
  2977. out := new(GetArticleByIdResponse)
  2978. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorArticleById", in, out, opts...)
  2979. if err != nil {
  2980. return nil, err
  2981. }
  2982. return out, nil
  2983. }
  2984. func (c *articleServiceClient) GetDisplayArticleList(ctx context.Context, in *GetDisplayArticleListRequest, opts ...grpc.CallOption) (*GetDisplayArticleListResponse, error) {
  2985. out := new(GetDisplayArticleListResponse)
  2986. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDisplayArticleList", in, out, opts...)
  2987. if err != nil {
  2988. return nil, err
  2989. }
  2990. return out, nil
  2991. }
  2992. func (c *articleServiceClient) GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error) {
  2993. out := new(GetArticleResponse)
  2994. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticle", in, out, opts...)
  2995. if err != nil {
  2996. return nil, err
  2997. }
  2998. return out, nil
  2999. }
  3000. func (c *articleServiceClient) GetClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) {
  3001. out := new(GetClassifiedArticlesResponse)
  3002. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getClassifiedArticles", in, out, opts...)
  3003. if err != nil {
  3004. return nil, err
  3005. }
  3006. return out, nil
  3007. }
  3008. func (c *articleServiceClient) GetPdfInfo(ctx context.Context, in *GetPdfInfoRequest, opts ...grpc.CallOption) (*GetPdfInfoResponse, error) {
  3009. out := new(GetPdfInfoResponse)
  3010. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPdfInfo", in, out, opts...)
  3011. if err != nil {
  3012. return nil, err
  3013. }
  3014. return out, nil
  3015. }
  3016. func (c *articleServiceClient) GetDoctorClassifiedArticles(ctx context.Context, in *GetClassifiedArticlesRequest, opts ...grpc.CallOption) (*GetClassifiedArticlesResponse, error) {
  3017. out := new(GetClassifiedArticlesResponse)
  3018. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getDoctorClassifiedArticles", in, out, opts...)
  3019. if err != nil {
  3020. return nil, err
  3021. }
  3022. return out, nil
  3023. }
  3024. func (c *articleServiceClient) GetArticlesPagedList(ctx context.Context, in *GetArticlesPagedListRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) {
  3025. out := new(GetArticlesPagedListResponse)
  3026. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticlesPagedList", in, out, opts...)
  3027. if err != nil {
  3028. return nil, err
  3029. }
  3030. return out, nil
  3031. }
  3032. func (c *articleServiceClient) GetArticleDetail(ctx context.Context, in *GetArticleDetailRequest, opts ...grpc.CallOption) (*GetArticleDetailResponse, error) {
  3033. out := new(GetArticleDetailResponse)
  3034. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleDetail", in, out, opts...)
  3035. if err != nil {
  3036. return nil, err
  3037. }
  3038. return out, nil
  3039. }
  3040. func (c *articleServiceClient) OperateArticleFavorite(ctx context.Context, in *OperateFavoritesRequest, opts ...grpc.CallOption) (*Result, error) {
  3041. out := new(Result)
  3042. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/operateArticleFavorite", in, out, opts...)
  3043. if err != nil {
  3044. return nil, err
  3045. }
  3046. return out, nil
  3047. }
  3048. func (c *articleServiceClient) GetArticlesFavoritesList(ctx context.Context, in *GetArticlesFavoritesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) {
  3049. out := new(GetArticlesPagedListResponse)
  3050. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticlesFavoritesList", in, out, opts...)
  3051. if err != nil {
  3052. return nil, err
  3053. }
  3054. return out, nil
  3055. }
  3056. func (c *articleServiceClient) GetPaidArticles(ctx context.Context, in *GetPaidArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) {
  3057. out := new(GetArticlesPagedListResponse)
  3058. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPaidArticles", in, out, opts...)
  3059. if err != nil {
  3060. return nil, err
  3061. }
  3062. return out, nil
  3063. }
  3064. func (c *articleServiceClient) GetPublishArticles(ctx context.Context, in *GetPublishArticlesRequest, opts ...grpc.CallOption) (*GetArticlesPagedListResponse, error) {
  3065. out := new(GetArticlesPagedListResponse)
  3066. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getPublishArticles", in, out, opts...)
  3067. if err != nil {
  3068. return nil, err
  3069. }
  3070. return out, nil
  3071. }
  3072. func (c *articleServiceClient) PublishMedicalFieldArticle(ctx context.Context, in *PublishMedicalFieldArticleRequest, opts ...grpc.CallOption) (*PublishMedicalFieldArticleResponse, error) {
  3073. out := new(PublishMedicalFieldArticleResponse)
  3074. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/publishMedicalFieldArticle", in, out, opts...)
  3075. if err != nil {
  3076. return nil, err
  3077. }
  3078. return out, nil
  3079. }
  3080. func (c *articleServiceClient) PublishMedicalFieldVideo(ctx context.Context, in *PublishMedicalFieldVideoRequest, opts ...grpc.CallOption) (*PublishMedicalFieldVideoResponse, error) {
  3081. out := new(PublishMedicalFieldVideoResponse)
  3082. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/publishMedicalFieldVideo", in, out, opts...)
  3083. if err != nil {
  3084. return nil, err
  3085. }
  3086. return out, nil
  3087. }
  3088. func (c *articleServiceClient) AddComment(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*Result, error) {
  3089. out := new(Result)
  3090. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/addComment", in, out, opts...)
  3091. if err != nil {
  3092. return nil, err
  3093. }
  3094. return out, nil
  3095. }
  3096. func (c *articleServiceClient) GetCommentList(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error) {
  3097. out := new(GetCommentsResponse)
  3098. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getCommentList", in, out, opts...)
  3099. if err != nil {
  3100. return nil, err
  3101. }
  3102. return out, nil
  3103. }
  3104. func (c *articleServiceClient) EditArticleSetting(ctx context.Context, in *EditArticleSettingRequest, opts ...grpc.CallOption) (*Result, error) {
  3105. out := new(Result)
  3106. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/editArticleSetting", in, out, opts...)
  3107. if err != nil {
  3108. return nil, err
  3109. }
  3110. return out, nil
  3111. }
  3112. func (c *articleServiceClient) GetArticleSetting(ctx context.Context, in *GetArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) {
  3113. out := new(GetArticleSettingResponse)
  3114. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getArticleSetting", in, out, opts...)
  3115. if err != nil {
  3116. return nil, err
  3117. }
  3118. return out, nil
  3119. }
  3120. func (c *articleServiceClient) GetLastArticleSetting(ctx context.Context, in *GetLastArticleSettingRequest, opts ...grpc.CallOption) (*GetArticleSettingResponse, error) {
  3121. out := new(GetArticleSettingResponse)
  3122. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getLastArticleSetting", in, out, opts...)
  3123. if err != nil {
  3124. return nil, err
  3125. }
  3126. return out, nil
  3127. }
  3128. func (c *articleServiceClient) CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderResponse, error) {
  3129. out := new(CreateOrderResponse)
  3130. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/createOrder", in, out, opts...)
  3131. if err != nil {
  3132. return nil, err
  3133. }
  3134. return out, nil
  3135. }
  3136. func (c *articleServiceClient) OrderPaymentCallbackNotify(ctx context.Context, in *OrderPaymentCallbackNotifyRequest, opts ...grpc.CallOption) (*Result, error) {
  3137. out := new(Result)
  3138. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/orderPaymentCallbackNotify", in, out, opts...)
  3139. if err != nil {
  3140. return nil, err
  3141. }
  3142. return out, nil
  3143. }
  3144. func (c *articleServiceClient) OperateArticleLike(ctx context.Context, in *OperateLikeRequest, opts ...grpc.CallOption) (*Result, error) {
  3145. out := new(Result)
  3146. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/operateArticleLike", in, out, opts...)
  3147. if err != nil {
  3148. return nil, err
  3149. }
  3150. return out, nil
  3151. }
  3152. func (c *articleServiceClient) GetLikedUsers(ctx context.Context, in *GetLikedUsersRequest, opts ...grpc.CallOption) (*GetLikedUsersResponse, error) {
  3153. out := new(GetLikedUsersResponse)
  3154. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/getLikedUsers", in, out, opts...)
  3155. if err != nil {
  3156. return nil, err
  3157. }
  3158. return out, nil
  3159. }
  3160. func (c *articleServiceClient) ConvertVideoCallback(ctx context.Context, in *ConvertVideoCallbackRequest, opts ...grpc.CallOption) (*Result, error) {
  3161. out := new(Result)
  3162. err := c.cc.Invoke(ctx, "/com.ywt.gapi.user.ArticleService/convertVideoCallback", in, out, opts...)
  3163. if err != nil {
  3164. return nil, err
  3165. }
  3166. return out, nil
  3167. }
  3168. // ArticleServiceServer is the server API for ArticleService service.
  3169. type ArticleServiceServer interface {
  3170. //得到用户资讯列表 created by daiyihua
  3171. GetArticles(context.Context, *GetArticlesRequest) (*GetArticlesResponse, error)
  3172. //根据资讯ID得到资讯内容 created by daiyihua
  3173. GetArticleById(context.Context, *GetArticleByIdRequest) (*GetArticleByIdResponse, error)
  3174. //得到药商推送给医生的资讯列表 created by daiyihua
  3175. GetDoctorArticles(context.Context, *GetArticlesRequest) (*GetArticlesResponse, error)
  3176. //根据资讯ID得到资讯内容 created by daiyihua
  3177. GetDoctorArticleById(context.Context, *GetArticleByIdRequest) (*GetArticleByIdResponse, error)
  3178. //获取医生显示的文章列表
  3179. GetDisplayArticleList(context.Context, *GetDisplayArticleListRequest) (*GetDisplayArticleListResponse, error)
  3180. //获取资讯详情,并记录浏览相关信息
  3181. GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error)
  3182. //获取快讯分类列表
  3183. GetClassifiedArticles(context.Context, *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error)
  3184. //获取快讯pdf
  3185. GetPdfInfo(context.Context, *GetPdfInfoRequest) (*GetPdfInfoResponse, error)
  3186. //获取药商推送给医生的快讯分类列表
  3187. GetDoctorClassifiedArticles(context.Context, *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error)
  3188. //获取医学界文章分页列表
  3189. GetArticlesPagedList(context.Context, *GetArticlesPagedListRequest) (*GetArticlesPagedListResponse, error)
  3190. //获取医学界文章详情
  3191. GetArticleDetail(context.Context, *GetArticleDetailRequest) (*GetArticleDetailResponse, error)
  3192. //处理收藏/取消收藏文章
  3193. OperateArticleFavorite(context.Context, *OperateFavoritesRequest) (*Result, error)
  3194. //获取收藏列表
  3195. GetArticlesFavoritesList(context.Context, *GetArticlesFavoritesRequest) (*GetArticlesPagedListResponse, error)
  3196. //获取已购列表
  3197. GetPaidArticles(context.Context, *GetPaidArticlesRequest) (*GetArticlesPagedListResponse, error)
  3198. //获取发表列表
  3199. GetPublishArticles(context.Context, *GetPublishArticlesRequest) (*GetArticlesPagedListResponse, error)
  3200. //发表医学界文章
  3201. PublishMedicalFieldArticle(context.Context, *PublishMedicalFieldArticleRequest) (*PublishMedicalFieldArticleResponse, error)
  3202. //发表医学界视频
  3203. PublishMedicalFieldVideo(context.Context, *PublishMedicalFieldVideoRequest) (*PublishMedicalFieldVideoResponse, error)
  3204. //添加评论
  3205. AddComment(context.Context, *AddCommentRequest) (*Result, error)
  3206. //获取评论列表
  3207. GetCommentList(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
  3208. //修改文章设置
  3209. EditArticleSetting(context.Context, *EditArticleSettingRequest) (*Result, error)
  3210. //获取文章设置
  3211. GetArticleSetting(context.Context, *GetArticleSettingRequest) (*GetArticleSettingResponse, error)
  3212. //获取上一次的文章设置
  3213. GetLastArticleSetting(context.Context, *GetLastArticleSettingRequest) (*GetArticleSettingResponse, error)
  3214. //创建订单
  3215. CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderResponse, error)
  3216. //订单支付回调
  3217. OrderPaymentCallbackNotify(context.Context, *OrderPaymentCallbackNotifyRequest) (*Result, error)
  3218. //文章点赞操作
  3219. OperateArticleLike(context.Context, *OperateLikeRequest) (*Result, error)
  3220. //获取点赞列表
  3221. GetLikedUsers(context.Context, *GetLikedUsersRequest) (*GetLikedUsersResponse, error)
  3222. //视频转换后的回调方法
  3223. ConvertVideoCallback(context.Context, *ConvertVideoCallbackRequest) (*Result, error)
  3224. }
  3225. // UnimplementedArticleServiceServer can be embedded to have forward compatible implementations.
  3226. type UnimplementedArticleServiceServer struct {
  3227. }
  3228. func (*UnimplementedArticleServiceServer) GetArticles(ctx context.Context, req *GetArticlesRequest) (*GetArticlesResponse, error) {
  3229. return nil, status.Errorf(codes.Unimplemented, "method GetArticles not implemented")
  3230. }
  3231. func (*UnimplementedArticleServiceServer) GetArticleById(ctx context.Context, req *GetArticleByIdRequest) (*GetArticleByIdResponse, error) {
  3232. return nil, status.Errorf(codes.Unimplemented, "method GetArticleById not implemented")
  3233. }
  3234. func (*UnimplementedArticleServiceServer) GetDoctorArticles(ctx context.Context, req *GetArticlesRequest) (*GetArticlesResponse, error) {
  3235. return nil, status.Errorf(codes.Unimplemented, "method GetDoctorArticles not implemented")
  3236. }
  3237. func (*UnimplementedArticleServiceServer) GetDoctorArticleById(ctx context.Context, req *GetArticleByIdRequest) (*GetArticleByIdResponse, error) {
  3238. return nil, status.Errorf(codes.Unimplemented, "method GetDoctorArticleById not implemented")
  3239. }
  3240. func (*UnimplementedArticleServiceServer) GetDisplayArticleList(ctx context.Context, req *GetDisplayArticleListRequest) (*GetDisplayArticleListResponse, error) {
  3241. return nil, status.Errorf(codes.Unimplemented, "method GetDisplayArticleList not implemented")
  3242. }
  3243. func (*UnimplementedArticleServiceServer) GetArticle(ctx context.Context, req *GetArticleRequest) (*GetArticleResponse, error) {
  3244. return nil, status.Errorf(codes.Unimplemented, "method GetArticle not implemented")
  3245. }
  3246. func (*UnimplementedArticleServiceServer) GetClassifiedArticles(ctx context.Context, req *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) {
  3247. return nil, status.Errorf(codes.Unimplemented, "method GetClassifiedArticles not implemented")
  3248. }
  3249. func (*UnimplementedArticleServiceServer) GetPdfInfo(ctx context.Context, req *GetPdfInfoRequest) (*GetPdfInfoResponse, error) {
  3250. return nil, status.Errorf(codes.Unimplemented, "method GetPdfInfo not implemented")
  3251. }
  3252. func (*UnimplementedArticleServiceServer) GetDoctorClassifiedArticles(ctx context.Context, req *GetClassifiedArticlesRequest) (*GetClassifiedArticlesResponse, error) {
  3253. return nil, status.Errorf(codes.Unimplemented, "method GetDoctorClassifiedArticles not implemented")
  3254. }
  3255. func (*UnimplementedArticleServiceServer) GetArticlesPagedList(ctx context.Context, req *GetArticlesPagedListRequest) (*GetArticlesPagedListResponse, error) {
  3256. return nil, status.Errorf(codes.Unimplemented, "method GetArticlesPagedList not implemented")
  3257. }
  3258. func (*UnimplementedArticleServiceServer) GetArticleDetail(ctx context.Context, req *GetArticleDetailRequest) (*GetArticleDetailResponse, error) {
  3259. return nil, status.Errorf(codes.Unimplemented, "method GetArticleDetail not implemented")
  3260. }
  3261. func (*UnimplementedArticleServiceServer) OperateArticleFavorite(ctx context.Context, req *OperateFavoritesRequest) (*Result, error) {
  3262. return nil, status.Errorf(codes.Unimplemented, "method OperateArticleFavorite not implemented")
  3263. }
  3264. func (*UnimplementedArticleServiceServer) GetArticlesFavoritesList(ctx context.Context, req *GetArticlesFavoritesRequest) (*GetArticlesPagedListResponse, error) {
  3265. return nil, status.Errorf(codes.Unimplemented, "method GetArticlesFavoritesList not implemented")
  3266. }
  3267. func (*UnimplementedArticleServiceServer) GetPaidArticles(ctx context.Context, req *GetPaidArticlesRequest) (*GetArticlesPagedListResponse, error) {
  3268. return nil, status.Errorf(codes.Unimplemented, "method GetPaidArticles not implemented")
  3269. }
  3270. func (*UnimplementedArticleServiceServer) GetPublishArticles(ctx context.Context, req *GetPublishArticlesRequest) (*GetArticlesPagedListResponse, error) {
  3271. return nil, status.Errorf(codes.Unimplemented, "method GetPublishArticles not implemented")
  3272. }
  3273. func (*UnimplementedArticleServiceServer) PublishMedicalFieldArticle(ctx context.Context, req *PublishMedicalFieldArticleRequest) (*PublishMedicalFieldArticleResponse, error) {
  3274. return nil, status.Errorf(codes.Unimplemented, "method PublishMedicalFieldArticle not implemented")
  3275. }
  3276. func (*UnimplementedArticleServiceServer) PublishMedicalFieldVideo(ctx context.Context, req *PublishMedicalFieldVideoRequest) (*PublishMedicalFieldVideoResponse, error) {
  3277. return nil, status.Errorf(codes.Unimplemented, "method PublishMedicalFieldVideo not implemented")
  3278. }
  3279. func (*UnimplementedArticleServiceServer) AddComment(ctx context.Context, req *AddCommentRequest) (*Result, error) {
  3280. return nil, status.Errorf(codes.Unimplemented, "method AddComment not implemented")
  3281. }
  3282. func (*UnimplementedArticleServiceServer) GetCommentList(ctx context.Context, req *GetCommentsRequest) (*GetCommentsResponse, error) {
  3283. return nil, status.Errorf(codes.Unimplemented, "method GetCommentList not implemented")
  3284. }
  3285. func (*UnimplementedArticleServiceServer) EditArticleSetting(ctx context.Context, req *EditArticleSettingRequest) (*Result, error) {
  3286. return nil, status.Errorf(codes.Unimplemented, "method EditArticleSetting not implemented")
  3287. }
  3288. func (*UnimplementedArticleServiceServer) GetArticleSetting(ctx context.Context, req *GetArticleSettingRequest) (*GetArticleSettingResponse, error) {
  3289. return nil, status.Errorf(codes.Unimplemented, "method GetArticleSetting not implemented")
  3290. }
  3291. func (*UnimplementedArticleServiceServer) GetLastArticleSetting(ctx context.Context, req *GetLastArticleSettingRequest) (*GetArticleSettingResponse, error) {
  3292. return nil, status.Errorf(codes.Unimplemented, "method GetLastArticleSetting not implemented")
  3293. }
  3294. func (*UnimplementedArticleServiceServer) CreateOrder(ctx context.Context, req *CreateOrderRequest) (*CreateOrderResponse, error) {
  3295. return nil, status.Errorf(codes.Unimplemented, "method CreateOrder not implemented")
  3296. }
  3297. func (*UnimplementedArticleServiceServer) OrderPaymentCallbackNotify(ctx context.Context, req *OrderPaymentCallbackNotifyRequest) (*Result, error) {
  3298. return nil, status.Errorf(codes.Unimplemented, "method OrderPaymentCallbackNotify not implemented")
  3299. }
  3300. func (*UnimplementedArticleServiceServer) OperateArticleLike(ctx context.Context, req *OperateLikeRequest) (*Result, error) {
  3301. return nil, status.Errorf(codes.Unimplemented, "method OperateArticleLike not implemented")
  3302. }
  3303. func (*UnimplementedArticleServiceServer) GetLikedUsers(ctx context.Context, req *GetLikedUsersRequest) (*GetLikedUsersResponse, error) {
  3304. return nil, status.Errorf(codes.Unimplemented, "method GetLikedUsers not implemented")
  3305. }
  3306. func (*UnimplementedArticleServiceServer) ConvertVideoCallback(ctx context.Context, req *ConvertVideoCallbackRequest) (*Result, error) {
  3307. return nil, status.Errorf(codes.Unimplemented, "method ConvertVideoCallback not implemented")
  3308. }
  3309. func RegisterArticleServiceServer(s *grpc.Server, srv ArticleServiceServer) {
  3310. s.RegisterService(&_ArticleService_serviceDesc, srv)
  3311. }
  3312. func _ArticleService_GetArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3313. in := new(GetArticlesRequest)
  3314. if err := dec(in); err != nil {
  3315. return nil, err
  3316. }
  3317. if interceptor == nil {
  3318. return srv.(ArticleServiceServer).GetArticles(ctx, in)
  3319. }
  3320. info := &grpc.UnaryServerInfo{
  3321. Server: srv,
  3322. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticles",
  3323. }
  3324. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3325. return srv.(ArticleServiceServer).GetArticles(ctx, req.(*GetArticlesRequest))
  3326. }
  3327. return interceptor(ctx, in, info, handler)
  3328. }
  3329. func _ArticleService_GetArticleById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3330. in := new(GetArticleByIdRequest)
  3331. if err := dec(in); err != nil {
  3332. return nil, err
  3333. }
  3334. if interceptor == nil {
  3335. return srv.(ArticleServiceServer).GetArticleById(ctx, in)
  3336. }
  3337. info := &grpc.UnaryServerInfo{
  3338. Server: srv,
  3339. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleById",
  3340. }
  3341. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3342. return srv.(ArticleServiceServer).GetArticleById(ctx, req.(*GetArticleByIdRequest))
  3343. }
  3344. return interceptor(ctx, in, info, handler)
  3345. }
  3346. func _ArticleService_GetDoctorArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3347. in := new(GetArticlesRequest)
  3348. if err := dec(in); err != nil {
  3349. return nil, err
  3350. }
  3351. if interceptor == nil {
  3352. return srv.(ArticleServiceServer).GetDoctorArticles(ctx, in)
  3353. }
  3354. info := &grpc.UnaryServerInfo{
  3355. Server: srv,
  3356. FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorArticles",
  3357. }
  3358. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3359. return srv.(ArticleServiceServer).GetDoctorArticles(ctx, req.(*GetArticlesRequest))
  3360. }
  3361. return interceptor(ctx, in, info, handler)
  3362. }
  3363. func _ArticleService_GetDoctorArticleById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3364. in := new(GetArticleByIdRequest)
  3365. if err := dec(in); err != nil {
  3366. return nil, err
  3367. }
  3368. if interceptor == nil {
  3369. return srv.(ArticleServiceServer).GetDoctorArticleById(ctx, in)
  3370. }
  3371. info := &grpc.UnaryServerInfo{
  3372. Server: srv,
  3373. FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorArticleById",
  3374. }
  3375. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3376. return srv.(ArticleServiceServer).GetDoctorArticleById(ctx, req.(*GetArticleByIdRequest))
  3377. }
  3378. return interceptor(ctx, in, info, handler)
  3379. }
  3380. func _ArticleService_GetDisplayArticleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3381. in := new(GetDisplayArticleListRequest)
  3382. if err := dec(in); err != nil {
  3383. return nil, err
  3384. }
  3385. if interceptor == nil {
  3386. return srv.(ArticleServiceServer).GetDisplayArticleList(ctx, in)
  3387. }
  3388. info := &grpc.UnaryServerInfo{
  3389. Server: srv,
  3390. FullMethod: "/com.ywt.gapi.user.ArticleService/GetDisplayArticleList",
  3391. }
  3392. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3393. return srv.(ArticleServiceServer).GetDisplayArticleList(ctx, req.(*GetDisplayArticleListRequest))
  3394. }
  3395. return interceptor(ctx, in, info, handler)
  3396. }
  3397. func _ArticleService_GetArticle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3398. in := new(GetArticleRequest)
  3399. if err := dec(in); err != nil {
  3400. return nil, err
  3401. }
  3402. if interceptor == nil {
  3403. return srv.(ArticleServiceServer).GetArticle(ctx, in)
  3404. }
  3405. info := &grpc.UnaryServerInfo{
  3406. Server: srv,
  3407. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticle",
  3408. }
  3409. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3410. return srv.(ArticleServiceServer).GetArticle(ctx, req.(*GetArticleRequest))
  3411. }
  3412. return interceptor(ctx, in, info, handler)
  3413. }
  3414. func _ArticleService_GetClassifiedArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3415. in := new(GetClassifiedArticlesRequest)
  3416. if err := dec(in); err != nil {
  3417. return nil, err
  3418. }
  3419. if interceptor == nil {
  3420. return srv.(ArticleServiceServer).GetClassifiedArticles(ctx, in)
  3421. }
  3422. info := &grpc.UnaryServerInfo{
  3423. Server: srv,
  3424. FullMethod: "/com.ywt.gapi.user.ArticleService/GetClassifiedArticles",
  3425. }
  3426. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3427. return srv.(ArticleServiceServer).GetClassifiedArticles(ctx, req.(*GetClassifiedArticlesRequest))
  3428. }
  3429. return interceptor(ctx, in, info, handler)
  3430. }
  3431. func _ArticleService_GetPdfInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3432. in := new(GetPdfInfoRequest)
  3433. if err := dec(in); err != nil {
  3434. return nil, err
  3435. }
  3436. if interceptor == nil {
  3437. return srv.(ArticleServiceServer).GetPdfInfo(ctx, in)
  3438. }
  3439. info := &grpc.UnaryServerInfo{
  3440. Server: srv,
  3441. FullMethod: "/com.ywt.gapi.user.ArticleService/GetPdfInfo",
  3442. }
  3443. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3444. return srv.(ArticleServiceServer).GetPdfInfo(ctx, req.(*GetPdfInfoRequest))
  3445. }
  3446. return interceptor(ctx, in, info, handler)
  3447. }
  3448. func _ArticleService_GetDoctorClassifiedArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3449. in := new(GetClassifiedArticlesRequest)
  3450. if err := dec(in); err != nil {
  3451. return nil, err
  3452. }
  3453. if interceptor == nil {
  3454. return srv.(ArticleServiceServer).GetDoctorClassifiedArticles(ctx, in)
  3455. }
  3456. info := &grpc.UnaryServerInfo{
  3457. Server: srv,
  3458. FullMethod: "/com.ywt.gapi.user.ArticleService/GetDoctorClassifiedArticles",
  3459. }
  3460. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3461. return srv.(ArticleServiceServer).GetDoctorClassifiedArticles(ctx, req.(*GetClassifiedArticlesRequest))
  3462. }
  3463. return interceptor(ctx, in, info, handler)
  3464. }
  3465. func _ArticleService_GetArticlesPagedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3466. in := new(GetArticlesPagedListRequest)
  3467. if err := dec(in); err != nil {
  3468. return nil, err
  3469. }
  3470. if interceptor == nil {
  3471. return srv.(ArticleServiceServer).GetArticlesPagedList(ctx, in)
  3472. }
  3473. info := &grpc.UnaryServerInfo{
  3474. Server: srv,
  3475. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticlesPagedList",
  3476. }
  3477. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3478. return srv.(ArticleServiceServer).GetArticlesPagedList(ctx, req.(*GetArticlesPagedListRequest))
  3479. }
  3480. return interceptor(ctx, in, info, handler)
  3481. }
  3482. func _ArticleService_GetArticleDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3483. in := new(GetArticleDetailRequest)
  3484. if err := dec(in); err != nil {
  3485. return nil, err
  3486. }
  3487. if interceptor == nil {
  3488. return srv.(ArticleServiceServer).GetArticleDetail(ctx, in)
  3489. }
  3490. info := &grpc.UnaryServerInfo{
  3491. Server: srv,
  3492. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleDetail",
  3493. }
  3494. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3495. return srv.(ArticleServiceServer).GetArticleDetail(ctx, req.(*GetArticleDetailRequest))
  3496. }
  3497. return interceptor(ctx, in, info, handler)
  3498. }
  3499. func _ArticleService_OperateArticleFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3500. in := new(OperateFavoritesRequest)
  3501. if err := dec(in); err != nil {
  3502. return nil, err
  3503. }
  3504. if interceptor == nil {
  3505. return srv.(ArticleServiceServer).OperateArticleFavorite(ctx, in)
  3506. }
  3507. info := &grpc.UnaryServerInfo{
  3508. Server: srv,
  3509. FullMethod: "/com.ywt.gapi.user.ArticleService/OperateArticleFavorite",
  3510. }
  3511. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3512. return srv.(ArticleServiceServer).OperateArticleFavorite(ctx, req.(*OperateFavoritesRequest))
  3513. }
  3514. return interceptor(ctx, in, info, handler)
  3515. }
  3516. func _ArticleService_GetArticlesFavoritesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3517. in := new(GetArticlesFavoritesRequest)
  3518. if err := dec(in); err != nil {
  3519. return nil, err
  3520. }
  3521. if interceptor == nil {
  3522. return srv.(ArticleServiceServer).GetArticlesFavoritesList(ctx, in)
  3523. }
  3524. info := &grpc.UnaryServerInfo{
  3525. Server: srv,
  3526. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticlesFavoritesList",
  3527. }
  3528. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3529. return srv.(ArticleServiceServer).GetArticlesFavoritesList(ctx, req.(*GetArticlesFavoritesRequest))
  3530. }
  3531. return interceptor(ctx, in, info, handler)
  3532. }
  3533. func _ArticleService_GetPaidArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3534. in := new(GetPaidArticlesRequest)
  3535. if err := dec(in); err != nil {
  3536. return nil, err
  3537. }
  3538. if interceptor == nil {
  3539. return srv.(ArticleServiceServer).GetPaidArticles(ctx, in)
  3540. }
  3541. info := &grpc.UnaryServerInfo{
  3542. Server: srv,
  3543. FullMethod: "/com.ywt.gapi.user.ArticleService/GetPaidArticles",
  3544. }
  3545. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3546. return srv.(ArticleServiceServer).GetPaidArticles(ctx, req.(*GetPaidArticlesRequest))
  3547. }
  3548. return interceptor(ctx, in, info, handler)
  3549. }
  3550. func _ArticleService_GetPublishArticles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3551. in := new(GetPublishArticlesRequest)
  3552. if err := dec(in); err != nil {
  3553. return nil, err
  3554. }
  3555. if interceptor == nil {
  3556. return srv.(ArticleServiceServer).GetPublishArticles(ctx, in)
  3557. }
  3558. info := &grpc.UnaryServerInfo{
  3559. Server: srv,
  3560. FullMethod: "/com.ywt.gapi.user.ArticleService/GetPublishArticles",
  3561. }
  3562. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3563. return srv.(ArticleServiceServer).GetPublishArticles(ctx, req.(*GetPublishArticlesRequest))
  3564. }
  3565. return interceptor(ctx, in, info, handler)
  3566. }
  3567. func _ArticleService_PublishMedicalFieldArticle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3568. in := new(PublishMedicalFieldArticleRequest)
  3569. if err := dec(in); err != nil {
  3570. return nil, err
  3571. }
  3572. if interceptor == nil {
  3573. return srv.(ArticleServiceServer).PublishMedicalFieldArticle(ctx, in)
  3574. }
  3575. info := &grpc.UnaryServerInfo{
  3576. Server: srv,
  3577. FullMethod: "/com.ywt.gapi.user.ArticleService/PublishMedicalFieldArticle",
  3578. }
  3579. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3580. return srv.(ArticleServiceServer).PublishMedicalFieldArticle(ctx, req.(*PublishMedicalFieldArticleRequest))
  3581. }
  3582. return interceptor(ctx, in, info, handler)
  3583. }
  3584. func _ArticleService_PublishMedicalFieldVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3585. in := new(PublishMedicalFieldVideoRequest)
  3586. if err := dec(in); err != nil {
  3587. return nil, err
  3588. }
  3589. if interceptor == nil {
  3590. return srv.(ArticleServiceServer).PublishMedicalFieldVideo(ctx, in)
  3591. }
  3592. info := &grpc.UnaryServerInfo{
  3593. Server: srv,
  3594. FullMethod: "/com.ywt.gapi.user.ArticleService/PublishMedicalFieldVideo",
  3595. }
  3596. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3597. return srv.(ArticleServiceServer).PublishMedicalFieldVideo(ctx, req.(*PublishMedicalFieldVideoRequest))
  3598. }
  3599. return interceptor(ctx, in, info, handler)
  3600. }
  3601. func _ArticleService_AddComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3602. in := new(AddCommentRequest)
  3603. if err := dec(in); err != nil {
  3604. return nil, err
  3605. }
  3606. if interceptor == nil {
  3607. return srv.(ArticleServiceServer).AddComment(ctx, in)
  3608. }
  3609. info := &grpc.UnaryServerInfo{
  3610. Server: srv,
  3611. FullMethod: "/com.ywt.gapi.user.ArticleService/AddComment",
  3612. }
  3613. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3614. return srv.(ArticleServiceServer).AddComment(ctx, req.(*AddCommentRequest))
  3615. }
  3616. return interceptor(ctx, in, info, handler)
  3617. }
  3618. func _ArticleService_GetCommentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3619. in := new(GetCommentsRequest)
  3620. if err := dec(in); err != nil {
  3621. return nil, err
  3622. }
  3623. if interceptor == nil {
  3624. return srv.(ArticleServiceServer).GetCommentList(ctx, in)
  3625. }
  3626. info := &grpc.UnaryServerInfo{
  3627. Server: srv,
  3628. FullMethod: "/com.ywt.gapi.user.ArticleService/GetCommentList",
  3629. }
  3630. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3631. return srv.(ArticleServiceServer).GetCommentList(ctx, req.(*GetCommentsRequest))
  3632. }
  3633. return interceptor(ctx, in, info, handler)
  3634. }
  3635. func _ArticleService_EditArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3636. in := new(EditArticleSettingRequest)
  3637. if err := dec(in); err != nil {
  3638. return nil, err
  3639. }
  3640. if interceptor == nil {
  3641. return srv.(ArticleServiceServer).EditArticleSetting(ctx, in)
  3642. }
  3643. info := &grpc.UnaryServerInfo{
  3644. Server: srv,
  3645. FullMethod: "/com.ywt.gapi.user.ArticleService/EditArticleSetting",
  3646. }
  3647. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3648. return srv.(ArticleServiceServer).EditArticleSetting(ctx, req.(*EditArticleSettingRequest))
  3649. }
  3650. return interceptor(ctx, in, info, handler)
  3651. }
  3652. func _ArticleService_GetArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3653. in := new(GetArticleSettingRequest)
  3654. if err := dec(in); err != nil {
  3655. return nil, err
  3656. }
  3657. if interceptor == nil {
  3658. return srv.(ArticleServiceServer).GetArticleSetting(ctx, in)
  3659. }
  3660. info := &grpc.UnaryServerInfo{
  3661. Server: srv,
  3662. FullMethod: "/com.ywt.gapi.user.ArticleService/GetArticleSetting",
  3663. }
  3664. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3665. return srv.(ArticleServiceServer).GetArticleSetting(ctx, req.(*GetArticleSettingRequest))
  3666. }
  3667. return interceptor(ctx, in, info, handler)
  3668. }
  3669. func _ArticleService_GetLastArticleSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3670. in := new(GetLastArticleSettingRequest)
  3671. if err := dec(in); err != nil {
  3672. return nil, err
  3673. }
  3674. if interceptor == nil {
  3675. return srv.(ArticleServiceServer).GetLastArticleSetting(ctx, in)
  3676. }
  3677. info := &grpc.UnaryServerInfo{
  3678. Server: srv,
  3679. FullMethod: "/com.ywt.gapi.user.ArticleService/GetLastArticleSetting",
  3680. }
  3681. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3682. return srv.(ArticleServiceServer).GetLastArticleSetting(ctx, req.(*GetLastArticleSettingRequest))
  3683. }
  3684. return interceptor(ctx, in, info, handler)
  3685. }
  3686. func _ArticleService_CreateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3687. in := new(CreateOrderRequest)
  3688. if err := dec(in); err != nil {
  3689. return nil, err
  3690. }
  3691. if interceptor == nil {
  3692. return srv.(ArticleServiceServer).CreateOrder(ctx, in)
  3693. }
  3694. info := &grpc.UnaryServerInfo{
  3695. Server: srv,
  3696. FullMethod: "/com.ywt.gapi.user.ArticleService/CreateOrder",
  3697. }
  3698. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3699. return srv.(ArticleServiceServer).CreateOrder(ctx, req.(*CreateOrderRequest))
  3700. }
  3701. return interceptor(ctx, in, info, handler)
  3702. }
  3703. func _ArticleService_OrderPaymentCallbackNotify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3704. in := new(OrderPaymentCallbackNotifyRequest)
  3705. if err := dec(in); err != nil {
  3706. return nil, err
  3707. }
  3708. if interceptor == nil {
  3709. return srv.(ArticleServiceServer).OrderPaymentCallbackNotify(ctx, in)
  3710. }
  3711. info := &grpc.UnaryServerInfo{
  3712. Server: srv,
  3713. FullMethod: "/com.ywt.gapi.user.ArticleService/OrderPaymentCallbackNotify",
  3714. }
  3715. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3716. return srv.(ArticleServiceServer).OrderPaymentCallbackNotify(ctx, req.(*OrderPaymentCallbackNotifyRequest))
  3717. }
  3718. return interceptor(ctx, in, info, handler)
  3719. }
  3720. func _ArticleService_OperateArticleLike_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3721. in := new(OperateLikeRequest)
  3722. if err := dec(in); err != nil {
  3723. return nil, err
  3724. }
  3725. if interceptor == nil {
  3726. return srv.(ArticleServiceServer).OperateArticleLike(ctx, in)
  3727. }
  3728. info := &grpc.UnaryServerInfo{
  3729. Server: srv,
  3730. FullMethod: "/com.ywt.gapi.user.ArticleService/OperateArticleLike",
  3731. }
  3732. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3733. return srv.(ArticleServiceServer).OperateArticleLike(ctx, req.(*OperateLikeRequest))
  3734. }
  3735. return interceptor(ctx, in, info, handler)
  3736. }
  3737. func _ArticleService_GetLikedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3738. in := new(GetLikedUsersRequest)
  3739. if err := dec(in); err != nil {
  3740. return nil, err
  3741. }
  3742. if interceptor == nil {
  3743. return srv.(ArticleServiceServer).GetLikedUsers(ctx, in)
  3744. }
  3745. info := &grpc.UnaryServerInfo{
  3746. Server: srv,
  3747. FullMethod: "/com.ywt.gapi.user.ArticleService/GetLikedUsers",
  3748. }
  3749. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3750. return srv.(ArticleServiceServer).GetLikedUsers(ctx, req.(*GetLikedUsersRequest))
  3751. }
  3752. return interceptor(ctx, in, info, handler)
  3753. }
  3754. func _ArticleService_ConvertVideoCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3755. in := new(ConvertVideoCallbackRequest)
  3756. if err := dec(in); err != nil {
  3757. return nil, err
  3758. }
  3759. if interceptor == nil {
  3760. return srv.(ArticleServiceServer).ConvertVideoCallback(ctx, in)
  3761. }
  3762. info := &grpc.UnaryServerInfo{
  3763. Server: srv,
  3764. FullMethod: "/com.ywt.gapi.user.ArticleService/ConvertVideoCallback",
  3765. }
  3766. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3767. return srv.(ArticleServiceServer).ConvertVideoCallback(ctx, req.(*ConvertVideoCallbackRequest))
  3768. }
  3769. return interceptor(ctx, in, info, handler)
  3770. }
  3771. var _ArticleService_serviceDesc = grpc.ServiceDesc{
  3772. ServiceName: "com.ywt.gapi.user.ArticleService",
  3773. HandlerType: (*ArticleServiceServer)(nil),
  3774. Methods: []grpc.MethodDesc{
  3775. {
  3776. MethodName: "getArticles",
  3777. Handler: _ArticleService_GetArticles_Handler,
  3778. },
  3779. {
  3780. MethodName: "getArticleById",
  3781. Handler: _ArticleService_GetArticleById_Handler,
  3782. },
  3783. {
  3784. MethodName: "getDoctorArticles",
  3785. Handler: _ArticleService_GetDoctorArticles_Handler,
  3786. },
  3787. {
  3788. MethodName: "getDoctorArticleById",
  3789. Handler: _ArticleService_GetDoctorArticleById_Handler,
  3790. },
  3791. {
  3792. MethodName: "getDisplayArticleList",
  3793. Handler: _ArticleService_GetDisplayArticleList_Handler,
  3794. },
  3795. {
  3796. MethodName: "getArticle",
  3797. Handler: _ArticleService_GetArticle_Handler,
  3798. },
  3799. {
  3800. MethodName: "getClassifiedArticles",
  3801. Handler: _ArticleService_GetClassifiedArticles_Handler,
  3802. },
  3803. {
  3804. MethodName: "getPdfInfo",
  3805. Handler: _ArticleService_GetPdfInfo_Handler,
  3806. },
  3807. {
  3808. MethodName: "getDoctorClassifiedArticles",
  3809. Handler: _ArticleService_GetDoctorClassifiedArticles_Handler,
  3810. },
  3811. {
  3812. MethodName: "getArticlesPagedList",
  3813. Handler: _ArticleService_GetArticlesPagedList_Handler,
  3814. },
  3815. {
  3816. MethodName: "getArticleDetail",
  3817. Handler: _ArticleService_GetArticleDetail_Handler,
  3818. },
  3819. {
  3820. MethodName: "operateArticleFavorite",
  3821. Handler: _ArticleService_OperateArticleFavorite_Handler,
  3822. },
  3823. {
  3824. MethodName: "getArticlesFavoritesList",
  3825. Handler: _ArticleService_GetArticlesFavoritesList_Handler,
  3826. },
  3827. {
  3828. MethodName: "getPaidArticles",
  3829. Handler: _ArticleService_GetPaidArticles_Handler,
  3830. },
  3831. {
  3832. MethodName: "getPublishArticles",
  3833. Handler: _ArticleService_GetPublishArticles_Handler,
  3834. },
  3835. {
  3836. MethodName: "publishMedicalFieldArticle",
  3837. Handler: _ArticleService_PublishMedicalFieldArticle_Handler,
  3838. },
  3839. {
  3840. MethodName: "publishMedicalFieldVideo",
  3841. Handler: _ArticleService_PublishMedicalFieldVideo_Handler,
  3842. },
  3843. {
  3844. MethodName: "addComment",
  3845. Handler: _ArticleService_AddComment_Handler,
  3846. },
  3847. {
  3848. MethodName: "getCommentList",
  3849. Handler: _ArticleService_GetCommentList_Handler,
  3850. },
  3851. {
  3852. MethodName: "editArticleSetting",
  3853. Handler: _ArticleService_EditArticleSetting_Handler,
  3854. },
  3855. {
  3856. MethodName: "getArticleSetting",
  3857. Handler: _ArticleService_GetArticleSetting_Handler,
  3858. },
  3859. {
  3860. MethodName: "getLastArticleSetting",
  3861. Handler: _ArticleService_GetLastArticleSetting_Handler,
  3862. },
  3863. {
  3864. MethodName: "createOrder",
  3865. Handler: _ArticleService_CreateOrder_Handler,
  3866. },
  3867. {
  3868. MethodName: "orderPaymentCallbackNotify",
  3869. Handler: _ArticleService_OrderPaymentCallbackNotify_Handler,
  3870. },
  3871. {
  3872. MethodName: "operateArticleLike",
  3873. Handler: _ArticleService_OperateArticleLike_Handler,
  3874. },
  3875. {
  3876. MethodName: "getLikedUsers",
  3877. Handler: _ArticleService_GetLikedUsers_Handler,
  3878. },
  3879. {
  3880. MethodName: "convertVideoCallback",
  3881. Handler: _ArticleService_ConvertVideoCallback_Handler,
  3882. },
  3883. },
  3884. Streams: []grpc.StreamDesc{},
  3885. Metadata: "article.proto",
  3886. }