api.pb.go 311 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/vip/api/api.proto
  3. /*
  4. Package v1 is a generated protocol buffer package.
  5. use {app_id}.{version} as package name
  6. It is generated from these files:
  7. app/service/main/vip/api/api.proto
  8. It has these top-level messages:
  9. RegisterOpenIDReq
  10. RegisterOpenIDReply
  11. OpenBindByOutOpenIDReq
  12. OpenBindByOutOpenIDReply
  13. UserInfoByOpenIDReq
  14. UserInfoByOpenIDReply
  15. BindInfoByMidReq
  16. BindInfoByMidReply
  17. Account
  18. BindOuter
  19. BilibiliPrizeGrantReq
  20. BilibiliPrizeGrantReply
  21. BilibiliVipGrantReq
  22. BilibiliVipGrantReply
  23. CreateAssociateOrderReq
  24. CreateAssociateOrderReply
  25. AssociatePanelReq
  26. AssociatePanelReply
  27. AssociatePanelInfo
  28. OpenAuthCallBackReq
  29. OpenAuthCallBackReply
  30. EleRedPackagesReq
  31. EleRedPackagesReply
  32. ModelEleRedPackage
  33. EleSpecailFoodsReq
  34. EleSpecailFoodsReply
  35. ModelEleSpecailFoods
  36. EleVipGrantReq
  37. EleVipGrantReply
  38. VipUserPanelReq
  39. VipUserPanelReply
  40. CouponBySuitIDReply
  41. ModelCouponAllowancePanelInfo
  42. ModelVipPanelInfo
  43. ModelPrivilegeResp
  44. ModelPrivilege
  45. CouponBySuitIDReq
  46. WelfareReq
  47. WelfareReply
  48. WelfareListDetail
  49. WelfareTypeReq
  50. WelfareTypeReply
  51. WelfareTypeListDetail
  52. WelfareInfoReq
  53. WelfareInfoReply
  54. WelfareReceiveReq
  55. WelfareReceiveReply
  56. MyWelfareReq
  57. MyWelfareReply
  58. MyWelfareDetail
  59. */
  60. package v1
  61. import proto "github.com/gogo/protobuf/proto"
  62. import fmt "fmt"
  63. import math "math"
  64. import _ "github.com/gogo/protobuf/gogoproto"
  65. import context "golang.org/x/net/context"
  66. import grpc "google.golang.org/grpc"
  67. import binary "encoding/binary"
  68. import io "io"
  69. // Reference imports to suppress errors if they are not otherwise used.
  70. var _ = proto.Marshal
  71. var _ = fmt.Errorf
  72. var _ = math.Inf
  73. // This is a compile-time assertion to ensure that this generated file
  74. // is compatible with the proto package it is being compiled against.
  75. // A compilation error at this line likely means your copy of the
  76. // proto package needs to be updated.
  77. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  78. type RegisterOpenIDReq struct {
  79. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  80. AppId int64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  81. }
  82. func (m *RegisterOpenIDReq) Reset() { *m = RegisterOpenIDReq{} }
  83. func (m *RegisterOpenIDReq) String() string { return proto.CompactTextString(m) }
  84. func (*RegisterOpenIDReq) ProtoMessage() {}
  85. func (*RegisterOpenIDReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{0} }
  86. func (m *RegisterOpenIDReq) GetMid() int64 {
  87. if m != nil {
  88. return m.Mid
  89. }
  90. return 0
  91. }
  92. func (m *RegisterOpenIDReq) GetAppId() int64 {
  93. if m != nil {
  94. return m.AppId
  95. }
  96. return 0
  97. }
  98. type RegisterOpenIDReply struct {
  99. OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
  100. }
  101. func (m *RegisterOpenIDReply) Reset() { *m = RegisterOpenIDReply{} }
  102. func (m *RegisterOpenIDReply) String() string { return proto.CompactTextString(m) }
  103. func (*RegisterOpenIDReply) ProtoMessage() {}
  104. func (*RegisterOpenIDReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{1} }
  105. func (m *RegisterOpenIDReply) GetOpenId() string {
  106. if m != nil {
  107. return m.OpenId
  108. }
  109. return ""
  110. }
  111. type OpenBindByOutOpenIDReq struct {
  112. OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
  113. OutOpenId string `protobuf:"bytes,2,opt,name=out_open_id,json=outOpenId,proto3" json:"out_open_id,omitempty"`
  114. AppId int64 `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  115. }
  116. func (m *OpenBindByOutOpenIDReq) Reset() { *m = OpenBindByOutOpenIDReq{} }
  117. func (m *OpenBindByOutOpenIDReq) String() string { return proto.CompactTextString(m) }
  118. func (*OpenBindByOutOpenIDReq) ProtoMessage() {}
  119. func (*OpenBindByOutOpenIDReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{2} }
  120. func (m *OpenBindByOutOpenIDReq) GetOpenId() string {
  121. if m != nil {
  122. return m.OpenId
  123. }
  124. return ""
  125. }
  126. func (m *OpenBindByOutOpenIDReq) GetOutOpenId() string {
  127. if m != nil {
  128. return m.OutOpenId
  129. }
  130. return ""
  131. }
  132. func (m *OpenBindByOutOpenIDReq) GetAppId() int64 {
  133. if m != nil {
  134. return m.AppId
  135. }
  136. return 0
  137. }
  138. type OpenBindByOutOpenIDReply struct {
  139. }
  140. func (m *OpenBindByOutOpenIDReply) Reset() { *m = OpenBindByOutOpenIDReply{} }
  141. func (m *OpenBindByOutOpenIDReply) String() string { return proto.CompactTextString(m) }
  142. func (*OpenBindByOutOpenIDReply) ProtoMessage() {}
  143. func (*OpenBindByOutOpenIDReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{3} }
  144. type UserInfoByOpenIDReq struct {
  145. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
  146. OpenId string `protobuf:"bytes,2,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
  147. AppId int64 `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  148. }
  149. func (m *UserInfoByOpenIDReq) Reset() { *m = UserInfoByOpenIDReq{} }
  150. func (m *UserInfoByOpenIDReq) String() string { return proto.CompactTextString(m) }
  151. func (*UserInfoByOpenIDReq) ProtoMessage() {}
  152. func (*UserInfoByOpenIDReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{4} }
  153. func (m *UserInfoByOpenIDReq) GetIp() string {
  154. if m != nil {
  155. return m.Ip
  156. }
  157. return ""
  158. }
  159. func (m *UserInfoByOpenIDReq) GetOpenId() string {
  160. if m != nil {
  161. return m.OpenId
  162. }
  163. return ""
  164. }
  165. func (m *UserInfoByOpenIDReq) GetAppId() int64 {
  166. if m != nil {
  167. return m.AppId
  168. }
  169. return 0
  170. }
  171. type UserInfoByOpenIDReply struct {
  172. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  173. BindState int32 `protobuf:"varint,2,opt,name=bind_state,json=bindState,proto3" json:"bind_state"`
  174. OutOpenId string `protobuf:"bytes,3,opt,name=out_open_id,json=outOpenId,proto3" json:"out_open_id,omitempty"`
  175. }
  176. func (m *UserInfoByOpenIDReply) Reset() { *m = UserInfoByOpenIDReply{} }
  177. func (m *UserInfoByOpenIDReply) String() string { return proto.CompactTextString(m) }
  178. func (*UserInfoByOpenIDReply) ProtoMessage() {}
  179. func (*UserInfoByOpenIDReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{5} }
  180. func (m *UserInfoByOpenIDReply) GetName() string {
  181. if m != nil {
  182. return m.Name
  183. }
  184. return ""
  185. }
  186. func (m *UserInfoByOpenIDReply) GetBindState() int32 {
  187. if m != nil {
  188. return m.BindState
  189. }
  190. return 0
  191. }
  192. func (m *UserInfoByOpenIDReply) GetOutOpenId() string {
  193. if m != nil {
  194. return m.OutOpenId
  195. }
  196. return ""
  197. }
  198. type BindInfoByMidReq struct {
  199. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  200. AppId int64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  201. }
  202. func (m *BindInfoByMidReq) Reset() { *m = BindInfoByMidReq{} }
  203. func (m *BindInfoByMidReq) String() string { return proto.CompactTextString(m) }
  204. func (*BindInfoByMidReq) ProtoMessage() {}
  205. func (*BindInfoByMidReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{6} }
  206. func (m *BindInfoByMidReq) GetMid() int64 {
  207. if m != nil {
  208. return m.Mid
  209. }
  210. return 0
  211. }
  212. func (m *BindInfoByMidReq) GetAppId() int64 {
  213. if m != nil {
  214. return m.AppId
  215. }
  216. return 0
  217. }
  218. type BindInfoByMidReply struct {
  219. Account *Account `protobuf:"bytes,1,opt,name=account" json:"account,omitempty"`
  220. Outer *BindOuter `protobuf:"bytes,2,opt,name=outer" json:"outer,omitempty"`
  221. }
  222. func (m *BindInfoByMidReply) Reset() { *m = BindInfoByMidReply{} }
  223. func (m *BindInfoByMidReply) String() string { return proto.CompactTextString(m) }
  224. func (*BindInfoByMidReply) ProtoMessage() {}
  225. func (*BindInfoByMidReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{7} }
  226. func (m *BindInfoByMidReply) GetAccount() *Account {
  227. if m != nil {
  228. return m.Account
  229. }
  230. return nil
  231. }
  232. func (m *BindInfoByMidReply) GetOuter() *BindOuter {
  233. if m != nil {
  234. return m.Outer
  235. }
  236. return nil
  237. }
  238. type Account struct {
  239. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  240. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  241. Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"`
  242. }
  243. func (m *Account) Reset() { *m = Account{} }
  244. func (m *Account) String() string { return proto.CompactTextString(m) }
  245. func (*Account) ProtoMessage() {}
  246. func (*Account) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{8} }
  247. func (m *Account) GetMid() int64 {
  248. if m != nil {
  249. return m.Mid
  250. }
  251. return 0
  252. }
  253. func (m *Account) GetName() string {
  254. if m != nil {
  255. return m.Name
  256. }
  257. return ""
  258. }
  259. func (m *Account) GetFace() string {
  260. if m != nil {
  261. return m.Face
  262. }
  263. return ""
  264. }
  265. type BindOuter struct {
  266. Tel string `protobuf:"bytes,1,opt,name=tel,proto3" json:"tel,omitempty"`
  267. BindState int32 `protobuf:"varint,2,opt,name=bind_state,json=bindState,proto3" json:"bind_state"`
  268. }
  269. func (m *BindOuter) Reset() { *m = BindOuter{} }
  270. func (m *BindOuter) String() string { return proto.CompactTextString(m) }
  271. func (*BindOuter) ProtoMessage() {}
  272. func (*BindOuter) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{9} }
  273. func (m *BindOuter) GetTel() string {
  274. if m != nil {
  275. return m.Tel
  276. }
  277. return ""
  278. }
  279. func (m *BindOuter) GetBindState() int32 {
  280. if m != nil {
  281. return m.BindState
  282. }
  283. return 0
  284. }
  285. type BilibiliPrizeGrantReq struct {
  286. PrizeKey string `protobuf:"bytes,1,opt,name=prize_key,json=prizeKey,proto3" json:"prize_key,omitempty"`
  287. UniqueNo string `protobuf:"bytes,2,opt,name=unique_no,json=uniqueNo,proto3" json:"unique_no,omitempty"`
  288. OpenId string `protobuf:"bytes,3,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
  289. AppId int64 `protobuf:"varint,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  290. }
  291. func (m *BilibiliPrizeGrantReq) Reset() { *m = BilibiliPrizeGrantReq{} }
  292. func (m *BilibiliPrizeGrantReq) String() string { return proto.CompactTextString(m) }
  293. func (*BilibiliPrizeGrantReq) ProtoMessage() {}
  294. func (*BilibiliPrizeGrantReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{10} }
  295. func (m *BilibiliPrizeGrantReq) GetPrizeKey() string {
  296. if m != nil {
  297. return m.PrizeKey
  298. }
  299. return ""
  300. }
  301. func (m *BilibiliPrizeGrantReq) GetUniqueNo() string {
  302. if m != nil {
  303. return m.UniqueNo
  304. }
  305. return ""
  306. }
  307. func (m *BilibiliPrizeGrantReq) GetOpenId() string {
  308. if m != nil {
  309. return m.OpenId
  310. }
  311. return ""
  312. }
  313. func (m *BilibiliPrizeGrantReq) GetAppId() int64 {
  314. if m != nil {
  315. return m.AppId
  316. }
  317. return 0
  318. }
  319. type BilibiliPrizeGrantReply struct {
  320. Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
  321. FullAmount float64 `protobuf:"fixed64,2,opt,name=full_amount,json=fullAmount,proto3" json:"full_amount,omitempty"`
  322. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  323. }
  324. func (m *BilibiliPrizeGrantReply) Reset() { *m = BilibiliPrizeGrantReply{} }
  325. func (m *BilibiliPrizeGrantReply) String() string { return proto.CompactTextString(m) }
  326. func (*BilibiliPrizeGrantReply) ProtoMessage() {}
  327. func (*BilibiliPrizeGrantReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{11} }
  328. func (m *BilibiliPrizeGrantReply) GetAmount() float64 {
  329. if m != nil {
  330. return m.Amount
  331. }
  332. return 0
  333. }
  334. func (m *BilibiliPrizeGrantReply) GetFullAmount() float64 {
  335. if m != nil {
  336. return m.FullAmount
  337. }
  338. return 0
  339. }
  340. func (m *BilibiliPrizeGrantReply) GetDescription() string {
  341. if m != nil {
  342. return m.Description
  343. }
  344. return ""
  345. }
  346. type BilibiliVipGrantReq struct {
  347. OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
  348. OutOpenId string `protobuf:"bytes,2,opt,name=out_open_id,json=outOpenId,proto3" json:"out_open_id,omitempty"`
  349. OutOrderNo string `protobuf:"bytes,3,opt,name=out_order_no,json=outOrderNo,proto3" json:"out_order_no,omitempty"`
  350. Duration int32 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
  351. AppId int64 `protobuf:"varint,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  352. }
  353. func (m *BilibiliVipGrantReq) Reset() { *m = BilibiliVipGrantReq{} }
  354. func (m *BilibiliVipGrantReq) String() string { return proto.CompactTextString(m) }
  355. func (*BilibiliVipGrantReq) ProtoMessage() {}
  356. func (*BilibiliVipGrantReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{12} }
  357. func (m *BilibiliVipGrantReq) GetOpenId() string {
  358. if m != nil {
  359. return m.OpenId
  360. }
  361. return ""
  362. }
  363. func (m *BilibiliVipGrantReq) GetOutOpenId() string {
  364. if m != nil {
  365. return m.OutOpenId
  366. }
  367. return ""
  368. }
  369. func (m *BilibiliVipGrantReq) GetOutOrderNo() string {
  370. if m != nil {
  371. return m.OutOrderNo
  372. }
  373. return ""
  374. }
  375. func (m *BilibiliVipGrantReq) GetDuration() int32 {
  376. if m != nil {
  377. return m.Duration
  378. }
  379. return 0
  380. }
  381. func (m *BilibiliVipGrantReq) GetAppId() int64 {
  382. if m != nil {
  383. return m.AppId
  384. }
  385. return 0
  386. }
  387. type BilibiliVipGrantReply struct {
  388. }
  389. func (m *BilibiliVipGrantReply) Reset() { *m = BilibiliVipGrantReply{} }
  390. func (m *BilibiliVipGrantReply) String() string { return proto.CompactTextString(m) }
  391. func (*BilibiliVipGrantReply) ProtoMessage() {}
  392. func (*BilibiliVipGrantReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{13} }
  393. type CreateAssociateOrderReq struct {
  394. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  395. Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
  396. Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
  397. MobiApp string `protobuf:"bytes,4,opt,name=mobi_app,json=mobiApp,proto3" json:"mobi_app,omitempty"`
  398. Device string `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
  399. AppId int64 `protobuf:"varint,6,opt,name=appId,proto3" json:"appId,omitempty"`
  400. AppSubId string `protobuf:"bytes,7,opt,name=appSubId,proto3" json:"appSubId,omitempty"`
  401. OrderType int32 `protobuf:"varint,8,opt,name=orderType,proto3" json:"orderType,omitempty"`
  402. Dtype int32 `protobuf:"varint,9,opt,name=dtype,proto3" json:"dtype,omitempty"`
  403. ReturnUrl string `protobuf:"bytes,10,opt,name=returnUrl,proto3" json:"returnUrl,omitempty"`
  404. CouponToken string `protobuf:"bytes,11,opt,name=coupon_token,json=couponToken,proto3" json:"coupon_token,omitempty"`
  405. Bmid int64 `protobuf:"varint,12,opt,name=bmid,proto3" json:"bmid,omitempty"`
  406. PanelType string `protobuf:"bytes,13,opt,name=panel_type,json=panelType,proto3" json:"panel_type,omitempty"`
  407. Build int64 `protobuf:"varint,14,opt,name=build,proto3" json:"build,omitempty"`
  408. IP string `protobuf:"bytes,15,opt,name=IP,proto3" json:"IP,omitempty"`
  409. }
  410. func (m *CreateAssociateOrderReq) Reset() { *m = CreateAssociateOrderReq{} }
  411. func (m *CreateAssociateOrderReq) String() string { return proto.CompactTextString(m) }
  412. func (*CreateAssociateOrderReq) ProtoMessage() {}
  413. func (*CreateAssociateOrderReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{14} }
  414. func (m *CreateAssociateOrderReq) GetMid() int64 {
  415. if m != nil {
  416. return m.Mid
  417. }
  418. return 0
  419. }
  420. func (m *CreateAssociateOrderReq) GetMonth() int32 {
  421. if m != nil {
  422. return m.Month
  423. }
  424. return 0
  425. }
  426. func (m *CreateAssociateOrderReq) GetPlatform() string {
  427. if m != nil {
  428. return m.Platform
  429. }
  430. return ""
  431. }
  432. func (m *CreateAssociateOrderReq) GetMobiApp() string {
  433. if m != nil {
  434. return m.MobiApp
  435. }
  436. return ""
  437. }
  438. func (m *CreateAssociateOrderReq) GetDevice() string {
  439. if m != nil {
  440. return m.Device
  441. }
  442. return ""
  443. }
  444. func (m *CreateAssociateOrderReq) GetAppId() int64 {
  445. if m != nil {
  446. return m.AppId
  447. }
  448. return 0
  449. }
  450. func (m *CreateAssociateOrderReq) GetAppSubId() string {
  451. if m != nil {
  452. return m.AppSubId
  453. }
  454. return ""
  455. }
  456. func (m *CreateAssociateOrderReq) GetOrderType() int32 {
  457. if m != nil {
  458. return m.OrderType
  459. }
  460. return 0
  461. }
  462. func (m *CreateAssociateOrderReq) GetDtype() int32 {
  463. if m != nil {
  464. return m.Dtype
  465. }
  466. return 0
  467. }
  468. func (m *CreateAssociateOrderReq) GetReturnUrl() string {
  469. if m != nil {
  470. return m.ReturnUrl
  471. }
  472. return ""
  473. }
  474. func (m *CreateAssociateOrderReq) GetCouponToken() string {
  475. if m != nil {
  476. return m.CouponToken
  477. }
  478. return ""
  479. }
  480. func (m *CreateAssociateOrderReq) GetBmid() int64 {
  481. if m != nil {
  482. return m.Bmid
  483. }
  484. return 0
  485. }
  486. func (m *CreateAssociateOrderReq) GetPanelType() string {
  487. if m != nil {
  488. return m.PanelType
  489. }
  490. return ""
  491. }
  492. func (m *CreateAssociateOrderReq) GetBuild() int64 {
  493. if m != nil {
  494. return m.Build
  495. }
  496. return 0
  497. }
  498. func (m *CreateAssociateOrderReq) GetIP() string {
  499. if m != nil {
  500. return m.IP
  501. }
  502. return ""
  503. }
  504. type CreateAssociateOrderReply struct {
  505. PayParam string `protobuf:"bytes,1,opt,name=pay_param,json=payParam,proto3" json:"pay_param,omitempty"`
  506. Dprice float64 `protobuf:"fixed64,2,opt,name=dprice,proto3" json:"dprice,omitempty"`
  507. Oprice float64 `protobuf:"fixed64,3,opt,name=oprice,proto3" json:"oprice,omitempty"`
  508. CouponMoney float64 `protobuf:"fixed64,4,opt,name=coupon_money,json=couponMoney,proto3" json:"coupon_money,omitempty"`
  509. }
  510. func (m *CreateAssociateOrderReply) Reset() { *m = CreateAssociateOrderReply{} }
  511. func (m *CreateAssociateOrderReply) String() string { return proto.CompactTextString(m) }
  512. func (*CreateAssociateOrderReply) ProtoMessage() {}
  513. func (*CreateAssociateOrderReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{15} }
  514. func (m *CreateAssociateOrderReply) GetPayParam() string {
  515. if m != nil {
  516. return m.PayParam
  517. }
  518. return ""
  519. }
  520. func (m *CreateAssociateOrderReply) GetDprice() float64 {
  521. if m != nil {
  522. return m.Dprice
  523. }
  524. return 0
  525. }
  526. func (m *CreateAssociateOrderReply) GetOprice() float64 {
  527. if m != nil {
  528. return m.Oprice
  529. }
  530. return 0
  531. }
  532. func (m *CreateAssociateOrderReply) GetCouponMoney() float64 {
  533. if m != nil {
  534. return m.CouponMoney
  535. }
  536. return 0
  537. }
  538. type AssociatePanelReq struct {
  539. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  540. SortTp int32 `protobuf:"varint,2,opt,name=SortTp,proto3" json:"SortTp,omitempty"`
  541. IP string `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"`
  542. MobiApp string `protobuf:"bytes,4,opt,name=MobiApp,proto3" json:"MobiApp,omitempty"`
  543. Device string `protobuf:"bytes,5,opt,name=Device,proto3" json:"Device,omitempty"`
  544. Platform string `protobuf:"bytes,6,opt,name=Platform,proto3" json:"Platform,omitempty"`
  545. Plat int32 `protobuf:"varint,7,opt,name=Plat,proto3" json:"Plat,omitempty"`
  546. PanelType string `protobuf:"bytes,8,opt,name=PanelType,proto3" json:"PanelType,omitempty"`
  547. SubType int32 `protobuf:"varint,9,opt,name=SubType,proto3" json:"SubType,omitempty"`
  548. Month int32 `protobuf:"varint,10,opt,name=Month,proto3" json:"Month,omitempty"`
  549. Build int64 `protobuf:"varint,11,opt,name=Build,proto3" json:"Build,omitempty"`
  550. }
  551. func (m *AssociatePanelReq) Reset() { *m = AssociatePanelReq{} }
  552. func (m *AssociatePanelReq) String() string { return proto.CompactTextString(m) }
  553. func (*AssociatePanelReq) ProtoMessage() {}
  554. func (*AssociatePanelReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{16} }
  555. func (m *AssociatePanelReq) GetMid() int64 {
  556. if m != nil {
  557. return m.Mid
  558. }
  559. return 0
  560. }
  561. func (m *AssociatePanelReq) GetSortTp() int32 {
  562. if m != nil {
  563. return m.SortTp
  564. }
  565. return 0
  566. }
  567. func (m *AssociatePanelReq) GetIP() string {
  568. if m != nil {
  569. return m.IP
  570. }
  571. return ""
  572. }
  573. func (m *AssociatePanelReq) GetMobiApp() string {
  574. if m != nil {
  575. return m.MobiApp
  576. }
  577. return ""
  578. }
  579. func (m *AssociatePanelReq) GetDevice() string {
  580. if m != nil {
  581. return m.Device
  582. }
  583. return ""
  584. }
  585. func (m *AssociatePanelReq) GetPlatform() string {
  586. if m != nil {
  587. return m.Platform
  588. }
  589. return ""
  590. }
  591. func (m *AssociatePanelReq) GetPlat() int32 {
  592. if m != nil {
  593. return m.Plat
  594. }
  595. return 0
  596. }
  597. func (m *AssociatePanelReq) GetPanelType() string {
  598. if m != nil {
  599. return m.PanelType
  600. }
  601. return ""
  602. }
  603. func (m *AssociatePanelReq) GetSubType() int32 {
  604. if m != nil {
  605. return m.SubType
  606. }
  607. return 0
  608. }
  609. func (m *AssociatePanelReq) GetMonth() int32 {
  610. if m != nil {
  611. return m.Month
  612. }
  613. return 0
  614. }
  615. func (m *AssociatePanelReq) GetBuild() int64 {
  616. if m != nil {
  617. return m.Build
  618. }
  619. return 0
  620. }
  621. type AssociatePanelReply struct {
  622. List []*AssociatePanelInfo `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
  623. }
  624. func (m *AssociatePanelReply) Reset() { *m = AssociatePanelReply{} }
  625. func (m *AssociatePanelReply) String() string { return proto.CompactTextString(m) }
  626. func (*AssociatePanelReply) ProtoMessage() {}
  627. func (*AssociatePanelReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{17} }
  628. func (m *AssociatePanelReply) GetList() []*AssociatePanelInfo {
  629. if m != nil {
  630. return m.List
  631. }
  632. return nil
  633. }
  634. type AssociatePanelInfo struct {
  635. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  636. Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
  637. ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
  638. ProductId string `protobuf:"bytes,4,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
  639. SubType int32 `protobuf:"varint,5,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
  640. SuitType int32 `protobuf:"varint,6,opt,name=suit_type,json=suitType,proto3" json:"suit_type,omitempty"`
  641. OriginalPrice float64 `protobuf:"fixed64,7,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"`
  642. DiscountPrice float64 `protobuf:"fixed64,8,opt,name=discount_price,json=discountPrice,proto3" json:"discount_price,omitempty"`
  643. DiscountRate string `protobuf:"bytes,9,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
  644. Remark string `protobuf:"bytes,10,opt,name=remark,proto3" json:"remark,omitempty"`
  645. Selected int32 `protobuf:"varint,11,opt,name=selected,proto3" json:"selected,omitempty"`
  646. PayState int32 `protobuf:"varint,12,opt,name=pay_state,json=payState,proto3" json:"pay_state"`
  647. PayMessage string `protobuf:"bytes,13,opt,name=pay_message,json=payMessage,proto3" json:"pay_message,omitempty"`
  648. }
  649. func (m *AssociatePanelInfo) Reset() { *m = AssociatePanelInfo{} }
  650. func (m *AssociatePanelInfo) String() string { return proto.CompactTextString(m) }
  651. func (*AssociatePanelInfo) ProtoMessage() {}
  652. func (*AssociatePanelInfo) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{18} }
  653. func (m *AssociatePanelInfo) GetId() int64 {
  654. if m != nil {
  655. return m.Id
  656. }
  657. return 0
  658. }
  659. func (m *AssociatePanelInfo) GetMonth() int32 {
  660. if m != nil {
  661. return m.Month
  662. }
  663. return 0
  664. }
  665. func (m *AssociatePanelInfo) GetProductName() string {
  666. if m != nil {
  667. return m.ProductName
  668. }
  669. return ""
  670. }
  671. func (m *AssociatePanelInfo) GetProductId() string {
  672. if m != nil {
  673. return m.ProductId
  674. }
  675. return ""
  676. }
  677. func (m *AssociatePanelInfo) GetSubType() int32 {
  678. if m != nil {
  679. return m.SubType
  680. }
  681. return 0
  682. }
  683. func (m *AssociatePanelInfo) GetSuitType() int32 {
  684. if m != nil {
  685. return m.SuitType
  686. }
  687. return 0
  688. }
  689. func (m *AssociatePanelInfo) GetOriginalPrice() float64 {
  690. if m != nil {
  691. return m.OriginalPrice
  692. }
  693. return 0
  694. }
  695. func (m *AssociatePanelInfo) GetDiscountPrice() float64 {
  696. if m != nil {
  697. return m.DiscountPrice
  698. }
  699. return 0
  700. }
  701. func (m *AssociatePanelInfo) GetDiscountRate() string {
  702. if m != nil {
  703. return m.DiscountRate
  704. }
  705. return ""
  706. }
  707. func (m *AssociatePanelInfo) GetRemark() string {
  708. if m != nil {
  709. return m.Remark
  710. }
  711. return ""
  712. }
  713. func (m *AssociatePanelInfo) GetSelected() int32 {
  714. if m != nil {
  715. return m.Selected
  716. }
  717. return 0
  718. }
  719. func (m *AssociatePanelInfo) GetPayState() int32 {
  720. if m != nil {
  721. return m.PayState
  722. }
  723. return 0
  724. }
  725. func (m *AssociatePanelInfo) GetPayMessage() string {
  726. if m != nil {
  727. return m.PayMessage
  728. }
  729. return ""
  730. }
  731. type OpenAuthCallBackReq struct {
  732. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  733. ThirdCode string `protobuf:"bytes,2,opt,name=third_code,json=thirdCode,proto3" json:"third_code,omitempty"`
  734. AppId int64 `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
  735. }
  736. func (m *OpenAuthCallBackReq) Reset() { *m = OpenAuthCallBackReq{} }
  737. func (m *OpenAuthCallBackReq) String() string { return proto.CompactTextString(m) }
  738. func (*OpenAuthCallBackReq) ProtoMessage() {}
  739. func (*OpenAuthCallBackReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{19} }
  740. func (m *OpenAuthCallBackReq) GetMid() int64 {
  741. if m != nil {
  742. return m.Mid
  743. }
  744. return 0
  745. }
  746. func (m *OpenAuthCallBackReq) GetThirdCode() string {
  747. if m != nil {
  748. return m.ThirdCode
  749. }
  750. return ""
  751. }
  752. func (m *OpenAuthCallBackReq) GetAppId() int64 {
  753. if m != nil {
  754. return m.AppId
  755. }
  756. return 0
  757. }
  758. type OpenAuthCallBackReply struct {
  759. }
  760. func (m *OpenAuthCallBackReply) Reset() { *m = OpenAuthCallBackReply{} }
  761. func (m *OpenAuthCallBackReply) String() string { return proto.CompactTextString(m) }
  762. func (*OpenAuthCallBackReply) ProtoMessage() {}
  763. func (*OpenAuthCallBackReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{20} }
  764. type EleRedPackagesReq struct {
  765. }
  766. func (m *EleRedPackagesReq) Reset() { *m = EleRedPackagesReq{} }
  767. func (m *EleRedPackagesReq) String() string { return proto.CompactTextString(m) }
  768. func (*EleRedPackagesReq) ProtoMessage() {}
  769. func (*EleRedPackagesReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{21} }
  770. type EleRedPackagesReply struct {
  771. List []*ModelEleRedPackage `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
  772. }
  773. func (m *EleRedPackagesReply) Reset() { *m = EleRedPackagesReply{} }
  774. func (m *EleRedPackagesReply) String() string { return proto.CompactTextString(m) }
  775. func (*EleRedPackagesReply) ProtoMessage() {}
  776. func (*EleRedPackagesReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{22} }
  777. func (m *EleRedPackagesReply) GetList() []*ModelEleRedPackage {
  778. if m != nil {
  779. return m.List
  780. }
  781. return nil
  782. }
  783. type ModelEleRedPackage struct {
  784. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  785. Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
  786. SumCondition float64 `protobuf:"fixed64,3,opt,name=sum_condition,json=sumCondition,proto3" json:"sum_condition,omitempty"`
  787. }
  788. func (m *ModelEleRedPackage) Reset() { *m = ModelEleRedPackage{} }
  789. func (m *ModelEleRedPackage) String() string { return proto.CompactTextString(m) }
  790. func (*ModelEleRedPackage) ProtoMessage() {}
  791. func (*ModelEleRedPackage) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{23} }
  792. func (m *ModelEleRedPackage) GetName() string {
  793. if m != nil {
  794. return m.Name
  795. }
  796. return ""
  797. }
  798. func (m *ModelEleRedPackage) GetAmount() float64 {
  799. if m != nil {
  800. return m.Amount
  801. }
  802. return 0
  803. }
  804. func (m *ModelEleRedPackage) GetSumCondition() float64 {
  805. if m != nil {
  806. return m.SumCondition
  807. }
  808. return 0
  809. }
  810. type EleSpecailFoodsReq struct {
  811. }
  812. func (m *EleSpecailFoodsReq) Reset() { *m = EleSpecailFoodsReq{} }
  813. func (m *EleSpecailFoodsReq) String() string { return proto.CompactTextString(m) }
  814. func (*EleSpecailFoodsReq) ProtoMessage() {}
  815. func (*EleSpecailFoodsReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{24} }
  816. type EleSpecailFoodsReply struct {
  817. List []*ModelEleSpecailFoods `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
  818. }
  819. func (m *EleSpecailFoodsReply) Reset() { *m = EleSpecailFoodsReply{} }
  820. func (m *EleSpecailFoodsReply) String() string { return proto.CompactTextString(m) }
  821. func (*EleSpecailFoodsReply) ProtoMessage() {}
  822. func (*EleSpecailFoodsReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{25} }
  823. func (m *EleSpecailFoodsReply) GetList() []*ModelEleSpecailFoods {
  824. if m != nil {
  825. return m.List
  826. }
  827. return nil
  828. }
  829. type ModelEleSpecailFoods struct {
  830. RestaurantName string `protobuf:"bytes,1,opt,name=restaurant_name,json=restaurantName,proto3" json:"restaurant_name,omitempty"`
  831. FoodName string `protobuf:"bytes,2,opt,name=food_name,json=foodName,proto3" json:"food_name,omitempty"`
  832. FoodUrl string `protobuf:"bytes,3,opt,name=food_url,json=foodUrl,proto3" json:"food_url,omitempty"`
  833. Discount float64 `protobuf:"fixed64,4,opt,name=discount,proto3" json:"discount,omitempty"`
  834. Amount float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
  835. OriginalAmount float64 `protobuf:"fixed64,6,opt,name=original_amount,json=originalAmount,proto3" json:"original_amount,omitempty"`
  836. RatingPoint float64 `protobuf:"fixed64,7,opt,name=rating_point,json=ratingPoint,proto3" json:"rating_point,omitempty"`
  837. }
  838. func (m *ModelEleSpecailFoods) Reset() { *m = ModelEleSpecailFoods{} }
  839. func (m *ModelEleSpecailFoods) String() string { return proto.CompactTextString(m) }
  840. func (*ModelEleSpecailFoods) ProtoMessage() {}
  841. func (*ModelEleSpecailFoods) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{26} }
  842. func (m *ModelEleSpecailFoods) GetRestaurantName() string {
  843. if m != nil {
  844. return m.RestaurantName
  845. }
  846. return ""
  847. }
  848. func (m *ModelEleSpecailFoods) GetFoodName() string {
  849. if m != nil {
  850. return m.FoodName
  851. }
  852. return ""
  853. }
  854. func (m *ModelEleSpecailFoods) GetFoodUrl() string {
  855. if m != nil {
  856. return m.FoodUrl
  857. }
  858. return ""
  859. }
  860. func (m *ModelEleSpecailFoods) GetDiscount() float64 {
  861. if m != nil {
  862. return m.Discount
  863. }
  864. return 0
  865. }
  866. func (m *ModelEleSpecailFoods) GetAmount() float64 {
  867. if m != nil {
  868. return m.Amount
  869. }
  870. return 0
  871. }
  872. func (m *ModelEleSpecailFoods) GetOriginalAmount() float64 {
  873. if m != nil {
  874. return m.OriginalAmount
  875. }
  876. return 0
  877. }
  878. func (m *ModelEleSpecailFoods) GetRatingPoint() float64 {
  879. if m != nil {
  880. return m.RatingPoint
  881. }
  882. return 0
  883. }
  884. type EleVipGrantReq struct {
  885. OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
  886. }
  887. func (m *EleVipGrantReq) Reset() { *m = EleVipGrantReq{} }
  888. func (m *EleVipGrantReq) String() string { return proto.CompactTextString(m) }
  889. func (*EleVipGrantReq) ProtoMessage() {}
  890. func (*EleVipGrantReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{27} }
  891. func (m *EleVipGrantReq) GetOrderNo() string {
  892. if m != nil {
  893. return m.OrderNo
  894. }
  895. return ""
  896. }
  897. type EleVipGrantReply struct {
  898. }
  899. func (m *EleVipGrantReply) Reset() { *m = EleVipGrantReply{} }
  900. func (m *EleVipGrantReply) String() string { return proto.CompactTextString(m) }
  901. func (*EleVipGrantReply) ProtoMessage() {}
  902. func (*EleVipGrantReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{28} }
  903. type VipUserPanelReq struct {
  904. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  905. SortTp int32 `protobuf:"varint,2,opt,name=sortTp,proto3" json:"sortTp,omitempty"`
  906. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
  907. MobiApp string `protobuf:"bytes,4,opt,name=mobiApp,proto3" json:"mobiApp,omitempty"`
  908. Device string `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
  909. Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
  910. Plat int32 `protobuf:"varint,7,opt,name=plat,proto3" json:"plat,omitempty"`
  911. PanelType string `protobuf:"bytes,8,opt,name=panelType,proto3" json:"panelType,omitempty"`
  912. SubType int32 `protobuf:"varint,9,opt,name=subType,proto3" json:"subType,omitempty"`
  913. Month int32 `protobuf:"varint,10,opt,name=month,proto3" json:"month,omitempty"`
  914. Build int64 `protobuf:"varint,11,opt,name=build,proto3" json:"build,omitempty"`
  915. Lang string `protobuf:"bytes,12,opt,name=lang,proto3" json:"lang,omitempty"`
  916. }
  917. func (m *VipUserPanelReq) Reset() { *m = VipUserPanelReq{} }
  918. func (m *VipUserPanelReq) String() string { return proto.CompactTextString(m) }
  919. func (*VipUserPanelReq) ProtoMessage() {}
  920. func (*VipUserPanelReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{29} }
  921. func (m *VipUserPanelReq) GetMid() int64 {
  922. if m != nil {
  923. return m.Mid
  924. }
  925. return 0
  926. }
  927. func (m *VipUserPanelReq) GetSortTp() int32 {
  928. if m != nil {
  929. return m.SortTp
  930. }
  931. return 0
  932. }
  933. func (m *VipUserPanelReq) GetIp() string {
  934. if m != nil {
  935. return m.Ip
  936. }
  937. return ""
  938. }
  939. func (m *VipUserPanelReq) GetMobiApp() string {
  940. if m != nil {
  941. return m.MobiApp
  942. }
  943. return ""
  944. }
  945. func (m *VipUserPanelReq) GetDevice() string {
  946. if m != nil {
  947. return m.Device
  948. }
  949. return ""
  950. }
  951. func (m *VipUserPanelReq) GetPlatform() string {
  952. if m != nil {
  953. return m.Platform
  954. }
  955. return ""
  956. }
  957. func (m *VipUserPanelReq) GetPlat() int32 {
  958. if m != nil {
  959. return m.Plat
  960. }
  961. return 0
  962. }
  963. func (m *VipUserPanelReq) GetPanelType() string {
  964. if m != nil {
  965. return m.PanelType
  966. }
  967. return ""
  968. }
  969. func (m *VipUserPanelReq) GetSubType() int32 {
  970. if m != nil {
  971. return m.SubType
  972. }
  973. return 0
  974. }
  975. func (m *VipUserPanelReq) GetMonth() int32 {
  976. if m != nil {
  977. return m.Month
  978. }
  979. return 0
  980. }
  981. func (m *VipUserPanelReq) GetBuild() int64 {
  982. if m != nil {
  983. return m.Build
  984. }
  985. return 0
  986. }
  987. func (m *VipUserPanelReq) GetLang() string {
  988. if m != nil {
  989. return m.Lang
  990. }
  991. return ""
  992. }
  993. type VipUserPanelReply struct {
  994. PriceList []*ModelVipPanelInfo `protobuf:"bytes,1,rep,name=price_list,json=priceList" json:"price_list,omitempty"`
  995. Coupon *CouponBySuitIDReply `protobuf:"bytes,2,opt,name=coupon" json:"coupon,omitempty"`
  996. CouponSwitch int32 `protobuf:"varint,3,opt,name=coupon_switch,json=couponSwitch,proto3" json:"coupon_switch,omitempty"`
  997. CodeSwitch int32 `protobuf:"varint,4,opt,name=code_switch,json=codeSwitch,proto3" json:"code_switch,omitempty"`
  998. GiveSwitch int32 `protobuf:"varint,5,opt,name=give_switch,json=giveSwitch,proto3" json:"give_switch,omitempty"`
  999. Privileges map[int32]*ModelPrivilegeResp `protobuf:"bytes,6,rep,name=privileges" json:"privileges,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  1000. }
  1001. func (m *VipUserPanelReply) Reset() { *m = VipUserPanelReply{} }
  1002. func (m *VipUserPanelReply) String() string { return proto.CompactTextString(m) }
  1003. func (*VipUserPanelReply) ProtoMessage() {}
  1004. func (*VipUserPanelReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{30} }
  1005. func (m *VipUserPanelReply) GetPriceList() []*ModelVipPanelInfo {
  1006. if m != nil {
  1007. return m.PriceList
  1008. }
  1009. return nil
  1010. }
  1011. func (m *VipUserPanelReply) GetCoupon() *CouponBySuitIDReply {
  1012. if m != nil {
  1013. return m.Coupon
  1014. }
  1015. return nil
  1016. }
  1017. func (m *VipUserPanelReply) GetCouponSwitch() int32 {
  1018. if m != nil {
  1019. return m.CouponSwitch
  1020. }
  1021. return 0
  1022. }
  1023. func (m *VipUserPanelReply) GetCodeSwitch() int32 {
  1024. if m != nil {
  1025. return m.CodeSwitch
  1026. }
  1027. return 0
  1028. }
  1029. func (m *VipUserPanelReply) GetGiveSwitch() int32 {
  1030. if m != nil {
  1031. return m.GiveSwitch
  1032. }
  1033. return 0
  1034. }
  1035. func (m *VipUserPanelReply) GetPrivileges() map[int32]*ModelPrivilegeResp {
  1036. if m != nil {
  1037. return m.Privileges
  1038. }
  1039. return nil
  1040. }
  1041. type CouponBySuitIDReply struct {
  1042. CouponTip string `protobuf:"bytes,1,opt,name=coupon_tip,json=couponTip,proto3" json:"coupon_tip,omitempty"`
  1043. CouponInfo *ModelCouponAllowancePanelInfo `protobuf:"bytes,2,opt,name=coupon_info,json=couponInfo" json:"coupon_info,omitempty"`
  1044. }
  1045. func (m *CouponBySuitIDReply) Reset() { *m = CouponBySuitIDReply{} }
  1046. func (m *CouponBySuitIDReply) String() string { return proto.CompactTextString(m) }
  1047. func (*CouponBySuitIDReply) ProtoMessage() {}
  1048. func (*CouponBySuitIDReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{31} }
  1049. func (m *CouponBySuitIDReply) GetCouponTip() string {
  1050. if m != nil {
  1051. return m.CouponTip
  1052. }
  1053. return ""
  1054. }
  1055. func (m *CouponBySuitIDReply) GetCouponInfo() *ModelCouponAllowancePanelInfo {
  1056. if m != nil {
  1057. return m.CouponInfo
  1058. }
  1059. return nil
  1060. }
  1061. type ModelCouponAllowancePanelInfo struct {
  1062. CouponToken string `protobuf:"bytes,1,opt,name=coupon_token,json=couponToken,proto3" json:"coupon_token,omitempty"`
  1063. CouponAmount float64 `protobuf:"fixed64,2,opt,name=coupon_amount,json=couponAmount,proto3" json:"coupon_amount"`
  1064. State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state"`
  1065. FullLimitExplain string `protobuf:"bytes,4,opt,name=full_limit_explain,json=fullLimitExplain,proto3" json:"full_limit_explain,omitempty"`
  1066. ScopeExplain string `protobuf:"bytes,5,opt,name=scope_explain,json=scopeExplain,proto3" json:"scope_explain,omitempty"`
  1067. FullAmount float64 `protobuf:"fixed64,6,opt,name=full_amount,json=fullAmount,proto3" json:"full_amount"`
  1068. CouponDiscountPrice float64 `protobuf:"fixed64,7,opt,name=coupon_discount_price,json=couponDiscountPrice,proto3" json:"coupon_discount_price"`
  1069. StartTime int64 `protobuf:"varint,8,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  1070. ExpireTime int64 `protobuf:"varint,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time"`
  1071. Selected int32 `protobuf:"varint,10,opt,name=selected,proto3" json:"selected"`
  1072. DisablesExplains string `protobuf:"bytes,11,opt,name=disables_explains,json=disablesExplains,proto3" json:"disables_explains,omitempty"`
  1073. OrderNo string `protobuf:"bytes,12,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
  1074. Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`
  1075. Usable int32 `protobuf:"varint,14,opt,name=usable,proto3" json:"usable"`
  1076. }
  1077. func (m *ModelCouponAllowancePanelInfo) Reset() { *m = ModelCouponAllowancePanelInfo{} }
  1078. func (m *ModelCouponAllowancePanelInfo) String() string { return proto.CompactTextString(m) }
  1079. func (*ModelCouponAllowancePanelInfo) ProtoMessage() {}
  1080. func (*ModelCouponAllowancePanelInfo) Descriptor() ([]byte, []int) {
  1081. return fileDescriptorApi, []int{32}
  1082. }
  1083. func (m *ModelCouponAllowancePanelInfo) GetCouponToken() string {
  1084. if m != nil {
  1085. return m.CouponToken
  1086. }
  1087. return ""
  1088. }
  1089. func (m *ModelCouponAllowancePanelInfo) GetCouponAmount() float64 {
  1090. if m != nil {
  1091. return m.CouponAmount
  1092. }
  1093. return 0
  1094. }
  1095. func (m *ModelCouponAllowancePanelInfo) GetState() int32 {
  1096. if m != nil {
  1097. return m.State
  1098. }
  1099. return 0
  1100. }
  1101. func (m *ModelCouponAllowancePanelInfo) GetFullLimitExplain() string {
  1102. if m != nil {
  1103. return m.FullLimitExplain
  1104. }
  1105. return ""
  1106. }
  1107. func (m *ModelCouponAllowancePanelInfo) GetScopeExplain() string {
  1108. if m != nil {
  1109. return m.ScopeExplain
  1110. }
  1111. return ""
  1112. }
  1113. func (m *ModelCouponAllowancePanelInfo) GetFullAmount() float64 {
  1114. if m != nil {
  1115. return m.FullAmount
  1116. }
  1117. return 0
  1118. }
  1119. func (m *ModelCouponAllowancePanelInfo) GetCouponDiscountPrice() float64 {
  1120. if m != nil {
  1121. return m.CouponDiscountPrice
  1122. }
  1123. return 0
  1124. }
  1125. func (m *ModelCouponAllowancePanelInfo) GetStartTime() int64 {
  1126. if m != nil {
  1127. return m.StartTime
  1128. }
  1129. return 0
  1130. }
  1131. func (m *ModelCouponAllowancePanelInfo) GetExpireTime() int64 {
  1132. if m != nil {
  1133. return m.ExpireTime
  1134. }
  1135. return 0
  1136. }
  1137. func (m *ModelCouponAllowancePanelInfo) GetSelected() int32 {
  1138. if m != nil {
  1139. return m.Selected
  1140. }
  1141. return 0
  1142. }
  1143. func (m *ModelCouponAllowancePanelInfo) GetDisablesExplains() string {
  1144. if m != nil {
  1145. return m.DisablesExplains
  1146. }
  1147. return ""
  1148. }
  1149. func (m *ModelCouponAllowancePanelInfo) GetOrderNo() string {
  1150. if m != nil {
  1151. return m.OrderNo
  1152. }
  1153. return ""
  1154. }
  1155. func (m *ModelCouponAllowancePanelInfo) GetName() string {
  1156. if m != nil {
  1157. return m.Name
  1158. }
  1159. return ""
  1160. }
  1161. func (m *ModelCouponAllowancePanelInfo) GetUsable() int32 {
  1162. if m != nil {
  1163. return m.Usable
  1164. }
  1165. return 0
  1166. }
  1167. type ModelVipPanelInfo struct {
  1168. Month int32 `protobuf:"varint,1,opt,name=month,proto3" json:"month"`
  1169. ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
  1170. ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
  1171. SubType int32 `protobuf:"varint,4,opt,name=sub_type,json=subType,proto3" json:"sub_type"`
  1172. SuitType int32 `protobuf:"varint,5,opt,name=suit_type,json=suitType,proto3" json:"suit_type"`
  1173. OriginalPrice float64 `protobuf:"fixed64,6,opt,name=original_price,json=originalPrice,proto3" json:"original_price"`
  1174. DiscountPrice float64 `protobuf:"fixed64,7,opt,name=discount_price,json=discountPrice,proto3" json:"discount_price"`
  1175. DiscountRate string `protobuf:"bytes,8,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
  1176. Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
  1177. Selected int32 `protobuf:"varint,10,opt,name=selected,proto3" json:"selected"`
  1178. Id int64 `protobuf:"varint,11,opt,name=id,proto3" json:"id"`
  1179. Type int32 `protobuf:"varint,12,opt,name=type,proto3" json:"type"`
  1180. }
  1181. func (m *ModelVipPanelInfo) Reset() { *m = ModelVipPanelInfo{} }
  1182. func (m *ModelVipPanelInfo) String() string { return proto.CompactTextString(m) }
  1183. func (*ModelVipPanelInfo) ProtoMessage() {}
  1184. func (*ModelVipPanelInfo) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{33} }
  1185. func (m *ModelVipPanelInfo) GetMonth() int32 {
  1186. if m != nil {
  1187. return m.Month
  1188. }
  1189. return 0
  1190. }
  1191. func (m *ModelVipPanelInfo) GetProductName() string {
  1192. if m != nil {
  1193. return m.ProductName
  1194. }
  1195. return ""
  1196. }
  1197. func (m *ModelVipPanelInfo) GetProductId() string {
  1198. if m != nil {
  1199. return m.ProductId
  1200. }
  1201. return ""
  1202. }
  1203. func (m *ModelVipPanelInfo) GetSubType() int32 {
  1204. if m != nil {
  1205. return m.SubType
  1206. }
  1207. return 0
  1208. }
  1209. func (m *ModelVipPanelInfo) GetSuitType() int32 {
  1210. if m != nil {
  1211. return m.SuitType
  1212. }
  1213. return 0
  1214. }
  1215. func (m *ModelVipPanelInfo) GetOriginalPrice() float64 {
  1216. if m != nil {
  1217. return m.OriginalPrice
  1218. }
  1219. return 0
  1220. }
  1221. func (m *ModelVipPanelInfo) GetDiscountPrice() float64 {
  1222. if m != nil {
  1223. return m.DiscountPrice
  1224. }
  1225. return 0
  1226. }
  1227. func (m *ModelVipPanelInfo) GetDiscountRate() string {
  1228. if m != nil {
  1229. return m.DiscountRate
  1230. }
  1231. return ""
  1232. }
  1233. func (m *ModelVipPanelInfo) GetRemark() string {
  1234. if m != nil {
  1235. return m.Remark
  1236. }
  1237. return ""
  1238. }
  1239. func (m *ModelVipPanelInfo) GetSelected() int32 {
  1240. if m != nil {
  1241. return m.Selected
  1242. }
  1243. return 0
  1244. }
  1245. func (m *ModelVipPanelInfo) GetId() int64 {
  1246. if m != nil {
  1247. return m.Id
  1248. }
  1249. return 0
  1250. }
  1251. func (m *ModelVipPanelInfo) GetType() int32 {
  1252. if m != nil {
  1253. return m.Type
  1254. }
  1255. return 0
  1256. }
  1257. type ModelPrivilegeResp struct {
  1258. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
  1259. List []*ModelPrivilege `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
  1260. }
  1261. func (m *ModelPrivilegeResp) Reset() { *m = ModelPrivilegeResp{} }
  1262. func (m *ModelPrivilegeResp) String() string { return proto.CompactTextString(m) }
  1263. func (*ModelPrivilegeResp) ProtoMessage() {}
  1264. func (*ModelPrivilegeResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{34} }
  1265. func (m *ModelPrivilegeResp) GetTitle() string {
  1266. if m != nil {
  1267. return m.Title
  1268. }
  1269. return ""
  1270. }
  1271. func (m *ModelPrivilegeResp) GetList() []*ModelPrivilege {
  1272. if m != nil {
  1273. return m.List
  1274. }
  1275. return nil
  1276. }
  1277. type ModelPrivilege struct {
  1278. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1279. IconUrl string `protobuf:"bytes,2,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
  1280. Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
  1281. }
  1282. func (m *ModelPrivilege) Reset() { *m = ModelPrivilege{} }
  1283. func (m *ModelPrivilege) String() string { return proto.CompactTextString(m) }
  1284. func (*ModelPrivilege) ProtoMessage() {}
  1285. func (*ModelPrivilege) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{35} }
  1286. func (m *ModelPrivilege) GetName() string {
  1287. if m != nil {
  1288. return m.Name
  1289. }
  1290. return ""
  1291. }
  1292. func (m *ModelPrivilege) GetIconUrl() string {
  1293. if m != nil {
  1294. return m.IconUrl
  1295. }
  1296. return ""
  1297. }
  1298. func (m *ModelPrivilege) GetType() int32 {
  1299. if m != nil {
  1300. return m.Type
  1301. }
  1302. return 0
  1303. }
  1304. type CouponBySuitIDReq struct {
  1305. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1306. Sid int64 `protobuf:"varint,2,opt,name=sid,proto3" json:"sid,omitempty"`
  1307. MobiApp string `protobuf:"bytes,3,opt,name=mobiApp,proto3" json:"mobiApp,omitempty"`
  1308. Device string `protobuf:"bytes,4,opt,name=device,proto3" json:"device,omitempty"`
  1309. Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
  1310. PanelType string `protobuf:"bytes,6,opt,name=panelType,proto3" json:"panelType,omitempty"`
  1311. Build int64 `protobuf:"varint,7,opt,name=build,proto3" json:"build,omitempty"`
  1312. }
  1313. func (m *CouponBySuitIDReq) Reset() { *m = CouponBySuitIDReq{} }
  1314. func (m *CouponBySuitIDReq) String() string { return proto.CompactTextString(m) }
  1315. func (*CouponBySuitIDReq) ProtoMessage() {}
  1316. func (*CouponBySuitIDReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{36} }
  1317. func (m *CouponBySuitIDReq) GetMid() int64 {
  1318. if m != nil {
  1319. return m.Mid
  1320. }
  1321. return 0
  1322. }
  1323. func (m *CouponBySuitIDReq) GetSid() int64 {
  1324. if m != nil {
  1325. return m.Sid
  1326. }
  1327. return 0
  1328. }
  1329. func (m *CouponBySuitIDReq) GetMobiApp() string {
  1330. if m != nil {
  1331. return m.MobiApp
  1332. }
  1333. return ""
  1334. }
  1335. func (m *CouponBySuitIDReq) GetDevice() string {
  1336. if m != nil {
  1337. return m.Device
  1338. }
  1339. return ""
  1340. }
  1341. func (m *CouponBySuitIDReq) GetPlatform() string {
  1342. if m != nil {
  1343. return m.Platform
  1344. }
  1345. return ""
  1346. }
  1347. func (m *CouponBySuitIDReq) GetPanelType() string {
  1348. if m != nil {
  1349. return m.PanelType
  1350. }
  1351. return ""
  1352. }
  1353. func (m *CouponBySuitIDReq) GetBuild() int64 {
  1354. if m != nil {
  1355. return m.Build
  1356. }
  1357. return 0
  1358. }
  1359. type WelfareReq struct {
  1360. Tid int64 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
  1361. Recommend int64 `protobuf:"varint,2,opt,name=recommend,proto3" json:"recommend,omitempty"`
  1362. Ps int64 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps,omitempty"`
  1363. Pn int64 `protobuf:"varint,4,opt,name=pn,proto3" json:"pn,omitempty"`
  1364. }
  1365. func (m *WelfareReq) Reset() { *m = WelfareReq{} }
  1366. func (m *WelfareReq) String() string { return proto.CompactTextString(m) }
  1367. func (*WelfareReq) ProtoMessage() {}
  1368. func (*WelfareReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{37} }
  1369. func (m *WelfareReq) GetTid() int64 {
  1370. if m != nil {
  1371. return m.Tid
  1372. }
  1373. return 0
  1374. }
  1375. func (m *WelfareReq) GetRecommend() int64 {
  1376. if m != nil {
  1377. return m.Recommend
  1378. }
  1379. return 0
  1380. }
  1381. func (m *WelfareReq) GetPs() int64 {
  1382. if m != nil {
  1383. return m.Ps
  1384. }
  1385. return 0
  1386. }
  1387. func (m *WelfareReq) GetPn() int64 {
  1388. if m != nil {
  1389. return m.Pn
  1390. }
  1391. return 0
  1392. }
  1393. type WelfareReply struct {
  1394. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  1395. List []*WelfareListDetail `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
  1396. }
  1397. func (m *WelfareReply) Reset() { *m = WelfareReply{} }
  1398. func (m *WelfareReply) String() string { return proto.CompactTextString(m) }
  1399. func (*WelfareReply) ProtoMessage() {}
  1400. func (*WelfareReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{38} }
  1401. func (m *WelfareReply) GetCount() int64 {
  1402. if m != nil {
  1403. return m.Count
  1404. }
  1405. return 0
  1406. }
  1407. func (m *WelfareReply) GetList() []*WelfareListDetail {
  1408. if m != nil {
  1409. return m.List
  1410. }
  1411. return nil
  1412. }
  1413. type WelfareListDetail struct {
  1414. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1415. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1416. HomepageUri string `protobuf:"bytes,3,opt,name=homepage_uri,json=homepageUri,proto3" json:"homepage_uri"`
  1417. BackdropUri string `protobuf:"bytes,4,opt,name=backdrop_uri,json=backdropUri,proto3" json:"backdrop_uri"`
  1418. Tid int32 `protobuf:"varint,5,opt,name=tid,proto3" json:"tid"`
  1419. Rank int32 `protobuf:"varint,6,opt,name=rank,proto3" json:"rank"`
  1420. }
  1421. func (m *WelfareListDetail) Reset() { *m = WelfareListDetail{} }
  1422. func (m *WelfareListDetail) String() string { return proto.CompactTextString(m) }
  1423. func (*WelfareListDetail) ProtoMessage() {}
  1424. func (*WelfareListDetail) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{39} }
  1425. func (m *WelfareListDetail) GetId() int32 {
  1426. if m != nil {
  1427. return m.Id
  1428. }
  1429. return 0
  1430. }
  1431. func (m *WelfareListDetail) GetName() string {
  1432. if m != nil {
  1433. return m.Name
  1434. }
  1435. return ""
  1436. }
  1437. func (m *WelfareListDetail) GetHomepageUri() string {
  1438. if m != nil {
  1439. return m.HomepageUri
  1440. }
  1441. return ""
  1442. }
  1443. func (m *WelfareListDetail) GetBackdropUri() string {
  1444. if m != nil {
  1445. return m.BackdropUri
  1446. }
  1447. return ""
  1448. }
  1449. func (m *WelfareListDetail) GetTid() int32 {
  1450. if m != nil {
  1451. return m.Tid
  1452. }
  1453. return 0
  1454. }
  1455. func (m *WelfareListDetail) GetRank() int32 {
  1456. if m != nil {
  1457. return m.Rank
  1458. }
  1459. return 0
  1460. }
  1461. type WelfareTypeReq struct {
  1462. }
  1463. func (m *WelfareTypeReq) Reset() { *m = WelfareTypeReq{} }
  1464. func (m *WelfareTypeReq) String() string { return proto.CompactTextString(m) }
  1465. func (*WelfareTypeReq) ProtoMessage() {}
  1466. func (*WelfareTypeReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{40} }
  1467. type WelfareTypeReply struct {
  1468. List []*WelfareTypeListDetail `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
  1469. }
  1470. func (m *WelfareTypeReply) Reset() { *m = WelfareTypeReply{} }
  1471. func (m *WelfareTypeReply) String() string { return proto.CompactTextString(m) }
  1472. func (*WelfareTypeReply) ProtoMessage() {}
  1473. func (*WelfareTypeReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{41} }
  1474. func (m *WelfareTypeReply) GetList() []*WelfareTypeListDetail {
  1475. if m != nil {
  1476. return m.List
  1477. }
  1478. return nil
  1479. }
  1480. type WelfareTypeListDetail struct {
  1481. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1482. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1483. }
  1484. func (m *WelfareTypeListDetail) Reset() { *m = WelfareTypeListDetail{} }
  1485. func (m *WelfareTypeListDetail) String() string { return proto.CompactTextString(m) }
  1486. func (*WelfareTypeListDetail) ProtoMessage() {}
  1487. func (*WelfareTypeListDetail) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{42} }
  1488. func (m *WelfareTypeListDetail) GetId() int32 {
  1489. if m != nil {
  1490. return m.Id
  1491. }
  1492. return 0
  1493. }
  1494. func (m *WelfareTypeListDetail) GetName() string {
  1495. if m != nil {
  1496. return m.Name
  1497. }
  1498. return ""
  1499. }
  1500. type WelfareInfoReq struct {
  1501. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1502. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1503. }
  1504. func (m *WelfareInfoReq) Reset() { *m = WelfareInfoReq{} }
  1505. func (m *WelfareInfoReq) String() string { return proto.CompactTextString(m) }
  1506. func (*WelfareInfoReq) ProtoMessage() {}
  1507. func (*WelfareInfoReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{43} }
  1508. func (m *WelfareInfoReq) GetId() int64 {
  1509. if m != nil {
  1510. return m.Id
  1511. }
  1512. return 0
  1513. }
  1514. func (m *WelfareInfoReq) GetMid() int64 {
  1515. if m != nil {
  1516. return m.Mid
  1517. }
  1518. return 0
  1519. }
  1520. type WelfareInfoReply struct {
  1521. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1522. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1523. Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc"`
  1524. HomepageUri string `protobuf:"bytes,4,opt,name=homepage_uri,json=homepageUri,proto3" json:"homepage_uri"`
  1525. BackdropUri string `protobuf:"bytes,5,opt,name=backdrop_uri,json=backdropUri,proto3" json:"backdrop_uri"`
  1526. Finished bool `protobuf:"varint,6,opt,name=finished,proto3" json:"finished"`
  1527. Received bool `protobuf:"varint,7,opt,name=received,proto3" json:"received"`
  1528. VipType int64 `protobuf:"varint,8,opt,name=vip_type,json=vipType,proto3" json:"vip_type"`
  1529. Stime int64 `protobuf:"varint,9,opt,name=stime,proto3" json:"stime"`
  1530. Etime int64 `protobuf:"varint,10,opt,name=etime,proto3" json:"etime"`
  1531. }
  1532. func (m *WelfareInfoReply) Reset() { *m = WelfareInfoReply{} }
  1533. func (m *WelfareInfoReply) String() string { return proto.CompactTextString(m) }
  1534. func (*WelfareInfoReply) ProtoMessage() {}
  1535. func (*WelfareInfoReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{44} }
  1536. func (m *WelfareInfoReply) GetId() int32 {
  1537. if m != nil {
  1538. return m.Id
  1539. }
  1540. return 0
  1541. }
  1542. func (m *WelfareInfoReply) GetName() string {
  1543. if m != nil {
  1544. return m.Name
  1545. }
  1546. return ""
  1547. }
  1548. func (m *WelfareInfoReply) GetDesc() string {
  1549. if m != nil {
  1550. return m.Desc
  1551. }
  1552. return ""
  1553. }
  1554. func (m *WelfareInfoReply) GetHomepageUri() string {
  1555. if m != nil {
  1556. return m.HomepageUri
  1557. }
  1558. return ""
  1559. }
  1560. func (m *WelfareInfoReply) GetBackdropUri() string {
  1561. if m != nil {
  1562. return m.BackdropUri
  1563. }
  1564. return ""
  1565. }
  1566. func (m *WelfareInfoReply) GetFinished() bool {
  1567. if m != nil {
  1568. return m.Finished
  1569. }
  1570. return false
  1571. }
  1572. func (m *WelfareInfoReply) GetReceived() bool {
  1573. if m != nil {
  1574. return m.Received
  1575. }
  1576. return false
  1577. }
  1578. func (m *WelfareInfoReply) GetVipType() int64 {
  1579. if m != nil {
  1580. return m.VipType
  1581. }
  1582. return 0
  1583. }
  1584. func (m *WelfareInfoReply) GetStime() int64 {
  1585. if m != nil {
  1586. return m.Stime
  1587. }
  1588. return 0
  1589. }
  1590. func (m *WelfareInfoReply) GetEtime() int64 {
  1591. if m != nil {
  1592. return m.Etime
  1593. }
  1594. return 0
  1595. }
  1596. type WelfareReceiveReq struct {
  1597. Wid int64 `protobuf:"varint,1,opt,name=wid,proto3" json:"wid,omitempty"`
  1598. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1599. }
  1600. func (m *WelfareReceiveReq) Reset() { *m = WelfareReceiveReq{} }
  1601. func (m *WelfareReceiveReq) String() string { return proto.CompactTextString(m) }
  1602. func (*WelfareReceiveReq) ProtoMessage() {}
  1603. func (*WelfareReceiveReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{45} }
  1604. func (m *WelfareReceiveReq) GetWid() int64 {
  1605. if m != nil {
  1606. return m.Wid
  1607. }
  1608. return 0
  1609. }
  1610. func (m *WelfareReceiveReq) GetMid() int64 {
  1611. if m != nil {
  1612. return m.Mid
  1613. }
  1614. return 0
  1615. }
  1616. type WelfareReceiveReply struct {
  1617. }
  1618. func (m *WelfareReceiveReply) Reset() { *m = WelfareReceiveReply{} }
  1619. func (m *WelfareReceiveReply) String() string { return proto.CompactTextString(m) }
  1620. func (*WelfareReceiveReply) ProtoMessage() {}
  1621. func (*WelfareReceiveReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{46} }
  1622. type MyWelfareReq struct {
  1623. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1624. }
  1625. func (m *MyWelfareReq) Reset() { *m = MyWelfareReq{} }
  1626. func (m *MyWelfareReq) String() string { return proto.CompactTextString(m) }
  1627. func (*MyWelfareReq) ProtoMessage() {}
  1628. func (*MyWelfareReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{47} }
  1629. func (m *MyWelfareReq) GetMid() int64 {
  1630. if m != nil {
  1631. return m.Mid
  1632. }
  1633. return 0
  1634. }
  1635. type MyWelfareReply struct {
  1636. List []*MyWelfareDetail `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
  1637. }
  1638. func (m *MyWelfareReply) Reset() { *m = MyWelfareReply{} }
  1639. func (m *MyWelfareReply) String() string { return proto.CompactTextString(m) }
  1640. func (*MyWelfareReply) ProtoMessage() {}
  1641. func (*MyWelfareReply) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{48} }
  1642. func (m *MyWelfareReply) GetList() []*MyWelfareDetail {
  1643. if m != nil {
  1644. return m.List
  1645. }
  1646. return nil
  1647. }
  1648. type MyWelfareDetail struct {
  1649. Wid int32 `protobuf:"varint,1,opt,name=wid,proto3" json:"wid"`
  1650. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1651. Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc"`
  1652. UsageForm int32 `protobuf:"varint,4,opt,name=usage_form,json=usageForm,proto3" json:"usage_form"`
  1653. ReceiveUri string `protobuf:"bytes,5,opt,name=receive_uri,json=receiveUri,proto3" json:"receive_uri"`
  1654. Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code"`
  1655. Stime int64 `protobuf:"varint,7,opt,name=stime,proto3" json:"stime"`
  1656. Etime int64 `protobuf:"varint,8,opt,name=etime,proto3" json:"etime"`
  1657. Expired bool `protobuf:"varint,9,opt,name=expired,proto3" json:"expired"`
  1658. }
  1659. func (m *MyWelfareDetail) Reset() { *m = MyWelfareDetail{} }
  1660. func (m *MyWelfareDetail) String() string { return proto.CompactTextString(m) }
  1661. func (*MyWelfareDetail) ProtoMessage() {}
  1662. func (*MyWelfareDetail) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{49} }
  1663. func (m *MyWelfareDetail) GetWid() int32 {
  1664. if m != nil {
  1665. return m.Wid
  1666. }
  1667. return 0
  1668. }
  1669. func (m *MyWelfareDetail) GetName() string {
  1670. if m != nil {
  1671. return m.Name
  1672. }
  1673. return ""
  1674. }
  1675. func (m *MyWelfareDetail) GetDesc() string {
  1676. if m != nil {
  1677. return m.Desc
  1678. }
  1679. return ""
  1680. }
  1681. func (m *MyWelfareDetail) GetUsageForm() int32 {
  1682. if m != nil {
  1683. return m.UsageForm
  1684. }
  1685. return 0
  1686. }
  1687. func (m *MyWelfareDetail) GetReceiveUri() string {
  1688. if m != nil {
  1689. return m.ReceiveUri
  1690. }
  1691. return ""
  1692. }
  1693. func (m *MyWelfareDetail) GetCode() string {
  1694. if m != nil {
  1695. return m.Code
  1696. }
  1697. return ""
  1698. }
  1699. func (m *MyWelfareDetail) GetStime() int64 {
  1700. if m != nil {
  1701. return m.Stime
  1702. }
  1703. return 0
  1704. }
  1705. func (m *MyWelfareDetail) GetEtime() int64 {
  1706. if m != nil {
  1707. return m.Etime
  1708. }
  1709. return 0
  1710. }
  1711. func (m *MyWelfareDetail) GetExpired() bool {
  1712. if m != nil {
  1713. return m.Expired
  1714. }
  1715. return false
  1716. }
  1717. func init() {
  1718. proto.RegisterType((*RegisterOpenIDReq)(nil), "account.vip.RegisterOpenIDReq")
  1719. proto.RegisterType((*RegisterOpenIDReply)(nil), "account.vip.RegisterOpenIDReply")
  1720. proto.RegisterType((*OpenBindByOutOpenIDReq)(nil), "account.vip.OpenBindByOutOpenIDReq")
  1721. proto.RegisterType((*OpenBindByOutOpenIDReply)(nil), "account.vip.OpenBindByOutOpenIDReply")
  1722. proto.RegisterType((*UserInfoByOpenIDReq)(nil), "account.vip.UserInfoByOpenIDReq")
  1723. proto.RegisterType((*UserInfoByOpenIDReply)(nil), "account.vip.UserInfoByOpenIDReply")
  1724. proto.RegisterType((*BindInfoByMidReq)(nil), "account.vip.BindInfoByMidReq")
  1725. proto.RegisterType((*BindInfoByMidReply)(nil), "account.vip.BindInfoByMidReply")
  1726. proto.RegisterType((*Account)(nil), "account.vip.Account")
  1727. proto.RegisterType((*BindOuter)(nil), "account.vip.BindOuter")
  1728. proto.RegisterType((*BilibiliPrizeGrantReq)(nil), "account.vip.BilibiliPrizeGrantReq")
  1729. proto.RegisterType((*BilibiliPrizeGrantReply)(nil), "account.vip.BilibiliPrizeGrantReply")
  1730. proto.RegisterType((*BilibiliVipGrantReq)(nil), "account.vip.BilibiliVipGrantReq")
  1731. proto.RegisterType((*BilibiliVipGrantReply)(nil), "account.vip.BilibiliVipGrantReply")
  1732. proto.RegisterType((*CreateAssociateOrderReq)(nil), "account.vip.CreateAssociateOrderReq")
  1733. proto.RegisterType((*CreateAssociateOrderReply)(nil), "account.vip.CreateAssociateOrderReply")
  1734. proto.RegisterType((*AssociatePanelReq)(nil), "account.vip.AssociatePanelReq")
  1735. proto.RegisterType((*AssociatePanelReply)(nil), "account.vip.AssociatePanelReply")
  1736. proto.RegisterType((*AssociatePanelInfo)(nil), "account.vip.AssociatePanelInfo")
  1737. proto.RegisterType((*OpenAuthCallBackReq)(nil), "account.vip.OpenAuthCallBackReq")
  1738. proto.RegisterType((*OpenAuthCallBackReply)(nil), "account.vip.OpenAuthCallBackReply")
  1739. proto.RegisterType((*EleRedPackagesReq)(nil), "account.vip.EleRedPackagesReq")
  1740. proto.RegisterType((*EleRedPackagesReply)(nil), "account.vip.EleRedPackagesReply")
  1741. proto.RegisterType((*ModelEleRedPackage)(nil), "account.vip.ModelEleRedPackage")
  1742. proto.RegisterType((*EleSpecailFoodsReq)(nil), "account.vip.EleSpecailFoodsReq")
  1743. proto.RegisterType((*EleSpecailFoodsReply)(nil), "account.vip.EleSpecailFoodsReply")
  1744. proto.RegisterType((*ModelEleSpecailFoods)(nil), "account.vip.ModelEleSpecailFoods")
  1745. proto.RegisterType((*EleVipGrantReq)(nil), "account.vip.EleVipGrantReq")
  1746. proto.RegisterType((*EleVipGrantReply)(nil), "account.vip.EleVipGrantReply")
  1747. proto.RegisterType((*VipUserPanelReq)(nil), "account.vip.VipUserPanelReq")
  1748. proto.RegisterType((*VipUserPanelReply)(nil), "account.vip.VipUserPanelReply")
  1749. proto.RegisterType((*CouponBySuitIDReply)(nil), "account.vip.CouponBySuitIDReply")
  1750. proto.RegisterType((*ModelCouponAllowancePanelInfo)(nil), "account.vip.ModelCouponAllowancePanelInfo")
  1751. proto.RegisterType((*ModelVipPanelInfo)(nil), "account.vip.ModelVipPanelInfo")
  1752. proto.RegisterType((*ModelPrivilegeResp)(nil), "account.vip.ModelPrivilegeResp")
  1753. proto.RegisterType((*ModelPrivilege)(nil), "account.vip.ModelPrivilege")
  1754. proto.RegisterType((*CouponBySuitIDReq)(nil), "account.vip.CouponBySuitIDReq")
  1755. proto.RegisterType((*WelfareReq)(nil), "account.vip.WelfareReq")
  1756. proto.RegisterType((*WelfareReply)(nil), "account.vip.WelfareReply")
  1757. proto.RegisterType((*WelfareListDetail)(nil), "account.vip.WelfareListDetail")
  1758. proto.RegisterType((*WelfareTypeReq)(nil), "account.vip.WelfareTypeReq")
  1759. proto.RegisterType((*WelfareTypeReply)(nil), "account.vip.WelfareTypeReply")
  1760. proto.RegisterType((*WelfareTypeListDetail)(nil), "account.vip.WelfareTypeListDetail")
  1761. proto.RegisterType((*WelfareInfoReq)(nil), "account.vip.WelfareInfoReq")
  1762. proto.RegisterType((*WelfareInfoReply)(nil), "account.vip.WelfareInfoReply")
  1763. proto.RegisterType((*WelfareReceiveReq)(nil), "account.vip.WelfareReceiveReq")
  1764. proto.RegisterType((*WelfareReceiveReply)(nil), "account.vip.WelfareReceiveReply")
  1765. proto.RegisterType((*MyWelfareReq)(nil), "account.vip.MyWelfareReq")
  1766. proto.RegisterType((*MyWelfareReply)(nil), "account.vip.MyWelfareReply")
  1767. proto.RegisterType((*MyWelfareDetail)(nil), "account.vip.MyWelfareDetail")
  1768. }
  1769. // Reference imports to suppress errors if they are not otherwise used.
  1770. var _ context.Context
  1771. var _ grpc.ClientConn
  1772. // This is a compile-time assertion to ensure that this generated file
  1773. // is compatible with the grpc package it is being compiled against.
  1774. const _ = grpc.SupportPackageIsVersion4
  1775. // Client API for Vip service
  1776. type VipClient interface {
  1777. // RegisterOpenIDReq register by mid.
  1778. RegisterOpenID(ctx context.Context, in *RegisterOpenIDReq, opts ...grpc.CallOption) (*RegisterOpenIDReply, error)
  1779. // OpenBindByOutOpenID associate user bind by out_open_id [third -> bilibili].
  1780. OpenBindByOutOpenID(ctx context.Context, in *OpenBindByOutOpenIDReq, opts ...grpc.CallOption) (*OpenBindByOutOpenIDReply, error)
  1781. // UserInfoByOpenID get userinfo by open_id.
  1782. UserInfoByOpenID(ctx context.Context, in *UserInfoByOpenIDReq, opts ...grpc.CallOption) (*UserInfoByOpenIDReply, error)
  1783. // BindInfoByMid bind info by mid[bilibili->third].
  1784. BindInfoByMid(ctx context.Context, in *BindInfoByMidReq, opts ...grpc.CallOption) (*BindInfoByMidReply, error)
  1785. // BilibiliPrizeGrant bilibili associate vip grant.
  1786. BilibiliPrizeGrant(ctx context.Context, in *BilibiliPrizeGrantReq, opts ...grpc.CallOption) (*BilibiliPrizeGrantReply, error)
  1787. // BilibiliVipGrant bilibili associate vip grant.
  1788. BilibiliVipGrant(ctx context.Context, in *BilibiliVipGrantReq, opts ...grpc.CallOption) (*BilibiliVipGrantReply, error)
  1789. // CreateAssociateOrder create associate order.
  1790. CreateAssociateOrder(ctx context.Context, in *CreateAssociateOrderReq, opts ...grpc.CallOption) (*CreateAssociateOrderReply, error)
  1791. // AssociatePanel associate panel.
  1792. AssociatePanel(ctx context.Context, in *AssociatePanelReq, opts ...grpc.CallOption) (*AssociatePanelReply, error)
  1793. // OpenAuthCallBack third open call back.
  1794. OpenAuthCallBack(ctx context.Context, in *OpenAuthCallBackReq, opts ...grpc.CallOption) (*OpenAuthCallBackReply, error)
  1795. // EleRedPackages ele red packages.
  1796. EleRedPackages(ctx context.Context, in *EleRedPackagesReq, opts ...grpc.CallOption) (*EleRedPackagesReply, error)
  1797. // EleRedPackages ele specail foods.
  1798. EleSpecailFoods(ctx context.Context, in *EleSpecailFoodsReq, opts ...grpc.CallOption) (*EleSpecailFoodsReply, error)
  1799. // EleVipGrant ele vip grant [bilibili -> third].
  1800. EleVipGrant(ctx context.Context, in *EleVipGrantReq, opts ...grpc.CallOption) (*EleVipGrantReply, error)
  1801. // VipUserPanel vip user panel
  1802. VipUserPanel(ctx context.Context, in *VipUserPanelReq, opts ...grpc.CallOption) (*VipUserPanelReply, error)
  1803. // CouponBySuitID get coupon by mid and suit info.
  1804. CouponBySuitID(ctx context.Context, in *CouponBySuitIDReq, opts ...grpc.CallOption) (*CouponBySuitIDReply, error)
  1805. // WelfareList get Welfare list
  1806. WelfareList(ctx context.Context, in *WelfareReq, opts ...grpc.CallOption) (*WelfareReply, error)
  1807. // WelfareTypeList get Welfare type list
  1808. WelfareTypeList(ctx context.Context, in *WelfareTypeReq, opts ...grpc.CallOption) (*WelfareTypeReply, error)
  1809. // WelfareInfo get Welfare detail
  1810. WelfareInfo(ctx context.Context, in *WelfareInfoReq, opts ...grpc.CallOption) (*WelfareInfoReply, error)
  1811. // WelfareReceive receive welfare
  1812. WelfareReceive(ctx context.Context, in *WelfareReceiveReq, opts ...grpc.CallOption) (*WelfareReceiveReply, error)
  1813. // MyWelfare get my welfares
  1814. MyWelfare(ctx context.Context, in *MyWelfareReq, opts ...grpc.CallOption) (*MyWelfareReply, error)
  1815. }
  1816. type vipClient struct {
  1817. cc *grpc.ClientConn
  1818. }
  1819. func NewVipClient(cc *grpc.ClientConn) VipClient {
  1820. return &vipClient{cc}
  1821. }
  1822. func (c *vipClient) RegisterOpenID(ctx context.Context, in *RegisterOpenIDReq, opts ...grpc.CallOption) (*RegisterOpenIDReply, error) {
  1823. out := new(RegisterOpenIDReply)
  1824. err := grpc.Invoke(ctx, "/account.vip.Vip/RegisterOpenID", in, out, c.cc, opts...)
  1825. if err != nil {
  1826. return nil, err
  1827. }
  1828. return out, nil
  1829. }
  1830. func (c *vipClient) OpenBindByOutOpenID(ctx context.Context, in *OpenBindByOutOpenIDReq, opts ...grpc.CallOption) (*OpenBindByOutOpenIDReply, error) {
  1831. out := new(OpenBindByOutOpenIDReply)
  1832. err := grpc.Invoke(ctx, "/account.vip.Vip/OpenBindByOutOpenID", in, out, c.cc, opts...)
  1833. if err != nil {
  1834. return nil, err
  1835. }
  1836. return out, nil
  1837. }
  1838. func (c *vipClient) UserInfoByOpenID(ctx context.Context, in *UserInfoByOpenIDReq, opts ...grpc.CallOption) (*UserInfoByOpenIDReply, error) {
  1839. out := new(UserInfoByOpenIDReply)
  1840. err := grpc.Invoke(ctx, "/account.vip.Vip/UserInfoByOpenID", in, out, c.cc, opts...)
  1841. if err != nil {
  1842. return nil, err
  1843. }
  1844. return out, nil
  1845. }
  1846. func (c *vipClient) BindInfoByMid(ctx context.Context, in *BindInfoByMidReq, opts ...grpc.CallOption) (*BindInfoByMidReply, error) {
  1847. out := new(BindInfoByMidReply)
  1848. err := grpc.Invoke(ctx, "/account.vip.Vip/BindInfoByMid", in, out, c.cc, opts...)
  1849. if err != nil {
  1850. return nil, err
  1851. }
  1852. return out, nil
  1853. }
  1854. func (c *vipClient) BilibiliPrizeGrant(ctx context.Context, in *BilibiliPrizeGrantReq, opts ...grpc.CallOption) (*BilibiliPrizeGrantReply, error) {
  1855. out := new(BilibiliPrizeGrantReply)
  1856. err := grpc.Invoke(ctx, "/account.vip.Vip/BilibiliPrizeGrant", in, out, c.cc, opts...)
  1857. if err != nil {
  1858. return nil, err
  1859. }
  1860. return out, nil
  1861. }
  1862. func (c *vipClient) BilibiliVipGrant(ctx context.Context, in *BilibiliVipGrantReq, opts ...grpc.CallOption) (*BilibiliVipGrantReply, error) {
  1863. out := new(BilibiliVipGrantReply)
  1864. err := grpc.Invoke(ctx, "/account.vip.Vip/BilibiliVipGrant", in, out, c.cc, opts...)
  1865. if err != nil {
  1866. return nil, err
  1867. }
  1868. return out, nil
  1869. }
  1870. func (c *vipClient) CreateAssociateOrder(ctx context.Context, in *CreateAssociateOrderReq, opts ...grpc.CallOption) (*CreateAssociateOrderReply, error) {
  1871. out := new(CreateAssociateOrderReply)
  1872. err := grpc.Invoke(ctx, "/account.vip.Vip/CreateAssociateOrder", in, out, c.cc, opts...)
  1873. if err != nil {
  1874. return nil, err
  1875. }
  1876. return out, nil
  1877. }
  1878. func (c *vipClient) AssociatePanel(ctx context.Context, in *AssociatePanelReq, opts ...grpc.CallOption) (*AssociatePanelReply, error) {
  1879. out := new(AssociatePanelReply)
  1880. err := grpc.Invoke(ctx, "/account.vip.Vip/AssociatePanel", in, out, c.cc, opts...)
  1881. if err != nil {
  1882. return nil, err
  1883. }
  1884. return out, nil
  1885. }
  1886. func (c *vipClient) OpenAuthCallBack(ctx context.Context, in *OpenAuthCallBackReq, opts ...grpc.CallOption) (*OpenAuthCallBackReply, error) {
  1887. out := new(OpenAuthCallBackReply)
  1888. err := grpc.Invoke(ctx, "/account.vip.Vip/OpenAuthCallBack", in, out, c.cc, opts...)
  1889. if err != nil {
  1890. return nil, err
  1891. }
  1892. return out, nil
  1893. }
  1894. func (c *vipClient) EleRedPackages(ctx context.Context, in *EleRedPackagesReq, opts ...grpc.CallOption) (*EleRedPackagesReply, error) {
  1895. out := new(EleRedPackagesReply)
  1896. err := grpc.Invoke(ctx, "/account.vip.Vip/EleRedPackages", in, out, c.cc, opts...)
  1897. if err != nil {
  1898. return nil, err
  1899. }
  1900. return out, nil
  1901. }
  1902. func (c *vipClient) EleSpecailFoods(ctx context.Context, in *EleSpecailFoodsReq, opts ...grpc.CallOption) (*EleSpecailFoodsReply, error) {
  1903. out := new(EleSpecailFoodsReply)
  1904. err := grpc.Invoke(ctx, "/account.vip.Vip/EleSpecailFoods", in, out, c.cc, opts...)
  1905. if err != nil {
  1906. return nil, err
  1907. }
  1908. return out, nil
  1909. }
  1910. func (c *vipClient) EleVipGrant(ctx context.Context, in *EleVipGrantReq, opts ...grpc.CallOption) (*EleVipGrantReply, error) {
  1911. out := new(EleVipGrantReply)
  1912. err := grpc.Invoke(ctx, "/account.vip.Vip/EleVipGrant", in, out, c.cc, opts...)
  1913. if err != nil {
  1914. return nil, err
  1915. }
  1916. return out, nil
  1917. }
  1918. func (c *vipClient) VipUserPanel(ctx context.Context, in *VipUserPanelReq, opts ...grpc.CallOption) (*VipUserPanelReply, error) {
  1919. out := new(VipUserPanelReply)
  1920. err := grpc.Invoke(ctx, "/account.vip.Vip/VipUserPanel", in, out, c.cc, opts...)
  1921. if err != nil {
  1922. return nil, err
  1923. }
  1924. return out, nil
  1925. }
  1926. func (c *vipClient) CouponBySuitID(ctx context.Context, in *CouponBySuitIDReq, opts ...grpc.CallOption) (*CouponBySuitIDReply, error) {
  1927. out := new(CouponBySuitIDReply)
  1928. err := grpc.Invoke(ctx, "/account.vip.Vip/CouponBySuitID", in, out, c.cc, opts...)
  1929. if err != nil {
  1930. return nil, err
  1931. }
  1932. return out, nil
  1933. }
  1934. func (c *vipClient) WelfareList(ctx context.Context, in *WelfareReq, opts ...grpc.CallOption) (*WelfareReply, error) {
  1935. out := new(WelfareReply)
  1936. err := grpc.Invoke(ctx, "/account.vip.Vip/WelfareList", in, out, c.cc, opts...)
  1937. if err != nil {
  1938. return nil, err
  1939. }
  1940. return out, nil
  1941. }
  1942. func (c *vipClient) WelfareTypeList(ctx context.Context, in *WelfareTypeReq, opts ...grpc.CallOption) (*WelfareTypeReply, error) {
  1943. out := new(WelfareTypeReply)
  1944. err := grpc.Invoke(ctx, "/account.vip.Vip/WelfareTypeList", in, out, c.cc, opts...)
  1945. if err != nil {
  1946. return nil, err
  1947. }
  1948. return out, nil
  1949. }
  1950. func (c *vipClient) WelfareInfo(ctx context.Context, in *WelfareInfoReq, opts ...grpc.CallOption) (*WelfareInfoReply, error) {
  1951. out := new(WelfareInfoReply)
  1952. err := grpc.Invoke(ctx, "/account.vip.Vip/WelfareInfo", in, out, c.cc, opts...)
  1953. if err != nil {
  1954. return nil, err
  1955. }
  1956. return out, nil
  1957. }
  1958. func (c *vipClient) WelfareReceive(ctx context.Context, in *WelfareReceiveReq, opts ...grpc.CallOption) (*WelfareReceiveReply, error) {
  1959. out := new(WelfareReceiveReply)
  1960. err := grpc.Invoke(ctx, "/account.vip.Vip/WelfareReceive", in, out, c.cc, opts...)
  1961. if err != nil {
  1962. return nil, err
  1963. }
  1964. return out, nil
  1965. }
  1966. func (c *vipClient) MyWelfare(ctx context.Context, in *MyWelfareReq, opts ...grpc.CallOption) (*MyWelfareReply, error) {
  1967. out := new(MyWelfareReply)
  1968. err := grpc.Invoke(ctx, "/account.vip.Vip/MyWelfare", in, out, c.cc, opts...)
  1969. if err != nil {
  1970. return nil, err
  1971. }
  1972. return out, nil
  1973. }
  1974. // Server API for Vip service
  1975. type VipServer interface {
  1976. // RegisterOpenIDReq register by mid.
  1977. RegisterOpenID(context.Context, *RegisterOpenIDReq) (*RegisterOpenIDReply, error)
  1978. // OpenBindByOutOpenID associate user bind by out_open_id [third -> bilibili].
  1979. OpenBindByOutOpenID(context.Context, *OpenBindByOutOpenIDReq) (*OpenBindByOutOpenIDReply, error)
  1980. // UserInfoByOpenID get userinfo by open_id.
  1981. UserInfoByOpenID(context.Context, *UserInfoByOpenIDReq) (*UserInfoByOpenIDReply, error)
  1982. // BindInfoByMid bind info by mid[bilibili->third].
  1983. BindInfoByMid(context.Context, *BindInfoByMidReq) (*BindInfoByMidReply, error)
  1984. // BilibiliPrizeGrant bilibili associate vip grant.
  1985. BilibiliPrizeGrant(context.Context, *BilibiliPrizeGrantReq) (*BilibiliPrizeGrantReply, error)
  1986. // BilibiliVipGrant bilibili associate vip grant.
  1987. BilibiliVipGrant(context.Context, *BilibiliVipGrantReq) (*BilibiliVipGrantReply, error)
  1988. // CreateAssociateOrder create associate order.
  1989. CreateAssociateOrder(context.Context, *CreateAssociateOrderReq) (*CreateAssociateOrderReply, error)
  1990. // AssociatePanel associate panel.
  1991. AssociatePanel(context.Context, *AssociatePanelReq) (*AssociatePanelReply, error)
  1992. // OpenAuthCallBack third open call back.
  1993. OpenAuthCallBack(context.Context, *OpenAuthCallBackReq) (*OpenAuthCallBackReply, error)
  1994. // EleRedPackages ele red packages.
  1995. EleRedPackages(context.Context, *EleRedPackagesReq) (*EleRedPackagesReply, error)
  1996. // EleRedPackages ele specail foods.
  1997. EleSpecailFoods(context.Context, *EleSpecailFoodsReq) (*EleSpecailFoodsReply, error)
  1998. // EleVipGrant ele vip grant [bilibili -> third].
  1999. EleVipGrant(context.Context, *EleVipGrantReq) (*EleVipGrantReply, error)
  2000. // VipUserPanel vip user panel
  2001. VipUserPanel(context.Context, *VipUserPanelReq) (*VipUserPanelReply, error)
  2002. // CouponBySuitID get coupon by mid and suit info.
  2003. CouponBySuitID(context.Context, *CouponBySuitIDReq) (*CouponBySuitIDReply, error)
  2004. // WelfareList get Welfare list
  2005. WelfareList(context.Context, *WelfareReq) (*WelfareReply, error)
  2006. // WelfareTypeList get Welfare type list
  2007. WelfareTypeList(context.Context, *WelfareTypeReq) (*WelfareTypeReply, error)
  2008. // WelfareInfo get Welfare detail
  2009. WelfareInfo(context.Context, *WelfareInfoReq) (*WelfareInfoReply, error)
  2010. // WelfareReceive receive welfare
  2011. WelfareReceive(context.Context, *WelfareReceiveReq) (*WelfareReceiveReply, error)
  2012. // MyWelfare get my welfares
  2013. MyWelfare(context.Context, *MyWelfareReq) (*MyWelfareReply, error)
  2014. }
  2015. func RegisterVipServer(s *grpc.Server, srv VipServer) {
  2016. s.RegisterService(&_Vip_serviceDesc, srv)
  2017. }
  2018. func _Vip_RegisterOpenID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2019. in := new(RegisterOpenIDReq)
  2020. if err := dec(in); err != nil {
  2021. return nil, err
  2022. }
  2023. if interceptor == nil {
  2024. return srv.(VipServer).RegisterOpenID(ctx, in)
  2025. }
  2026. info := &grpc.UnaryServerInfo{
  2027. Server: srv,
  2028. FullMethod: "/account.vip.Vip/RegisterOpenID",
  2029. }
  2030. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2031. return srv.(VipServer).RegisterOpenID(ctx, req.(*RegisterOpenIDReq))
  2032. }
  2033. return interceptor(ctx, in, info, handler)
  2034. }
  2035. func _Vip_OpenBindByOutOpenID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2036. in := new(OpenBindByOutOpenIDReq)
  2037. if err := dec(in); err != nil {
  2038. return nil, err
  2039. }
  2040. if interceptor == nil {
  2041. return srv.(VipServer).OpenBindByOutOpenID(ctx, in)
  2042. }
  2043. info := &grpc.UnaryServerInfo{
  2044. Server: srv,
  2045. FullMethod: "/account.vip.Vip/OpenBindByOutOpenID",
  2046. }
  2047. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2048. return srv.(VipServer).OpenBindByOutOpenID(ctx, req.(*OpenBindByOutOpenIDReq))
  2049. }
  2050. return interceptor(ctx, in, info, handler)
  2051. }
  2052. func _Vip_UserInfoByOpenID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2053. in := new(UserInfoByOpenIDReq)
  2054. if err := dec(in); err != nil {
  2055. return nil, err
  2056. }
  2057. if interceptor == nil {
  2058. return srv.(VipServer).UserInfoByOpenID(ctx, in)
  2059. }
  2060. info := &grpc.UnaryServerInfo{
  2061. Server: srv,
  2062. FullMethod: "/account.vip.Vip/UserInfoByOpenID",
  2063. }
  2064. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2065. return srv.(VipServer).UserInfoByOpenID(ctx, req.(*UserInfoByOpenIDReq))
  2066. }
  2067. return interceptor(ctx, in, info, handler)
  2068. }
  2069. func _Vip_BindInfoByMid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2070. in := new(BindInfoByMidReq)
  2071. if err := dec(in); err != nil {
  2072. return nil, err
  2073. }
  2074. if interceptor == nil {
  2075. return srv.(VipServer).BindInfoByMid(ctx, in)
  2076. }
  2077. info := &grpc.UnaryServerInfo{
  2078. Server: srv,
  2079. FullMethod: "/account.vip.Vip/BindInfoByMid",
  2080. }
  2081. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2082. return srv.(VipServer).BindInfoByMid(ctx, req.(*BindInfoByMidReq))
  2083. }
  2084. return interceptor(ctx, in, info, handler)
  2085. }
  2086. func _Vip_BilibiliPrizeGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2087. in := new(BilibiliPrizeGrantReq)
  2088. if err := dec(in); err != nil {
  2089. return nil, err
  2090. }
  2091. if interceptor == nil {
  2092. return srv.(VipServer).BilibiliPrizeGrant(ctx, in)
  2093. }
  2094. info := &grpc.UnaryServerInfo{
  2095. Server: srv,
  2096. FullMethod: "/account.vip.Vip/BilibiliPrizeGrant",
  2097. }
  2098. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2099. return srv.(VipServer).BilibiliPrizeGrant(ctx, req.(*BilibiliPrizeGrantReq))
  2100. }
  2101. return interceptor(ctx, in, info, handler)
  2102. }
  2103. func _Vip_BilibiliVipGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2104. in := new(BilibiliVipGrantReq)
  2105. if err := dec(in); err != nil {
  2106. return nil, err
  2107. }
  2108. if interceptor == nil {
  2109. return srv.(VipServer).BilibiliVipGrant(ctx, in)
  2110. }
  2111. info := &grpc.UnaryServerInfo{
  2112. Server: srv,
  2113. FullMethod: "/account.vip.Vip/BilibiliVipGrant",
  2114. }
  2115. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2116. return srv.(VipServer).BilibiliVipGrant(ctx, req.(*BilibiliVipGrantReq))
  2117. }
  2118. return interceptor(ctx, in, info, handler)
  2119. }
  2120. func _Vip_CreateAssociateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2121. in := new(CreateAssociateOrderReq)
  2122. if err := dec(in); err != nil {
  2123. return nil, err
  2124. }
  2125. if interceptor == nil {
  2126. return srv.(VipServer).CreateAssociateOrder(ctx, in)
  2127. }
  2128. info := &grpc.UnaryServerInfo{
  2129. Server: srv,
  2130. FullMethod: "/account.vip.Vip/CreateAssociateOrder",
  2131. }
  2132. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2133. return srv.(VipServer).CreateAssociateOrder(ctx, req.(*CreateAssociateOrderReq))
  2134. }
  2135. return interceptor(ctx, in, info, handler)
  2136. }
  2137. func _Vip_AssociatePanel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2138. in := new(AssociatePanelReq)
  2139. if err := dec(in); err != nil {
  2140. return nil, err
  2141. }
  2142. if interceptor == nil {
  2143. return srv.(VipServer).AssociatePanel(ctx, in)
  2144. }
  2145. info := &grpc.UnaryServerInfo{
  2146. Server: srv,
  2147. FullMethod: "/account.vip.Vip/AssociatePanel",
  2148. }
  2149. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2150. return srv.(VipServer).AssociatePanel(ctx, req.(*AssociatePanelReq))
  2151. }
  2152. return interceptor(ctx, in, info, handler)
  2153. }
  2154. func _Vip_OpenAuthCallBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2155. in := new(OpenAuthCallBackReq)
  2156. if err := dec(in); err != nil {
  2157. return nil, err
  2158. }
  2159. if interceptor == nil {
  2160. return srv.(VipServer).OpenAuthCallBack(ctx, in)
  2161. }
  2162. info := &grpc.UnaryServerInfo{
  2163. Server: srv,
  2164. FullMethod: "/account.vip.Vip/OpenAuthCallBack",
  2165. }
  2166. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2167. return srv.(VipServer).OpenAuthCallBack(ctx, req.(*OpenAuthCallBackReq))
  2168. }
  2169. return interceptor(ctx, in, info, handler)
  2170. }
  2171. func _Vip_EleRedPackages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2172. in := new(EleRedPackagesReq)
  2173. if err := dec(in); err != nil {
  2174. return nil, err
  2175. }
  2176. if interceptor == nil {
  2177. return srv.(VipServer).EleRedPackages(ctx, in)
  2178. }
  2179. info := &grpc.UnaryServerInfo{
  2180. Server: srv,
  2181. FullMethod: "/account.vip.Vip/EleRedPackages",
  2182. }
  2183. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2184. return srv.(VipServer).EleRedPackages(ctx, req.(*EleRedPackagesReq))
  2185. }
  2186. return interceptor(ctx, in, info, handler)
  2187. }
  2188. func _Vip_EleSpecailFoods_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2189. in := new(EleSpecailFoodsReq)
  2190. if err := dec(in); err != nil {
  2191. return nil, err
  2192. }
  2193. if interceptor == nil {
  2194. return srv.(VipServer).EleSpecailFoods(ctx, in)
  2195. }
  2196. info := &grpc.UnaryServerInfo{
  2197. Server: srv,
  2198. FullMethod: "/account.vip.Vip/EleSpecailFoods",
  2199. }
  2200. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2201. return srv.(VipServer).EleSpecailFoods(ctx, req.(*EleSpecailFoodsReq))
  2202. }
  2203. return interceptor(ctx, in, info, handler)
  2204. }
  2205. func _Vip_EleVipGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2206. in := new(EleVipGrantReq)
  2207. if err := dec(in); err != nil {
  2208. return nil, err
  2209. }
  2210. if interceptor == nil {
  2211. return srv.(VipServer).EleVipGrant(ctx, in)
  2212. }
  2213. info := &grpc.UnaryServerInfo{
  2214. Server: srv,
  2215. FullMethod: "/account.vip.Vip/EleVipGrant",
  2216. }
  2217. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2218. return srv.(VipServer).EleVipGrant(ctx, req.(*EleVipGrantReq))
  2219. }
  2220. return interceptor(ctx, in, info, handler)
  2221. }
  2222. func _Vip_VipUserPanel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2223. in := new(VipUserPanelReq)
  2224. if err := dec(in); err != nil {
  2225. return nil, err
  2226. }
  2227. if interceptor == nil {
  2228. return srv.(VipServer).VipUserPanel(ctx, in)
  2229. }
  2230. info := &grpc.UnaryServerInfo{
  2231. Server: srv,
  2232. FullMethod: "/account.vip.Vip/VipUserPanel",
  2233. }
  2234. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2235. return srv.(VipServer).VipUserPanel(ctx, req.(*VipUserPanelReq))
  2236. }
  2237. return interceptor(ctx, in, info, handler)
  2238. }
  2239. func _Vip_CouponBySuitID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2240. in := new(CouponBySuitIDReq)
  2241. if err := dec(in); err != nil {
  2242. return nil, err
  2243. }
  2244. if interceptor == nil {
  2245. return srv.(VipServer).CouponBySuitID(ctx, in)
  2246. }
  2247. info := &grpc.UnaryServerInfo{
  2248. Server: srv,
  2249. FullMethod: "/account.vip.Vip/CouponBySuitID",
  2250. }
  2251. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2252. return srv.(VipServer).CouponBySuitID(ctx, req.(*CouponBySuitIDReq))
  2253. }
  2254. return interceptor(ctx, in, info, handler)
  2255. }
  2256. func _Vip_WelfareList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2257. in := new(WelfareReq)
  2258. if err := dec(in); err != nil {
  2259. return nil, err
  2260. }
  2261. if interceptor == nil {
  2262. return srv.(VipServer).WelfareList(ctx, in)
  2263. }
  2264. info := &grpc.UnaryServerInfo{
  2265. Server: srv,
  2266. FullMethod: "/account.vip.Vip/WelfareList",
  2267. }
  2268. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2269. return srv.(VipServer).WelfareList(ctx, req.(*WelfareReq))
  2270. }
  2271. return interceptor(ctx, in, info, handler)
  2272. }
  2273. func _Vip_WelfareTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2274. in := new(WelfareTypeReq)
  2275. if err := dec(in); err != nil {
  2276. return nil, err
  2277. }
  2278. if interceptor == nil {
  2279. return srv.(VipServer).WelfareTypeList(ctx, in)
  2280. }
  2281. info := &grpc.UnaryServerInfo{
  2282. Server: srv,
  2283. FullMethod: "/account.vip.Vip/WelfareTypeList",
  2284. }
  2285. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2286. return srv.(VipServer).WelfareTypeList(ctx, req.(*WelfareTypeReq))
  2287. }
  2288. return interceptor(ctx, in, info, handler)
  2289. }
  2290. func _Vip_WelfareInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2291. in := new(WelfareInfoReq)
  2292. if err := dec(in); err != nil {
  2293. return nil, err
  2294. }
  2295. if interceptor == nil {
  2296. return srv.(VipServer).WelfareInfo(ctx, in)
  2297. }
  2298. info := &grpc.UnaryServerInfo{
  2299. Server: srv,
  2300. FullMethod: "/account.vip.Vip/WelfareInfo",
  2301. }
  2302. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2303. return srv.(VipServer).WelfareInfo(ctx, req.(*WelfareInfoReq))
  2304. }
  2305. return interceptor(ctx, in, info, handler)
  2306. }
  2307. func _Vip_WelfareReceive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2308. in := new(WelfareReceiveReq)
  2309. if err := dec(in); err != nil {
  2310. return nil, err
  2311. }
  2312. if interceptor == nil {
  2313. return srv.(VipServer).WelfareReceive(ctx, in)
  2314. }
  2315. info := &grpc.UnaryServerInfo{
  2316. Server: srv,
  2317. FullMethod: "/account.vip.Vip/WelfareReceive",
  2318. }
  2319. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2320. return srv.(VipServer).WelfareReceive(ctx, req.(*WelfareReceiveReq))
  2321. }
  2322. return interceptor(ctx, in, info, handler)
  2323. }
  2324. func _Vip_MyWelfare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2325. in := new(MyWelfareReq)
  2326. if err := dec(in); err != nil {
  2327. return nil, err
  2328. }
  2329. if interceptor == nil {
  2330. return srv.(VipServer).MyWelfare(ctx, in)
  2331. }
  2332. info := &grpc.UnaryServerInfo{
  2333. Server: srv,
  2334. FullMethod: "/account.vip.Vip/MyWelfare",
  2335. }
  2336. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2337. return srv.(VipServer).MyWelfare(ctx, req.(*MyWelfareReq))
  2338. }
  2339. return interceptor(ctx, in, info, handler)
  2340. }
  2341. var _Vip_serviceDesc = grpc.ServiceDesc{
  2342. ServiceName: "account.vip.Vip",
  2343. HandlerType: (*VipServer)(nil),
  2344. Methods: []grpc.MethodDesc{
  2345. {
  2346. MethodName: "RegisterOpenID",
  2347. Handler: _Vip_RegisterOpenID_Handler,
  2348. },
  2349. {
  2350. MethodName: "OpenBindByOutOpenID",
  2351. Handler: _Vip_OpenBindByOutOpenID_Handler,
  2352. },
  2353. {
  2354. MethodName: "UserInfoByOpenID",
  2355. Handler: _Vip_UserInfoByOpenID_Handler,
  2356. },
  2357. {
  2358. MethodName: "BindInfoByMid",
  2359. Handler: _Vip_BindInfoByMid_Handler,
  2360. },
  2361. {
  2362. MethodName: "BilibiliPrizeGrant",
  2363. Handler: _Vip_BilibiliPrizeGrant_Handler,
  2364. },
  2365. {
  2366. MethodName: "BilibiliVipGrant",
  2367. Handler: _Vip_BilibiliVipGrant_Handler,
  2368. },
  2369. {
  2370. MethodName: "CreateAssociateOrder",
  2371. Handler: _Vip_CreateAssociateOrder_Handler,
  2372. },
  2373. {
  2374. MethodName: "AssociatePanel",
  2375. Handler: _Vip_AssociatePanel_Handler,
  2376. },
  2377. {
  2378. MethodName: "OpenAuthCallBack",
  2379. Handler: _Vip_OpenAuthCallBack_Handler,
  2380. },
  2381. {
  2382. MethodName: "EleRedPackages",
  2383. Handler: _Vip_EleRedPackages_Handler,
  2384. },
  2385. {
  2386. MethodName: "EleSpecailFoods",
  2387. Handler: _Vip_EleSpecailFoods_Handler,
  2388. },
  2389. {
  2390. MethodName: "EleVipGrant",
  2391. Handler: _Vip_EleVipGrant_Handler,
  2392. },
  2393. {
  2394. MethodName: "VipUserPanel",
  2395. Handler: _Vip_VipUserPanel_Handler,
  2396. },
  2397. {
  2398. MethodName: "CouponBySuitID",
  2399. Handler: _Vip_CouponBySuitID_Handler,
  2400. },
  2401. {
  2402. MethodName: "WelfareList",
  2403. Handler: _Vip_WelfareList_Handler,
  2404. },
  2405. {
  2406. MethodName: "WelfareTypeList",
  2407. Handler: _Vip_WelfareTypeList_Handler,
  2408. },
  2409. {
  2410. MethodName: "WelfareInfo",
  2411. Handler: _Vip_WelfareInfo_Handler,
  2412. },
  2413. {
  2414. MethodName: "WelfareReceive",
  2415. Handler: _Vip_WelfareReceive_Handler,
  2416. },
  2417. {
  2418. MethodName: "MyWelfare",
  2419. Handler: _Vip_MyWelfare_Handler,
  2420. },
  2421. },
  2422. Streams: []grpc.StreamDesc{},
  2423. Metadata: "app/service/main/vip/api/api.proto",
  2424. }
  2425. func (m *RegisterOpenIDReq) Marshal() (dAtA []byte, err error) {
  2426. size := m.Size()
  2427. dAtA = make([]byte, size)
  2428. n, err := m.MarshalTo(dAtA)
  2429. if err != nil {
  2430. return nil, err
  2431. }
  2432. return dAtA[:n], nil
  2433. }
  2434. func (m *RegisterOpenIDReq) MarshalTo(dAtA []byte) (int, error) {
  2435. var i int
  2436. _ = i
  2437. var l int
  2438. _ = l
  2439. if m.Mid != 0 {
  2440. dAtA[i] = 0x8
  2441. i++
  2442. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2443. }
  2444. if m.AppId != 0 {
  2445. dAtA[i] = 0x10
  2446. i++
  2447. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2448. }
  2449. return i, nil
  2450. }
  2451. func (m *RegisterOpenIDReply) Marshal() (dAtA []byte, err error) {
  2452. size := m.Size()
  2453. dAtA = make([]byte, size)
  2454. n, err := m.MarshalTo(dAtA)
  2455. if err != nil {
  2456. return nil, err
  2457. }
  2458. return dAtA[:n], nil
  2459. }
  2460. func (m *RegisterOpenIDReply) MarshalTo(dAtA []byte) (int, error) {
  2461. var i int
  2462. _ = i
  2463. var l int
  2464. _ = l
  2465. if len(m.OpenId) > 0 {
  2466. dAtA[i] = 0xa
  2467. i++
  2468. i = encodeVarintApi(dAtA, i, uint64(len(m.OpenId)))
  2469. i += copy(dAtA[i:], m.OpenId)
  2470. }
  2471. return i, nil
  2472. }
  2473. func (m *OpenBindByOutOpenIDReq) Marshal() (dAtA []byte, err error) {
  2474. size := m.Size()
  2475. dAtA = make([]byte, size)
  2476. n, err := m.MarshalTo(dAtA)
  2477. if err != nil {
  2478. return nil, err
  2479. }
  2480. return dAtA[:n], nil
  2481. }
  2482. func (m *OpenBindByOutOpenIDReq) MarshalTo(dAtA []byte) (int, error) {
  2483. var i int
  2484. _ = i
  2485. var l int
  2486. _ = l
  2487. if len(m.OpenId) > 0 {
  2488. dAtA[i] = 0xa
  2489. i++
  2490. i = encodeVarintApi(dAtA, i, uint64(len(m.OpenId)))
  2491. i += copy(dAtA[i:], m.OpenId)
  2492. }
  2493. if len(m.OutOpenId) > 0 {
  2494. dAtA[i] = 0x12
  2495. i++
  2496. i = encodeVarintApi(dAtA, i, uint64(len(m.OutOpenId)))
  2497. i += copy(dAtA[i:], m.OutOpenId)
  2498. }
  2499. if m.AppId != 0 {
  2500. dAtA[i] = 0x18
  2501. i++
  2502. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2503. }
  2504. return i, nil
  2505. }
  2506. func (m *OpenBindByOutOpenIDReply) Marshal() (dAtA []byte, err error) {
  2507. size := m.Size()
  2508. dAtA = make([]byte, size)
  2509. n, err := m.MarshalTo(dAtA)
  2510. if err != nil {
  2511. return nil, err
  2512. }
  2513. return dAtA[:n], nil
  2514. }
  2515. func (m *OpenBindByOutOpenIDReply) MarshalTo(dAtA []byte) (int, error) {
  2516. var i int
  2517. _ = i
  2518. var l int
  2519. _ = l
  2520. return i, nil
  2521. }
  2522. func (m *UserInfoByOpenIDReq) Marshal() (dAtA []byte, err error) {
  2523. size := m.Size()
  2524. dAtA = make([]byte, size)
  2525. n, err := m.MarshalTo(dAtA)
  2526. if err != nil {
  2527. return nil, err
  2528. }
  2529. return dAtA[:n], nil
  2530. }
  2531. func (m *UserInfoByOpenIDReq) MarshalTo(dAtA []byte) (int, error) {
  2532. var i int
  2533. _ = i
  2534. var l int
  2535. _ = l
  2536. if len(m.Ip) > 0 {
  2537. dAtA[i] = 0xa
  2538. i++
  2539. i = encodeVarintApi(dAtA, i, uint64(len(m.Ip)))
  2540. i += copy(dAtA[i:], m.Ip)
  2541. }
  2542. if len(m.OpenId) > 0 {
  2543. dAtA[i] = 0x12
  2544. i++
  2545. i = encodeVarintApi(dAtA, i, uint64(len(m.OpenId)))
  2546. i += copy(dAtA[i:], m.OpenId)
  2547. }
  2548. if m.AppId != 0 {
  2549. dAtA[i] = 0x18
  2550. i++
  2551. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2552. }
  2553. return i, nil
  2554. }
  2555. func (m *UserInfoByOpenIDReply) Marshal() (dAtA []byte, err error) {
  2556. size := m.Size()
  2557. dAtA = make([]byte, size)
  2558. n, err := m.MarshalTo(dAtA)
  2559. if err != nil {
  2560. return nil, err
  2561. }
  2562. return dAtA[:n], nil
  2563. }
  2564. func (m *UserInfoByOpenIDReply) MarshalTo(dAtA []byte) (int, error) {
  2565. var i int
  2566. _ = i
  2567. var l int
  2568. _ = l
  2569. if len(m.Name) > 0 {
  2570. dAtA[i] = 0xa
  2571. i++
  2572. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  2573. i += copy(dAtA[i:], m.Name)
  2574. }
  2575. if m.BindState != 0 {
  2576. dAtA[i] = 0x10
  2577. i++
  2578. i = encodeVarintApi(dAtA, i, uint64(m.BindState))
  2579. }
  2580. if len(m.OutOpenId) > 0 {
  2581. dAtA[i] = 0x1a
  2582. i++
  2583. i = encodeVarintApi(dAtA, i, uint64(len(m.OutOpenId)))
  2584. i += copy(dAtA[i:], m.OutOpenId)
  2585. }
  2586. return i, nil
  2587. }
  2588. func (m *BindInfoByMidReq) Marshal() (dAtA []byte, err error) {
  2589. size := m.Size()
  2590. dAtA = make([]byte, size)
  2591. n, err := m.MarshalTo(dAtA)
  2592. if err != nil {
  2593. return nil, err
  2594. }
  2595. return dAtA[:n], nil
  2596. }
  2597. func (m *BindInfoByMidReq) MarshalTo(dAtA []byte) (int, error) {
  2598. var i int
  2599. _ = i
  2600. var l int
  2601. _ = l
  2602. if m.Mid != 0 {
  2603. dAtA[i] = 0x8
  2604. i++
  2605. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2606. }
  2607. if m.AppId != 0 {
  2608. dAtA[i] = 0x10
  2609. i++
  2610. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2611. }
  2612. return i, nil
  2613. }
  2614. func (m *BindInfoByMidReply) Marshal() (dAtA []byte, err error) {
  2615. size := m.Size()
  2616. dAtA = make([]byte, size)
  2617. n, err := m.MarshalTo(dAtA)
  2618. if err != nil {
  2619. return nil, err
  2620. }
  2621. return dAtA[:n], nil
  2622. }
  2623. func (m *BindInfoByMidReply) MarshalTo(dAtA []byte) (int, error) {
  2624. var i int
  2625. _ = i
  2626. var l int
  2627. _ = l
  2628. if m.Account != nil {
  2629. dAtA[i] = 0xa
  2630. i++
  2631. i = encodeVarintApi(dAtA, i, uint64(m.Account.Size()))
  2632. n1, err := m.Account.MarshalTo(dAtA[i:])
  2633. if err != nil {
  2634. return 0, err
  2635. }
  2636. i += n1
  2637. }
  2638. if m.Outer != nil {
  2639. dAtA[i] = 0x12
  2640. i++
  2641. i = encodeVarintApi(dAtA, i, uint64(m.Outer.Size()))
  2642. n2, err := m.Outer.MarshalTo(dAtA[i:])
  2643. if err != nil {
  2644. return 0, err
  2645. }
  2646. i += n2
  2647. }
  2648. return i, nil
  2649. }
  2650. func (m *Account) Marshal() (dAtA []byte, err error) {
  2651. size := m.Size()
  2652. dAtA = make([]byte, size)
  2653. n, err := m.MarshalTo(dAtA)
  2654. if err != nil {
  2655. return nil, err
  2656. }
  2657. return dAtA[:n], nil
  2658. }
  2659. func (m *Account) MarshalTo(dAtA []byte) (int, error) {
  2660. var i int
  2661. _ = i
  2662. var l int
  2663. _ = l
  2664. if m.Mid != 0 {
  2665. dAtA[i] = 0x8
  2666. i++
  2667. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2668. }
  2669. if len(m.Name) > 0 {
  2670. dAtA[i] = 0x12
  2671. i++
  2672. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  2673. i += copy(dAtA[i:], m.Name)
  2674. }
  2675. if len(m.Face) > 0 {
  2676. dAtA[i] = 0x1a
  2677. i++
  2678. i = encodeVarintApi(dAtA, i, uint64(len(m.Face)))
  2679. i += copy(dAtA[i:], m.Face)
  2680. }
  2681. return i, nil
  2682. }
  2683. func (m *BindOuter) Marshal() (dAtA []byte, err error) {
  2684. size := m.Size()
  2685. dAtA = make([]byte, size)
  2686. n, err := m.MarshalTo(dAtA)
  2687. if err != nil {
  2688. return nil, err
  2689. }
  2690. return dAtA[:n], nil
  2691. }
  2692. func (m *BindOuter) MarshalTo(dAtA []byte) (int, error) {
  2693. var i int
  2694. _ = i
  2695. var l int
  2696. _ = l
  2697. if len(m.Tel) > 0 {
  2698. dAtA[i] = 0xa
  2699. i++
  2700. i = encodeVarintApi(dAtA, i, uint64(len(m.Tel)))
  2701. i += copy(dAtA[i:], m.Tel)
  2702. }
  2703. if m.BindState != 0 {
  2704. dAtA[i] = 0x10
  2705. i++
  2706. i = encodeVarintApi(dAtA, i, uint64(m.BindState))
  2707. }
  2708. return i, nil
  2709. }
  2710. func (m *BilibiliPrizeGrantReq) Marshal() (dAtA []byte, err error) {
  2711. size := m.Size()
  2712. dAtA = make([]byte, size)
  2713. n, err := m.MarshalTo(dAtA)
  2714. if err != nil {
  2715. return nil, err
  2716. }
  2717. return dAtA[:n], nil
  2718. }
  2719. func (m *BilibiliPrizeGrantReq) MarshalTo(dAtA []byte) (int, error) {
  2720. var i int
  2721. _ = i
  2722. var l int
  2723. _ = l
  2724. if len(m.PrizeKey) > 0 {
  2725. dAtA[i] = 0xa
  2726. i++
  2727. i = encodeVarintApi(dAtA, i, uint64(len(m.PrizeKey)))
  2728. i += copy(dAtA[i:], m.PrizeKey)
  2729. }
  2730. if len(m.UniqueNo) > 0 {
  2731. dAtA[i] = 0x12
  2732. i++
  2733. i = encodeVarintApi(dAtA, i, uint64(len(m.UniqueNo)))
  2734. i += copy(dAtA[i:], m.UniqueNo)
  2735. }
  2736. if len(m.OpenId) > 0 {
  2737. dAtA[i] = 0x1a
  2738. i++
  2739. i = encodeVarintApi(dAtA, i, uint64(len(m.OpenId)))
  2740. i += copy(dAtA[i:], m.OpenId)
  2741. }
  2742. if m.AppId != 0 {
  2743. dAtA[i] = 0x20
  2744. i++
  2745. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2746. }
  2747. return i, nil
  2748. }
  2749. func (m *BilibiliPrizeGrantReply) Marshal() (dAtA []byte, err error) {
  2750. size := m.Size()
  2751. dAtA = make([]byte, size)
  2752. n, err := m.MarshalTo(dAtA)
  2753. if err != nil {
  2754. return nil, err
  2755. }
  2756. return dAtA[:n], nil
  2757. }
  2758. func (m *BilibiliPrizeGrantReply) MarshalTo(dAtA []byte) (int, error) {
  2759. var i int
  2760. _ = i
  2761. var l int
  2762. _ = l
  2763. if m.Amount != 0 {
  2764. dAtA[i] = 0x9
  2765. i++
  2766. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Amount))))
  2767. i += 8
  2768. }
  2769. if m.FullAmount != 0 {
  2770. dAtA[i] = 0x11
  2771. i++
  2772. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FullAmount))))
  2773. i += 8
  2774. }
  2775. if len(m.Description) > 0 {
  2776. dAtA[i] = 0x1a
  2777. i++
  2778. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  2779. i += copy(dAtA[i:], m.Description)
  2780. }
  2781. return i, nil
  2782. }
  2783. func (m *BilibiliVipGrantReq) Marshal() (dAtA []byte, err error) {
  2784. size := m.Size()
  2785. dAtA = make([]byte, size)
  2786. n, err := m.MarshalTo(dAtA)
  2787. if err != nil {
  2788. return nil, err
  2789. }
  2790. return dAtA[:n], nil
  2791. }
  2792. func (m *BilibiliVipGrantReq) MarshalTo(dAtA []byte) (int, error) {
  2793. var i int
  2794. _ = i
  2795. var l int
  2796. _ = l
  2797. if len(m.OpenId) > 0 {
  2798. dAtA[i] = 0xa
  2799. i++
  2800. i = encodeVarintApi(dAtA, i, uint64(len(m.OpenId)))
  2801. i += copy(dAtA[i:], m.OpenId)
  2802. }
  2803. if len(m.OutOpenId) > 0 {
  2804. dAtA[i] = 0x12
  2805. i++
  2806. i = encodeVarintApi(dAtA, i, uint64(len(m.OutOpenId)))
  2807. i += copy(dAtA[i:], m.OutOpenId)
  2808. }
  2809. if len(m.OutOrderNo) > 0 {
  2810. dAtA[i] = 0x1a
  2811. i++
  2812. i = encodeVarintApi(dAtA, i, uint64(len(m.OutOrderNo)))
  2813. i += copy(dAtA[i:], m.OutOrderNo)
  2814. }
  2815. if m.Duration != 0 {
  2816. dAtA[i] = 0x20
  2817. i++
  2818. i = encodeVarintApi(dAtA, i, uint64(m.Duration))
  2819. }
  2820. if m.AppId != 0 {
  2821. dAtA[i] = 0x28
  2822. i++
  2823. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2824. }
  2825. return i, nil
  2826. }
  2827. func (m *BilibiliVipGrantReply) Marshal() (dAtA []byte, err error) {
  2828. size := m.Size()
  2829. dAtA = make([]byte, size)
  2830. n, err := m.MarshalTo(dAtA)
  2831. if err != nil {
  2832. return nil, err
  2833. }
  2834. return dAtA[:n], nil
  2835. }
  2836. func (m *BilibiliVipGrantReply) MarshalTo(dAtA []byte) (int, error) {
  2837. var i int
  2838. _ = i
  2839. var l int
  2840. _ = l
  2841. return i, nil
  2842. }
  2843. func (m *CreateAssociateOrderReq) Marshal() (dAtA []byte, err error) {
  2844. size := m.Size()
  2845. dAtA = make([]byte, size)
  2846. n, err := m.MarshalTo(dAtA)
  2847. if err != nil {
  2848. return nil, err
  2849. }
  2850. return dAtA[:n], nil
  2851. }
  2852. func (m *CreateAssociateOrderReq) MarshalTo(dAtA []byte) (int, error) {
  2853. var i int
  2854. _ = i
  2855. var l int
  2856. _ = l
  2857. if m.Mid != 0 {
  2858. dAtA[i] = 0x8
  2859. i++
  2860. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2861. }
  2862. if m.Month != 0 {
  2863. dAtA[i] = 0x10
  2864. i++
  2865. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  2866. }
  2867. if len(m.Platform) > 0 {
  2868. dAtA[i] = 0x1a
  2869. i++
  2870. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2871. i += copy(dAtA[i:], m.Platform)
  2872. }
  2873. if len(m.MobiApp) > 0 {
  2874. dAtA[i] = 0x22
  2875. i++
  2876. i = encodeVarintApi(dAtA, i, uint64(len(m.MobiApp)))
  2877. i += copy(dAtA[i:], m.MobiApp)
  2878. }
  2879. if len(m.Device) > 0 {
  2880. dAtA[i] = 0x2a
  2881. i++
  2882. i = encodeVarintApi(dAtA, i, uint64(len(m.Device)))
  2883. i += copy(dAtA[i:], m.Device)
  2884. }
  2885. if m.AppId != 0 {
  2886. dAtA[i] = 0x30
  2887. i++
  2888. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  2889. }
  2890. if len(m.AppSubId) > 0 {
  2891. dAtA[i] = 0x3a
  2892. i++
  2893. i = encodeVarintApi(dAtA, i, uint64(len(m.AppSubId)))
  2894. i += copy(dAtA[i:], m.AppSubId)
  2895. }
  2896. if m.OrderType != 0 {
  2897. dAtA[i] = 0x40
  2898. i++
  2899. i = encodeVarintApi(dAtA, i, uint64(m.OrderType))
  2900. }
  2901. if m.Dtype != 0 {
  2902. dAtA[i] = 0x48
  2903. i++
  2904. i = encodeVarintApi(dAtA, i, uint64(m.Dtype))
  2905. }
  2906. if len(m.ReturnUrl) > 0 {
  2907. dAtA[i] = 0x52
  2908. i++
  2909. i = encodeVarintApi(dAtA, i, uint64(len(m.ReturnUrl)))
  2910. i += copy(dAtA[i:], m.ReturnUrl)
  2911. }
  2912. if len(m.CouponToken) > 0 {
  2913. dAtA[i] = 0x5a
  2914. i++
  2915. i = encodeVarintApi(dAtA, i, uint64(len(m.CouponToken)))
  2916. i += copy(dAtA[i:], m.CouponToken)
  2917. }
  2918. if m.Bmid != 0 {
  2919. dAtA[i] = 0x60
  2920. i++
  2921. i = encodeVarintApi(dAtA, i, uint64(m.Bmid))
  2922. }
  2923. if len(m.PanelType) > 0 {
  2924. dAtA[i] = 0x6a
  2925. i++
  2926. i = encodeVarintApi(dAtA, i, uint64(len(m.PanelType)))
  2927. i += copy(dAtA[i:], m.PanelType)
  2928. }
  2929. if m.Build != 0 {
  2930. dAtA[i] = 0x70
  2931. i++
  2932. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  2933. }
  2934. if len(m.IP) > 0 {
  2935. dAtA[i] = 0x7a
  2936. i++
  2937. i = encodeVarintApi(dAtA, i, uint64(len(m.IP)))
  2938. i += copy(dAtA[i:], m.IP)
  2939. }
  2940. return i, nil
  2941. }
  2942. func (m *CreateAssociateOrderReply) Marshal() (dAtA []byte, err error) {
  2943. size := m.Size()
  2944. dAtA = make([]byte, size)
  2945. n, err := m.MarshalTo(dAtA)
  2946. if err != nil {
  2947. return nil, err
  2948. }
  2949. return dAtA[:n], nil
  2950. }
  2951. func (m *CreateAssociateOrderReply) MarshalTo(dAtA []byte) (int, error) {
  2952. var i int
  2953. _ = i
  2954. var l int
  2955. _ = l
  2956. if len(m.PayParam) > 0 {
  2957. dAtA[i] = 0xa
  2958. i++
  2959. i = encodeVarintApi(dAtA, i, uint64(len(m.PayParam)))
  2960. i += copy(dAtA[i:], m.PayParam)
  2961. }
  2962. if m.Dprice != 0 {
  2963. dAtA[i] = 0x11
  2964. i++
  2965. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Dprice))))
  2966. i += 8
  2967. }
  2968. if m.Oprice != 0 {
  2969. dAtA[i] = 0x19
  2970. i++
  2971. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Oprice))))
  2972. i += 8
  2973. }
  2974. if m.CouponMoney != 0 {
  2975. dAtA[i] = 0x21
  2976. i++
  2977. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CouponMoney))))
  2978. i += 8
  2979. }
  2980. return i, nil
  2981. }
  2982. func (m *AssociatePanelReq) Marshal() (dAtA []byte, err error) {
  2983. size := m.Size()
  2984. dAtA = make([]byte, size)
  2985. n, err := m.MarshalTo(dAtA)
  2986. if err != nil {
  2987. return nil, err
  2988. }
  2989. return dAtA[:n], nil
  2990. }
  2991. func (m *AssociatePanelReq) MarshalTo(dAtA []byte) (int, error) {
  2992. var i int
  2993. _ = i
  2994. var l int
  2995. _ = l
  2996. if m.Mid != 0 {
  2997. dAtA[i] = 0x8
  2998. i++
  2999. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3000. }
  3001. if m.SortTp != 0 {
  3002. dAtA[i] = 0x10
  3003. i++
  3004. i = encodeVarintApi(dAtA, i, uint64(m.SortTp))
  3005. }
  3006. if len(m.IP) > 0 {
  3007. dAtA[i] = 0x1a
  3008. i++
  3009. i = encodeVarintApi(dAtA, i, uint64(len(m.IP)))
  3010. i += copy(dAtA[i:], m.IP)
  3011. }
  3012. if len(m.MobiApp) > 0 {
  3013. dAtA[i] = 0x22
  3014. i++
  3015. i = encodeVarintApi(dAtA, i, uint64(len(m.MobiApp)))
  3016. i += copy(dAtA[i:], m.MobiApp)
  3017. }
  3018. if len(m.Device) > 0 {
  3019. dAtA[i] = 0x2a
  3020. i++
  3021. i = encodeVarintApi(dAtA, i, uint64(len(m.Device)))
  3022. i += copy(dAtA[i:], m.Device)
  3023. }
  3024. if len(m.Platform) > 0 {
  3025. dAtA[i] = 0x32
  3026. i++
  3027. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  3028. i += copy(dAtA[i:], m.Platform)
  3029. }
  3030. if m.Plat != 0 {
  3031. dAtA[i] = 0x38
  3032. i++
  3033. i = encodeVarintApi(dAtA, i, uint64(m.Plat))
  3034. }
  3035. if len(m.PanelType) > 0 {
  3036. dAtA[i] = 0x42
  3037. i++
  3038. i = encodeVarintApi(dAtA, i, uint64(len(m.PanelType)))
  3039. i += copy(dAtA[i:], m.PanelType)
  3040. }
  3041. if m.SubType != 0 {
  3042. dAtA[i] = 0x48
  3043. i++
  3044. i = encodeVarintApi(dAtA, i, uint64(m.SubType))
  3045. }
  3046. if m.Month != 0 {
  3047. dAtA[i] = 0x50
  3048. i++
  3049. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  3050. }
  3051. if m.Build != 0 {
  3052. dAtA[i] = 0x58
  3053. i++
  3054. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  3055. }
  3056. return i, nil
  3057. }
  3058. func (m *AssociatePanelReply) Marshal() (dAtA []byte, err error) {
  3059. size := m.Size()
  3060. dAtA = make([]byte, size)
  3061. n, err := m.MarshalTo(dAtA)
  3062. if err != nil {
  3063. return nil, err
  3064. }
  3065. return dAtA[:n], nil
  3066. }
  3067. func (m *AssociatePanelReply) MarshalTo(dAtA []byte) (int, error) {
  3068. var i int
  3069. _ = i
  3070. var l int
  3071. _ = l
  3072. if len(m.List) > 0 {
  3073. for _, msg := range m.List {
  3074. dAtA[i] = 0xa
  3075. i++
  3076. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3077. n, err := msg.MarshalTo(dAtA[i:])
  3078. if err != nil {
  3079. return 0, err
  3080. }
  3081. i += n
  3082. }
  3083. }
  3084. return i, nil
  3085. }
  3086. func (m *AssociatePanelInfo) Marshal() (dAtA []byte, err error) {
  3087. size := m.Size()
  3088. dAtA = make([]byte, size)
  3089. n, err := m.MarshalTo(dAtA)
  3090. if err != nil {
  3091. return nil, err
  3092. }
  3093. return dAtA[:n], nil
  3094. }
  3095. func (m *AssociatePanelInfo) MarshalTo(dAtA []byte) (int, error) {
  3096. var i int
  3097. _ = i
  3098. var l int
  3099. _ = l
  3100. if m.Id != 0 {
  3101. dAtA[i] = 0x8
  3102. i++
  3103. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  3104. }
  3105. if m.Month != 0 {
  3106. dAtA[i] = 0x10
  3107. i++
  3108. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  3109. }
  3110. if len(m.ProductName) > 0 {
  3111. dAtA[i] = 0x1a
  3112. i++
  3113. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductName)))
  3114. i += copy(dAtA[i:], m.ProductName)
  3115. }
  3116. if len(m.ProductId) > 0 {
  3117. dAtA[i] = 0x22
  3118. i++
  3119. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductId)))
  3120. i += copy(dAtA[i:], m.ProductId)
  3121. }
  3122. if m.SubType != 0 {
  3123. dAtA[i] = 0x28
  3124. i++
  3125. i = encodeVarintApi(dAtA, i, uint64(m.SubType))
  3126. }
  3127. if m.SuitType != 0 {
  3128. dAtA[i] = 0x30
  3129. i++
  3130. i = encodeVarintApi(dAtA, i, uint64(m.SuitType))
  3131. }
  3132. if m.OriginalPrice != 0 {
  3133. dAtA[i] = 0x39
  3134. i++
  3135. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.OriginalPrice))))
  3136. i += 8
  3137. }
  3138. if m.DiscountPrice != 0 {
  3139. dAtA[i] = 0x41
  3140. i++
  3141. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DiscountPrice))))
  3142. i += 8
  3143. }
  3144. if len(m.DiscountRate) > 0 {
  3145. dAtA[i] = 0x4a
  3146. i++
  3147. i = encodeVarintApi(dAtA, i, uint64(len(m.DiscountRate)))
  3148. i += copy(dAtA[i:], m.DiscountRate)
  3149. }
  3150. if len(m.Remark) > 0 {
  3151. dAtA[i] = 0x52
  3152. i++
  3153. i = encodeVarintApi(dAtA, i, uint64(len(m.Remark)))
  3154. i += copy(dAtA[i:], m.Remark)
  3155. }
  3156. if m.Selected != 0 {
  3157. dAtA[i] = 0x58
  3158. i++
  3159. i = encodeVarintApi(dAtA, i, uint64(m.Selected))
  3160. }
  3161. if m.PayState != 0 {
  3162. dAtA[i] = 0x60
  3163. i++
  3164. i = encodeVarintApi(dAtA, i, uint64(m.PayState))
  3165. }
  3166. if len(m.PayMessage) > 0 {
  3167. dAtA[i] = 0x6a
  3168. i++
  3169. i = encodeVarintApi(dAtA, i, uint64(len(m.PayMessage)))
  3170. i += copy(dAtA[i:], m.PayMessage)
  3171. }
  3172. return i, nil
  3173. }
  3174. func (m *OpenAuthCallBackReq) Marshal() (dAtA []byte, err error) {
  3175. size := m.Size()
  3176. dAtA = make([]byte, size)
  3177. n, err := m.MarshalTo(dAtA)
  3178. if err != nil {
  3179. return nil, err
  3180. }
  3181. return dAtA[:n], nil
  3182. }
  3183. func (m *OpenAuthCallBackReq) MarshalTo(dAtA []byte) (int, error) {
  3184. var i int
  3185. _ = i
  3186. var l int
  3187. _ = l
  3188. if m.Mid != 0 {
  3189. dAtA[i] = 0x8
  3190. i++
  3191. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3192. }
  3193. if len(m.ThirdCode) > 0 {
  3194. dAtA[i] = 0x12
  3195. i++
  3196. i = encodeVarintApi(dAtA, i, uint64(len(m.ThirdCode)))
  3197. i += copy(dAtA[i:], m.ThirdCode)
  3198. }
  3199. if m.AppId != 0 {
  3200. dAtA[i] = 0x18
  3201. i++
  3202. i = encodeVarintApi(dAtA, i, uint64(m.AppId))
  3203. }
  3204. return i, nil
  3205. }
  3206. func (m *OpenAuthCallBackReply) Marshal() (dAtA []byte, err error) {
  3207. size := m.Size()
  3208. dAtA = make([]byte, size)
  3209. n, err := m.MarshalTo(dAtA)
  3210. if err != nil {
  3211. return nil, err
  3212. }
  3213. return dAtA[:n], nil
  3214. }
  3215. func (m *OpenAuthCallBackReply) MarshalTo(dAtA []byte) (int, error) {
  3216. var i int
  3217. _ = i
  3218. var l int
  3219. _ = l
  3220. return i, nil
  3221. }
  3222. func (m *EleRedPackagesReq) Marshal() (dAtA []byte, err error) {
  3223. size := m.Size()
  3224. dAtA = make([]byte, size)
  3225. n, err := m.MarshalTo(dAtA)
  3226. if err != nil {
  3227. return nil, err
  3228. }
  3229. return dAtA[:n], nil
  3230. }
  3231. func (m *EleRedPackagesReq) MarshalTo(dAtA []byte) (int, error) {
  3232. var i int
  3233. _ = i
  3234. var l int
  3235. _ = l
  3236. return i, nil
  3237. }
  3238. func (m *EleRedPackagesReply) Marshal() (dAtA []byte, err error) {
  3239. size := m.Size()
  3240. dAtA = make([]byte, size)
  3241. n, err := m.MarshalTo(dAtA)
  3242. if err != nil {
  3243. return nil, err
  3244. }
  3245. return dAtA[:n], nil
  3246. }
  3247. func (m *EleRedPackagesReply) MarshalTo(dAtA []byte) (int, error) {
  3248. var i int
  3249. _ = i
  3250. var l int
  3251. _ = l
  3252. if len(m.List) > 0 {
  3253. for _, msg := range m.List {
  3254. dAtA[i] = 0xa
  3255. i++
  3256. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3257. n, err := msg.MarshalTo(dAtA[i:])
  3258. if err != nil {
  3259. return 0, err
  3260. }
  3261. i += n
  3262. }
  3263. }
  3264. return i, nil
  3265. }
  3266. func (m *ModelEleRedPackage) Marshal() (dAtA []byte, err error) {
  3267. size := m.Size()
  3268. dAtA = make([]byte, size)
  3269. n, err := m.MarshalTo(dAtA)
  3270. if err != nil {
  3271. return nil, err
  3272. }
  3273. return dAtA[:n], nil
  3274. }
  3275. func (m *ModelEleRedPackage) MarshalTo(dAtA []byte) (int, error) {
  3276. var i int
  3277. _ = i
  3278. var l int
  3279. _ = l
  3280. if len(m.Name) > 0 {
  3281. dAtA[i] = 0xa
  3282. i++
  3283. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  3284. i += copy(dAtA[i:], m.Name)
  3285. }
  3286. if m.Amount != 0 {
  3287. dAtA[i] = 0x11
  3288. i++
  3289. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Amount))))
  3290. i += 8
  3291. }
  3292. if m.SumCondition != 0 {
  3293. dAtA[i] = 0x19
  3294. i++
  3295. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.SumCondition))))
  3296. i += 8
  3297. }
  3298. return i, nil
  3299. }
  3300. func (m *EleSpecailFoodsReq) Marshal() (dAtA []byte, err error) {
  3301. size := m.Size()
  3302. dAtA = make([]byte, size)
  3303. n, err := m.MarshalTo(dAtA)
  3304. if err != nil {
  3305. return nil, err
  3306. }
  3307. return dAtA[:n], nil
  3308. }
  3309. func (m *EleSpecailFoodsReq) MarshalTo(dAtA []byte) (int, error) {
  3310. var i int
  3311. _ = i
  3312. var l int
  3313. _ = l
  3314. return i, nil
  3315. }
  3316. func (m *EleSpecailFoodsReply) Marshal() (dAtA []byte, err error) {
  3317. size := m.Size()
  3318. dAtA = make([]byte, size)
  3319. n, err := m.MarshalTo(dAtA)
  3320. if err != nil {
  3321. return nil, err
  3322. }
  3323. return dAtA[:n], nil
  3324. }
  3325. func (m *EleSpecailFoodsReply) MarshalTo(dAtA []byte) (int, error) {
  3326. var i int
  3327. _ = i
  3328. var l int
  3329. _ = l
  3330. if len(m.List) > 0 {
  3331. for _, msg := range m.List {
  3332. dAtA[i] = 0xa
  3333. i++
  3334. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3335. n, err := msg.MarshalTo(dAtA[i:])
  3336. if err != nil {
  3337. return 0, err
  3338. }
  3339. i += n
  3340. }
  3341. }
  3342. return i, nil
  3343. }
  3344. func (m *ModelEleSpecailFoods) Marshal() (dAtA []byte, err error) {
  3345. size := m.Size()
  3346. dAtA = make([]byte, size)
  3347. n, err := m.MarshalTo(dAtA)
  3348. if err != nil {
  3349. return nil, err
  3350. }
  3351. return dAtA[:n], nil
  3352. }
  3353. func (m *ModelEleSpecailFoods) MarshalTo(dAtA []byte) (int, error) {
  3354. var i int
  3355. _ = i
  3356. var l int
  3357. _ = l
  3358. if len(m.RestaurantName) > 0 {
  3359. dAtA[i] = 0xa
  3360. i++
  3361. i = encodeVarintApi(dAtA, i, uint64(len(m.RestaurantName)))
  3362. i += copy(dAtA[i:], m.RestaurantName)
  3363. }
  3364. if len(m.FoodName) > 0 {
  3365. dAtA[i] = 0x12
  3366. i++
  3367. i = encodeVarintApi(dAtA, i, uint64(len(m.FoodName)))
  3368. i += copy(dAtA[i:], m.FoodName)
  3369. }
  3370. if len(m.FoodUrl) > 0 {
  3371. dAtA[i] = 0x1a
  3372. i++
  3373. i = encodeVarintApi(dAtA, i, uint64(len(m.FoodUrl)))
  3374. i += copy(dAtA[i:], m.FoodUrl)
  3375. }
  3376. if m.Discount != 0 {
  3377. dAtA[i] = 0x21
  3378. i++
  3379. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Discount))))
  3380. i += 8
  3381. }
  3382. if m.Amount != 0 {
  3383. dAtA[i] = 0x29
  3384. i++
  3385. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Amount))))
  3386. i += 8
  3387. }
  3388. if m.OriginalAmount != 0 {
  3389. dAtA[i] = 0x31
  3390. i++
  3391. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.OriginalAmount))))
  3392. i += 8
  3393. }
  3394. if m.RatingPoint != 0 {
  3395. dAtA[i] = 0x39
  3396. i++
  3397. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.RatingPoint))))
  3398. i += 8
  3399. }
  3400. return i, nil
  3401. }
  3402. func (m *EleVipGrantReq) Marshal() (dAtA []byte, err error) {
  3403. size := m.Size()
  3404. dAtA = make([]byte, size)
  3405. n, err := m.MarshalTo(dAtA)
  3406. if err != nil {
  3407. return nil, err
  3408. }
  3409. return dAtA[:n], nil
  3410. }
  3411. func (m *EleVipGrantReq) MarshalTo(dAtA []byte) (int, error) {
  3412. var i int
  3413. _ = i
  3414. var l int
  3415. _ = l
  3416. if len(m.OrderNo) > 0 {
  3417. dAtA[i] = 0xa
  3418. i++
  3419. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  3420. i += copy(dAtA[i:], m.OrderNo)
  3421. }
  3422. return i, nil
  3423. }
  3424. func (m *EleVipGrantReply) Marshal() (dAtA []byte, err error) {
  3425. size := m.Size()
  3426. dAtA = make([]byte, size)
  3427. n, err := m.MarshalTo(dAtA)
  3428. if err != nil {
  3429. return nil, err
  3430. }
  3431. return dAtA[:n], nil
  3432. }
  3433. func (m *EleVipGrantReply) MarshalTo(dAtA []byte) (int, error) {
  3434. var i int
  3435. _ = i
  3436. var l int
  3437. _ = l
  3438. return i, nil
  3439. }
  3440. func (m *VipUserPanelReq) Marshal() (dAtA []byte, err error) {
  3441. size := m.Size()
  3442. dAtA = make([]byte, size)
  3443. n, err := m.MarshalTo(dAtA)
  3444. if err != nil {
  3445. return nil, err
  3446. }
  3447. return dAtA[:n], nil
  3448. }
  3449. func (m *VipUserPanelReq) MarshalTo(dAtA []byte) (int, error) {
  3450. var i int
  3451. _ = i
  3452. var l int
  3453. _ = l
  3454. if m.Mid != 0 {
  3455. dAtA[i] = 0x8
  3456. i++
  3457. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3458. }
  3459. if m.SortTp != 0 {
  3460. dAtA[i] = 0x10
  3461. i++
  3462. i = encodeVarintApi(dAtA, i, uint64(m.SortTp))
  3463. }
  3464. if len(m.Ip) > 0 {
  3465. dAtA[i] = 0x1a
  3466. i++
  3467. i = encodeVarintApi(dAtA, i, uint64(len(m.Ip)))
  3468. i += copy(dAtA[i:], m.Ip)
  3469. }
  3470. if len(m.MobiApp) > 0 {
  3471. dAtA[i] = 0x22
  3472. i++
  3473. i = encodeVarintApi(dAtA, i, uint64(len(m.MobiApp)))
  3474. i += copy(dAtA[i:], m.MobiApp)
  3475. }
  3476. if len(m.Device) > 0 {
  3477. dAtA[i] = 0x2a
  3478. i++
  3479. i = encodeVarintApi(dAtA, i, uint64(len(m.Device)))
  3480. i += copy(dAtA[i:], m.Device)
  3481. }
  3482. if len(m.Platform) > 0 {
  3483. dAtA[i] = 0x32
  3484. i++
  3485. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  3486. i += copy(dAtA[i:], m.Platform)
  3487. }
  3488. if m.Plat != 0 {
  3489. dAtA[i] = 0x38
  3490. i++
  3491. i = encodeVarintApi(dAtA, i, uint64(m.Plat))
  3492. }
  3493. if len(m.PanelType) > 0 {
  3494. dAtA[i] = 0x42
  3495. i++
  3496. i = encodeVarintApi(dAtA, i, uint64(len(m.PanelType)))
  3497. i += copy(dAtA[i:], m.PanelType)
  3498. }
  3499. if m.SubType != 0 {
  3500. dAtA[i] = 0x48
  3501. i++
  3502. i = encodeVarintApi(dAtA, i, uint64(m.SubType))
  3503. }
  3504. if m.Month != 0 {
  3505. dAtA[i] = 0x50
  3506. i++
  3507. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  3508. }
  3509. if m.Build != 0 {
  3510. dAtA[i] = 0x58
  3511. i++
  3512. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  3513. }
  3514. if len(m.Lang) > 0 {
  3515. dAtA[i] = 0x62
  3516. i++
  3517. i = encodeVarintApi(dAtA, i, uint64(len(m.Lang)))
  3518. i += copy(dAtA[i:], m.Lang)
  3519. }
  3520. return i, nil
  3521. }
  3522. func (m *VipUserPanelReply) Marshal() (dAtA []byte, err error) {
  3523. size := m.Size()
  3524. dAtA = make([]byte, size)
  3525. n, err := m.MarshalTo(dAtA)
  3526. if err != nil {
  3527. return nil, err
  3528. }
  3529. return dAtA[:n], nil
  3530. }
  3531. func (m *VipUserPanelReply) MarshalTo(dAtA []byte) (int, error) {
  3532. var i int
  3533. _ = i
  3534. var l int
  3535. _ = l
  3536. if len(m.PriceList) > 0 {
  3537. for _, msg := range m.PriceList {
  3538. dAtA[i] = 0xa
  3539. i++
  3540. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3541. n, err := msg.MarshalTo(dAtA[i:])
  3542. if err != nil {
  3543. return 0, err
  3544. }
  3545. i += n
  3546. }
  3547. }
  3548. if m.Coupon != nil {
  3549. dAtA[i] = 0x12
  3550. i++
  3551. i = encodeVarintApi(dAtA, i, uint64(m.Coupon.Size()))
  3552. n3, err := m.Coupon.MarshalTo(dAtA[i:])
  3553. if err != nil {
  3554. return 0, err
  3555. }
  3556. i += n3
  3557. }
  3558. if m.CouponSwitch != 0 {
  3559. dAtA[i] = 0x18
  3560. i++
  3561. i = encodeVarintApi(dAtA, i, uint64(m.CouponSwitch))
  3562. }
  3563. if m.CodeSwitch != 0 {
  3564. dAtA[i] = 0x20
  3565. i++
  3566. i = encodeVarintApi(dAtA, i, uint64(m.CodeSwitch))
  3567. }
  3568. if m.GiveSwitch != 0 {
  3569. dAtA[i] = 0x28
  3570. i++
  3571. i = encodeVarintApi(dAtA, i, uint64(m.GiveSwitch))
  3572. }
  3573. if len(m.Privileges) > 0 {
  3574. for k, _ := range m.Privileges {
  3575. dAtA[i] = 0x32
  3576. i++
  3577. v := m.Privileges[k]
  3578. msgSize := 0
  3579. if v != nil {
  3580. msgSize = v.Size()
  3581. msgSize += 1 + sovApi(uint64(msgSize))
  3582. }
  3583. mapSize := 1 + sovApi(uint64(k)) + msgSize
  3584. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3585. dAtA[i] = 0x8
  3586. i++
  3587. i = encodeVarintApi(dAtA, i, uint64(k))
  3588. if v != nil {
  3589. dAtA[i] = 0x12
  3590. i++
  3591. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  3592. n4, err := v.MarshalTo(dAtA[i:])
  3593. if err != nil {
  3594. return 0, err
  3595. }
  3596. i += n4
  3597. }
  3598. }
  3599. }
  3600. return i, nil
  3601. }
  3602. func (m *CouponBySuitIDReply) Marshal() (dAtA []byte, err error) {
  3603. size := m.Size()
  3604. dAtA = make([]byte, size)
  3605. n, err := m.MarshalTo(dAtA)
  3606. if err != nil {
  3607. return nil, err
  3608. }
  3609. return dAtA[:n], nil
  3610. }
  3611. func (m *CouponBySuitIDReply) MarshalTo(dAtA []byte) (int, error) {
  3612. var i int
  3613. _ = i
  3614. var l int
  3615. _ = l
  3616. if len(m.CouponTip) > 0 {
  3617. dAtA[i] = 0xa
  3618. i++
  3619. i = encodeVarintApi(dAtA, i, uint64(len(m.CouponTip)))
  3620. i += copy(dAtA[i:], m.CouponTip)
  3621. }
  3622. if m.CouponInfo != nil {
  3623. dAtA[i] = 0x12
  3624. i++
  3625. i = encodeVarintApi(dAtA, i, uint64(m.CouponInfo.Size()))
  3626. n5, err := m.CouponInfo.MarshalTo(dAtA[i:])
  3627. if err != nil {
  3628. return 0, err
  3629. }
  3630. i += n5
  3631. }
  3632. return i, nil
  3633. }
  3634. func (m *ModelCouponAllowancePanelInfo) Marshal() (dAtA []byte, err error) {
  3635. size := m.Size()
  3636. dAtA = make([]byte, size)
  3637. n, err := m.MarshalTo(dAtA)
  3638. if err != nil {
  3639. return nil, err
  3640. }
  3641. return dAtA[:n], nil
  3642. }
  3643. func (m *ModelCouponAllowancePanelInfo) MarshalTo(dAtA []byte) (int, error) {
  3644. var i int
  3645. _ = i
  3646. var l int
  3647. _ = l
  3648. if len(m.CouponToken) > 0 {
  3649. dAtA[i] = 0xa
  3650. i++
  3651. i = encodeVarintApi(dAtA, i, uint64(len(m.CouponToken)))
  3652. i += copy(dAtA[i:], m.CouponToken)
  3653. }
  3654. if m.CouponAmount != 0 {
  3655. dAtA[i] = 0x11
  3656. i++
  3657. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CouponAmount))))
  3658. i += 8
  3659. }
  3660. if m.State != 0 {
  3661. dAtA[i] = 0x18
  3662. i++
  3663. i = encodeVarintApi(dAtA, i, uint64(m.State))
  3664. }
  3665. if len(m.FullLimitExplain) > 0 {
  3666. dAtA[i] = 0x22
  3667. i++
  3668. i = encodeVarintApi(dAtA, i, uint64(len(m.FullLimitExplain)))
  3669. i += copy(dAtA[i:], m.FullLimitExplain)
  3670. }
  3671. if len(m.ScopeExplain) > 0 {
  3672. dAtA[i] = 0x2a
  3673. i++
  3674. i = encodeVarintApi(dAtA, i, uint64(len(m.ScopeExplain)))
  3675. i += copy(dAtA[i:], m.ScopeExplain)
  3676. }
  3677. if m.FullAmount != 0 {
  3678. dAtA[i] = 0x31
  3679. i++
  3680. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FullAmount))))
  3681. i += 8
  3682. }
  3683. if m.CouponDiscountPrice != 0 {
  3684. dAtA[i] = 0x39
  3685. i++
  3686. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CouponDiscountPrice))))
  3687. i += 8
  3688. }
  3689. if m.StartTime != 0 {
  3690. dAtA[i] = 0x40
  3691. i++
  3692. i = encodeVarintApi(dAtA, i, uint64(m.StartTime))
  3693. }
  3694. if m.ExpireTime != 0 {
  3695. dAtA[i] = 0x48
  3696. i++
  3697. i = encodeVarintApi(dAtA, i, uint64(m.ExpireTime))
  3698. }
  3699. if m.Selected != 0 {
  3700. dAtA[i] = 0x50
  3701. i++
  3702. i = encodeVarintApi(dAtA, i, uint64(m.Selected))
  3703. }
  3704. if len(m.DisablesExplains) > 0 {
  3705. dAtA[i] = 0x5a
  3706. i++
  3707. i = encodeVarintApi(dAtA, i, uint64(len(m.DisablesExplains)))
  3708. i += copy(dAtA[i:], m.DisablesExplains)
  3709. }
  3710. if len(m.OrderNo) > 0 {
  3711. dAtA[i] = 0x62
  3712. i++
  3713. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  3714. i += copy(dAtA[i:], m.OrderNo)
  3715. }
  3716. if len(m.Name) > 0 {
  3717. dAtA[i] = 0x6a
  3718. i++
  3719. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  3720. i += copy(dAtA[i:], m.Name)
  3721. }
  3722. if m.Usable != 0 {
  3723. dAtA[i] = 0x70
  3724. i++
  3725. i = encodeVarintApi(dAtA, i, uint64(m.Usable))
  3726. }
  3727. return i, nil
  3728. }
  3729. func (m *ModelVipPanelInfo) Marshal() (dAtA []byte, err error) {
  3730. size := m.Size()
  3731. dAtA = make([]byte, size)
  3732. n, err := m.MarshalTo(dAtA)
  3733. if err != nil {
  3734. return nil, err
  3735. }
  3736. return dAtA[:n], nil
  3737. }
  3738. func (m *ModelVipPanelInfo) MarshalTo(dAtA []byte) (int, error) {
  3739. var i int
  3740. _ = i
  3741. var l int
  3742. _ = l
  3743. if m.Month != 0 {
  3744. dAtA[i] = 0x8
  3745. i++
  3746. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  3747. }
  3748. if len(m.ProductName) > 0 {
  3749. dAtA[i] = 0x12
  3750. i++
  3751. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductName)))
  3752. i += copy(dAtA[i:], m.ProductName)
  3753. }
  3754. if len(m.ProductId) > 0 {
  3755. dAtA[i] = 0x1a
  3756. i++
  3757. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductId)))
  3758. i += copy(dAtA[i:], m.ProductId)
  3759. }
  3760. if m.SubType != 0 {
  3761. dAtA[i] = 0x20
  3762. i++
  3763. i = encodeVarintApi(dAtA, i, uint64(m.SubType))
  3764. }
  3765. if m.SuitType != 0 {
  3766. dAtA[i] = 0x28
  3767. i++
  3768. i = encodeVarintApi(dAtA, i, uint64(m.SuitType))
  3769. }
  3770. if m.OriginalPrice != 0 {
  3771. dAtA[i] = 0x31
  3772. i++
  3773. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.OriginalPrice))))
  3774. i += 8
  3775. }
  3776. if m.DiscountPrice != 0 {
  3777. dAtA[i] = 0x39
  3778. i++
  3779. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DiscountPrice))))
  3780. i += 8
  3781. }
  3782. if len(m.DiscountRate) > 0 {
  3783. dAtA[i] = 0x42
  3784. i++
  3785. i = encodeVarintApi(dAtA, i, uint64(len(m.DiscountRate)))
  3786. i += copy(dAtA[i:], m.DiscountRate)
  3787. }
  3788. if len(m.Remark) > 0 {
  3789. dAtA[i] = 0x4a
  3790. i++
  3791. i = encodeVarintApi(dAtA, i, uint64(len(m.Remark)))
  3792. i += copy(dAtA[i:], m.Remark)
  3793. }
  3794. if m.Selected != 0 {
  3795. dAtA[i] = 0x50
  3796. i++
  3797. i = encodeVarintApi(dAtA, i, uint64(m.Selected))
  3798. }
  3799. if m.Id != 0 {
  3800. dAtA[i] = 0x58
  3801. i++
  3802. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  3803. }
  3804. if m.Type != 0 {
  3805. dAtA[i] = 0x60
  3806. i++
  3807. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  3808. }
  3809. return i, nil
  3810. }
  3811. func (m *ModelPrivilegeResp) Marshal() (dAtA []byte, err error) {
  3812. size := m.Size()
  3813. dAtA = make([]byte, size)
  3814. n, err := m.MarshalTo(dAtA)
  3815. if err != nil {
  3816. return nil, err
  3817. }
  3818. return dAtA[:n], nil
  3819. }
  3820. func (m *ModelPrivilegeResp) MarshalTo(dAtA []byte) (int, error) {
  3821. var i int
  3822. _ = i
  3823. var l int
  3824. _ = l
  3825. if len(m.Title) > 0 {
  3826. dAtA[i] = 0xa
  3827. i++
  3828. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  3829. i += copy(dAtA[i:], m.Title)
  3830. }
  3831. if len(m.List) > 0 {
  3832. for _, msg := range m.List {
  3833. dAtA[i] = 0x12
  3834. i++
  3835. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3836. n, err := msg.MarshalTo(dAtA[i:])
  3837. if err != nil {
  3838. return 0, err
  3839. }
  3840. i += n
  3841. }
  3842. }
  3843. return i, nil
  3844. }
  3845. func (m *ModelPrivilege) Marshal() (dAtA []byte, err error) {
  3846. size := m.Size()
  3847. dAtA = make([]byte, size)
  3848. n, err := m.MarshalTo(dAtA)
  3849. if err != nil {
  3850. return nil, err
  3851. }
  3852. return dAtA[:n], nil
  3853. }
  3854. func (m *ModelPrivilege) MarshalTo(dAtA []byte) (int, error) {
  3855. var i int
  3856. _ = i
  3857. var l int
  3858. _ = l
  3859. if len(m.Name) > 0 {
  3860. dAtA[i] = 0xa
  3861. i++
  3862. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  3863. i += copy(dAtA[i:], m.Name)
  3864. }
  3865. if len(m.IconUrl) > 0 {
  3866. dAtA[i] = 0x12
  3867. i++
  3868. i = encodeVarintApi(dAtA, i, uint64(len(m.IconUrl)))
  3869. i += copy(dAtA[i:], m.IconUrl)
  3870. }
  3871. if m.Type != 0 {
  3872. dAtA[i] = 0x18
  3873. i++
  3874. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  3875. }
  3876. return i, nil
  3877. }
  3878. func (m *CouponBySuitIDReq) Marshal() (dAtA []byte, err error) {
  3879. size := m.Size()
  3880. dAtA = make([]byte, size)
  3881. n, err := m.MarshalTo(dAtA)
  3882. if err != nil {
  3883. return nil, err
  3884. }
  3885. return dAtA[:n], nil
  3886. }
  3887. func (m *CouponBySuitIDReq) MarshalTo(dAtA []byte) (int, error) {
  3888. var i int
  3889. _ = i
  3890. var l int
  3891. _ = l
  3892. if m.Mid != 0 {
  3893. dAtA[i] = 0x8
  3894. i++
  3895. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3896. }
  3897. if m.Sid != 0 {
  3898. dAtA[i] = 0x10
  3899. i++
  3900. i = encodeVarintApi(dAtA, i, uint64(m.Sid))
  3901. }
  3902. if len(m.MobiApp) > 0 {
  3903. dAtA[i] = 0x1a
  3904. i++
  3905. i = encodeVarintApi(dAtA, i, uint64(len(m.MobiApp)))
  3906. i += copy(dAtA[i:], m.MobiApp)
  3907. }
  3908. if len(m.Device) > 0 {
  3909. dAtA[i] = 0x22
  3910. i++
  3911. i = encodeVarintApi(dAtA, i, uint64(len(m.Device)))
  3912. i += copy(dAtA[i:], m.Device)
  3913. }
  3914. if len(m.Platform) > 0 {
  3915. dAtA[i] = 0x2a
  3916. i++
  3917. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  3918. i += copy(dAtA[i:], m.Platform)
  3919. }
  3920. if len(m.PanelType) > 0 {
  3921. dAtA[i] = 0x32
  3922. i++
  3923. i = encodeVarintApi(dAtA, i, uint64(len(m.PanelType)))
  3924. i += copy(dAtA[i:], m.PanelType)
  3925. }
  3926. if m.Build != 0 {
  3927. dAtA[i] = 0x38
  3928. i++
  3929. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  3930. }
  3931. return i, nil
  3932. }
  3933. func (m *WelfareReq) Marshal() (dAtA []byte, err error) {
  3934. size := m.Size()
  3935. dAtA = make([]byte, size)
  3936. n, err := m.MarshalTo(dAtA)
  3937. if err != nil {
  3938. return nil, err
  3939. }
  3940. return dAtA[:n], nil
  3941. }
  3942. func (m *WelfareReq) MarshalTo(dAtA []byte) (int, error) {
  3943. var i int
  3944. _ = i
  3945. var l int
  3946. _ = l
  3947. if m.Tid != 0 {
  3948. dAtA[i] = 0x8
  3949. i++
  3950. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  3951. }
  3952. if m.Recommend != 0 {
  3953. dAtA[i] = 0x10
  3954. i++
  3955. i = encodeVarintApi(dAtA, i, uint64(m.Recommend))
  3956. }
  3957. if m.Ps != 0 {
  3958. dAtA[i] = 0x18
  3959. i++
  3960. i = encodeVarintApi(dAtA, i, uint64(m.Ps))
  3961. }
  3962. if m.Pn != 0 {
  3963. dAtA[i] = 0x20
  3964. i++
  3965. i = encodeVarintApi(dAtA, i, uint64(m.Pn))
  3966. }
  3967. return i, nil
  3968. }
  3969. func (m *WelfareReply) Marshal() (dAtA []byte, err error) {
  3970. size := m.Size()
  3971. dAtA = make([]byte, size)
  3972. n, err := m.MarshalTo(dAtA)
  3973. if err != nil {
  3974. return nil, err
  3975. }
  3976. return dAtA[:n], nil
  3977. }
  3978. func (m *WelfareReply) MarshalTo(dAtA []byte) (int, error) {
  3979. var i int
  3980. _ = i
  3981. var l int
  3982. _ = l
  3983. if m.Count != 0 {
  3984. dAtA[i] = 0x8
  3985. i++
  3986. i = encodeVarintApi(dAtA, i, uint64(m.Count))
  3987. }
  3988. if len(m.List) > 0 {
  3989. for _, msg := range m.List {
  3990. dAtA[i] = 0x12
  3991. i++
  3992. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3993. n, err := msg.MarshalTo(dAtA[i:])
  3994. if err != nil {
  3995. return 0, err
  3996. }
  3997. i += n
  3998. }
  3999. }
  4000. return i, nil
  4001. }
  4002. func (m *WelfareListDetail) Marshal() (dAtA []byte, err error) {
  4003. size := m.Size()
  4004. dAtA = make([]byte, size)
  4005. n, err := m.MarshalTo(dAtA)
  4006. if err != nil {
  4007. return nil, err
  4008. }
  4009. return dAtA[:n], nil
  4010. }
  4011. func (m *WelfareListDetail) MarshalTo(dAtA []byte) (int, error) {
  4012. var i int
  4013. _ = i
  4014. var l int
  4015. _ = l
  4016. if m.Id != 0 {
  4017. dAtA[i] = 0x8
  4018. i++
  4019. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  4020. }
  4021. if len(m.Name) > 0 {
  4022. dAtA[i] = 0x12
  4023. i++
  4024. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  4025. i += copy(dAtA[i:], m.Name)
  4026. }
  4027. if len(m.HomepageUri) > 0 {
  4028. dAtA[i] = 0x1a
  4029. i++
  4030. i = encodeVarintApi(dAtA, i, uint64(len(m.HomepageUri)))
  4031. i += copy(dAtA[i:], m.HomepageUri)
  4032. }
  4033. if len(m.BackdropUri) > 0 {
  4034. dAtA[i] = 0x22
  4035. i++
  4036. i = encodeVarintApi(dAtA, i, uint64(len(m.BackdropUri)))
  4037. i += copy(dAtA[i:], m.BackdropUri)
  4038. }
  4039. if m.Tid != 0 {
  4040. dAtA[i] = 0x28
  4041. i++
  4042. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  4043. }
  4044. if m.Rank != 0 {
  4045. dAtA[i] = 0x30
  4046. i++
  4047. i = encodeVarintApi(dAtA, i, uint64(m.Rank))
  4048. }
  4049. return i, nil
  4050. }
  4051. func (m *WelfareTypeReq) Marshal() (dAtA []byte, err error) {
  4052. size := m.Size()
  4053. dAtA = make([]byte, size)
  4054. n, err := m.MarshalTo(dAtA)
  4055. if err != nil {
  4056. return nil, err
  4057. }
  4058. return dAtA[:n], nil
  4059. }
  4060. func (m *WelfareTypeReq) MarshalTo(dAtA []byte) (int, error) {
  4061. var i int
  4062. _ = i
  4063. var l int
  4064. _ = l
  4065. return i, nil
  4066. }
  4067. func (m *WelfareTypeReply) Marshal() (dAtA []byte, err error) {
  4068. size := m.Size()
  4069. dAtA = make([]byte, size)
  4070. n, err := m.MarshalTo(dAtA)
  4071. if err != nil {
  4072. return nil, err
  4073. }
  4074. return dAtA[:n], nil
  4075. }
  4076. func (m *WelfareTypeReply) MarshalTo(dAtA []byte) (int, error) {
  4077. var i int
  4078. _ = i
  4079. var l int
  4080. _ = l
  4081. if len(m.List) > 0 {
  4082. for _, msg := range m.List {
  4083. dAtA[i] = 0xa
  4084. i++
  4085. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4086. n, err := msg.MarshalTo(dAtA[i:])
  4087. if err != nil {
  4088. return 0, err
  4089. }
  4090. i += n
  4091. }
  4092. }
  4093. return i, nil
  4094. }
  4095. func (m *WelfareTypeListDetail) Marshal() (dAtA []byte, err error) {
  4096. size := m.Size()
  4097. dAtA = make([]byte, size)
  4098. n, err := m.MarshalTo(dAtA)
  4099. if err != nil {
  4100. return nil, err
  4101. }
  4102. return dAtA[:n], nil
  4103. }
  4104. func (m *WelfareTypeListDetail) MarshalTo(dAtA []byte) (int, error) {
  4105. var i int
  4106. _ = i
  4107. var l int
  4108. _ = l
  4109. if m.Id != 0 {
  4110. dAtA[i] = 0x8
  4111. i++
  4112. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  4113. }
  4114. if len(m.Name) > 0 {
  4115. dAtA[i] = 0x12
  4116. i++
  4117. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  4118. i += copy(dAtA[i:], m.Name)
  4119. }
  4120. return i, nil
  4121. }
  4122. func (m *WelfareInfoReq) Marshal() (dAtA []byte, err error) {
  4123. size := m.Size()
  4124. dAtA = make([]byte, size)
  4125. n, err := m.MarshalTo(dAtA)
  4126. if err != nil {
  4127. return nil, err
  4128. }
  4129. return dAtA[:n], nil
  4130. }
  4131. func (m *WelfareInfoReq) MarshalTo(dAtA []byte) (int, error) {
  4132. var i int
  4133. _ = i
  4134. var l int
  4135. _ = l
  4136. if m.Id != 0 {
  4137. dAtA[i] = 0x8
  4138. i++
  4139. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  4140. }
  4141. if m.Mid != 0 {
  4142. dAtA[i] = 0x10
  4143. i++
  4144. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4145. }
  4146. return i, nil
  4147. }
  4148. func (m *WelfareInfoReply) Marshal() (dAtA []byte, err error) {
  4149. size := m.Size()
  4150. dAtA = make([]byte, size)
  4151. n, err := m.MarshalTo(dAtA)
  4152. if err != nil {
  4153. return nil, err
  4154. }
  4155. return dAtA[:n], nil
  4156. }
  4157. func (m *WelfareInfoReply) MarshalTo(dAtA []byte) (int, error) {
  4158. var i int
  4159. _ = i
  4160. var l int
  4161. _ = l
  4162. if m.Id != 0 {
  4163. dAtA[i] = 0x8
  4164. i++
  4165. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  4166. }
  4167. if len(m.Name) > 0 {
  4168. dAtA[i] = 0x12
  4169. i++
  4170. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  4171. i += copy(dAtA[i:], m.Name)
  4172. }
  4173. if len(m.Desc) > 0 {
  4174. dAtA[i] = 0x1a
  4175. i++
  4176. i = encodeVarintApi(dAtA, i, uint64(len(m.Desc)))
  4177. i += copy(dAtA[i:], m.Desc)
  4178. }
  4179. if len(m.HomepageUri) > 0 {
  4180. dAtA[i] = 0x22
  4181. i++
  4182. i = encodeVarintApi(dAtA, i, uint64(len(m.HomepageUri)))
  4183. i += copy(dAtA[i:], m.HomepageUri)
  4184. }
  4185. if len(m.BackdropUri) > 0 {
  4186. dAtA[i] = 0x2a
  4187. i++
  4188. i = encodeVarintApi(dAtA, i, uint64(len(m.BackdropUri)))
  4189. i += copy(dAtA[i:], m.BackdropUri)
  4190. }
  4191. if m.Finished {
  4192. dAtA[i] = 0x30
  4193. i++
  4194. if m.Finished {
  4195. dAtA[i] = 1
  4196. } else {
  4197. dAtA[i] = 0
  4198. }
  4199. i++
  4200. }
  4201. if m.Received {
  4202. dAtA[i] = 0x38
  4203. i++
  4204. if m.Received {
  4205. dAtA[i] = 1
  4206. } else {
  4207. dAtA[i] = 0
  4208. }
  4209. i++
  4210. }
  4211. if m.VipType != 0 {
  4212. dAtA[i] = 0x40
  4213. i++
  4214. i = encodeVarintApi(dAtA, i, uint64(m.VipType))
  4215. }
  4216. if m.Stime != 0 {
  4217. dAtA[i] = 0x48
  4218. i++
  4219. i = encodeVarintApi(dAtA, i, uint64(m.Stime))
  4220. }
  4221. if m.Etime != 0 {
  4222. dAtA[i] = 0x50
  4223. i++
  4224. i = encodeVarintApi(dAtA, i, uint64(m.Etime))
  4225. }
  4226. return i, nil
  4227. }
  4228. func (m *WelfareReceiveReq) Marshal() (dAtA []byte, err error) {
  4229. size := m.Size()
  4230. dAtA = make([]byte, size)
  4231. n, err := m.MarshalTo(dAtA)
  4232. if err != nil {
  4233. return nil, err
  4234. }
  4235. return dAtA[:n], nil
  4236. }
  4237. func (m *WelfareReceiveReq) MarshalTo(dAtA []byte) (int, error) {
  4238. var i int
  4239. _ = i
  4240. var l int
  4241. _ = l
  4242. if m.Wid != 0 {
  4243. dAtA[i] = 0x8
  4244. i++
  4245. i = encodeVarintApi(dAtA, i, uint64(m.Wid))
  4246. }
  4247. if m.Mid != 0 {
  4248. dAtA[i] = 0x10
  4249. i++
  4250. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4251. }
  4252. return i, nil
  4253. }
  4254. func (m *WelfareReceiveReply) Marshal() (dAtA []byte, err error) {
  4255. size := m.Size()
  4256. dAtA = make([]byte, size)
  4257. n, err := m.MarshalTo(dAtA)
  4258. if err != nil {
  4259. return nil, err
  4260. }
  4261. return dAtA[:n], nil
  4262. }
  4263. func (m *WelfareReceiveReply) MarshalTo(dAtA []byte) (int, error) {
  4264. var i int
  4265. _ = i
  4266. var l int
  4267. _ = l
  4268. return i, nil
  4269. }
  4270. func (m *MyWelfareReq) Marshal() (dAtA []byte, err error) {
  4271. size := m.Size()
  4272. dAtA = make([]byte, size)
  4273. n, err := m.MarshalTo(dAtA)
  4274. if err != nil {
  4275. return nil, err
  4276. }
  4277. return dAtA[:n], nil
  4278. }
  4279. func (m *MyWelfareReq) MarshalTo(dAtA []byte) (int, error) {
  4280. var i int
  4281. _ = i
  4282. var l int
  4283. _ = l
  4284. if m.Mid != 0 {
  4285. dAtA[i] = 0x8
  4286. i++
  4287. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4288. }
  4289. return i, nil
  4290. }
  4291. func (m *MyWelfareReply) Marshal() (dAtA []byte, err error) {
  4292. size := m.Size()
  4293. dAtA = make([]byte, size)
  4294. n, err := m.MarshalTo(dAtA)
  4295. if err != nil {
  4296. return nil, err
  4297. }
  4298. return dAtA[:n], nil
  4299. }
  4300. func (m *MyWelfareReply) MarshalTo(dAtA []byte) (int, error) {
  4301. var i int
  4302. _ = i
  4303. var l int
  4304. _ = l
  4305. if len(m.List) > 0 {
  4306. for _, msg := range m.List {
  4307. dAtA[i] = 0xa
  4308. i++
  4309. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4310. n, err := msg.MarshalTo(dAtA[i:])
  4311. if err != nil {
  4312. return 0, err
  4313. }
  4314. i += n
  4315. }
  4316. }
  4317. return i, nil
  4318. }
  4319. func (m *MyWelfareDetail) Marshal() (dAtA []byte, err error) {
  4320. size := m.Size()
  4321. dAtA = make([]byte, size)
  4322. n, err := m.MarshalTo(dAtA)
  4323. if err != nil {
  4324. return nil, err
  4325. }
  4326. return dAtA[:n], nil
  4327. }
  4328. func (m *MyWelfareDetail) MarshalTo(dAtA []byte) (int, error) {
  4329. var i int
  4330. _ = i
  4331. var l int
  4332. _ = l
  4333. if m.Wid != 0 {
  4334. dAtA[i] = 0x8
  4335. i++
  4336. i = encodeVarintApi(dAtA, i, uint64(m.Wid))
  4337. }
  4338. if len(m.Name) > 0 {
  4339. dAtA[i] = 0x12
  4340. i++
  4341. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  4342. i += copy(dAtA[i:], m.Name)
  4343. }
  4344. if len(m.Desc) > 0 {
  4345. dAtA[i] = 0x1a
  4346. i++
  4347. i = encodeVarintApi(dAtA, i, uint64(len(m.Desc)))
  4348. i += copy(dAtA[i:], m.Desc)
  4349. }
  4350. if m.UsageForm != 0 {
  4351. dAtA[i] = 0x20
  4352. i++
  4353. i = encodeVarintApi(dAtA, i, uint64(m.UsageForm))
  4354. }
  4355. if len(m.ReceiveUri) > 0 {
  4356. dAtA[i] = 0x2a
  4357. i++
  4358. i = encodeVarintApi(dAtA, i, uint64(len(m.ReceiveUri)))
  4359. i += copy(dAtA[i:], m.ReceiveUri)
  4360. }
  4361. if len(m.Code) > 0 {
  4362. dAtA[i] = 0x32
  4363. i++
  4364. i = encodeVarintApi(dAtA, i, uint64(len(m.Code)))
  4365. i += copy(dAtA[i:], m.Code)
  4366. }
  4367. if m.Stime != 0 {
  4368. dAtA[i] = 0x38
  4369. i++
  4370. i = encodeVarintApi(dAtA, i, uint64(m.Stime))
  4371. }
  4372. if m.Etime != 0 {
  4373. dAtA[i] = 0x40
  4374. i++
  4375. i = encodeVarintApi(dAtA, i, uint64(m.Etime))
  4376. }
  4377. if m.Expired {
  4378. dAtA[i] = 0x48
  4379. i++
  4380. if m.Expired {
  4381. dAtA[i] = 1
  4382. } else {
  4383. dAtA[i] = 0
  4384. }
  4385. i++
  4386. }
  4387. return i, nil
  4388. }
  4389. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  4390. for v >= 1<<7 {
  4391. dAtA[offset] = uint8(v&0x7f | 0x80)
  4392. v >>= 7
  4393. offset++
  4394. }
  4395. dAtA[offset] = uint8(v)
  4396. return offset + 1
  4397. }
  4398. func (m *RegisterOpenIDReq) Size() (n int) {
  4399. var l int
  4400. _ = l
  4401. if m.Mid != 0 {
  4402. n += 1 + sovApi(uint64(m.Mid))
  4403. }
  4404. if m.AppId != 0 {
  4405. n += 1 + sovApi(uint64(m.AppId))
  4406. }
  4407. return n
  4408. }
  4409. func (m *RegisterOpenIDReply) Size() (n int) {
  4410. var l int
  4411. _ = l
  4412. l = len(m.OpenId)
  4413. if l > 0 {
  4414. n += 1 + l + sovApi(uint64(l))
  4415. }
  4416. return n
  4417. }
  4418. func (m *OpenBindByOutOpenIDReq) Size() (n int) {
  4419. var l int
  4420. _ = l
  4421. l = len(m.OpenId)
  4422. if l > 0 {
  4423. n += 1 + l + sovApi(uint64(l))
  4424. }
  4425. l = len(m.OutOpenId)
  4426. if l > 0 {
  4427. n += 1 + l + sovApi(uint64(l))
  4428. }
  4429. if m.AppId != 0 {
  4430. n += 1 + sovApi(uint64(m.AppId))
  4431. }
  4432. return n
  4433. }
  4434. func (m *OpenBindByOutOpenIDReply) Size() (n int) {
  4435. var l int
  4436. _ = l
  4437. return n
  4438. }
  4439. func (m *UserInfoByOpenIDReq) Size() (n int) {
  4440. var l int
  4441. _ = l
  4442. l = len(m.Ip)
  4443. if l > 0 {
  4444. n += 1 + l + sovApi(uint64(l))
  4445. }
  4446. l = len(m.OpenId)
  4447. if l > 0 {
  4448. n += 1 + l + sovApi(uint64(l))
  4449. }
  4450. if m.AppId != 0 {
  4451. n += 1 + sovApi(uint64(m.AppId))
  4452. }
  4453. return n
  4454. }
  4455. func (m *UserInfoByOpenIDReply) Size() (n int) {
  4456. var l int
  4457. _ = l
  4458. l = len(m.Name)
  4459. if l > 0 {
  4460. n += 1 + l + sovApi(uint64(l))
  4461. }
  4462. if m.BindState != 0 {
  4463. n += 1 + sovApi(uint64(m.BindState))
  4464. }
  4465. l = len(m.OutOpenId)
  4466. if l > 0 {
  4467. n += 1 + l + sovApi(uint64(l))
  4468. }
  4469. return n
  4470. }
  4471. func (m *BindInfoByMidReq) Size() (n int) {
  4472. var l int
  4473. _ = l
  4474. if m.Mid != 0 {
  4475. n += 1 + sovApi(uint64(m.Mid))
  4476. }
  4477. if m.AppId != 0 {
  4478. n += 1 + sovApi(uint64(m.AppId))
  4479. }
  4480. return n
  4481. }
  4482. func (m *BindInfoByMidReply) Size() (n int) {
  4483. var l int
  4484. _ = l
  4485. if m.Account != nil {
  4486. l = m.Account.Size()
  4487. n += 1 + l + sovApi(uint64(l))
  4488. }
  4489. if m.Outer != nil {
  4490. l = m.Outer.Size()
  4491. n += 1 + l + sovApi(uint64(l))
  4492. }
  4493. return n
  4494. }
  4495. func (m *Account) Size() (n int) {
  4496. var l int
  4497. _ = l
  4498. if m.Mid != 0 {
  4499. n += 1 + sovApi(uint64(m.Mid))
  4500. }
  4501. l = len(m.Name)
  4502. if l > 0 {
  4503. n += 1 + l + sovApi(uint64(l))
  4504. }
  4505. l = len(m.Face)
  4506. if l > 0 {
  4507. n += 1 + l + sovApi(uint64(l))
  4508. }
  4509. return n
  4510. }
  4511. func (m *BindOuter) Size() (n int) {
  4512. var l int
  4513. _ = l
  4514. l = len(m.Tel)
  4515. if l > 0 {
  4516. n += 1 + l + sovApi(uint64(l))
  4517. }
  4518. if m.BindState != 0 {
  4519. n += 1 + sovApi(uint64(m.BindState))
  4520. }
  4521. return n
  4522. }
  4523. func (m *BilibiliPrizeGrantReq) Size() (n int) {
  4524. var l int
  4525. _ = l
  4526. l = len(m.PrizeKey)
  4527. if l > 0 {
  4528. n += 1 + l + sovApi(uint64(l))
  4529. }
  4530. l = len(m.UniqueNo)
  4531. if l > 0 {
  4532. n += 1 + l + sovApi(uint64(l))
  4533. }
  4534. l = len(m.OpenId)
  4535. if l > 0 {
  4536. n += 1 + l + sovApi(uint64(l))
  4537. }
  4538. if m.AppId != 0 {
  4539. n += 1 + sovApi(uint64(m.AppId))
  4540. }
  4541. return n
  4542. }
  4543. func (m *BilibiliPrizeGrantReply) Size() (n int) {
  4544. var l int
  4545. _ = l
  4546. if m.Amount != 0 {
  4547. n += 9
  4548. }
  4549. if m.FullAmount != 0 {
  4550. n += 9
  4551. }
  4552. l = len(m.Description)
  4553. if l > 0 {
  4554. n += 1 + l + sovApi(uint64(l))
  4555. }
  4556. return n
  4557. }
  4558. func (m *BilibiliVipGrantReq) Size() (n int) {
  4559. var l int
  4560. _ = l
  4561. l = len(m.OpenId)
  4562. if l > 0 {
  4563. n += 1 + l + sovApi(uint64(l))
  4564. }
  4565. l = len(m.OutOpenId)
  4566. if l > 0 {
  4567. n += 1 + l + sovApi(uint64(l))
  4568. }
  4569. l = len(m.OutOrderNo)
  4570. if l > 0 {
  4571. n += 1 + l + sovApi(uint64(l))
  4572. }
  4573. if m.Duration != 0 {
  4574. n += 1 + sovApi(uint64(m.Duration))
  4575. }
  4576. if m.AppId != 0 {
  4577. n += 1 + sovApi(uint64(m.AppId))
  4578. }
  4579. return n
  4580. }
  4581. func (m *BilibiliVipGrantReply) Size() (n int) {
  4582. var l int
  4583. _ = l
  4584. return n
  4585. }
  4586. func (m *CreateAssociateOrderReq) Size() (n int) {
  4587. var l int
  4588. _ = l
  4589. if m.Mid != 0 {
  4590. n += 1 + sovApi(uint64(m.Mid))
  4591. }
  4592. if m.Month != 0 {
  4593. n += 1 + sovApi(uint64(m.Month))
  4594. }
  4595. l = len(m.Platform)
  4596. if l > 0 {
  4597. n += 1 + l + sovApi(uint64(l))
  4598. }
  4599. l = len(m.MobiApp)
  4600. if l > 0 {
  4601. n += 1 + l + sovApi(uint64(l))
  4602. }
  4603. l = len(m.Device)
  4604. if l > 0 {
  4605. n += 1 + l + sovApi(uint64(l))
  4606. }
  4607. if m.AppId != 0 {
  4608. n += 1 + sovApi(uint64(m.AppId))
  4609. }
  4610. l = len(m.AppSubId)
  4611. if l > 0 {
  4612. n += 1 + l + sovApi(uint64(l))
  4613. }
  4614. if m.OrderType != 0 {
  4615. n += 1 + sovApi(uint64(m.OrderType))
  4616. }
  4617. if m.Dtype != 0 {
  4618. n += 1 + sovApi(uint64(m.Dtype))
  4619. }
  4620. l = len(m.ReturnUrl)
  4621. if l > 0 {
  4622. n += 1 + l + sovApi(uint64(l))
  4623. }
  4624. l = len(m.CouponToken)
  4625. if l > 0 {
  4626. n += 1 + l + sovApi(uint64(l))
  4627. }
  4628. if m.Bmid != 0 {
  4629. n += 1 + sovApi(uint64(m.Bmid))
  4630. }
  4631. l = len(m.PanelType)
  4632. if l > 0 {
  4633. n += 1 + l + sovApi(uint64(l))
  4634. }
  4635. if m.Build != 0 {
  4636. n += 1 + sovApi(uint64(m.Build))
  4637. }
  4638. l = len(m.IP)
  4639. if l > 0 {
  4640. n += 1 + l + sovApi(uint64(l))
  4641. }
  4642. return n
  4643. }
  4644. func (m *CreateAssociateOrderReply) Size() (n int) {
  4645. var l int
  4646. _ = l
  4647. l = len(m.PayParam)
  4648. if l > 0 {
  4649. n += 1 + l + sovApi(uint64(l))
  4650. }
  4651. if m.Dprice != 0 {
  4652. n += 9
  4653. }
  4654. if m.Oprice != 0 {
  4655. n += 9
  4656. }
  4657. if m.CouponMoney != 0 {
  4658. n += 9
  4659. }
  4660. return n
  4661. }
  4662. func (m *AssociatePanelReq) Size() (n int) {
  4663. var l int
  4664. _ = l
  4665. if m.Mid != 0 {
  4666. n += 1 + sovApi(uint64(m.Mid))
  4667. }
  4668. if m.SortTp != 0 {
  4669. n += 1 + sovApi(uint64(m.SortTp))
  4670. }
  4671. l = len(m.IP)
  4672. if l > 0 {
  4673. n += 1 + l + sovApi(uint64(l))
  4674. }
  4675. l = len(m.MobiApp)
  4676. if l > 0 {
  4677. n += 1 + l + sovApi(uint64(l))
  4678. }
  4679. l = len(m.Device)
  4680. if l > 0 {
  4681. n += 1 + l + sovApi(uint64(l))
  4682. }
  4683. l = len(m.Platform)
  4684. if l > 0 {
  4685. n += 1 + l + sovApi(uint64(l))
  4686. }
  4687. if m.Plat != 0 {
  4688. n += 1 + sovApi(uint64(m.Plat))
  4689. }
  4690. l = len(m.PanelType)
  4691. if l > 0 {
  4692. n += 1 + l + sovApi(uint64(l))
  4693. }
  4694. if m.SubType != 0 {
  4695. n += 1 + sovApi(uint64(m.SubType))
  4696. }
  4697. if m.Month != 0 {
  4698. n += 1 + sovApi(uint64(m.Month))
  4699. }
  4700. if m.Build != 0 {
  4701. n += 1 + sovApi(uint64(m.Build))
  4702. }
  4703. return n
  4704. }
  4705. func (m *AssociatePanelReply) Size() (n int) {
  4706. var l int
  4707. _ = l
  4708. if len(m.List) > 0 {
  4709. for _, e := range m.List {
  4710. l = e.Size()
  4711. n += 1 + l + sovApi(uint64(l))
  4712. }
  4713. }
  4714. return n
  4715. }
  4716. func (m *AssociatePanelInfo) Size() (n int) {
  4717. var l int
  4718. _ = l
  4719. if m.Id != 0 {
  4720. n += 1 + sovApi(uint64(m.Id))
  4721. }
  4722. if m.Month != 0 {
  4723. n += 1 + sovApi(uint64(m.Month))
  4724. }
  4725. l = len(m.ProductName)
  4726. if l > 0 {
  4727. n += 1 + l + sovApi(uint64(l))
  4728. }
  4729. l = len(m.ProductId)
  4730. if l > 0 {
  4731. n += 1 + l + sovApi(uint64(l))
  4732. }
  4733. if m.SubType != 0 {
  4734. n += 1 + sovApi(uint64(m.SubType))
  4735. }
  4736. if m.SuitType != 0 {
  4737. n += 1 + sovApi(uint64(m.SuitType))
  4738. }
  4739. if m.OriginalPrice != 0 {
  4740. n += 9
  4741. }
  4742. if m.DiscountPrice != 0 {
  4743. n += 9
  4744. }
  4745. l = len(m.DiscountRate)
  4746. if l > 0 {
  4747. n += 1 + l + sovApi(uint64(l))
  4748. }
  4749. l = len(m.Remark)
  4750. if l > 0 {
  4751. n += 1 + l + sovApi(uint64(l))
  4752. }
  4753. if m.Selected != 0 {
  4754. n += 1 + sovApi(uint64(m.Selected))
  4755. }
  4756. if m.PayState != 0 {
  4757. n += 1 + sovApi(uint64(m.PayState))
  4758. }
  4759. l = len(m.PayMessage)
  4760. if l > 0 {
  4761. n += 1 + l + sovApi(uint64(l))
  4762. }
  4763. return n
  4764. }
  4765. func (m *OpenAuthCallBackReq) Size() (n int) {
  4766. var l int
  4767. _ = l
  4768. if m.Mid != 0 {
  4769. n += 1 + sovApi(uint64(m.Mid))
  4770. }
  4771. l = len(m.ThirdCode)
  4772. if l > 0 {
  4773. n += 1 + l + sovApi(uint64(l))
  4774. }
  4775. if m.AppId != 0 {
  4776. n += 1 + sovApi(uint64(m.AppId))
  4777. }
  4778. return n
  4779. }
  4780. func (m *OpenAuthCallBackReply) Size() (n int) {
  4781. var l int
  4782. _ = l
  4783. return n
  4784. }
  4785. func (m *EleRedPackagesReq) Size() (n int) {
  4786. var l int
  4787. _ = l
  4788. return n
  4789. }
  4790. func (m *EleRedPackagesReply) Size() (n int) {
  4791. var l int
  4792. _ = l
  4793. if len(m.List) > 0 {
  4794. for _, e := range m.List {
  4795. l = e.Size()
  4796. n += 1 + l + sovApi(uint64(l))
  4797. }
  4798. }
  4799. return n
  4800. }
  4801. func (m *ModelEleRedPackage) Size() (n int) {
  4802. var l int
  4803. _ = l
  4804. l = len(m.Name)
  4805. if l > 0 {
  4806. n += 1 + l + sovApi(uint64(l))
  4807. }
  4808. if m.Amount != 0 {
  4809. n += 9
  4810. }
  4811. if m.SumCondition != 0 {
  4812. n += 9
  4813. }
  4814. return n
  4815. }
  4816. func (m *EleSpecailFoodsReq) Size() (n int) {
  4817. var l int
  4818. _ = l
  4819. return n
  4820. }
  4821. func (m *EleSpecailFoodsReply) Size() (n int) {
  4822. var l int
  4823. _ = l
  4824. if len(m.List) > 0 {
  4825. for _, e := range m.List {
  4826. l = e.Size()
  4827. n += 1 + l + sovApi(uint64(l))
  4828. }
  4829. }
  4830. return n
  4831. }
  4832. func (m *ModelEleSpecailFoods) Size() (n int) {
  4833. var l int
  4834. _ = l
  4835. l = len(m.RestaurantName)
  4836. if l > 0 {
  4837. n += 1 + l + sovApi(uint64(l))
  4838. }
  4839. l = len(m.FoodName)
  4840. if l > 0 {
  4841. n += 1 + l + sovApi(uint64(l))
  4842. }
  4843. l = len(m.FoodUrl)
  4844. if l > 0 {
  4845. n += 1 + l + sovApi(uint64(l))
  4846. }
  4847. if m.Discount != 0 {
  4848. n += 9
  4849. }
  4850. if m.Amount != 0 {
  4851. n += 9
  4852. }
  4853. if m.OriginalAmount != 0 {
  4854. n += 9
  4855. }
  4856. if m.RatingPoint != 0 {
  4857. n += 9
  4858. }
  4859. return n
  4860. }
  4861. func (m *EleVipGrantReq) Size() (n int) {
  4862. var l int
  4863. _ = l
  4864. l = len(m.OrderNo)
  4865. if l > 0 {
  4866. n += 1 + l + sovApi(uint64(l))
  4867. }
  4868. return n
  4869. }
  4870. func (m *EleVipGrantReply) Size() (n int) {
  4871. var l int
  4872. _ = l
  4873. return n
  4874. }
  4875. func (m *VipUserPanelReq) Size() (n int) {
  4876. var l int
  4877. _ = l
  4878. if m.Mid != 0 {
  4879. n += 1 + sovApi(uint64(m.Mid))
  4880. }
  4881. if m.SortTp != 0 {
  4882. n += 1 + sovApi(uint64(m.SortTp))
  4883. }
  4884. l = len(m.Ip)
  4885. if l > 0 {
  4886. n += 1 + l + sovApi(uint64(l))
  4887. }
  4888. l = len(m.MobiApp)
  4889. if l > 0 {
  4890. n += 1 + l + sovApi(uint64(l))
  4891. }
  4892. l = len(m.Device)
  4893. if l > 0 {
  4894. n += 1 + l + sovApi(uint64(l))
  4895. }
  4896. l = len(m.Platform)
  4897. if l > 0 {
  4898. n += 1 + l + sovApi(uint64(l))
  4899. }
  4900. if m.Plat != 0 {
  4901. n += 1 + sovApi(uint64(m.Plat))
  4902. }
  4903. l = len(m.PanelType)
  4904. if l > 0 {
  4905. n += 1 + l + sovApi(uint64(l))
  4906. }
  4907. if m.SubType != 0 {
  4908. n += 1 + sovApi(uint64(m.SubType))
  4909. }
  4910. if m.Month != 0 {
  4911. n += 1 + sovApi(uint64(m.Month))
  4912. }
  4913. if m.Build != 0 {
  4914. n += 1 + sovApi(uint64(m.Build))
  4915. }
  4916. l = len(m.Lang)
  4917. if l > 0 {
  4918. n += 1 + l + sovApi(uint64(l))
  4919. }
  4920. return n
  4921. }
  4922. func (m *VipUserPanelReply) Size() (n int) {
  4923. var l int
  4924. _ = l
  4925. if len(m.PriceList) > 0 {
  4926. for _, e := range m.PriceList {
  4927. l = e.Size()
  4928. n += 1 + l + sovApi(uint64(l))
  4929. }
  4930. }
  4931. if m.Coupon != nil {
  4932. l = m.Coupon.Size()
  4933. n += 1 + l + sovApi(uint64(l))
  4934. }
  4935. if m.CouponSwitch != 0 {
  4936. n += 1 + sovApi(uint64(m.CouponSwitch))
  4937. }
  4938. if m.CodeSwitch != 0 {
  4939. n += 1 + sovApi(uint64(m.CodeSwitch))
  4940. }
  4941. if m.GiveSwitch != 0 {
  4942. n += 1 + sovApi(uint64(m.GiveSwitch))
  4943. }
  4944. if len(m.Privileges) > 0 {
  4945. for k, v := range m.Privileges {
  4946. _ = k
  4947. _ = v
  4948. l = 0
  4949. if v != nil {
  4950. l = v.Size()
  4951. l += 1 + sovApi(uint64(l))
  4952. }
  4953. mapEntrySize := 1 + sovApi(uint64(k)) + l
  4954. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  4955. }
  4956. }
  4957. return n
  4958. }
  4959. func (m *CouponBySuitIDReply) Size() (n int) {
  4960. var l int
  4961. _ = l
  4962. l = len(m.CouponTip)
  4963. if l > 0 {
  4964. n += 1 + l + sovApi(uint64(l))
  4965. }
  4966. if m.CouponInfo != nil {
  4967. l = m.CouponInfo.Size()
  4968. n += 1 + l + sovApi(uint64(l))
  4969. }
  4970. return n
  4971. }
  4972. func (m *ModelCouponAllowancePanelInfo) Size() (n int) {
  4973. var l int
  4974. _ = l
  4975. l = len(m.CouponToken)
  4976. if l > 0 {
  4977. n += 1 + l + sovApi(uint64(l))
  4978. }
  4979. if m.CouponAmount != 0 {
  4980. n += 9
  4981. }
  4982. if m.State != 0 {
  4983. n += 1 + sovApi(uint64(m.State))
  4984. }
  4985. l = len(m.FullLimitExplain)
  4986. if l > 0 {
  4987. n += 1 + l + sovApi(uint64(l))
  4988. }
  4989. l = len(m.ScopeExplain)
  4990. if l > 0 {
  4991. n += 1 + l + sovApi(uint64(l))
  4992. }
  4993. if m.FullAmount != 0 {
  4994. n += 9
  4995. }
  4996. if m.CouponDiscountPrice != 0 {
  4997. n += 9
  4998. }
  4999. if m.StartTime != 0 {
  5000. n += 1 + sovApi(uint64(m.StartTime))
  5001. }
  5002. if m.ExpireTime != 0 {
  5003. n += 1 + sovApi(uint64(m.ExpireTime))
  5004. }
  5005. if m.Selected != 0 {
  5006. n += 1 + sovApi(uint64(m.Selected))
  5007. }
  5008. l = len(m.DisablesExplains)
  5009. if l > 0 {
  5010. n += 1 + l + sovApi(uint64(l))
  5011. }
  5012. l = len(m.OrderNo)
  5013. if l > 0 {
  5014. n += 1 + l + sovApi(uint64(l))
  5015. }
  5016. l = len(m.Name)
  5017. if l > 0 {
  5018. n += 1 + l + sovApi(uint64(l))
  5019. }
  5020. if m.Usable != 0 {
  5021. n += 1 + sovApi(uint64(m.Usable))
  5022. }
  5023. return n
  5024. }
  5025. func (m *ModelVipPanelInfo) Size() (n int) {
  5026. var l int
  5027. _ = l
  5028. if m.Month != 0 {
  5029. n += 1 + sovApi(uint64(m.Month))
  5030. }
  5031. l = len(m.ProductName)
  5032. if l > 0 {
  5033. n += 1 + l + sovApi(uint64(l))
  5034. }
  5035. l = len(m.ProductId)
  5036. if l > 0 {
  5037. n += 1 + l + sovApi(uint64(l))
  5038. }
  5039. if m.SubType != 0 {
  5040. n += 1 + sovApi(uint64(m.SubType))
  5041. }
  5042. if m.SuitType != 0 {
  5043. n += 1 + sovApi(uint64(m.SuitType))
  5044. }
  5045. if m.OriginalPrice != 0 {
  5046. n += 9
  5047. }
  5048. if m.DiscountPrice != 0 {
  5049. n += 9
  5050. }
  5051. l = len(m.DiscountRate)
  5052. if l > 0 {
  5053. n += 1 + l + sovApi(uint64(l))
  5054. }
  5055. l = len(m.Remark)
  5056. if l > 0 {
  5057. n += 1 + l + sovApi(uint64(l))
  5058. }
  5059. if m.Selected != 0 {
  5060. n += 1 + sovApi(uint64(m.Selected))
  5061. }
  5062. if m.Id != 0 {
  5063. n += 1 + sovApi(uint64(m.Id))
  5064. }
  5065. if m.Type != 0 {
  5066. n += 1 + sovApi(uint64(m.Type))
  5067. }
  5068. return n
  5069. }
  5070. func (m *ModelPrivilegeResp) Size() (n int) {
  5071. var l int
  5072. _ = l
  5073. l = len(m.Title)
  5074. if l > 0 {
  5075. n += 1 + l + sovApi(uint64(l))
  5076. }
  5077. if len(m.List) > 0 {
  5078. for _, e := range m.List {
  5079. l = e.Size()
  5080. n += 1 + l + sovApi(uint64(l))
  5081. }
  5082. }
  5083. return n
  5084. }
  5085. func (m *ModelPrivilege) Size() (n int) {
  5086. var l int
  5087. _ = l
  5088. l = len(m.Name)
  5089. if l > 0 {
  5090. n += 1 + l + sovApi(uint64(l))
  5091. }
  5092. l = len(m.IconUrl)
  5093. if l > 0 {
  5094. n += 1 + l + sovApi(uint64(l))
  5095. }
  5096. if m.Type != 0 {
  5097. n += 1 + sovApi(uint64(m.Type))
  5098. }
  5099. return n
  5100. }
  5101. func (m *CouponBySuitIDReq) Size() (n int) {
  5102. var l int
  5103. _ = l
  5104. if m.Mid != 0 {
  5105. n += 1 + sovApi(uint64(m.Mid))
  5106. }
  5107. if m.Sid != 0 {
  5108. n += 1 + sovApi(uint64(m.Sid))
  5109. }
  5110. l = len(m.MobiApp)
  5111. if l > 0 {
  5112. n += 1 + l + sovApi(uint64(l))
  5113. }
  5114. l = len(m.Device)
  5115. if l > 0 {
  5116. n += 1 + l + sovApi(uint64(l))
  5117. }
  5118. l = len(m.Platform)
  5119. if l > 0 {
  5120. n += 1 + l + sovApi(uint64(l))
  5121. }
  5122. l = len(m.PanelType)
  5123. if l > 0 {
  5124. n += 1 + l + sovApi(uint64(l))
  5125. }
  5126. if m.Build != 0 {
  5127. n += 1 + sovApi(uint64(m.Build))
  5128. }
  5129. return n
  5130. }
  5131. func (m *WelfareReq) Size() (n int) {
  5132. var l int
  5133. _ = l
  5134. if m.Tid != 0 {
  5135. n += 1 + sovApi(uint64(m.Tid))
  5136. }
  5137. if m.Recommend != 0 {
  5138. n += 1 + sovApi(uint64(m.Recommend))
  5139. }
  5140. if m.Ps != 0 {
  5141. n += 1 + sovApi(uint64(m.Ps))
  5142. }
  5143. if m.Pn != 0 {
  5144. n += 1 + sovApi(uint64(m.Pn))
  5145. }
  5146. return n
  5147. }
  5148. func (m *WelfareReply) Size() (n int) {
  5149. var l int
  5150. _ = l
  5151. if m.Count != 0 {
  5152. n += 1 + sovApi(uint64(m.Count))
  5153. }
  5154. if len(m.List) > 0 {
  5155. for _, e := range m.List {
  5156. l = e.Size()
  5157. n += 1 + l + sovApi(uint64(l))
  5158. }
  5159. }
  5160. return n
  5161. }
  5162. func (m *WelfareListDetail) Size() (n int) {
  5163. var l int
  5164. _ = l
  5165. if m.Id != 0 {
  5166. n += 1 + sovApi(uint64(m.Id))
  5167. }
  5168. l = len(m.Name)
  5169. if l > 0 {
  5170. n += 1 + l + sovApi(uint64(l))
  5171. }
  5172. l = len(m.HomepageUri)
  5173. if l > 0 {
  5174. n += 1 + l + sovApi(uint64(l))
  5175. }
  5176. l = len(m.BackdropUri)
  5177. if l > 0 {
  5178. n += 1 + l + sovApi(uint64(l))
  5179. }
  5180. if m.Tid != 0 {
  5181. n += 1 + sovApi(uint64(m.Tid))
  5182. }
  5183. if m.Rank != 0 {
  5184. n += 1 + sovApi(uint64(m.Rank))
  5185. }
  5186. return n
  5187. }
  5188. func (m *WelfareTypeReq) Size() (n int) {
  5189. var l int
  5190. _ = l
  5191. return n
  5192. }
  5193. func (m *WelfareTypeReply) Size() (n int) {
  5194. var l int
  5195. _ = l
  5196. if len(m.List) > 0 {
  5197. for _, e := range m.List {
  5198. l = e.Size()
  5199. n += 1 + l + sovApi(uint64(l))
  5200. }
  5201. }
  5202. return n
  5203. }
  5204. func (m *WelfareTypeListDetail) Size() (n int) {
  5205. var l int
  5206. _ = l
  5207. if m.Id != 0 {
  5208. n += 1 + sovApi(uint64(m.Id))
  5209. }
  5210. l = len(m.Name)
  5211. if l > 0 {
  5212. n += 1 + l + sovApi(uint64(l))
  5213. }
  5214. return n
  5215. }
  5216. func (m *WelfareInfoReq) Size() (n int) {
  5217. var l int
  5218. _ = l
  5219. if m.Id != 0 {
  5220. n += 1 + sovApi(uint64(m.Id))
  5221. }
  5222. if m.Mid != 0 {
  5223. n += 1 + sovApi(uint64(m.Mid))
  5224. }
  5225. return n
  5226. }
  5227. func (m *WelfareInfoReply) Size() (n int) {
  5228. var l int
  5229. _ = l
  5230. if m.Id != 0 {
  5231. n += 1 + sovApi(uint64(m.Id))
  5232. }
  5233. l = len(m.Name)
  5234. if l > 0 {
  5235. n += 1 + l + sovApi(uint64(l))
  5236. }
  5237. l = len(m.Desc)
  5238. if l > 0 {
  5239. n += 1 + l + sovApi(uint64(l))
  5240. }
  5241. l = len(m.HomepageUri)
  5242. if l > 0 {
  5243. n += 1 + l + sovApi(uint64(l))
  5244. }
  5245. l = len(m.BackdropUri)
  5246. if l > 0 {
  5247. n += 1 + l + sovApi(uint64(l))
  5248. }
  5249. if m.Finished {
  5250. n += 2
  5251. }
  5252. if m.Received {
  5253. n += 2
  5254. }
  5255. if m.VipType != 0 {
  5256. n += 1 + sovApi(uint64(m.VipType))
  5257. }
  5258. if m.Stime != 0 {
  5259. n += 1 + sovApi(uint64(m.Stime))
  5260. }
  5261. if m.Etime != 0 {
  5262. n += 1 + sovApi(uint64(m.Etime))
  5263. }
  5264. return n
  5265. }
  5266. func (m *WelfareReceiveReq) Size() (n int) {
  5267. var l int
  5268. _ = l
  5269. if m.Wid != 0 {
  5270. n += 1 + sovApi(uint64(m.Wid))
  5271. }
  5272. if m.Mid != 0 {
  5273. n += 1 + sovApi(uint64(m.Mid))
  5274. }
  5275. return n
  5276. }
  5277. func (m *WelfareReceiveReply) Size() (n int) {
  5278. var l int
  5279. _ = l
  5280. return n
  5281. }
  5282. func (m *MyWelfareReq) Size() (n int) {
  5283. var l int
  5284. _ = l
  5285. if m.Mid != 0 {
  5286. n += 1 + sovApi(uint64(m.Mid))
  5287. }
  5288. return n
  5289. }
  5290. func (m *MyWelfareReply) Size() (n int) {
  5291. var l int
  5292. _ = l
  5293. if len(m.List) > 0 {
  5294. for _, e := range m.List {
  5295. l = e.Size()
  5296. n += 1 + l + sovApi(uint64(l))
  5297. }
  5298. }
  5299. return n
  5300. }
  5301. func (m *MyWelfareDetail) Size() (n int) {
  5302. var l int
  5303. _ = l
  5304. if m.Wid != 0 {
  5305. n += 1 + sovApi(uint64(m.Wid))
  5306. }
  5307. l = len(m.Name)
  5308. if l > 0 {
  5309. n += 1 + l + sovApi(uint64(l))
  5310. }
  5311. l = len(m.Desc)
  5312. if l > 0 {
  5313. n += 1 + l + sovApi(uint64(l))
  5314. }
  5315. if m.UsageForm != 0 {
  5316. n += 1 + sovApi(uint64(m.UsageForm))
  5317. }
  5318. l = len(m.ReceiveUri)
  5319. if l > 0 {
  5320. n += 1 + l + sovApi(uint64(l))
  5321. }
  5322. l = len(m.Code)
  5323. if l > 0 {
  5324. n += 1 + l + sovApi(uint64(l))
  5325. }
  5326. if m.Stime != 0 {
  5327. n += 1 + sovApi(uint64(m.Stime))
  5328. }
  5329. if m.Etime != 0 {
  5330. n += 1 + sovApi(uint64(m.Etime))
  5331. }
  5332. if m.Expired {
  5333. n += 2
  5334. }
  5335. return n
  5336. }
  5337. func sovApi(x uint64) (n int) {
  5338. for {
  5339. n++
  5340. x >>= 7
  5341. if x == 0 {
  5342. break
  5343. }
  5344. }
  5345. return n
  5346. }
  5347. func sozApi(x uint64) (n int) {
  5348. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  5349. }
  5350. func (m *RegisterOpenIDReq) Unmarshal(dAtA []byte) error {
  5351. l := len(dAtA)
  5352. iNdEx := 0
  5353. for iNdEx < l {
  5354. preIndex := iNdEx
  5355. var wire uint64
  5356. for shift := uint(0); ; shift += 7 {
  5357. if shift >= 64 {
  5358. return ErrIntOverflowApi
  5359. }
  5360. if iNdEx >= l {
  5361. return io.ErrUnexpectedEOF
  5362. }
  5363. b := dAtA[iNdEx]
  5364. iNdEx++
  5365. wire |= (uint64(b) & 0x7F) << shift
  5366. if b < 0x80 {
  5367. break
  5368. }
  5369. }
  5370. fieldNum := int32(wire >> 3)
  5371. wireType := int(wire & 0x7)
  5372. if wireType == 4 {
  5373. return fmt.Errorf("proto: RegisterOpenIDReq: wiretype end group for non-group")
  5374. }
  5375. if fieldNum <= 0 {
  5376. return fmt.Errorf("proto: RegisterOpenIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5377. }
  5378. switch fieldNum {
  5379. case 1:
  5380. if wireType != 0 {
  5381. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5382. }
  5383. m.Mid = 0
  5384. for shift := uint(0); ; shift += 7 {
  5385. if shift >= 64 {
  5386. return ErrIntOverflowApi
  5387. }
  5388. if iNdEx >= l {
  5389. return io.ErrUnexpectedEOF
  5390. }
  5391. b := dAtA[iNdEx]
  5392. iNdEx++
  5393. m.Mid |= (int64(b) & 0x7F) << shift
  5394. if b < 0x80 {
  5395. break
  5396. }
  5397. }
  5398. case 2:
  5399. if wireType != 0 {
  5400. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  5401. }
  5402. m.AppId = 0
  5403. for shift := uint(0); ; shift += 7 {
  5404. if shift >= 64 {
  5405. return ErrIntOverflowApi
  5406. }
  5407. if iNdEx >= l {
  5408. return io.ErrUnexpectedEOF
  5409. }
  5410. b := dAtA[iNdEx]
  5411. iNdEx++
  5412. m.AppId |= (int64(b) & 0x7F) << shift
  5413. if b < 0x80 {
  5414. break
  5415. }
  5416. }
  5417. default:
  5418. iNdEx = preIndex
  5419. skippy, err := skipApi(dAtA[iNdEx:])
  5420. if err != nil {
  5421. return err
  5422. }
  5423. if skippy < 0 {
  5424. return ErrInvalidLengthApi
  5425. }
  5426. if (iNdEx + skippy) > l {
  5427. return io.ErrUnexpectedEOF
  5428. }
  5429. iNdEx += skippy
  5430. }
  5431. }
  5432. if iNdEx > l {
  5433. return io.ErrUnexpectedEOF
  5434. }
  5435. return nil
  5436. }
  5437. func (m *RegisterOpenIDReply) Unmarshal(dAtA []byte) error {
  5438. l := len(dAtA)
  5439. iNdEx := 0
  5440. for iNdEx < l {
  5441. preIndex := iNdEx
  5442. var wire uint64
  5443. for shift := uint(0); ; shift += 7 {
  5444. if shift >= 64 {
  5445. return ErrIntOverflowApi
  5446. }
  5447. if iNdEx >= l {
  5448. return io.ErrUnexpectedEOF
  5449. }
  5450. b := dAtA[iNdEx]
  5451. iNdEx++
  5452. wire |= (uint64(b) & 0x7F) << shift
  5453. if b < 0x80 {
  5454. break
  5455. }
  5456. }
  5457. fieldNum := int32(wire >> 3)
  5458. wireType := int(wire & 0x7)
  5459. if wireType == 4 {
  5460. return fmt.Errorf("proto: RegisterOpenIDReply: wiretype end group for non-group")
  5461. }
  5462. if fieldNum <= 0 {
  5463. return fmt.Errorf("proto: RegisterOpenIDReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5464. }
  5465. switch fieldNum {
  5466. case 1:
  5467. if wireType != 2 {
  5468. return fmt.Errorf("proto: wrong wireType = %d for field OpenId", wireType)
  5469. }
  5470. var stringLen uint64
  5471. for shift := uint(0); ; shift += 7 {
  5472. if shift >= 64 {
  5473. return ErrIntOverflowApi
  5474. }
  5475. if iNdEx >= l {
  5476. return io.ErrUnexpectedEOF
  5477. }
  5478. b := dAtA[iNdEx]
  5479. iNdEx++
  5480. stringLen |= (uint64(b) & 0x7F) << shift
  5481. if b < 0x80 {
  5482. break
  5483. }
  5484. }
  5485. intStringLen := int(stringLen)
  5486. if intStringLen < 0 {
  5487. return ErrInvalidLengthApi
  5488. }
  5489. postIndex := iNdEx + intStringLen
  5490. if postIndex > l {
  5491. return io.ErrUnexpectedEOF
  5492. }
  5493. m.OpenId = string(dAtA[iNdEx:postIndex])
  5494. iNdEx = postIndex
  5495. default:
  5496. iNdEx = preIndex
  5497. skippy, err := skipApi(dAtA[iNdEx:])
  5498. if err != nil {
  5499. return err
  5500. }
  5501. if skippy < 0 {
  5502. return ErrInvalidLengthApi
  5503. }
  5504. if (iNdEx + skippy) > l {
  5505. return io.ErrUnexpectedEOF
  5506. }
  5507. iNdEx += skippy
  5508. }
  5509. }
  5510. if iNdEx > l {
  5511. return io.ErrUnexpectedEOF
  5512. }
  5513. return nil
  5514. }
  5515. func (m *OpenBindByOutOpenIDReq) Unmarshal(dAtA []byte) error {
  5516. l := len(dAtA)
  5517. iNdEx := 0
  5518. for iNdEx < l {
  5519. preIndex := iNdEx
  5520. var wire uint64
  5521. for shift := uint(0); ; shift += 7 {
  5522. if shift >= 64 {
  5523. return ErrIntOverflowApi
  5524. }
  5525. if iNdEx >= l {
  5526. return io.ErrUnexpectedEOF
  5527. }
  5528. b := dAtA[iNdEx]
  5529. iNdEx++
  5530. wire |= (uint64(b) & 0x7F) << shift
  5531. if b < 0x80 {
  5532. break
  5533. }
  5534. }
  5535. fieldNum := int32(wire >> 3)
  5536. wireType := int(wire & 0x7)
  5537. if wireType == 4 {
  5538. return fmt.Errorf("proto: OpenBindByOutOpenIDReq: wiretype end group for non-group")
  5539. }
  5540. if fieldNum <= 0 {
  5541. return fmt.Errorf("proto: OpenBindByOutOpenIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5542. }
  5543. switch fieldNum {
  5544. case 1:
  5545. if wireType != 2 {
  5546. return fmt.Errorf("proto: wrong wireType = %d for field OpenId", wireType)
  5547. }
  5548. var stringLen uint64
  5549. for shift := uint(0); ; shift += 7 {
  5550. if shift >= 64 {
  5551. return ErrIntOverflowApi
  5552. }
  5553. if iNdEx >= l {
  5554. return io.ErrUnexpectedEOF
  5555. }
  5556. b := dAtA[iNdEx]
  5557. iNdEx++
  5558. stringLen |= (uint64(b) & 0x7F) << shift
  5559. if b < 0x80 {
  5560. break
  5561. }
  5562. }
  5563. intStringLen := int(stringLen)
  5564. if intStringLen < 0 {
  5565. return ErrInvalidLengthApi
  5566. }
  5567. postIndex := iNdEx + intStringLen
  5568. if postIndex > l {
  5569. return io.ErrUnexpectedEOF
  5570. }
  5571. m.OpenId = string(dAtA[iNdEx:postIndex])
  5572. iNdEx = postIndex
  5573. case 2:
  5574. if wireType != 2 {
  5575. return fmt.Errorf("proto: wrong wireType = %d for field OutOpenId", wireType)
  5576. }
  5577. var stringLen uint64
  5578. for shift := uint(0); ; shift += 7 {
  5579. if shift >= 64 {
  5580. return ErrIntOverflowApi
  5581. }
  5582. if iNdEx >= l {
  5583. return io.ErrUnexpectedEOF
  5584. }
  5585. b := dAtA[iNdEx]
  5586. iNdEx++
  5587. stringLen |= (uint64(b) & 0x7F) << shift
  5588. if b < 0x80 {
  5589. break
  5590. }
  5591. }
  5592. intStringLen := int(stringLen)
  5593. if intStringLen < 0 {
  5594. return ErrInvalidLengthApi
  5595. }
  5596. postIndex := iNdEx + intStringLen
  5597. if postIndex > l {
  5598. return io.ErrUnexpectedEOF
  5599. }
  5600. m.OutOpenId = string(dAtA[iNdEx:postIndex])
  5601. iNdEx = postIndex
  5602. case 3:
  5603. if wireType != 0 {
  5604. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  5605. }
  5606. m.AppId = 0
  5607. for shift := uint(0); ; shift += 7 {
  5608. if shift >= 64 {
  5609. return ErrIntOverflowApi
  5610. }
  5611. if iNdEx >= l {
  5612. return io.ErrUnexpectedEOF
  5613. }
  5614. b := dAtA[iNdEx]
  5615. iNdEx++
  5616. m.AppId |= (int64(b) & 0x7F) << shift
  5617. if b < 0x80 {
  5618. break
  5619. }
  5620. }
  5621. default:
  5622. iNdEx = preIndex
  5623. skippy, err := skipApi(dAtA[iNdEx:])
  5624. if err != nil {
  5625. return err
  5626. }
  5627. if skippy < 0 {
  5628. return ErrInvalidLengthApi
  5629. }
  5630. if (iNdEx + skippy) > l {
  5631. return io.ErrUnexpectedEOF
  5632. }
  5633. iNdEx += skippy
  5634. }
  5635. }
  5636. if iNdEx > l {
  5637. return io.ErrUnexpectedEOF
  5638. }
  5639. return nil
  5640. }
  5641. func (m *OpenBindByOutOpenIDReply) Unmarshal(dAtA []byte) error {
  5642. l := len(dAtA)
  5643. iNdEx := 0
  5644. for iNdEx < l {
  5645. preIndex := iNdEx
  5646. var wire uint64
  5647. for shift := uint(0); ; shift += 7 {
  5648. if shift >= 64 {
  5649. return ErrIntOverflowApi
  5650. }
  5651. if iNdEx >= l {
  5652. return io.ErrUnexpectedEOF
  5653. }
  5654. b := dAtA[iNdEx]
  5655. iNdEx++
  5656. wire |= (uint64(b) & 0x7F) << shift
  5657. if b < 0x80 {
  5658. break
  5659. }
  5660. }
  5661. fieldNum := int32(wire >> 3)
  5662. wireType := int(wire & 0x7)
  5663. if wireType == 4 {
  5664. return fmt.Errorf("proto: OpenBindByOutOpenIDReply: wiretype end group for non-group")
  5665. }
  5666. if fieldNum <= 0 {
  5667. return fmt.Errorf("proto: OpenBindByOutOpenIDReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5668. }
  5669. switch fieldNum {
  5670. default:
  5671. iNdEx = preIndex
  5672. skippy, err := skipApi(dAtA[iNdEx:])
  5673. if err != nil {
  5674. return err
  5675. }
  5676. if skippy < 0 {
  5677. return ErrInvalidLengthApi
  5678. }
  5679. if (iNdEx + skippy) > l {
  5680. return io.ErrUnexpectedEOF
  5681. }
  5682. iNdEx += skippy
  5683. }
  5684. }
  5685. if iNdEx > l {
  5686. return io.ErrUnexpectedEOF
  5687. }
  5688. return nil
  5689. }
  5690. func (m *UserInfoByOpenIDReq) Unmarshal(dAtA []byte) error {
  5691. l := len(dAtA)
  5692. iNdEx := 0
  5693. for iNdEx < l {
  5694. preIndex := iNdEx
  5695. var wire uint64
  5696. for shift := uint(0); ; shift += 7 {
  5697. if shift >= 64 {
  5698. return ErrIntOverflowApi
  5699. }
  5700. if iNdEx >= l {
  5701. return io.ErrUnexpectedEOF
  5702. }
  5703. b := dAtA[iNdEx]
  5704. iNdEx++
  5705. wire |= (uint64(b) & 0x7F) << shift
  5706. if b < 0x80 {
  5707. break
  5708. }
  5709. }
  5710. fieldNum := int32(wire >> 3)
  5711. wireType := int(wire & 0x7)
  5712. if wireType == 4 {
  5713. return fmt.Errorf("proto: UserInfoByOpenIDReq: wiretype end group for non-group")
  5714. }
  5715. if fieldNum <= 0 {
  5716. return fmt.Errorf("proto: UserInfoByOpenIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5717. }
  5718. switch fieldNum {
  5719. case 1:
  5720. if wireType != 2 {
  5721. return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
  5722. }
  5723. var stringLen uint64
  5724. for shift := uint(0); ; shift += 7 {
  5725. if shift >= 64 {
  5726. return ErrIntOverflowApi
  5727. }
  5728. if iNdEx >= l {
  5729. return io.ErrUnexpectedEOF
  5730. }
  5731. b := dAtA[iNdEx]
  5732. iNdEx++
  5733. stringLen |= (uint64(b) & 0x7F) << shift
  5734. if b < 0x80 {
  5735. break
  5736. }
  5737. }
  5738. intStringLen := int(stringLen)
  5739. if intStringLen < 0 {
  5740. return ErrInvalidLengthApi
  5741. }
  5742. postIndex := iNdEx + intStringLen
  5743. if postIndex > l {
  5744. return io.ErrUnexpectedEOF
  5745. }
  5746. m.Ip = string(dAtA[iNdEx:postIndex])
  5747. iNdEx = postIndex
  5748. case 2:
  5749. if wireType != 2 {
  5750. return fmt.Errorf("proto: wrong wireType = %d for field OpenId", wireType)
  5751. }
  5752. var stringLen uint64
  5753. for shift := uint(0); ; shift += 7 {
  5754. if shift >= 64 {
  5755. return ErrIntOverflowApi
  5756. }
  5757. if iNdEx >= l {
  5758. return io.ErrUnexpectedEOF
  5759. }
  5760. b := dAtA[iNdEx]
  5761. iNdEx++
  5762. stringLen |= (uint64(b) & 0x7F) << shift
  5763. if b < 0x80 {
  5764. break
  5765. }
  5766. }
  5767. intStringLen := int(stringLen)
  5768. if intStringLen < 0 {
  5769. return ErrInvalidLengthApi
  5770. }
  5771. postIndex := iNdEx + intStringLen
  5772. if postIndex > l {
  5773. return io.ErrUnexpectedEOF
  5774. }
  5775. m.OpenId = string(dAtA[iNdEx:postIndex])
  5776. iNdEx = postIndex
  5777. case 3:
  5778. if wireType != 0 {
  5779. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  5780. }
  5781. m.AppId = 0
  5782. for shift := uint(0); ; shift += 7 {
  5783. if shift >= 64 {
  5784. return ErrIntOverflowApi
  5785. }
  5786. if iNdEx >= l {
  5787. return io.ErrUnexpectedEOF
  5788. }
  5789. b := dAtA[iNdEx]
  5790. iNdEx++
  5791. m.AppId |= (int64(b) & 0x7F) << shift
  5792. if b < 0x80 {
  5793. break
  5794. }
  5795. }
  5796. default:
  5797. iNdEx = preIndex
  5798. skippy, err := skipApi(dAtA[iNdEx:])
  5799. if err != nil {
  5800. return err
  5801. }
  5802. if skippy < 0 {
  5803. return ErrInvalidLengthApi
  5804. }
  5805. if (iNdEx + skippy) > l {
  5806. return io.ErrUnexpectedEOF
  5807. }
  5808. iNdEx += skippy
  5809. }
  5810. }
  5811. if iNdEx > l {
  5812. return io.ErrUnexpectedEOF
  5813. }
  5814. return nil
  5815. }
  5816. func (m *UserInfoByOpenIDReply) Unmarshal(dAtA []byte) error {
  5817. l := len(dAtA)
  5818. iNdEx := 0
  5819. for iNdEx < l {
  5820. preIndex := iNdEx
  5821. var wire uint64
  5822. for shift := uint(0); ; shift += 7 {
  5823. if shift >= 64 {
  5824. return ErrIntOverflowApi
  5825. }
  5826. if iNdEx >= l {
  5827. return io.ErrUnexpectedEOF
  5828. }
  5829. b := dAtA[iNdEx]
  5830. iNdEx++
  5831. wire |= (uint64(b) & 0x7F) << shift
  5832. if b < 0x80 {
  5833. break
  5834. }
  5835. }
  5836. fieldNum := int32(wire >> 3)
  5837. wireType := int(wire & 0x7)
  5838. if wireType == 4 {
  5839. return fmt.Errorf("proto: UserInfoByOpenIDReply: wiretype end group for non-group")
  5840. }
  5841. if fieldNum <= 0 {
  5842. return fmt.Errorf("proto: UserInfoByOpenIDReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5843. }
  5844. switch fieldNum {
  5845. case 1:
  5846. if wireType != 2 {
  5847. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5848. }
  5849. var stringLen uint64
  5850. for shift := uint(0); ; shift += 7 {
  5851. if shift >= 64 {
  5852. return ErrIntOverflowApi
  5853. }
  5854. if iNdEx >= l {
  5855. return io.ErrUnexpectedEOF
  5856. }
  5857. b := dAtA[iNdEx]
  5858. iNdEx++
  5859. stringLen |= (uint64(b) & 0x7F) << shift
  5860. if b < 0x80 {
  5861. break
  5862. }
  5863. }
  5864. intStringLen := int(stringLen)
  5865. if intStringLen < 0 {
  5866. return ErrInvalidLengthApi
  5867. }
  5868. postIndex := iNdEx + intStringLen
  5869. if postIndex > l {
  5870. return io.ErrUnexpectedEOF
  5871. }
  5872. m.Name = string(dAtA[iNdEx:postIndex])
  5873. iNdEx = postIndex
  5874. case 2:
  5875. if wireType != 0 {
  5876. return fmt.Errorf("proto: wrong wireType = %d for field BindState", wireType)
  5877. }
  5878. m.BindState = 0
  5879. for shift := uint(0); ; shift += 7 {
  5880. if shift >= 64 {
  5881. return ErrIntOverflowApi
  5882. }
  5883. if iNdEx >= l {
  5884. return io.ErrUnexpectedEOF
  5885. }
  5886. b := dAtA[iNdEx]
  5887. iNdEx++
  5888. m.BindState |= (int32(b) & 0x7F) << shift
  5889. if b < 0x80 {
  5890. break
  5891. }
  5892. }
  5893. case 3:
  5894. if wireType != 2 {
  5895. return fmt.Errorf("proto: wrong wireType = %d for field OutOpenId", wireType)
  5896. }
  5897. var stringLen uint64
  5898. for shift := uint(0); ; shift += 7 {
  5899. if shift >= 64 {
  5900. return ErrIntOverflowApi
  5901. }
  5902. if iNdEx >= l {
  5903. return io.ErrUnexpectedEOF
  5904. }
  5905. b := dAtA[iNdEx]
  5906. iNdEx++
  5907. stringLen |= (uint64(b) & 0x7F) << shift
  5908. if b < 0x80 {
  5909. break
  5910. }
  5911. }
  5912. intStringLen := int(stringLen)
  5913. if intStringLen < 0 {
  5914. return ErrInvalidLengthApi
  5915. }
  5916. postIndex := iNdEx + intStringLen
  5917. if postIndex > l {
  5918. return io.ErrUnexpectedEOF
  5919. }
  5920. m.OutOpenId = string(dAtA[iNdEx:postIndex])
  5921. iNdEx = postIndex
  5922. default:
  5923. iNdEx = preIndex
  5924. skippy, err := skipApi(dAtA[iNdEx:])
  5925. if err != nil {
  5926. return err
  5927. }
  5928. if skippy < 0 {
  5929. return ErrInvalidLengthApi
  5930. }
  5931. if (iNdEx + skippy) > l {
  5932. return io.ErrUnexpectedEOF
  5933. }
  5934. iNdEx += skippy
  5935. }
  5936. }
  5937. if iNdEx > l {
  5938. return io.ErrUnexpectedEOF
  5939. }
  5940. return nil
  5941. }
  5942. func (m *BindInfoByMidReq) Unmarshal(dAtA []byte) error {
  5943. l := len(dAtA)
  5944. iNdEx := 0
  5945. for iNdEx < l {
  5946. preIndex := iNdEx
  5947. var wire uint64
  5948. for shift := uint(0); ; shift += 7 {
  5949. if shift >= 64 {
  5950. return ErrIntOverflowApi
  5951. }
  5952. if iNdEx >= l {
  5953. return io.ErrUnexpectedEOF
  5954. }
  5955. b := dAtA[iNdEx]
  5956. iNdEx++
  5957. wire |= (uint64(b) & 0x7F) << shift
  5958. if b < 0x80 {
  5959. break
  5960. }
  5961. }
  5962. fieldNum := int32(wire >> 3)
  5963. wireType := int(wire & 0x7)
  5964. if wireType == 4 {
  5965. return fmt.Errorf("proto: BindInfoByMidReq: wiretype end group for non-group")
  5966. }
  5967. if fieldNum <= 0 {
  5968. return fmt.Errorf("proto: BindInfoByMidReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5969. }
  5970. switch fieldNum {
  5971. case 1:
  5972. if wireType != 0 {
  5973. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5974. }
  5975. m.Mid = 0
  5976. for shift := uint(0); ; shift += 7 {
  5977. if shift >= 64 {
  5978. return ErrIntOverflowApi
  5979. }
  5980. if iNdEx >= l {
  5981. return io.ErrUnexpectedEOF
  5982. }
  5983. b := dAtA[iNdEx]
  5984. iNdEx++
  5985. m.Mid |= (int64(b) & 0x7F) << shift
  5986. if b < 0x80 {
  5987. break
  5988. }
  5989. }
  5990. case 2:
  5991. if wireType != 0 {
  5992. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  5993. }
  5994. m.AppId = 0
  5995. for shift := uint(0); ; shift += 7 {
  5996. if shift >= 64 {
  5997. return ErrIntOverflowApi
  5998. }
  5999. if iNdEx >= l {
  6000. return io.ErrUnexpectedEOF
  6001. }
  6002. b := dAtA[iNdEx]
  6003. iNdEx++
  6004. m.AppId |= (int64(b) & 0x7F) << shift
  6005. if b < 0x80 {
  6006. break
  6007. }
  6008. }
  6009. default:
  6010. iNdEx = preIndex
  6011. skippy, err := skipApi(dAtA[iNdEx:])
  6012. if err != nil {
  6013. return err
  6014. }
  6015. if skippy < 0 {
  6016. return ErrInvalidLengthApi
  6017. }
  6018. if (iNdEx + skippy) > l {
  6019. return io.ErrUnexpectedEOF
  6020. }
  6021. iNdEx += skippy
  6022. }
  6023. }
  6024. if iNdEx > l {
  6025. return io.ErrUnexpectedEOF
  6026. }
  6027. return nil
  6028. }
  6029. func (m *BindInfoByMidReply) Unmarshal(dAtA []byte) error {
  6030. l := len(dAtA)
  6031. iNdEx := 0
  6032. for iNdEx < l {
  6033. preIndex := iNdEx
  6034. var wire uint64
  6035. for shift := uint(0); ; shift += 7 {
  6036. if shift >= 64 {
  6037. return ErrIntOverflowApi
  6038. }
  6039. if iNdEx >= l {
  6040. return io.ErrUnexpectedEOF
  6041. }
  6042. b := dAtA[iNdEx]
  6043. iNdEx++
  6044. wire |= (uint64(b) & 0x7F) << shift
  6045. if b < 0x80 {
  6046. break
  6047. }
  6048. }
  6049. fieldNum := int32(wire >> 3)
  6050. wireType := int(wire & 0x7)
  6051. if wireType == 4 {
  6052. return fmt.Errorf("proto: BindInfoByMidReply: wiretype end group for non-group")
  6053. }
  6054. if fieldNum <= 0 {
  6055. return fmt.Errorf("proto: BindInfoByMidReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6056. }
  6057. switch fieldNum {
  6058. case 1:
  6059. if wireType != 2 {
  6060. return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType)
  6061. }
  6062. var msglen int
  6063. for shift := uint(0); ; shift += 7 {
  6064. if shift >= 64 {
  6065. return ErrIntOverflowApi
  6066. }
  6067. if iNdEx >= l {
  6068. return io.ErrUnexpectedEOF
  6069. }
  6070. b := dAtA[iNdEx]
  6071. iNdEx++
  6072. msglen |= (int(b) & 0x7F) << shift
  6073. if b < 0x80 {
  6074. break
  6075. }
  6076. }
  6077. if msglen < 0 {
  6078. return ErrInvalidLengthApi
  6079. }
  6080. postIndex := iNdEx + msglen
  6081. if postIndex > l {
  6082. return io.ErrUnexpectedEOF
  6083. }
  6084. if m.Account == nil {
  6085. m.Account = &Account{}
  6086. }
  6087. if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6088. return err
  6089. }
  6090. iNdEx = postIndex
  6091. case 2:
  6092. if wireType != 2 {
  6093. return fmt.Errorf("proto: wrong wireType = %d for field Outer", wireType)
  6094. }
  6095. var msglen int
  6096. for shift := uint(0); ; shift += 7 {
  6097. if shift >= 64 {
  6098. return ErrIntOverflowApi
  6099. }
  6100. if iNdEx >= l {
  6101. return io.ErrUnexpectedEOF
  6102. }
  6103. b := dAtA[iNdEx]
  6104. iNdEx++
  6105. msglen |= (int(b) & 0x7F) << shift
  6106. if b < 0x80 {
  6107. break
  6108. }
  6109. }
  6110. if msglen < 0 {
  6111. return ErrInvalidLengthApi
  6112. }
  6113. postIndex := iNdEx + msglen
  6114. if postIndex > l {
  6115. return io.ErrUnexpectedEOF
  6116. }
  6117. if m.Outer == nil {
  6118. m.Outer = &BindOuter{}
  6119. }
  6120. if err := m.Outer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6121. return err
  6122. }
  6123. iNdEx = postIndex
  6124. default:
  6125. iNdEx = preIndex
  6126. skippy, err := skipApi(dAtA[iNdEx:])
  6127. if err != nil {
  6128. return err
  6129. }
  6130. if skippy < 0 {
  6131. return ErrInvalidLengthApi
  6132. }
  6133. if (iNdEx + skippy) > l {
  6134. return io.ErrUnexpectedEOF
  6135. }
  6136. iNdEx += skippy
  6137. }
  6138. }
  6139. if iNdEx > l {
  6140. return io.ErrUnexpectedEOF
  6141. }
  6142. return nil
  6143. }
  6144. func (m *Account) Unmarshal(dAtA []byte) error {
  6145. l := len(dAtA)
  6146. iNdEx := 0
  6147. for iNdEx < l {
  6148. preIndex := iNdEx
  6149. var wire uint64
  6150. for shift := uint(0); ; shift += 7 {
  6151. if shift >= 64 {
  6152. return ErrIntOverflowApi
  6153. }
  6154. if iNdEx >= l {
  6155. return io.ErrUnexpectedEOF
  6156. }
  6157. b := dAtA[iNdEx]
  6158. iNdEx++
  6159. wire |= (uint64(b) & 0x7F) << shift
  6160. if b < 0x80 {
  6161. break
  6162. }
  6163. }
  6164. fieldNum := int32(wire >> 3)
  6165. wireType := int(wire & 0x7)
  6166. if wireType == 4 {
  6167. return fmt.Errorf("proto: Account: wiretype end group for non-group")
  6168. }
  6169. if fieldNum <= 0 {
  6170. return fmt.Errorf("proto: Account: illegal tag %d (wire type %d)", fieldNum, wire)
  6171. }
  6172. switch fieldNum {
  6173. case 1:
  6174. if wireType != 0 {
  6175. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6176. }
  6177. m.Mid = 0
  6178. for shift := uint(0); ; shift += 7 {
  6179. if shift >= 64 {
  6180. return ErrIntOverflowApi
  6181. }
  6182. if iNdEx >= l {
  6183. return io.ErrUnexpectedEOF
  6184. }
  6185. b := dAtA[iNdEx]
  6186. iNdEx++
  6187. m.Mid |= (int64(b) & 0x7F) << shift
  6188. if b < 0x80 {
  6189. break
  6190. }
  6191. }
  6192. case 2:
  6193. if wireType != 2 {
  6194. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6195. }
  6196. var stringLen uint64
  6197. for shift := uint(0); ; shift += 7 {
  6198. if shift >= 64 {
  6199. return ErrIntOverflowApi
  6200. }
  6201. if iNdEx >= l {
  6202. return io.ErrUnexpectedEOF
  6203. }
  6204. b := dAtA[iNdEx]
  6205. iNdEx++
  6206. stringLen |= (uint64(b) & 0x7F) << shift
  6207. if b < 0x80 {
  6208. break
  6209. }
  6210. }
  6211. intStringLen := int(stringLen)
  6212. if intStringLen < 0 {
  6213. return ErrInvalidLengthApi
  6214. }
  6215. postIndex := iNdEx + intStringLen
  6216. if postIndex > l {
  6217. return io.ErrUnexpectedEOF
  6218. }
  6219. m.Name = string(dAtA[iNdEx:postIndex])
  6220. iNdEx = postIndex
  6221. case 3:
  6222. if wireType != 2 {
  6223. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  6224. }
  6225. var stringLen uint64
  6226. for shift := uint(0); ; shift += 7 {
  6227. if shift >= 64 {
  6228. return ErrIntOverflowApi
  6229. }
  6230. if iNdEx >= l {
  6231. return io.ErrUnexpectedEOF
  6232. }
  6233. b := dAtA[iNdEx]
  6234. iNdEx++
  6235. stringLen |= (uint64(b) & 0x7F) << shift
  6236. if b < 0x80 {
  6237. break
  6238. }
  6239. }
  6240. intStringLen := int(stringLen)
  6241. if intStringLen < 0 {
  6242. return ErrInvalidLengthApi
  6243. }
  6244. postIndex := iNdEx + intStringLen
  6245. if postIndex > l {
  6246. return io.ErrUnexpectedEOF
  6247. }
  6248. m.Face = string(dAtA[iNdEx:postIndex])
  6249. iNdEx = postIndex
  6250. default:
  6251. iNdEx = preIndex
  6252. skippy, err := skipApi(dAtA[iNdEx:])
  6253. if err != nil {
  6254. return err
  6255. }
  6256. if skippy < 0 {
  6257. return ErrInvalidLengthApi
  6258. }
  6259. if (iNdEx + skippy) > l {
  6260. return io.ErrUnexpectedEOF
  6261. }
  6262. iNdEx += skippy
  6263. }
  6264. }
  6265. if iNdEx > l {
  6266. return io.ErrUnexpectedEOF
  6267. }
  6268. return nil
  6269. }
  6270. func (m *BindOuter) Unmarshal(dAtA []byte) error {
  6271. l := len(dAtA)
  6272. iNdEx := 0
  6273. for iNdEx < l {
  6274. preIndex := iNdEx
  6275. var wire uint64
  6276. for shift := uint(0); ; shift += 7 {
  6277. if shift >= 64 {
  6278. return ErrIntOverflowApi
  6279. }
  6280. if iNdEx >= l {
  6281. return io.ErrUnexpectedEOF
  6282. }
  6283. b := dAtA[iNdEx]
  6284. iNdEx++
  6285. wire |= (uint64(b) & 0x7F) << shift
  6286. if b < 0x80 {
  6287. break
  6288. }
  6289. }
  6290. fieldNum := int32(wire >> 3)
  6291. wireType := int(wire & 0x7)
  6292. if wireType == 4 {
  6293. return fmt.Errorf("proto: BindOuter: wiretype end group for non-group")
  6294. }
  6295. if fieldNum <= 0 {
  6296. return fmt.Errorf("proto: BindOuter: illegal tag %d (wire type %d)", fieldNum, wire)
  6297. }
  6298. switch fieldNum {
  6299. case 1:
  6300. if wireType != 2 {
  6301. return fmt.Errorf("proto: wrong wireType = %d for field Tel", wireType)
  6302. }
  6303. var stringLen uint64
  6304. for shift := uint(0); ; shift += 7 {
  6305. if shift >= 64 {
  6306. return ErrIntOverflowApi
  6307. }
  6308. if iNdEx >= l {
  6309. return io.ErrUnexpectedEOF
  6310. }
  6311. b := dAtA[iNdEx]
  6312. iNdEx++
  6313. stringLen |= (uint64(b) & 0x7F) << shift
  6314. if b < 0x80 {
  6315. break
  6316. }
  6317. }
  6318. intStringLen := int(stringLen)
  6319. if intStringLen < 0 {
  6320. return ErrInvalidLengthApi
  6321. }
  6322. postIndex := iNdEx + intStringLen
  6323. if postIndex > l {
  6324. return io.ErrUnexpectedEOF
  6325. }
  6326. m.Tel = string(dAtA[iNdEx:postIndex])
  6327. iNdEx = postIndex
  6328. case 2:
  6329. if wireType != 0 {
  6330. return fmt.Errorf("proto: wrong wireType = %d for field BindState", wireType)
  6331. }
  6332. m.BindState = 0
  6333. for shift := uint(0); ; shift += 7 {
  6334. if shift >= 64 {
  6335. return ErrIntOverflowApi
  6336. }
  6337. if iNdEx >= l {
  6338. return io.ErrUnexpectedEOF
  6339. }
  6340. b := dAtA[iNdEx]
  6341. iNdEx++
  6342. m.BindState |= (int32(b) & 0x7F) << shift
  6343. if b < 0x80 {
  6344. break
  6345. }
  6346. }
  6347. default:
  6348. iNdEx = preIndex
  6349. skippy, err := skipApi(dAtA[iNdEx:])
  6350. if err != nil {
  6351. return err
  6352. }
  6353. if skippy < 0 {
  6354. return ErrInvalidLengthApi
  6355. }
  6356. if (iNdEx + skippy) > l {
  6357. return io.ErrUnexpectedEOF
  6358. }
  6359. iNdEx += skippy
  6360. }
  6361. }
  6362. if iNdEx > l {
  6363. return io.ErrUnexpectedEOF
  6364. }
  6365. return nil
  6366. }
  6367. func (m *BilibiliPrizeGrantReq) Unmarshal(dAtA []byte) error {
  6368. l := len(dAtA)
  6369. iNdEx := 0
  6370. for iNdEx < l {
  6371. preIndex := iNdEx
  6372. var wire uint64
  6373. for shift := uint(0); ; shift += 7 {
  6374. if shift >= 64 {
  6375. return ErrIntOverflowApi
  6376. }
  6377. if iNdEx >= l {
  6378. return io.ErrUnexpectedEOF
  6379. }
  6380. b := dAtA[iNdEx]
  6381. iNdEx++
  6382. wire |= (uint64(b) & 0x7F) << shift
  6383. if b < 0x80 {
  6384. break
  6385. }
  6386. }
  6387. fieldNum := int32(wire >> 3)
  6388. wireType := int(wire & 0x7)
  6389. if wireType == 4 {
  6390. return fmt.Errorf("proto: BilibiliPrizeGrantReq: wiretype end group for non-group")
  6391. }
  6392. if fieldNum <= 0 {
  6393. return fmt.Errorf("proto: BilibiliPrizeGrantReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6394. }
  6395. switch fieldNum {
  6396. case 1:
  6397. if wireType != 2 {
  6398. return fmt.Errorf("proto: wrong wireType = %d for field PrizeKey", wireType)
  6399. }
  6400. var stringLen uint64
  6401. for shift := uint(0); ; shift += 7 {
  6402. if shift >= 64 {
  6403. return ErrIntOverflowApi
  6404. }
  6405. if iNdEx >= l {
  6406. return io.ErrUnexpectedEOF
  6407. }
  6408. b := dAtA[iNdEx]
  6409. iNdEx++
  6410. stringLen |= (uint64(b) & 0x7F) << shift
  6411. if b < 0x80 {
  6412. break
  6413. }
  6414. }
  6415. intStringLen := int(stringLen)
  6416. if intStringLen < 0 {
  6417. return ErrInvalidLengthApi
  6418. }
  6419. postIndex := iNdEx + intStringLen
  6420. if postIndex > l {
  6421. return io.ErrUnexpectedEOF
  6422. }
  6423. m.PrizeKey = string(dAtA[iNdEx:postIndex])
  6424. iNdEx = postIndex
  6425. case 2:
  6426. if wireType != 2 {
  6427. return fmt.Errorf("proto: wrong wireType = %d for field UniqueNo", wireType)
  6428. }
  6429. var stringLen uint64
  6430. for shift := uint(0); ; shift += 7 {
  6431. if shift >= 64 {
  6432. return ErrIntOverflowApi
  6433. }
  6434. if iNdEx >= l {
  6435. return io.ErrUnexpectedEOF
  6436. }
  6437. b := dAtA[iNdEx]
  6438. iNdEx++
  6439. stringLen |= (uint64(b) & 0x7F) << shift
  6440. if b < 0x80 {
  6441. break
  6442. }
  6443. }
  6444. intStringLen := int(stringLen)
  6445. if intStringLen < 0 {
  6446. return ErrInvalidLengthApi
  6447. }
  6448. postIndex := iNdEx + intStringLen
  6449. if postIndex > l {
  6450. return io.ErrUnexpectedEOF
  6451. }
  6452. m.UniqueNo = string(dAtA[iNdEx:postIndex])
  6453. iNdEx = postIndex
  6454. case 3:
  6455. if wireType != 2 {
  6456. return fmt.Errorf("proto: wrong wireType = %d for field OpenId", wireType)
  6457. }
  6458. var stringLen uint64
  6459. for shift := uint(0); ; shift += 7 {
  6460. if shift >= 64 {
  6461. return ErrIntOverflowApi
  6462. }
  6463. if iNdEx >= l {
  6464. return io.ErrUnexpectedEOF
  6465. }
  6466. b := dAtA[iNdEx]
  6467. iNdEx++
  6468. stringLen |= (uint64(b) & 0x7F) << shift
  6469. if b < 0x80 {
  6470. break
  6471. }
  6472. }
  6473. intStringLen := int(stringLen)
  6474. if intStringLen < 0 {
  6475. return ErrInvalidLengthApi
  6476. }
  6477. postIndex := iNdEx + intStringLen
  6478. if postIndex > l {
  6479. return io.ErrUnexpectedEOF
  6480. }
  6481. m.OpenId = string(dAtA[iNdEx:postIndex])
  6482. iNdEx = postIndex
  6483. case 4:
  6484. if wireType != 0 {
  6485. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  6486. }
  6487. m.AppId = 0
  6488. for shift := uint(0); ; shift += 7 {
  6489. if shift >= 64 {
  6490. return ErrIntOverflowApi
  6491. }
  6492. if iNdEx >= l {
  6493. return io.ErrUnexpectedEOF
  6494. }
  6495. b := dAtA[iNdEx]
  6496. iNdEx++
  6497. m.AppId |= (int64(b) & 0x7F) << shift
  6498. if b < 0x80 {
  6499. break
  6500. }
  6501. }
  6502. default:
  6503. iNdEx = preIndex
  6504. skippy, err := skipApi(dAtA[iNdEx:])
  6505. if err != nil {
  6506. return err
  6507. }
  6508. if skippy < 0 {
  6509. return ErrInvalidLengthApi
  6510. }
  6511. if (iNdEx + skippy) > l {
  6512. return io.ErrUnexpectedEOF
  6513. }
  6514. iNdEx += skippy
  6515. }
  6516. }
  6517. if iNdEx > l {
  6518. return io.ErrUnexpectedEOF
  6519. }
  6520. return nil
  6521. }
  6522. func (m *BilibiliPrizeGrantReply) Unmarshal(dAtA []byte) error {
  6523. l := len(dAtA)
  6524. iNdEx := 0
  6525. for iNdEx < l {
  6526. preIndex := iNdEx
  6527. var wire uint64
  6528. for shift := uint(0); ; shift += 7 {
  6529. if shift >= 64 {
  6530. return ErrIntOverflowApi
  6531. }
  6532. if iNdEx >= l {
  6533. return io.ErrUnexpectedEOF
  6534. }
  6535. b := dAtA[iNdEx]
  6536. iNdEx++
  6537. wire |= (uint64(b) & 0x7F) << shift
  6538. if b < 0x80 {
  6539. break
  6540. }
  6541. }
  6542. fieldNum := int32(wire >> 3)
  6543. wireType := int(wire & 0x7)
  6544. if wireType == 4 {
  6545. return fmt.Errorf("proto: BilibiliPrizeGrantReply: wiretype end group for non-group")
  6546. }
  6547. if fieldNum <= 0 {
  6548. return fmt.Errorf("proto: BilibiliPrizeGrantReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6549. }
  6550. switch fieldNum {
  6551. case 1:
  6552. if wireType != 1 {
  6553. return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  6554. }
  6555. var v uint64
  6556. if (iNdEx + 8) > l {
  6557. return io.ErrUnexpectedEOF
  6558. }
  6559. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  6560. iNdEx += 8
  6561. m.Amount = float64(math.Float64frombits(v))
  6562. case 2:
  6563. if wireType != 1 {
  6564. return fmt.Errorf("proto: wrong wireType = %d for field FullAmount", wireType)
  6565. }
  6566. var v uint64
  6567. if (iNdEx + 8) > l {
  6568. return io.ErrUnexpectedEOF
  6569. }
  6570. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  6571. iNdEx += 8
  6572. m.FullAmount = float64(math.Float64frombits(v))
  6573. case 3:
  6574. if wireType != 2 {
  6575. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  6576. }
  6577. var stringLen uint64
  6578. for shift := uint(0); ; shift += 7 {
  6579. if shift >= 64 {
  6580. return ErrIntOverflowApi
  6581. }
  6582. if iNdEx >= l {
  6583. return io.ErrUnexpectedEOF
  6584. }
  6585. b := dAtA[iNdEx]
  6586. iNdEx++
  6587. stringLen |= (uint64(b) & 0x7F) << shift
  6588. if b < 0x80 {
  6589. break
  6590. }
  6591. }
  6592. intStringLen := int(stringLen)
  6593. if intStringLen < 0 {
  6594. return ErrInvalidLengthApi
  6595. }
  6596. postIndex := iNdEx + intStringLen
  6597. if postIndex > l {
  6598. return io.ErrUnexpectedEOF
  6599. }
  6600. m.Description = string(dAtA[iNdEx:postIndex])
  6601. iNdEx = postIndex
  6602. default:
  6603. iNdEx = preIndex
  6604. skippy, err := skipApi(dAtA[iNdEx:])
  6605. if err != nil {
  6606. return err
  6607. }
  6608. if skippy < 0 {
  6609. return ErrInvalidLengthApi
  6610. }
  6611. if (iNdEx + skippy) > l {
  6612. return io.ErrUnexpectedEOF
  6613. }
  6614. iNdEx += skippy
  6615. }
  6616. }
  6617. if iNdEx > l {
  6618. return io.ErrUnexpectedEOF
  6619. }
  6620. return nil
  6621. }
  6622. func (m *BilibiliVipGrantReq) Unmarshal(dAtA []byte) error {
  6623. l := len(dAtA)
  6624. iNdEx := 0
  6625. for iNdEx < l {
  6626. preIndex := iNdEx
  6627. var wire uint64
  6628. for shift := uint(0); ; shift += 7 {
  6629. if shift >= 64 {
  6630. return ErrIntOverflowApi
  6631. }
  6632. if iNdEx >= l {
  6633. return io.ErrUnexpectedEOF
  6634. }
  6635. b := dAtA[iNdEx]
  6636. iNdEx++
  6637. wire |= (uint64(b) & 0x7F) << shift
  6638. if b < 0x80 {
  6639. break
  6640. }
  6641. }
  6642. fieldNum := int32(wire >> 3)
  6643. wireType := int(wire & 0x7)
  6644. if wireType == 4 {
  6645. return fmt.Errorf("proto: BilibiliVipGrantReq: wiretype end group for non-group")
  6646. }
  6647. if fieldNum <= 0 {
  6648. return fmt.Errorf("proto: BilibiliVipGrantReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6649. }
  6650. switch fieldNum {
  6651. case 1:
  6652. if wireType != 2 {
  6653. return fmt.Errorf("proto: wrong wireType = %d for field OpenId", wireType)
  6654. }
  6655. var stringLen uint64
  6656. for shift := uint(0); ; shift += 7 {
  6657. if shift >= 64 {
  6658. return ErrIntOverflowApi
  6659. }
  6660. if iNdEx >= l {
  6661. return io.ErrUnexpectedEOF
  6662. }
  6663. b := dAtA[iNdEx]
  6664. iNdEx++
  6665. stringLen |= (uint64(b) & 0x7F) << shift
  6666. if b < 0x80 {
  6667. break
  6668. }
  6669. }
  6670. intStringLen := int(stringLen)
  6671. if intStringLen < 0 {
  6672. return ErrInvalidLengthApi
  6673. }
  6674. postIndex := iNdEx + intStringLen
  6675. if postIndex > l {
  6676. return io.ErrUnexpectedEOF
  6677. }
  6678. m.OpenId = string(dAtA[iNdEx:postIndex])
  6679. iNdEx = postIndex
  6680. case 2:
  6681. if wireType != 2 {
  6682. return fmt.Errorf("proto: wrong wireType = %d for field OutOpenId", wireType)
  6683. }
  6684. var stringLen uint64
  6685. for shift := uint(0); ; shift += 7 {
  6686. if shift >= 64 {
  6687. return ErrIntOverflowApi
  6688. }
  6689. if iNdEx >= l {
  6690. return io.ErrUnexpectedEOF
  6691. }
  6692. b := dAtA[iNdEx]
  6693. iNdEx++
  6694. stringLen |= (uint64(b) & 0x7F) << shift
  6695. if b < 0x80 {
  6696. break
  6697. }
  6698. }
  6699. intStringLen := int(stringLen)
  6700. if intStringLen < 0 {
  6701. return ErrInvalidLengthApi
  6702. }
  6703. postIndex := iNdEx + intStringLen
  6704. if postIndex > l {
  6705. return io.ErrUnexpectedEOF
  6706. }
  6707. m.OutOpenId = string(dAtA[iNdEx:postIndex])
  6708. iNdEx = postIndex
  6709. case 3:
  6710. if wireType != 2 {
  6711. return fmt.Errorf("proto: wrong wireType = %d for field OutOrderNo", wireType)
  6712. }
  6713. var stringLen uint64
  6714. for shift := uint(0); ; shift += 7 {
  6715. if shift >= 64 {
  6716. return ErrIntOverflowApi
  6717. }
  6718. if iNdEx >= l {
  6719. return io.ErrUnexpectedEOF
  6720. }
  6721. b := dAtA[iNdEx]
  6722. iNdEx++
  6723. stringLen |= (uint64(b) & 0x7F) << shift
  6724. if b < 0x80 {
  6725. break
  6726. }
  6727. }
  6728. intStringLen := int(stringLen)
  6729. if intStringLen < 0 {
  6730. return ErrInvalidLengthApi
  6731. }
  6732. postIndex := iNdEx + intStringLen
  6733. if postIndex > l {
  6734. return io.ErrUnexpectedEOF
  6735. }
  6736. m.OutOrderNo = string(dAtA[iNdEx:postIndex])
  6737. iNdEx = postIndex
  6738. case 4:
  6739. if wireType != 0 {
  6740. return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
  6741. }
  6742. m.Duration = 0
  6743. for shift := uint(0); ; shift += 7 {
  6744. if shift >= 64 {
  6745. return ErrIntOverflowApi
  6746. }
  6747. if iNdEx >= l {
  6748. return io.ErrUnexpectedEOF
  6749. }
  6750. b := dAtA[iNdEx]
  6751. iNdEx++
  6752. m.Duration |= (int32(b) & 0x7F) << shift
  6753. if b < 0x80 {
  6754. break
  6755. }
  6756. }
  6757. case 5:
  6758. if wireType != 0 {
  6759. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  6760. }
  6761. m.AppId = 0
  6762. for shift := uint(0); ; shift += 7 {
  6763. if shift >= 64 {
  6764. return ErrIntOverflowApi
  6765. }
  6766. if iNdEx >= l {
  6767. return io.ErrUnexpectedEOF
  6768. }
  6769. b := dAtA[iNdEx]
  6770. iNdEx++
  6771. m.AppId |= (int64(b) & 0x7F) << shift
  6772. if b < 0x80 {
  6773. break
  6774. }
  6775. }
  6776. default:
  6777. iNdEx = preIndex
  6778. skippy, err := skipApi(dAtA[iNdEx:])
  6779. if err != nil {
  6780. return err
  6781. }
  6782. if skippy < 0 {
  6783. return ErrInvalidLengthApi
  6784. }
  6785. if (iNdEx + skippy) > l {
  6786. return io.ErrUnexpectedEOF
  6787. }
  6788. iNdEx += skippy
  6789. }
  6790. }
  6791. if iNdEx > l {
  6792. return io.ErrUnexpectedEOF
  6793. }
  6794. return nil
  6795. }
  6796. func (m *BilibiliVipGrantReply) Unmarshal(dAtA []byte) error {
  6797. l := len(dAtA)
  6798. iNdEx := 0
  6799. for iNdEx < l {
  6800. preIndex := iNdEx
  6801. var wire uint64
  6802. for shift := uint(0); ; shift += 7 {
  6803. if shift >= 64 {
  6804. return ErrIntOverflowApi
  6805. }
  6806. if iNdEx >= l {
  6807. return io.ErrUnexpectedEOF
  6808. }
  6809. b := dAtA[iNdEx]
  6810. iNdEx++
  6811. wire |= (uint64(b) & 0x7F) << shift
  6812. if b < 0x80 {
  6813. break
  6814. }
  6815. }
  6816. fieldNum := int32(wire >> 3)
  6817. wireType := int(wire & 0x7)
  6818. if wireType == 4 {
  6819. return fmt.Errorf("proto: BilibiliVipGrantReply: wiretype end group for non-group")
  6820. }
  6821. if fieldNum <= 0 {
  6822. return fmt.Errorf("proto: BilibiliVipGrantReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6823. }
  6824. switch fieldNum {
  6825. default:
  6826. iNdEx = preIndex
  6827. skippy, err := skipApi(dAtA[iNdEx:])
  6828. if err != nil {
  6829. return err
  6830. }
  6831. if skippy < 0 {
  6832. return ErrInvalidLengthApi
  6833. }
  6834. if (iNdEx + skippy) > l {
  6835. return io.ErrUnexpectedEOF
  6836. }
  6837. iNdEx += skippy
  6838. }
  6839. }
  6840. if iNdEx > l {
  6841. return io.ErrUnexpectedEOF
  6842. }
  6843. return nil
  6844. }
  6845. func (m *CreateAssociateOrderReq) Unmarshal(dAtA []byte) error {
  6846. l := len(dAtA)
  6847. iNdEx := 0
  6848. for iNdEx < l {
  6849. preIndex := iNdEx
  6850. var wire uint64
  6851. for shift := uint(0); ; shift += 7 {
  6852. if shift >= 64 {
  6853. return ErrIntOverflowApi
  6854. }
  6855. if iNdEx >= l {
  6856. return io.ErrUnexpectedEOF
  6857. }
  6858. b := dAtA[iNdEx]
  6859. iNdEx++
  6860. wire |= (uint64(b) & 0x7F) << shift
  6861. if b < 0x80 {
  6862. break
  6863. }
  6864. }
  6865. fieldNum := int32(wire >> 3)
  6866. wireType := int(wire & 0x7)
  6867. if wireType == 4 {
  6868. return fmt.Errorf("proto: CreateAssociateOrderReq: wiretype end group for non-group")
  6869. }
  6870. if fieldNum <= 0 {
  6871. return fmt.Errorf("proto: CreateAssociateOrderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6872. }
  6873. switch fieldNum {
  6874. case 1:
  6875. if wireType != 0 {
  6876. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6877. }
  6878. m.Mid = 0
  6879. for shift := uint(0); ; shift += 7 {
  6880. if shift >= 64 {
  6881. return ErrIntOverflowApi
  6882. }
  6883. if iNdEx >= l {
  6884. return io.ErrUnexpectedEOF
  6885. }
  6886. b := dAtA[iNdEx]
  6887. iNdEx++
  6888. m.Mid |= (int64(b) & 0x7F) << shift
  6889. if b < 0x80 {
  6890. break
  6891. }
  6892. }
  6893. case 2:
  6894. if wireType != 0 {
  6895. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  6896. }
  6897. m.Month = 0
  6898. for shift := uint(0); ; shift += 7 {
  6899. if shift >= 64 {
  6900. return ErrIntOverflowApi
  6901. }
  6902. if iNdEx >= l {
  6903. return io.ErrUnexpectedEOF
  6904. }
  6905. b := dAtA[iNdEx]
  6906. iNdEx++
  6907. m.Month |= (int32(b) & 0x7F) << shift
  6908. if b < 0x80 {
  6909. break
  6910. }
  6911. }
  6912. case 3:
  6913. if wireType != 2 {
  6914. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  6915. }
  6916. var stringLen uint64
  6917. for shift := uint(0); ; shift += 7 {
  6918. if shift >= 64 {
  6919. return ErrIntOverflowApi
  6920. }
  6921. if iNdEx >= l {
  6922. return io.ErrUnexpectedEOF
  6923. }
  6924. b := dAtA[iNdEx]
  6925. iNdEx++
  6926. stringLen |= (uint64(b) & 0x7F) << shift
  6927. if b < 0x80 {
  6928. break
  6929. }
  6930. }
  6931. intStringLen := int(stringLen)
  6932. if intStringLen < 0 {
  6933. return ErrInvalidLengthApi
  6934. }
  6935. postIndex := iNdEx + intStringLen
  6936. if postIndex > l {
  6937. return io.ErrUnexpectedEOF
  6938. }
  6939. m.Platform = string(dAtA[iNdEx:postIndex])
  6940. iNdEx = postIndex
  6941. case 4:
  6942. if wireType != 2 {
  6943. return fmt.Errorf("proto: wrong wireType = %d for field MobiApp", wireType)
  6944. }
  6945. var stringLen uint64
  6946. for shift := uint(0); ; shift += 7 {
  6947. if shift >= 64 {
  6948. return ErrIntOverflowApi
  6949. }
  6950. if iNdEx >= l {
  6951. return io.ErrUnexpectedEOF
  6952. }
  6953. b := dAtA[iNdEx]
  6954. iNdEx++
  6955. stringLen |= (uint64(b) & 0x7F) << shift
  6956. if b < 0x80 {
  6957. break
  6958. }
  6959. }
  6960. intStringLen := int(stringLen)
  6961. if intStringLen < 0 {
  6962. return ErrInvalidLengthApi
  6963. }
  6964. postIndex := iNdEx + intStringLen
  6965. if postIndex > l {
  6966. return io.ErrUnexpectedEOF
  6967. }
  6968. m.MobiApp = string(dAtA[iNdEx:postIndex])
  6969. iNdEx = postIndex
  6970. case 5:
  6971. if wireType != 2 {
  6972. return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
  6973. }
  6974. var stringLen uint64
  6975. for shift := uint(0); ; shift += 7 {
  6976. if shift >= 64 {
  6977. return ErrIntOverflowApi
  6978. }
  6979. if iNdEx >= l {
  6980. return io.ErrUnexpectedEOF
  6981. }
  6982. b := dAtA[iNdEx]
  6983. iNdEx++
  6984. stringLen |= (uint64(b) & 0x7F) << shift
  6985. if b < 0x80 {
  6986. break
  6987. }
  6988. }
  6989. intStringLen := int(stringLen)
  6990. if intStringLen < 0 {
  6991. return ErrInvalidLengthApi
  6992. }
  6993. postIndex := iNdEx + intStringLen
  6994. if postIndex > l {
  6995. return io.ErrUnexpectedEOF
  6996. }
  6997. m.Device = string(dAtA[iNdEx:postIndex])
  6998. iNdEx = postIndex
  6999. case 6:
  7000. if wireType != 0 {
  7001. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  7002. }
  7003. m.AppId = 0
  7004. for shift := uint(0); ; shift += 7 {
  7005. if shift >= 64 {
  7006. return ErrIntOverflowApi
  7007. }
  7008. if iNdEx >= l {
  7009. return io.ErrUnexpectedEOF
  7010. }
  7011. b := dAtA[iNdEx]
  7012. iNdEx++
  7013. m.AppId |= (int64(b) & 0x7F) << shift
  7014. if b < 0x80 {
  7015. break
  7016. }
  7017. }
  7018. case 7:
  7019. if wireType != 2 {
  7020. return fmt.Errorf("proto: wrong wireType = %d for field AppSubId", wireType)
  7021. }
  7022. var stringLen uint64
  7023. for shift := uint(0); ; shift += 7 {
  7024. if shift >= 64 {
  7025. return ErrIntOverflowApi
  7026. }
  7027. if iNdEx >= l {
  7028. return io.ErrUnexpectedEOF
  7029. }
  7030. b := dAtA[iNdEx]
  7031. iNdEx++
  7032. stringLen |= (uint64(b) & 0x7F) << shift
  7033. if b < 0x80 {
  7034. break
  7035. }
  7036. }
  7037. intStringLen := int(stringLen)
  7038. if intStringLen < 0 {
  7039. return ErrInvalidLengthApi
  7040. }
  7041. postIndex := iNdEx + intStringLen
  7042. if postIndex > l {
  7043. return io.ErrUnexpectedEOF
  7044. }
  7045. m.AppSubId = string(dAtA[iNdEx:postIndex])
  7046. iNdEx = postIndex
  7047. case 8:
  7048. if wireType != 0 {
  7049. return fmt.Errorf("proto: wrong wireType = %d for field OrderType", wireType)
  7050. }
  7051. m.OrderType = 0
  7052. for shift := uint(0); ; shift += 7 {
  7053. if shift >= 64 {
  7054. return ErrIntOverflowApi
  7055. }
  7056. if iNdEx >= l {
  7057. return io.ErrUnexpectedEOF
  7058. }
  7059. b := dAtA[iNdEx]
  7060. iNdEx++
  7061. m.OrderType |= (int32(b) & 0x7F) << shift
  7062. if b < 0x80 {
  7063. break
  7064. }
  7065. }
  7066. case 9:
  7067. if wireType != 0 {
  7068. return fmt.Errorf("proto: wrong wireType = %d for field Dtype", wireType)
  7069. }
  7070. m.Dtype = 0
  7071. for shift := uint(0); ; shift += 7 {
  7072. if shift >= 64 {
  7073. return ErrIntOverflowApi
  7074. }
  7075. if iNdEx >= l {
  7076. return io.ErrUnexpectedEOF
  7077. }
  7078. b := dAtA[iNdEx]
  7079. iNdEx++
  7080. m.Dtype |= (int32(b) & 0x7F) << shift
  7081. if b < 0x80 {
  7082. break
  7083. }
  7084. }
  7085. case 10:
  7086. if wireType != 2 {
  7087. return fmt.Errorf("proto: wrong wireType = %d for field ReturnUrl", wireType)
  7088. }
  7089. var stringLen uint64
  7090. for shift := uint(0); ; shift += 7 {
  7091. if shift >= 64 {
  7092. return ErrIntOverflowApi
  7093. }
  7094. if iNdEx >= l {
  7095. return io.ErrUnexpectedEOF
  7096. }
  7097. b := dAtA[iNdEx]
  7098. iNdEx++
  7099. stringLen |= (uint64(b) & 0x7F) << shift
  7100. if b < 0x80 {
  7101. break
  7102. }
  7103. }
  7104. intStringLen := int(stringLen)
  7105. if intStringLen < 0 {
  7106. return ErrInvalidLengthApi
  7107. }
  7108. postIndex := iNdEx + intStringLen
  7109. if postIndex > l {
  7110. return io.ErrUnexpectedEOF
  7111. }
  7112. m.ReturnUrl = string(dAtA[iNdEx:postIndex])
  7113. iNdEx = postIndex
  7114. case 11:
  7115. if wireType != 2 {
  7116. return fmt.Errorf("proto: wrong wireType = %d for field CouponToken", wireType)
  7117. }
  7118. var stringLen uint64
  7119. for shift := uint(0); ; shift += 7 {
  7120. if shift >= 64 {
  7121. return ErrIntOverflowApi
  7122. }
  7123. if iNdEx >= l {
  7124. return io.ErrUnexpectedEOF
  7125. }
  7126. b := dAtA[iNdEx]
  7127. iNdEx++
  7128. stringLen |= (uint64(b) & 0x7F) << shift
  7129. if b < 0x80 {
  7130. break
  7131. }
  7132. }
  7133. intStringLen := int(stringLen)
  7134. if intStringLen < 0 {
  7135. return ErrInvalidLengthApi
  7136. }
  7137. postIndex := iNdEx + intStringLen
  7138. if postIndex > l {
  7139. return io.ErrUnexpectedEOF
  7140. }
  7141. m.CouponToken = string(dAtA[iNdEx:postIndex])
  7142. iNdEx = postIndex
  7143. case 12:
  7144. if wireType != 0 {
  7145. return fmt.Errorf("proto: wrong wireType = %d for field Bmid", wireType)
  7146. }
  7147. m.Bmid = 0
  7148. for shift := uint(0); ; shift += 7 {
  7149. if shift >= 64 {
  7150. return ErrIntOverflowApi
  7151. }
  7152. if iNdEx >= l {
  7153. return io.ErrUnexpectedEOF
  7154. }
  7155. b := dAtA[iNdEx]
  7156. iNdEx++
  7157. m.Bmid |= (int64(b) & 0x7F) << shift
  7158. if b < 0x80 {
  7159. break
  7160. }
  7161. }
  7162. case 13:
  7163. if wireType != 2 {
  7164. return fmt.Errorf("proto: wrong wireType = %d for field PanelType", wireType)
  7165. }
  7166. var stringLen uint64
  7167. for shift := uint(0); ; shift += 7 {
  7168. if shift >= 64 {
  7169. return ErrIntOverflowApi
  7170. }
  7171. if iNdEx >= l {
  7172. return io.ErrUnexpectedEOF
  7173. }
  7174. b := dAtA[iNdEx]
  7175. iNdEx++
  7176. stringLen |= (uint64(b) & 0x7F) << shift
  7177. if b < 0x80 {
  7178. break
  7179. }
  7180. }
  7181. intStringLen := int(stringLen)
  7182. if intStringLen < 0 {
  7183. return ErrInvalidLengthApi
  7184. }
  7185. postIndex := iNdEx + intStringLen
  7186. if postIndex > l {
  7187. return io.ErrUnexpectedEOF
  7188. }
  7189. m.PanelType = string(dAtA[iNdEx:postIndex])
  7190. iNdEx = postIndex
  7191. case 14:
  7192. if wireType != 0 {
  7193. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  7194. }
  7195. m.Build = 0
  7196. for shift := uint(0); ; shift += 7 {
  7197. if shift >= 64 {
  7198. return ErrIntOverflowApi
  7199. }
  7200. if iNdEx >= l {
  7201. return io.ErrUnexpectedEOF
  7202. }
  7203. b := dAtA[iNdEx]
  7204. iNdEx++
  7205. m.Build |= (int64(b) & 0x7F) << shift
  7206. if b < 0x80 {
  7207. break
  7208. }
  7209. }
  7210. case 15:
  7211. if wireType != 2 {
  7212. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  7213. }
  7214. var stringLen uint64
  7215. for shift := uint(0); ; shift += 7 {
  7216. if shift >= 64 {
  7217. return ErrIntOverflowApi
  7218. }
  7219. if iNdEx >= l {
  7220. return io.ErrUnexpectedEOF
  7221. }
  7222. b := dAtA[iNdEx]
  7223. iNdEx++
  7224. stringLen |= (uint64(b) & 0x7F) << shift
  7225. if b < 0x80 {
  7226. break
  7227. }
  7228. }
  7229. intStringLen := int(stringLen)
  7230. if intStringLen < 0 {
  7231. return ErrInvalidLengthApi
  7232. }
  7233. postIndex := iNdEx + intStringLen
  7234. if postIndex > l {
  7235. return io.ErrUnexpectedEOF
  7236. }
  7237. m.IP = string(dAtA[iNdEx:postIndex])
  7238. iNdEx = postIndex
  7239. default:
  7240. iNdEx = preIndex
  7241. skippy, err := skipApi(dAtA[iNdEx:])
  7242. if err != nil {
  7243. return err
  7244. }
  7245. if skippy < 0 {
  7246. return ErrInvalidLengthApi
  7247. }
  7248. if (iNdEx + skippy) > l {
  7249. return io.ErrUnexpectedEOF
  7250. }
  7251. iNdEx += skippy
  7252. }
  7253. }
  7254. if iNdEx > l {
  7255. return io.ErrUnexpectedEOF
  7256. }
  7257. return nil
  7258. }
  7259. func (m *CreateAssociateOrderReply) Unmarshal(dAtA []byte) error {
  7260. l := len(dAtA)
  7261. iNdEx := 0
  7262. for iNdEx < l {
  7263. preIndex := iNdEx
  7264. var wire uint64
  7265. for shift := uint(0); ; shift += 7 {
  7266. if shift >= 64 {
  7267. return ErrIntOverflowApi
  7268. }
  7269. if iNdEx >= l {
  7270. return io.ErrUnexpectedEOF
  7271. }
  7272. b := dAtA[iNdEx]
  7273. iNdEx++
  7274. wire |= (uint64(b) & 0x7F) << shift
  7275. if b < 0x80 {
  7276. break
  7277. }
  7278. }
  7279. fieldNum := int32(wire >> 3)
  7280. wireType := int(wire & 0x7)
  7281. if wireType == 4 {
  7282. return fmt.Errorf("proto: CreateAssociateOrderReply: wiretype end group for non-group")
  7283. }
  7284. if fieldNum <= 0 {
  7285. return fmt.Errorf("proto: CreateAssociateOrderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7286. }
  7287. switch fieldNum {
  7288. case 1:
  7289. if wireType != 2 {
  7290. return fmt.Errorf("proto: wrong wireType = %d for field PayParam", wireType)
  7291. }
  7292. var stringLen uint64
  7293. for shift := uint(0); ; shift += 7 {
  7294. if shift >= 64 {
  7295. return ErrIntOverflowApi
  7296. }
  7297. if iNdEx >= l {
  7298. return io.ErrUnexpectedEOF
  7299. }
  7300. b := dAtA[iNdEx]
  7301. iNdEx++
  7302. stringLen |= (uint64(b) & 0x7F) << shift
  7303. if b < 0x80 {
  7304. break
  7305. }
  7306. }
  7307. intStringLen := int(stringLen)
  7308. if intStringLen < 0 {
  7309. return ErrInvalidLengthApi
  7310. }
  7311. postIndex := iNdEx + intStringLen
  7312. if postIndex > l {
  7313. return io.ErrUnexpectedEOF
  7314. }
  7315. m.PayParam = string(dAtA[iNdEx:postIndex])
  7316. iNdEx = postIndex
  7317. case 2:
  7318. if wireType != 1 {
  7319. return fmt.Errorf("proto: wrong wireType = %d for field Dprice", wireType)
  7320. }
  7321. var v uint64
  7322. if (iNdEx + 8) > l {
  7323. return io.ErrUnexpectedEOF
  7324. }
  7325. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  7326. iNdEx += 8
  7327. m.Dprice = float64(math.Float64frombits(v))
  7328. case 3:
  7329. if wireType != 1 {
  7330. return fmt.Errorf("proto: wrong wireType = %d for field Oprice", wireType)
  7331. }
  7332. var v uint64
  7333. if (iNdEx + 8) > l {
  7334. return io.ErrUnexpectedEOF
  7335. }
  7336. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  7337. iNdEx += 8
  7338. m.Oprice = float64(math.Float64frombits(v))
  7339. case 4:
  7340. if wireType != 1 {
  7341. return fmt.Errorf("proto: wrong wireType = %d for field CouponMoney", wireType)
  7342. }
  7343. var v uint64
  7344. if (iNdEx + 8) > l {
  7345. return io.ErrUnexpectedEOF
  7346. }
  7347. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  7348. iNdEx += 8
  7349. m.CouponMoney = float64(math.Float64frombits(v))
  7350. default:
  7351. iNdEx = preIndex
  7352. skippy, err := skipApi(dAtA[iNdEx:])
  7353. if err != nil {
  7354. return err
  7355. }
  7356. if skippy < 0 {
  7357. return ErrInvalidLengthApi
  7358. }
  7359. if (iNdEx + skippy) > l {
  7360. return io.ErrUnexpectedEOF
  7361. }
  7362. iNdEx += skippy
  7363. }
  7364. }
  7365. if iNdEx > l {
  7366. return io.ErrUnexpectedEOF
  7367. }
  7368. return nil
  7369. }
  7370. func (m *AssociatePanelReq) Unmarshal(dAtA []byte) error {
  7371. l := len(dAtA)
  7372. iNdEx := 0
  7373. for iNdEx < l {
  7374. preIndex := iNdEx
  7375. var wire uint64
  7376. for shift := uint(0); ; shift += 7 {
  7377. if shift >= 64 {
  7378. return ErrIntOverflowApi
  7379. }
  7380. if iNdEx >= l {
  7381. return io.ErrUnexpectedEOF
  7382. }
  7383. b := dAtA[iNdEx]
  7384. iNdEx++
  7385. wire |= (uint64(b) & 0x7F) << shift
  7386. if b < 0x80 {
  7387. break
  7388. }
  7389. }
  7390. fieldNum := int32(wire >> 3)
  7391. wireType := int(wire & 0x7)
  7392. if wireType == 4 {
  7393. return fmt.Errorf("proto: AssociatePanelReq: wiretype end group for non-group")
  7394. }
  7395. if fieldNum <= 0 {
  7396. return fmt.Errorf("proto: AssociatePanelReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7397. }
  7398. switch fieldNum {
  7399. case 1:
  7400. if wireType != 0 {
  7401. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7402. }
  7403. m.Mid = 0
  7404. for shift := uint(0); ; shift += 7 {
  7405. if shift >= 64 {
  7406. return ErrIntOverflowApi
  7407. }
  7408. if iNdEx >= l {
  7409. return io.ErrUnexpectedEOF
  7410. }
  7411. b := dAtA[iNdEx]
  7412. iNdEx++
  7413. m.Mid |= (int64(b) & 0x7F) << shift
  7414. if b < 0x80 {
  7415. break
  7416. }
  7417. }
  7418. case 2:
  7419. if wireType != 0 {
  7420. return fmt.Errorf("proto: wrong wireType = %d for field SortTp", wireType)
  7421. }
  7422. m.SortTp = 0
  7423. for shift := uint(0); ; shift += 7 {
  7424. if shift >= 64 {
  7425. return ErrIntOverflowApi
  7426. }
  7427. if iNdEx >= l {
  7428. return io.ErrUnexpectedEOF
  7429. }
  7430. b := dAtA[iNdEx]
  7431. iNdEx++
  7432. m.SortTp |= (int32(b) & 0x7F) << shift
  7433. if b < 0x80 {
  7434. break
  7435. }
  7436. }
  7437. case 3:
  7438. if wireType != 2 {
  7439. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  7440. }
  7441. var stringLen uint64
  7442. for shift := uint(0); ; shift += 7 {
  7443. if shift >= 64 {
  7444. return ErrIntOverflowApi
  7445. }
  7446. if iNdEx >= l {
  7447. return io.ErrUnexpectedEOF
  7448. }
  7449. b := dAtA[iNdEx]
  7450. iNdEx++
  7451. stringLen |= (uint64(b) & 0x7F) << shift
  7452. if b < 0x80 {
  7453. break
  7454. }
  7455. }
  7456. intStringLen := int(stringLen)
  7457. if intStringLen < 0 {
  7458. return ErrInvalidLengthApi
  7459. }
  7460. postIndex := iNdEx + intStringLen
  7461. if postIndex > l {
  7462. return io.ErrUnexpectedEOF
  7463. }
  7464. m.IP = string(dAtA[iNdEx:postIndex])
  7465. iNdEx = postIndex
  7466. case 4:
  7467. if wireType != 2 {
  7468. return fmt.Errorf("proto: wrong wireType = %d for field MobiApp", wireType)
  7469. }
  7470. var stringLen uint64
  7471. for shift := uint(0); ; shift += 7 {
  7472. if shift >= 64 {
  7473. return ErrIntOverflowApi
  7474. }
  7475. if iNdEx >= l {
  7476. return io.ErrUnexpectedEOF
  7477. }
  7478. b := dAtA[iNdEx]
  7479. iNdEx++
  7480. stringLen |= (uint64(b) & 0x7F) << shift
  7481. if b < 0x80 {
  7482. break
  7483. }
  7484. }
  7485. intStringLen := int(stringLen)
  7486. if intStringLen < 0 {
  7487. return ErrInvalidLengthApi
  7488. }
  7489. postIndex := iNdEx + intStringLen
  7490. if postIndex > l {
  7491. return io.ErrUnexpectedEOF
  7492. }
  7493. m.MobiApp = string(dAtA[iNdEx:postIndex])
  7494. iNdEx = postIndex
  7495. case 5:
  7496. if wireType != 2 {
  7497. return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
  7498. }
  7499. var stringLen uint64
  7500. for shift := uint(0); ; shift += 7 {
  7501. if shift >= 64 {
  7502. return ErrIntOverflowApi
  7503. }
  7504. if iNdEx >= l {
  7505. return io.ErrUnexpectedEOF
  7506. }
  7507. b := dAtA[iNdEx]
  7508. iNdEx++
  7509. stringLen |= (uint64(b) & 0x7F) << shift
  7510. if b < 0x80 {
  7511. break
  7512. }
  7513. }
  7514. intStringLen := int(stringLen)
  7515. if intStringLen < 0 {
  7516. return ErrInvalidLengthApi
  7517. }
  7518. postIndex := iNdEx + intStringLen
  7519. if postIndex > l {
  7520. return io.ErrUnexpectedEOF
  7521. }
  7522. m.Device = string(dAtA[iNdEx:postIndex])
  7523. iNdEx = postIndex
  7524. case 6:
  7525. if wireType != 2 {
  7526. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  7527. }
  7528. var stringLen uint64
  7529. for shift := uint(0); ; shift += 7 {
  7530. if shift >= 64 {
  7531. return ErrIntOverflowApi
  7532. }
  7533. if iNdEx >= l {
  7534. return io.ErrUnexpectedEOF
  7535. }
  7536. b := dAtA[iNdEx]
  7537. iNdEx++
  7538. stringLen |= (uint64(b) & 0x7F) << shift
  7539. if b < 0x80 {
  7540. break
  7541. }
  7542. }
  7543. intStringLen := int(stringLen)
  7544. if intStringLen < 0 {
  7545. return ErrInvalidLengthApi
  7546. }
  7547. postIndex := iNdEx + intStringLen
  7548. if postIndex > l {
  7549. return io.ErrUnexpectedEOF
  7550. }
  7551. m.Platform = string(dAtA[iNdEx:postIndex])
  7552. iNdEx = postIndex
  7553. case 7:
  7554. if wireType != 0 {
  7555. return fmt.Errorf("proto: wrong wireType = %d for field Plat", wireType)
  7556. }
  7557. m.Plat = 0
  7558. for shift := uint(0); ; shift += 7 {
  7559. if shift >= 64 {
  7560. return ErrIntOverflowApi
  7561. }
  7562. if iNdEx >= l {
  7563. return io.ErrUnexpectedEOF
  7564. }
  7565. b := dAtA[iNdEx]
  7566. iNdEx++
  7567. m.Plat |= (int32(b) & 0x7F) << shift
  7568. if b < 0x80 {
  7569. break
  7570. }
  7571. }
  7572. case 8:
  7573. if wireType != 2 {
  7574. return fmt.Errorf("proto: wrong wireType = %d for field PanelType", wireType)
  7575. }
  7576. var stringLen uint64
  7577. for shift := uint(0); ; shift += 7 {
  7578. if shift >= 64 {
  7579. return ErrIntOverflowApi
  7580. }
  7581. if iNdEx >= l {
  7582. return io.ErrUnexpectedEOF
  7583. }
  7584. b := dAtA[iNdEx]
  7585. iNdEx++
  7586. stringLen |= (uint64(b) & 0x7F) << shift
  7587. if b < 0x80 {
  7588. break
  7589. }
  7590. }
  7591. intStringLen := int(stringLen)
  7592. if intStringLen < 0 {
  7593. return ErrInvalidLengthApi
  7594. }
  7595. postIndex := iNdEx + intStringLen
  7596. if postIndex > l {
  7597. return io.ErrUnexpectedEOF
  7598. }
  7599. m.PanelType = string(dAtA[iNdEx:postIndex])
  7600. iNdEx = postIndex
  7601. case 9:
  7602. if wireType != 0 {
  7603. return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
  7604. }
  7605. m.SubType = 0
  7606. for shift := uint(0); ; shift += 7 {
  7607. if shift >= 64 {
  7608. return ErrIntOverflowApi
  7609. }
  7610. if iNdEx >= l {
  7611. return io.ErrUnexpectedEOF
  7612. }
  7613. b := dAtA[iNdEx]
  7614. iNdEx++
  7615. m.SubType |= (int32(b) & 0x7F) << shift
  7616. if b < 0x80 {
  7617. break
  7618. }
  7619. }
  7620. case 10:
  7621. if wireType != 0 {
  7622. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  7623. }
  7624. m.Month = 0
  7625. for shift := uint(0); ; shift += 7 {
  7626. if shift >= 64 {
  7627. return ErrIntOverflowApi
  7628. }
  7629. if iNdEx >= l {
  7630. return io.ErrUnexpectedEOF
  7631. }
  7632. b := dAtA[iNdEx]
  7633. iNdEx++
  7634. m.Month |= (int32(b) & 0x7F) << shift
  7635. if b < 0x80 {
  7636. break
  7637. }
  7638. }
  7639. case 11:
  7640. if wireType != 0 {
  7641. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  7642. }
  7643. m.Build = 0
  7644. for shift := uint(0); ; shift += 7 {
  7645. if shift >= 64 {
  7646. return ErrIntOverflowApi
  7647. }
  7648. if iNdEx >= l {
  7649. return io.ErrUnexpectedEOF
  7650. }
  7651. b := dAtA[iNdEx]
  7652. iNdEx++
  7653. m.Build |= (int64(b) & 0x7F) << shift
  7654. if b < 0x80 {
  7655. break
  7656. }
  7657. }
  7658. default:
  7659. iNdEx = preIndex
  7660. skippy, err := skipApi(dAtA[iNdEx:])
  7661. if err != nil {
  7662. return err
  7663. }
  7664. if skippy < 0 {
  7665. return ErrInvalidLengthApi
  7666. }
  7667. if (iNdEx + skippy) > l {
  7668. return io.ErrUnexpectedEOF
  7669. }
  7670. iNdEx += skippy
  7671. }
  7672. }
  7673. if iNdEx > l {
  7674. return io.ErrUnexpectedEOF
  7675. }
  7676. return nil
  7677. }
  7678. func (m *AssociatePanelReply) Unmarshal(dAtA []byte) error {
  7679. l := len(dAtA)
  7680. iNdEx := 0
  7681. for iNdEx < l {
  7682. preIndex := iNdEx
  7683. var wire uint64
  7684. for shift := uint(0); ; shift += 7 {
  7685. if shift >= 64 {
  7686. return ErrIntOverflowApi
  7687. }
  7688. if iNdEx >= l {
  7689. return io.ErrUnexpectedEOF
  7690. }
  7691. b := dAtA[iNdEx]
  7692. iNdEx++
  7693. wire |= (uint64(b) & 0x7F) << shift
  7694. if b < 0x80 {
  7695. break
  7696. }
  7697. }
  7698. fieldNum := int32(wire >> 3)
  7699. wireType := int(wire & 0x7)
  7700. if wireType == 4 {
  7701. return fmt.Errorf("proto: AssociatePanelReply: wiretype end group for non-group")
  7702. }
  7703. if fieldNum <= 0 {
  7704. return fmt.Errorf("proto: AssociatePanelReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7705. }
  7706. switch fieldNum {
  7707. case 1:
  7708. if wireType != 2 {
  7709. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  7710. }
  7711. var msglen int
  7712. for shift := uint(0); ; shift += 7 {
  7713. if shift >= 64 {
  7714. return ErrIntOverflowApi
  7715. }
  7716. if iNdEx >= l {
  7717. return io.ErrUnexpectedEOF
  7718. }
  7719. b := dAtA[iNdEx]
  7720. iNdEx++
  7721. msglen |= (int(b) & 0x7F) << shift
  7722. if b < 0x80 {
  7723. break
  7724. }
  7725. }
  7726. if msglen < 0 {
  7727. return ErrInvalidLengthApi
  7728. }
  7729. postIndex := iNdEx + msglen
  7730. if postIndex > l {
  7731. return io.ErrUnexpectedEOF
  7732. }
  7733. m.List = append(m.List, &AssociatePanelInfo{})
  7734. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7735. return err
  7736. }
  7737. iNdEx = postIndex
  7738. default:
  7739. iNdEx = preIndex
  7740. skippy, err := skipApi(dAtA[iNdEx:])
  7741. if err != nil {
  7742. return err
  7743. }
  7744. if skippy < 0 {
  7745. return ErrInvalidLengthApi
  7746. }
  7747. if (iNdEx + skippy) > l {
  7748. return io.ErrUnexpectedEOF
  7749. }
  7750. iNdEx += skippy
  7751. }
  7752. }
  7753. if iNdEx > l {
  7754. return io.ErrUnexpectedEOF
  7755. }
  7756. return nil
  7757. }
  7758. func (m *AssociatePanelInfo) Unmarshal(dAtA []byte) error {
  7759. l := len(dAtA)
  7760. iNdEx := 0
  7761. for iNdEx < l {
  7762. preIndex := iNdEx
  7763. var wire uint64
  7764. for shift := uint(0); ; shift += 7 {
  7765. if shift >= 64 {
  7766. return ErrIntOverflowApi
  7767. }
  7768. if iNdEx >= l {
  7769. return io.ErrUnexpectedEOF
  7770. }
  7771. b := dAtA[iNdEx]
  7772. iNdEx++
  7773. wire |= (uint64(b) & 0x7F) << shift
  7774. if b < 0x80 {
  7775. break
  7776. }
  7777. }
  7778. fieldNum := int32(wire >> 3)
  7779. wireType := int(wire & 0x7)
  7780. if wireType == 4 {
  7781. return fmt.Errorf("proto: AssociatePanelInfo: wiretype end group for non-group")
  7782. }
  7783. if fieldNum <= 0 {
  7784. return fmt.Errorf("proto: AssociatePanelInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  7785. }
  7786. switch fieldNum {
  7787. case 1:
  7788. if wireType != 0 {
  7789. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7790. }
  7791. m.Id = 0
  7792. for shift := uint(0); ; shift += 7 {
  7793. if shift >= 64 {
  7794. return ErrIntOverflowApi
  7795. }
  7796. if iNdEx >= l {
  7797. return io.ErrUnexpectedEOF
  7798. }
  7799. b := dAtA[iNdEx]
  7800. iNdEx++
  7801. m.Id |= (int64(b) & 0x7F) << shift
  7802. if b < 0x80 {
  7803. break
  7804. }
  7805. }
  7806. case 2:
  7807. if wireType != 0 {
  7808. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  7809. }
  7810. m.Month = 0
  7811. for shift := uint(0); ; shift += 7 {
  7812. if shift >= 64 {
  7813. return ErrIntOverflowApi
  7814. }
  7815. if iNdEx >= l {
  7816. return io.ErrUnexpectedEOF
  7817. }
  7818. b := dAtA[iNdEx]
  7819. iNdEx++
  7820. m.Month |= (int32(b) & 0x7F) << shift
  7821. if b < 0x80 {
  7822. break
  7823. }
  7824. }
  7825. case 3:
  7826. if wireType != 2 {
  7827. return fmt.Errorf("proto: wrong wireType = %d for field ProductName", wireType)
  7828. }
  7829. var stringLen uint64
  7830. for shift := uint(0); ; shift += 7 {
  7831. if shift >= 64 {
  7832. return ErrIntOverflowApi
  7833. }
  7834. if iNdEx >= l {
  7835. return io.ErrUnexpectedEOF
  7836. }
  7837. b := dAtA[iNdEx]
  7838. iNdEx++
  7839. stringLen |= (uint64(b) & 0x7F) << shift
  7840. if b < 0x80 {
  7841. break
  7842. }
  7843. }
  7844. intStringLen := int(stringLen)
  7845. if intStringLen < 0 {
  7846. return ErrInvalidLengthApi
  7847. }
  7848. postIndex := iNdEx + intStringLen
  7849. if postIndex > l {
  7850. return io.ErrUnexpectedEOF
  7851. }
  7852. m.ProductName = string(dAtA[iNdEx:postIndex])
  7853. iNdEx = postIndex
  7854. case 4:
  7855. if wireType != 2 {
  7856. return fmt.Errorf("proto: wrong wireType = %d for field ProductId", wireType)
  7857. }
  7858. var stringLen uint64
  7859. for shift := uint(0); ; shift += 7 {
  7860. if shift >= 64 {
  7861. return ErrIntOverflowApi
  7862. }
  7863. if iNdEx >= l {
  7864. return io.ErrUnexpectedEOF
  7865. }
  7866. b := dAtA[iNdEx]
  7867. iNdEx++
  7868. stringLen |= (uint64(b) & 0x7F) << shift
  7869. if b < 0x80 {
  7870. break
  7871. }
  7872. }
  7873. intStringLen := int(stringLen)
  7874. if intStringLen < 0 {
  7875. return ErrInvalidLengthApi
  7876. }
  7877. postIndex := iNdEx + intStringLen
  7878. if postIndex > l {
  7879. return io.ErrUnexpectedEOF
  7880. }
  7881. m.ProductId = string(dAtA[iNdEx:postIndex])
  7882. iNdEx = postIndex
  7883. case 5:
  7884. if wireType != 0 {
  7885. return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
  7886. }
  7887. m.SubType = 0
  7888. for shift := uint(0); ; shift += 7 {
  7889. if shift >= 64 {
  7890. return ErrIntOverflowApi
  7891. }
  7892. if iNdEx >= l {
  7893. return io.ErrUnexpectedEOF
  7894. }
  7895. b := dAtA[iNdEx]
  7896. iNdEx++
  7897. m.SubType |= (int32(b) & 0x7F) << shift
  7898. if b < 0x80 {
  7899. break
  7900. }
  7901. }
  7902. case 6:
  7903. if wireType != 0 {
  7904. return fmt.Errorf("proto: wrong wireType = %d for field SuitType", wireType)
  7905. }
  7906. m.SuitType = 0
  7907. for shift := uint(0); ; shift += 7 {
  7908. if shift >= 64 {
  7909. return ErrIntOverflowApi
  7910. }
  7911. if iNdEx >= l {
  7912. return io.ErrUnexpectedEOF
  7913. }
  7914. b := dAtA[iNdEx]
  7915. iNdEx++
  7916. m.SuitType |= (int32(b) & 0x7F) << shift
  7917. if b < 0x80 {
  7918. break
  7919. }
  7920. }
  7921. case 7:
  7922. if wireType != 1 {
  7923. return fmt.Errorf("proto: wrong wireType = %d for field OriginalPrice", wireType)
  7924. }
  7925. var v uint64
  7926. if (iNdEx + 8) > l {
  7927. return io.ErrUnexpectedEOF
  7928. }
  7929. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  7930. iNdEx += 8
  7931. m.OriginalPrice = float64(math.Float64frombits(v))
  7932. case 8:
  7933. if wireType != 1 {
  7934. return fmt.Errorf("proto: wrong wireType = %d for field DiscountPrice", wireType)
  7935. }
  7936. var v uint64
  7937. if (iNdEx + 8) > l {
  7938. return io.ErrUnexpectedEOF
  7939. }
  7940. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  7941. iNdEx += 8
  7942. m.DiscountPrice = float64(math.Float64frombits(v))
  7943. case 9:
  7944. if wireType != 2 {
  7945. return fmt.Errorf("proto: wrong wireType = %d for field DiscountRate", wireType)
  7946. }
  7947. var stringLen uint64
  7948. for shift := uint(0); ; shift += 7 {
  7949. if shift >= 64 {
  7950. return ErrIntOverflowApi
  7951. }
  7952. if iNdEx >= l {
  7953. return io.ErrUnexpectedEOF
  7954. }
  7955. b := dAtA[iNdEx]
  7956. iNdEx++
  7957. stringLen |= (uint64(b) & 0x7F) << shift
  7958. if b < 0x80 {
  7959. break
  7960. }
  7961. }
  7962. intStringLen := int(stringLen)
  7963. if intStringLen < 0 {
  7964. return ErrInvalidLengthApi
  7965. }
  7966. postIndex := iNdEx + intStringLen
  7967. if postIndex > l {
  7968. return io.ErrUnexpectedEOF
  7969. }
  7970. m.DiscountRate = string(dAtA[iNdEx:postIndex])
  7971. iNdEx = postIndex
  7972. case 10:
  7973. if wireType != 2 {
  7974. return fmt.Errorf("proto: wrong wireType = %d for field Remark", wireType)
  7975. }
  7976. var stringLen uint64
  7977. for shift := uint(0); ; shift += 7 {
  7978. if shift >= 64 {
  7979. return ErrIntOverflowApi
  7980. }
  7981. if iNdEx >= l {
  7982. return io.ErrUnexpectedEOF
  7983. }
  7984. b := dAtA[iNdEx]
  7985. iNdEx++
  7986. stringLen |= (uint64(b) & 0x7F) << shift
  7987. if b < 0x80 {
  7988. break
  7989. }
  7990. }
  7991. intStringLen := int(stringLen)
  7992. if intStringLen < 0 {
  7993. return ErrInvalidLengthApi
  7994. }
  7995. postIndex := iNdEx + intStringLen
  7996. if postIndex > l {
  7997. return io.ErrUnexpectedEOF
  7998. }
  7999. m.Remark = string(dAtA[iNdEx:postIndex])
  8000. iNdEx = postIndex
  8001. case 11:
  8002. if wireType != 0 {
  8003. return fmt.Errorf("proto: wrong wireType = %d for field Selected", wireType)
  8004. }
  8005. m.Selected = 0
  8006. for shift := uint(0); ; shift += 7 {
  8007. if shift >= 64 {
  8008. return ErrIntOverflowApi
  8009. }
  8010. if iNdEx >= l {
  8011. return io.ErrUnexpectedEOF
  8012. }
  8013. b := dAtA[iNdEx]
  8014. iNdEx++
  8015. m.Selected |= (int32(b) & 0x7F) << shift
  8016. if b < 0x80 {
  8017. break
  8018. }
  8019. }
  8020. case 12:
  8021. if wireType != 0 {
  8022. return fmt.Errorf("proto: wrong wireType = %d for field PayState", wireType)
  8023. }
  8024. m.PayState = 0
  8025. for shift := uint(0); ; shift += 7 {
  8026. if shift >= 64 {
  8027. return ErrIntOverflowApi
  8028. }
  8029. if iNdEx >= l {
  8030. return io.ErrUnexpectedEOF
  8031. }
  8032. b := dAtA[iNdEx]
  8033. iNdEx++
  8034. m.PayState |= (int32(b) & 0x7F) << shift
  8035. if b < 0x80 {
  8036. break
  8037. }
  8038. }
  8039. case 13:
  8040. if wireType != 2 {
  8041. return fmt.Errorf("proto: wrong wireType = %d for field PayMessage", wireType)
  8042. }
  8043. var stringLen uint64
  8044. for shift := uint(0); ; shift += 7 {
  8045. if shift >= 64 {
  8046. return ErrIntOverflowApi
  8047. }
  8048. if iNdEx >= l {
  8049. return io.ErrUnexpectedEOF
  8050. }
  8051. b := dAtA[iNdEx]
  8052. iNdEx++
  8053. stringLen |= (uint64(b) & 0x7F) << shift
  8054. if b < 0x80 {
  8055. break
  8056. }
  8057. }
  8058. intStringLen := int(stringLen)
  8059. if intStringLen < 0 {
  8060. return ErrInvalidLengthApi
  8061. }
  8062. postIndex := iNdEx + intStringLen
  8063. if postIndex > l {
  8064. return io.ErrUnexpectedEOF
  8065. }
  8066. m.PayMessage = string(dAtA[iNdEx:postIndex])
  8067. iNdEx = postIndex
  8068. default:
  8069. iNdEx = preIndex
  8070. skippy, err := skipApi(dAtA[iNdEx:])
  8071. if err != nil {
  8072. return err
  8073. }
  8074. if skippy < 0 {
  8075. return ErrInvalidLengthApi
  8076. }
  8077. if (iNdEx + skippy) > l {
  8078. return io.ErrUnexpectedEOF
  8079. }
  8080. iNdEx += skippy
  8081. }
  8082. }
  8083. if iNdEx > l {
  8084. return io.ErrUnexpectedEOF
  8085. }
  8086. return nil
  8087. }
  8088. func (m *OpenAuthCallBackReq) Unmarshal(dAtA []byte) error {
  8089. l := len(dAtA)
  8090. iNdEx := 0
  8091. for iNdEx < l {
  8092. preIndex := iNdEx
  8093. var wire uint64
  8094. for shift := uint(0); ; shift += 7 {
  8095. if shift >= 64 {
  8096. return ErrIntOverflowApi
  8097. }
  8098. if iNdEx >= l {
  8099. return io.ErrUnexpectedEOF
  8100. }
  8101. b := dAtA[iNdEx]
  8102. iNdEx++
  8103. wire |= (uint64(b) & 0x7F) << shift
  8104. if b < 0x80 {
  8105. break
  8106. }
  8107. }
  8108. fieldNum := int32(wire >> 3)
  8109. wireType := int(wire & 0x7)
  8110. if wireType == 4 {
  8111. return fmt.Errorf("proto: OpenAuthCallBackReq: wiretype end group for non-group")
  8112. }
  8113. if fieldNum <= 0 {
  8114. return fmt.Errorf("proto: OpenAuthCallBackReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8115. }
  8116. switch fieldNum {
  8117. case 1:
  8118. if wireType != 0 {
  8119. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8120. }
  8121. m.Mid = 0
  8122. for shift := uint(0); ; shift += 7 {
  8123. if shift >= 64 {
  8124. return ErrIntOverflowApi
  8125. }
  8126. if iNdEx >= l {
  8127. return io.ErrUnexpectedEOF
  8128. }
  8129. b := dAtA[iNdEx]
  8130. iNdEx++
  8131. m.Mid |= (int64(b) & 0x7F) << shift
  8132. if b < 0x80 {
  8133. break
  8134. }
  8135. }
  8136. case 2:
  8137. if wireType != 2 {
  8138. return fmt.Errorf("proto: wrong wireType = %d for field ThirdCode", wireType)
  8139. }
  8140. var stringLen uint64
  8141. for shift := uint(0); ; shift += 7 {
  8142. if shift >= 64 {
  8143. return ErrIntOverflowApi
  8144. }
  8145. if iNdEx >= l {
  8146. return io.ErrUnexpectedEOF
  8147. }
  8148. b := dAtA[iNdEx]
  8149. iNdEx++
  8150. stringLen |= (uint64(b) & 0x7F) << shift
  8151. if b < 0x80 {
  8152. break
  8153. }
  8154. }
  8155. intStringLen := int(stringLen)
  8156. if intStringLen < 0 {
  8157. return ErrInvalidLengthApi
  8158. }
  8159. postIndex := iNdEx + intStringLen
  8160. if postIndex > l {
  8161. return io.ErrUnexpectedEOF
  8162. }
  8163. m.ThirdCode = string(dAtA[iNdEx:postIndex])
  8164. iNdEx = postIndex
  8165. case 3:
  8166. if wireType != 0 {
  8167. return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType)
  8168. }
  8169. m.AppId = 0
  8170. for shift := uint(0); ; shift += 7 {
  8171. if shift >= 64 {
  8172. return ErrIntOverflowApi
  8173. }
  8174. if iNdEx >= l {
  8175. return io.ErrUnexpectedEOF
  8176. }
  8177. b := dAtA[iNdEx]
  8178. iNdEx++
  8179. m.AppId |= (int64(b) & 0x7F) << shift
  8180. if b < 0x80 {
  8181. break
  8182. }
  8183. }
  8184. default:
  8185. iNdEx = preIndex
  8186. skippy, err := skipApi(dAtA[iNdEx:])
  8187. if err != nil {
  8188. return err
  8189. }
  8190. if skippy < 0 {
  8191. return ErrInvalidLengthApi
  8192. }
  8193. if (iNdEx + skippy) > l {
  8194. return io.ErrUnexpectedEOF
  8195. }
  8196. iNdEx += skippy
  8197. }
  8198. }
  8199. if iNdEx > l {
  8200. return io.ErrUnexpectedEOF
  8201. }
  8202. return nil
  8203. }
  8204. func (m *OpenAuthCallBackReply) Unmarshal(dAtA []byte) error {
  8205. l := len(dAtA)
  8206. iNdEx := 0
  8207. for iNdEx < l {
  8208. preIndex := iNdEx
  8209. var wire uint64
  8210. for shift := uint(0); ; shift += 7 {
  8211. if shift >= 64 {
  8212. return ErrIntOverflowApi
  8213. }
  8214. if iNdEx >= l {
  8215. return io.ErrUnexpectedEOF
  8216. }
  8217. b := dAtA[iNdEx]
  8218. iNdEx++
  8219. wire |= (uint64(b) & 0x7F) << shift
  8220. if b < 0x80 {
  8221. break
  8222. }
  8223. }
  8224. fieldNum := int32(wire >> 3)
  8225. wireType := int(wire & 0x7)
  8226. if wireType == 4 {
  8227. return fmt.Errorf("proto: OpenAuthCallBackReply: wiretype end group for non-group")
  8228. }
  8229. if fieldNum <= 0 {
  8230. return fmt.Errorf("proto: OpenAuthCallBackReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8231. }
  8232. switch fieldNum {
  8233. default:
  8234. iNdEx = preIndex
  8235. skippy, err := skipApi(dAtA[iNdEx:])
  8236. if err != nil {
  8237. return err
  8238. }
  8239. if skippy < 0 {
  8240. return ErrInvalidLengthApi
  8241. }
  8242. if (iNdEx + skippy) > l {
  8243. return io.ErrUnexpectedEOF
  8244. }
  8245. iNdEx += skippy
  8246. }
  8247. }
  8248. if iNdEx > l {
  8249. return io.ErrUnexpectedEOF
  8250. }
  8251. return nil
  8252. }
  8253. func (m *EleRedPackagesReq) Unmarshal(dAtA []byte) error {
  8254. l := len(dAtA)
  8255. iNdEx := 0
  8256. for iNdEx < l {
  8257. preIndex := iNdEx
  8258. var wire uint64
  8259. for shift := uint(0); ; shift += 7 {
  8260. if shift >= 64 {
  8261. return ErrIntOverflowApi
  8262. }
  8263. if iNdEx >= l {
  8264. return io.ErrUnexpectedEOF
  8265. }
  8266. b := dAtA[iNdEx]
  8267. iNdEx++
  8268. wire |= (uint64(b) & 0x7F) << shift
  8269. if b < 0x80 {
  8270. break
  8271. }
  8272. }
  8273. fieldNum := int32(wire >> 3)
  8274. wireType := int(wire & 0x7)
  8275. if wireType == 4 {
  8276. return fmt.Errorf("proto: EleRedPackagesReq: wiretype end group for non-group")
  8277. }
  8278. if fieldNum <= 0 {
  8279. return fmt.Errorf("proto: EleRedPackagesReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8280. }
  8281. switch fieldNum {
  8282. default:
  8283. iNdEx = preIndex
  8284. skippy, err := skipApi(dAtA[iNdEx:])
  8285. if err != nil {
  8286. return err
  8287. }
  8288. if skippy < 0 {
  8289. return ErrInvalidLengthApi
  8290. }
  8291. if (iNdEx + skippy) > l {
  8292. return io.ErrUnexpectedEOF
  8293. }
  8294. iNdEx += skippy
  8295. }
  8296. }
  8297. if iNdEx > l {
  8298. return io.ErrUnexpectedEOF
  8299. }
  8300. return nil
  8301. }
  8302. func (m *EleRedPackagesReply) Unmarshal(dAtA []byte) error {
  8303. l := len(dAtA)
  8304. iNdEx := 0
  8305. for iNdEx < l {
  8306. preIndex := iNdEx
  8307. var wire uint64
  8308. for shift := uint(0); ; shift += 7 {
  8309. if shift >= 64 {
  8310. return ErrIntOverflowApi
  8311. }
  8312. if iNdEx >= l {
  8313. return io.ErrUnexpectedEOF
  8314. }
  8315. b := dAtA[iNdEx]
  8316. iNdEx++
  8317. wire |= (uint64(b) & 0x7F) << shift
  8318. if b < 0x80 {
  8319. break
  8320. }
  8321. }
  8322. fieldNum := int32(wire >> 3)
  8323. wireType := int(wire & 0x7)
  8324. if wireType == 4 {
  8325. return fmt.Errorf("proto: EleRedPackagesReply: wiretype end group for non-group")
  8326. }
  8327. if fieldNum <= 0 {
  8328. return fmt.Errorf("proto: EleRedPackagesReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8329. }
  8330. switch fieldNum {
  8331. case 1:
  8332. if wireType != 2 {
  8333. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8334. }
  8335. var msglen int
  8336. for shift := uint(0); ; shift += 7 {
  8337. if shift >= 64 {
  8338. return ErrIntOverflowApi
  8339. }
  8340. if iNdEx >= l {
  8341. return io.ErrUnexpectedEOF
  8342. }
  8343. b := dAtA[iNdEx]
  8344. iNdEx++
  8345. msglen |= (int(b) & 0x7F) << shift
  8346. if b < 0x80 {
  8347. break
  8348. }
  8349. }
  8350. if msglen < 0 {
  8351. return ErrInvalidLengthApi
  8352. }
  8353. postIndex := iNdEx + msglen
  8354. if postIndex > l {
  8355. return io.ErrUnexpectedEOF
  8356. }
  8357. m.List = append(m.List, &ModelEleRedPackage{})
  8358. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8359. return err
  8360. }
  8361. iNdEx = postIndex
  8362. default:
  8363. iNdEx = preIndex
  8364. skippy, err := skipApi(dAtA[iNdEx:])
  8365. if err != nil {
  8366. return err
  8367. }
  8368. if skippy < 0 {
  8369. return ErrInvalidLengthApi
  8370. }
  8371. if (iNdEx + skippy) > l {
  8372. return io.ErrUnexpectedEOF
  8373. }
  8374. iNdEx += skippy
  8375. }
  8376. }
  8377. if iNdEx > l {
  8378. return io.ErrUnexpectedEOF
  8379. }
  8380. return nil
  8381. }
  8382. func (m *ModelEleRedPackage) Unmarshal(dAtA []byte) error {
  8383. l := len(dAtA)
  8384. iNdEx := 0
  8385. for iNdEx < l {
  8386. preIndex := iNdEx
  8387. var wire uint64
  8388. for shift := uint(0); ; shift += 7 {
  8389. if shift >= 64 {
  8390. return ErrIntOverflowApi
  8391. }
  8392. if iNdEx >= l {
  8393. return io.ErrUnexpectedEOF
  8394. }
  8395. b := dAtA[iNdEx]
  8396. iNdEx++
  8397. wire |= (uint64(b) & 0x7F) << shift
  8398. if b < 0x80 {
  8399. break
  8400. }
  8401. }
  8402. fieldNum := int32(wire >> 3)
  8403. wireType := int(wire & 0x7)
  8404. if wireType == 4 {
  8405. return fmt.Errorf("proto: ModelEleRedPackage: wiretype end group for non-group")
  8406. }
  8407. if fieldNum <= 0 {
  8408. return fmt.Errorf("proto: ModelEleRedPackage: illegal tag %d (wire type %d)", fieldNum, wire)
  8409. }
  8410. switch fieldNum {
  8411. case 1:
  8412. if wireType != 2 {
  8413. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8414. }
  8415. var stringLen uint64
  8416. for shift := uint(0); ; shift += 7 {
  8417. if shift >= 64 {
  8418. return ErrIntOverflowApi
  8419. }
  8420. if iNdEx >= l {
  8421. return io.ErrUnexpectedEOF
  8422. }
  8423. b := dAtA[iNdEx]
  8424. iNdEx++
  8425. stringLen |= (uint64(b) & 0x7F) << shift
  8426. if b < 0x80 {
  8427. break
  8428. }
  8429. }
  8430. intStringLen := int(stringLen)
  8431. if intStringLen < 0 {
  8432. return ErrInvalidLengthApi
  8433. }
  8434. postIndex := iNdEx + intStringLen
  8435. if postIndex > l {
  8436. return io.ErrUnexpectedEOF
  8437. }
  8438. m.Name = string(dAtA[iNdEx:postIndex])
  8439. iNdEx = postIndex
  8440. case 2:
  8441. if wireType != 1 {
  8442. return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  8443. }
  8444. var v uint64
  8445. if (iNdEx + 8) > l {
  8446. return io.ErrUnexpectedEOF
  8447. }
  8448. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8449. iNdEx += 8
  8450. m.Amount = float64(math.Float64frombits(v))
  8451. case 3:
  8452. if wireType != 1 {
  8453. return fmt.Errorf("proto: wrong wireType = %d for field SumCondition", wireType)
  8454. }
  8455. var v uint64
  8456. if (iNdEx + 8) > l {
  8457. return io.ErrUnexpectedEOF
  8458. }
  8459. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8460. iNdEx += 8
  8461. m.SumCondition = float64(math.Float64frombits(v))
  8462. default:
  8463. iNdEx = preIndex
  8464. skippy, err := skipApi(dAtA[iNdEx:])
  8465. if err != nil {
  8466. return err
  8467. }
  8468. if skippy < 0 {
  8469. return ErrInvalidLengthApi
  8470. }
  8471. if (iNdEx + skippy) > l {
  8472. return io.ErrUnexpectedEOF
  8473. }
  8474. iNdEx += skippy
  8475. }
  8476. }
  8477. if iNdEx > l {
  8478. return io.ErrUnexpectedEOF
  8479. }
  8480. return nil
  8481. }
  8482. func (m *EleSpecailFoodsReq) Unmarshal(dAtA []byte) error {
  8483. l := len(dAtA)
  8484. iNdEx := 0
  8485. for iNdEx < l {
  8486. preIndex := iNdEx
  8487. var wire uint64
  8488. for shift := uint(0); ; shift += 7 {
  8489. if shift >= 64 {
  8490. return ErrIntOverflowApi
  8491. }
  8492. if iNdEx >= l {
  8493. return io.ErrUnexpectedEOF
  8494. }
  8495. b := dAtA[iNdEx]
  8496. iNdEx++
  8497. wire |= (uint64(b) & 0x7F) << shift
  8498. if b < 0x80 {
  8499. break
  8500. }
  8501. }
  8502. fieldNum := int32(wire >> 3)
  8503. wireType := int(wire & 0x7)
  8504. if wireType == 4 {
  8505. return fmt.Errorf("proto: EleSpecailFoodsReq: wiretype end group for non-group")
  8506. }
  8507. if fieldNum <= 0 {
  8508. return fmt.Errorf("proto: EleSpecailFoodsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8509. }
  8510. switch fieldNum {
  8511. default:
  8512. iNdEx = preIndex
  8513. skippy, err := skipApi(dAtA[iNdEx:])
  8514. if err != nil {
  8515. return err
  8516. }
  8517. if skippy < 0 {
  8518. return ErrInvalidLengthApi
  8519. }
  8520. if (iNdEx + skippy) > l {
  8521. return io.ErrUnexpectedEOF
  8522. }
  8523. iNdEx += skippy
  8524. }
  8525. }
  8526. if iNdEx > l {
  8527. return io.ErrUnexpectedEOF
  8528. }
  8529. return nil
  8530. }
  8531. func (m *EleSpecailFoodsReply) Unmarshal(dAtA []byte) error {
  8532. l := len(dAtA)
  8533. iNdEx := 0
  8534. for iNdEx < l {
  8535. preIndex := iNdEx
  8536. var wire uint64
  8537. for shift := uint(0); ; shift += 7 {
  8538. if shift >= 64 {
  8539. return ErrIntOverflowApi
  8540. }
  8541. if iNdEx >= l {
  8542. return io.ErrUnexpectedEOF
  8543. }
  8544. b := dAtA[iNdEx]
  8545. iNdEx++
  8546. wire |= (uint64(b) & 0x7F) << shift
  8547. if b < 0x80 {
  8548. break
  8549. }
  8550. }
  8551. fieldNum := int32(wire >> 3)
  8552. wireType := int(wire & 0x7)
  8553. if wireType == 4 {
  8554. return fmt.Errorf("proto: EleSpecailFoodsReply: wiretype end group for non-group")
  8555. }
  8556. if fieldNum <= 0 {
  8557. return fmt.Errorf("proto: EleSpecailFoodsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8558. }
  8559. switch fieldNum {
  8560. case 1:
  8561. if wireType != 2 {
  8562. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8563. }
  8564. var msglen int
  8565. for shift := uint(0); ; shift += 7 {
  8566. if shift >= 64 {
  8567. return ErrIntOverflowApi
  8568. }
  8569. if iNdEx >= l {
  8570. return io.ErrUnexpectedEOF
  8571. }
  8572. b := dAtA[iNdEx]
  8573. iNdEx++
  8574. msglen |= (int(b) & 0x7F) << shift
  8575. if b < 0x80 {
  8576. break
  8577. }
  8578. }
  8579. if msglen < 0 {
  8580. return ErrInvalidLengthApi
  8581. }
  8582. postIndex := iNdEx + msglen
  8583. if postIndex > l {
  8584. return io.ErrUnexpectedEOF
  8585. }
  8586. m.List = append(m.List, &ModelEleSpecailFoods{})
  8587. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8588. return err
  8589. }
  8590. iNdEx = postIndex
  8591. default:
  8592. iNdEx = preIndex
  8593. skippy, err := skipApi(dAtA[iNdEx:])
  8594. if err != nil {
  8595. return err
  8596. }
  8597. if skippy < 0 {
  8598. return ErrInvalidLengthApi
  8599. }
  8600. if (iNdEx + skippy) > l {
  8601. return io.ErrUnexpectedEOF
  8602. }
  8603. iNdEx += skippy
  8604. }
  8605. }
  8606. if iNdEx > l {
  8607. return io.ErrUnexpectedEOF
  8608. }
  8609. return nil
  8610. }
  8611. func (m *ModelEleSpecailFoods) Unmarshal(dAtA []byte) error {
  8612. l := len(dAtA)
  8613. iNdEx := 0
  8614. for iNdEx < l {
  8615. preIndex := iNdEx
  8616. var wire uint64
  8617. for shift := uint(0); ; shift += 7 {
  8618. if shift >= 64 {
  8619. return ErrIntOverflowApi
  8620. }
  8621. if iNdEx >= l {
  8622. return io.ErrUnexpectedEOF
  8623. }
  8624. b := dAtA[iNdEx]
  8625. iNdEx++
  8626. wire |= (uint64(b) & 0x7F) << shift
  8627. if b < 0x80 {
  8628. break
  8629. }
  8630. }
  8631. fieldNum := int32(wire >> 3)
  8632. wireType := int(wire & 0x7)
  8633. if wireType == 4 {
  8634. return fmt.Errorf("proto: ModelEleSpecailFoods: wiretype end group for non-group")
  8635. }
  8636. if fieldNum <= 0 {
  8637. return fmt.Errorf("proto: ModelEleSpecailFoods: illegal tag %d (wire type %d)", fieldNum, wire)
  8638. }
  8639. switch fieldNum {
  8640. case 1:
  8641. if wireType != 2 {
  8642. return fmt.Errorf("proto: wrong wireType = %d for field RestaurantName", wireType)
  8643. }
  8644. var stringLen uint64
  8645. for shift := uint(0); ; shift += 7 {
  8646. if shift >= 64 {
  8647. return ErrIntOverflowApi
  8648. }
  8649. if iNdEx >= l {
  8650. return io.ErrUnexpectedEOF
  8651. }
  8652. b := dAtA[iNdEx]
  8653. iNdEx++
  8654. stringLen |= (uint64(b) & 0x7F) << shift
  8655. if b < 0x80 {
  8656. break
  8657. }
  8658. }
  8659. intStringLen := int(stringLen)
  8660. if intStringLen < 0 {
  8661. return ErrInvalidLengthApi
  8662. }
  8663. postIndex := iNdEx + intStringLen
  8664. if postIndex > l {
  8665. return io.ErrUnexpectedEOF
  8666. }
  8667. m.RestaurantName = string(dAtA[iNdEx:postIndex])
  8668. iNdEx = postIndex
  8669. case 2:
  8670. if wireType != 2 {
  8671. return fmt.Errorf("proto: wrong wireType = %d for field FoodName", wireType)
  8672. }
  8673. var stringLen uint64
  8674. for shift := uint(0); ; shift += 7 {
  8675. if shift >= 64 {
  8676. return ErrIntOverflowApi
  8677. }
  8678. if iNdEx >= l {
  8679. return io.ErrUnexpectedEOF
  8680. }
  8681. b := dAtA[iNdEx]
  8682. iNdEx++
  8683. stringLen |= (uint64(b) & 0x7F) << shift
  8684. if b < 0x80 {
  8685. break
  8686. }
  8687. }
  8688. intStringLen := int(stringLen)
  8689. if intStringLen < 0 {
  8690. return ErrInvalidLengthApi
  8691. }
  8692. postIndex := iNdEx + intStringLen
  8693. if postIndex > l {
  8694. return io.ErrUnexpectedEOF
  8695. }
  8696. m.FoodName = string(dAtA[iNdEx:postIndex])
  8697. iNdEx = postIndex
  8698. case 3:
  8699. if wireType != 2 {
  8700. return fmt.Errorf("proto: wrong wireType = %d for field FoodUrl", wireType)
  8701. }
  8702. var stringLen uint64
  8703. for shift := uint(0); ; shift += 7 {
  8704. if shift >= 64 {
  8705. return ErrIntOverflowApi
  8706. }
  8707. if iNdEx >= l {
  8708. return io.ErrUnexpectedEOF
  8709. }
  8710. b := dAtA[iNdEx]
  8711. iNdEx++
  8712. stringLen |= (uint64(b) & 0x7F) << shift
  8713. if b < 0x80 {
  8714. break
  8715. }
  8716. }
  8717. intStringLen := int(stringLen)
  8718. if intStringLen < 0 {
  8719. return ErrInvalidLengthApi
  8720. }
  8721. postIndex := iNdEx + intStringLen
  8722. if postIndex > l {
  8723. return io.ErrUnexpectedEOF
  8724. }
  8725. m.FoodUrl = string(dAtA[iNdEx:postIndex])
  8726. iNdEx = postIndex
  8727. case 4:
  8728. if wireType != 1 {
  8729. return fmt.Errorf("proto: wrong wireType = %d for field Discount", wireType)
  8730. }
  8731. var v uint64
  8732. if (iNdEx + 8) > l {
  8733. return io.ErrUnexpectedEOF
  8734. }
  8735. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8736. iNdEx += 8
  8737. m.Discount = float64(math.Float64frombits(v))
  8738. case 5:
  8739. if wireType != 1 {
  8740. return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  8741. }
  8742. var v uint64
  8743. if (iNdEx + 8) > l {
  8744. return io.ErrUnexpectedEOF
  8745. }
  8746. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8747. iNdEx += 8
  8748. m.Amount = float64(math.Float64frombits(v))
  8749. case 6:
  8750. if wireType != 1 {
  8751. return fmt.Errorf("proto: wrong wireType = %d for field OriginalAmount", wireType)
  8752. }
  8753. var v uint64
  8754. if (iNdEx + 8) > l {
  8755. return io.ErrUnexpectedEOF
  8756. }
  8757. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8758. iNdEx += 8
  8759. m.OriginalAmount = float64(math.Float64frombits(v))
  8760. case 7:
  8761. if wireType != 1 {
  8762. return fmt.Errorf("proto: wrong wireType = %d for field RatingPoint", wireType)
  8763. }
  8764. var v uint64
  8765. if (iNdEx + 8) > l {
  8766. return io.ErrUnexpectedEOF
  8767. }
  8768. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  8769. iNdEx += 8
  8770. m.RatingPoint = float64(math.Float64frombits(v))
  8771. default:
  8772. iNdEx = preIndex
  8773. skippy, err := skipApi(dAtA[iNdEx:])
  8774. if err != nil {
  8775. return err
  8776. }
  8777. if skippy < 0 {
  8778. return ErrInvalidLengthApi
  8779. }
  8780. if (iNdEx + skippy) > l {
  8781. return io.ErrUnexpectedEOF
  8782. }
  8783. iNdEx += skippy
  8784. }
  8785. }
  8786. if iNdEx > l {
  8787. return io.ErrUnexpectedEOF
  8788. }
  8789. return nil
  8790. }
  8791. func (m *EleVipGrantReq) Unmarshal(dAtA []byte) error {
  8792. l := len(dAtA)
  8793. iNdEx := 0
  8794. for iNdEx < l {
  8795. preIndex := iNdEx
  8796. var wire uint64
  8797. for shift := uint(0); ; shift += 7 {
  8798. if shift >= 64 {
  8799. return ErrIntOverflowApi
  8800. }
  8801. if iNdEx >= l {
  8802. return io.ErrUnexpectedEOF
  8803. }
  8804. b := dAtA[iNdEx]
  8805. iNdEx++
  8806. wire |= (uint64(b) & 0x7F) << shift
  8807. if b < 0x80 {
  8808. break
  8809. }
  8810. }
  8811. fieldNum := int32(wire >> 3)
  8812. wireType := int(wire & 0x7)
  8813. if wireType == 4 {
  8814. return fmt.Errorf("proto: EleVipGrantReq: wiretype end group for non-group")
  8815. }
  8816. if fieldNum <= 0 {
  8817. return fmt.Errorf("proto: EleVipGrantReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8818. }
  8819. switch fieldNum {
  8820. case 1:
  8821. if wireType != 2 {
  8822. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  8823. }
  8824. var stringLen uint64
  8825. for shift := uint(0); ; shift += 7 {
  8826. if shift >= 64 {
  8827. return ErrIntOverflowApi
  8828. }
  8829. if iNdEx >= l {
  8830. return io.ErrUnexpectedEOF
  8831. }
  8832. b := dAtA[iNdEx]
  8833. iNdEx++
  8834. stringLen |= (uint64(b) & 0x7F) << shift
  8835. if b < 0x80 {
  8836. break
  8837. }
  8838. }
  8839. intStringLen := int(stringLen)
  8840. if intStringLen < 0 {
  8841. return ErrInvalidLengthApi
  8842. }
  8843. postIndex := iNdEx + intStringLen
  8844. if postIndex > l {
  8845. return io.ErrUnexpectedEOF
  8846. }
  8847. m.OrderNo = string(dAtA[iNdEx:postIndex])
  8848. iNdEx = postIndex
  8849. default:
  8850. iNdEx = preIndex
  8851. skippy, err := skipApi(dAtA[iNdEx:])
  8852. if err != nil {
  8853. return err
  8854. }
  8855. if skippy < 0 {
  8856. return ErrInvalidLengthApi
  8857. }
  8858. if (iNdEx + skippy) > l {
  8859. return io.ErrUnexpectedEOF
  8860. }
  8861. iNdEx += skippy
  8862. }
  8863. }
  8864. if iNdEx > l {
  8865. return io.ErrUnexpectedEOF
  8866. }
  8867. return nil
  8868. }
  8869. func (m *EleVipGrantReply) Unmarshal(dAtA []byte) error {
  8870. l := len(dAtA)
  8871. iNdEx := 0
  8872. for iNdEx < l {
  8873. preIndex := iNdEx
  8874. var wire uint64
  8875. for shift := uint(0); ; shift += 7 {
  8876. if shift >= 64 {
  8877. return ErrIntOverflowApi
  8878. }
  8879. if iNdEx >= l {
  8880. return io.ErrUnexpectedEOF
  8881. }
  8882. b := dAtA[iNdEx]
  8883. iNdEx++
  8884. wire |= (uint64(b) & 0x7F) << shift
  8885. if b < 0x80 {
  8886. break
  8887. }
  8888. }
  8889. fieldNum := int32(wire >> 3)
  8890. wireType := int(wire & 0x7)
  8891. if wireType == 4 {
  8892. return fmt.Errorf("proto: EleVipGrantReply: wiretype end group for non-group")
  8893. }
  8894. if fieldNum <= 0 {
  8895. return fmt.Errorf("proto: EleVipGrantReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8896. }
  8897. switch fieldNum {
  8898. default:
  8899. iNdEx = preIndex
  8900. skippy, err := skipApi(dAtA[iNdEx:])
  8901. if err != nil {
  8902. return err
  8903. }
  8904. if skippy < 0 {
  8905. return ErrInvalidLengthApi
  8906. }
  8907. if (iNdEx + skippy) > l {
  8908. return io.ErrUnexpectedEOF
  8909. }
  8910. iNdEx += skippy
  8911. }
  8912. }
  8913. if iNdEx > l {
  8914. return io.ErrUnexpectedEOF
  8915. }
  8916. return nil
  8917. }
  8918. func (m *VipUserPanelReq) Unmarshal(dAtA []byte) error {
  8919. l := len(dAtA)
  8920. iNdEx := 0
  8921. for iNdEx < l {
  8922. preIndex := iNdEx
  8923. var wire uint64
  8924. for shift := uint(0); ; shift += 7 {
  8925. if shift >= 64 {
  8926. return ErrIntOverflowApi
  8927. }
  8928. if iNdEx >= l {
  8929. return io.ErrUnexpectedEOF
  8930. }
  8931. b := dAtA[iNdEx]
  8932. iNdEx++
  8933. wire |= (uint64(b) & 0x7F) << shift
  8934. if b < 0x80 {
  8935. break
  8936. }
  8937. }
  8938. fieldNum := int32(wire >> 3)
  8939. wireType := int(wire & 0x7)
  8940. if wireType == 4 {
  8941. return fmt.Errorf("proto: VipUserPanelReq: wiretype end group for non-group")
  8942. }
  8943. if fieldNum <= 0 {
  8944. return fmt.Errorf("proto: VipUserPanelReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8945. }
  8946. switch fieldNum {
  8947. case 1:
  8948. if wireType != 0 {
  8949. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8950. }
  8951. m.Mid = 0
  8952. for shift := uint(0); ; shift += 7 {
  8953. if shift >= 64 {
  8954. return ErrIntOverflowApi
  8955. }
  8956. if iNdEx >= l {
  8957. return io.ErrUnexpectedEOF
  8958. }
  8959. b := dAtA[iNdEx]
  8960. iNdEx++
  8961. m.Mid |= (int64(b) & 0x7F) << shift
  8962. if b < 0x80 {
  8963. break
  8964. }
  8965. }
  8966. case 2:
  8967. if wireType != 0 {
  8968. return fmt.Errorf("proto: wrong wireType = %d for field SortTp", wireType)
  8969. }
  8970. m.SortTp = 0
  8971. for shift := uint(0); ; shift += 7 {
  8972. if shift >= 64 {
  8973. return ErrIntOverflowApi
  8974. }
  8975. if iNdEx >= l {
  8976. return io.ErrUnexpectedEOF
  8977. }
  8978. b := dAtA[iNdEx]
  8979. iNdEx++
  8980. m.SortTp |= (int32(b) & 0x7F) << shift
  8981. if b < 0x80 {
  8982. break
  8983. }
  8984. }
  8985. case 3:
  8986. if wireType != 2 {
  8987. return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
  8988. }
  8989. var stringLen uint64
  8990. for shift := uint(0); ; shift += 7 {
  8991. if shift >= 64 {
  8992. return ErrIntOverflowApi
  8993. }
  8994. if iNdEx >= l {
  8995. return io.ErrUnexpectedEOF
  8996. }
  8997. b := dAtA[iNdEx]
  8998. iNdEx++
  8999. stringLen |= (uint64(b) & 0x7F) << shift
  9000. if b < 0x80 {
  9001. break
  9002. }
  9003. }
  9004. intStringLen := int(stringLen)
  9005. if intStringLen < 0 {
  9006. return ErrInvalidLengthApi
  9007. }
  9008. postIndex := iNdEx + intStringLen
  9009. if postIndex > l {
  9010. return io.ErrUnexpectedEOF
  9011. }
  9012. m.Ip = string(dAtA[iNdEx:postIndex])
  9013. iNdEx = postIndex
  9014. case 4:
  9015. if wireType != 2 {
  9016. return fmt.Errorf("proto: wrong wireType = %d for field MobiApp", wireType)
  9017. }
  9018. var stringLen uint64
  9019. for shift := uint(0); ; shift += 7 {
  9020. if shift >= 64 {
  9021. return ErrIntOverflowApi
  9022. }
  9023. if iNdEx >= l {
  9024. return io.ErrUnexpectedEOF
  9025. }
  9026. b := dAtA[iNdEx]
  9027. iNdEx++
  9028. stringLen |= (uint64(b) & 0x7F) << shift
  9029. if b < 0x80 {
  9030. break
  9031. }
  9032. }
  9033. intStringLen := int(stringLen)
  9034. if intStringLen < 0 {
  9035. return ErrInvalidLengthApi
  9036. }
  9037. postIndex := iNdEx + intStringLen
  9038. if postIndex > l {
  9039. return io.ErrUnexpectedEOF
  9040. }
  9041. m.MobiApp = string(dAtA[iNdEx:postIndex])
  9042. iNdEx = postIndex
  9043. case 5:
  9044. if wireType != 2 {
  9045. return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
  9046. }
  9047. var stringLen uint64
  9048. for shift := uint(0); ; shift += 7 {
  9049. if shift >= 64 {
  9050. return ErrIntOverflowApi
  9051. }
  9052. if iNdEx >= l {
  9053. return io.ErrUnexpectedEOF
  9054. }
  9055. b := dAtA[iNdEx]
  9056. iNdEx++
  9057. stringLen |= (uint64(b) & 0x7F) << shift
  9058. if b < 0x80 {
  9059. break
  9060. }
  9061. }
  9062. intStringLen := int(stringLen)
  9063. if intStringLen < 0 {
  9064. return ErrInvalidLengthApi
  9065. }
  9066. postIndex := iNdEx + intStringLen
  9067. if postIndex > l {
  9068. return io.ErrUnexpectedEOF
  9069. }
  9070. m.Device = string(dAtA[iNdEx:postIndex])
  9071. iNdEx = postIndex
  9072. case 6:
  9073. if wireType != 2 {
  9074. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  9075. }
  9076. var stringLen uint64
  9077. for shift := uint(0); ; shift += 7 {
  9078. if shift >= 64 {
  9079. return ErrIntOverflowApi
  9080. }
  9081. if iNdEx >= l {
  9082. return io.ErrUnexpectedEOF
  9083. }
  9084. b := dAtA[iNdEx]
  9085. iNdEx++
  9086. stringLen |= (uint64(b) & 0x7F) << shift
  9087. if b < 0x80 {
  9088. break
  9089. }
  9090. }
  9091. intStringLen := int(stringLen)
  9092. if intStringLen < 0 {
  9093. return ErrInvalidLengthApi
  9094. }
  9095. postIndex := iNdEx + intStringLen
  9096. if postIndex > l {
  9097. return io.ErrUnexpectedEOF
  9098. }
  9099. m.Platform = string(dAtA[iNdEx:postIndex])
  9100. iNdEx = postIndex
  9101. case 7:
  9102. if wireType != 0 {
  9103. return fmt.Errorf("proto: wrong wireType = %d for field Plat", wireType)
  9104. }
  9105. m.Plat = 0
  9106. for shift := uint(0); ; shift += 7 {
  9107. if shift >= 64 {
  9108. return ErrIntOverflowApi
  9109. }
  9110. if iNdEx >= l {
  9111. return io.ErrUnexpectedEOF
  9112. }
  9113. b := dAtA[iNdEx]
  9114. iNdEx++
  9115. m.Plat |= (int32(b) & 0x7F) << shift
  9116. if b < 0x80 {
  9117. break
  9118. }
  9119. }
  9120. case 8:
  9121. if wireType != 2 {
  9122. return fmt.Errorf("proto: wrong wireType = %d for field PanelType", wireType)
  9123. }
  9124. var stringLen uint64
  9125. for shift := uint(0); ; shift += 7 {
  9126. if shift >= 64 {
  9127. return ErrIntOverflowApi
  9128. }
  9129. if iNdEx >= l {
  9130. return io.ErrUnexpectedEOF
  9131. }
  9132. b := dAtA[iNdEx]
  9133. iNdEx++
  9134. stringLen |= (uint64(b) & 0x7F) << shift
  9135. if b < 0x80 {
  9136. break
  9137. }
  9138. }
  9139. intStringLen := int(stringLen)
  9140. if intStringLen < 0 {
  9141. return ErrInvalidLengthApi
  9142. }
  9143. postIndex := iNdEx + intStringLen
  9144. if postIndex > l {
  9145. return io.ErrUnexpectedEOF
  9146. }
  9147. m.PanelType = string(dAtA[iNdEx:postIndex])
  9148. iNdEx = postIndex
  9149. case 9:
  9150. if wireType != 0 {
  9151. return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
  9152. }
  9153. m.SubType = 0
  9154. for shift := uint(0); ; shift += 7 {
  9155. if shift >= 64 {
  9156. return ErrIntOverflowApi
  9157. }
  9158. if iNdEx >= l {
  9159. return io.ErrUnexpectedEOF
  9160. }
  9161. b := dAtA[iNdEx]
  9162. iNdEx++
  9163. m.SubType |= (int32(b) & 0x7F) << shift
  9164. if b < 0x80 {
  9165. break
  9166. }
  9167. }
  9168. case 10:
  9169. if wireType != 0 {
  9170. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  9171. }
  9172. m.Month = 0
  9173. for shift := uint(0); ; shift += 7 {
  9174. if shift >= 64 {
  9175. return ErrIntOverflowApi
  9176. }
  9177. if iNdEx >= l {
  9178. return io.ErrUnexpectedEOF
  9179. }
  9180. b := dAtA[iNdEx]
  9181. iNdEx++
  9182. m.Month |= (int32(b) & 0x7F) << shift
  9183. if b < 0x80 {
  9184. break
  9185. }
  9186. }
  9187. case 11:
  9188. if wireType != 0 {
  9189. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  9190. }
  9191. m.Build = 0
  9192. for shift := uint(0); ; shift += 7 {
  9193. if shift >= 64 {
  9194. return ErrIntOverflowApi
  9195. }
  9196. if iNdEx >= l {
  9197. return io.ErrUnexpectedEOF
  9198. }
  9199. b := dAtA[iNdEx]
  9200. iNdEx++
  9201. m.Build |= (int64(b) & 0x7F) << shift
  9202. if b < 0x80 {
  9203. break
  9204. }
  9205. }
  9206. case 12:
  9207. if wireType != 2 {
  9208. return fmt.Errorf("proto: wrong wireType = %d for field Lang", wireType)
  9209. }
  9210. var stringLen uint64
  9211. for shift := uint(0); ; shift += 7 {
  9212. if shift >= 64 {
  9213. return ErrIntOverflowApi
  9214. }
  9215. if iNdEx >= l {
  9216. return io.ErrUnexpectedEOF
  9217. }
  9218. b := dAtA[iNdEx]
  9219. iNdEx++
  9220. stringLen |= (uint64(b) & 0x7F) << shift
  9221. if b < 0x80 {
  9222. break
  9223. }
  9224. }
  9225. intStringLen := int(stringLen)
  9226. if intStringLen < 0 {
  9227. return ErrInvalidLengthApi
  9228. }
  9229. postIndex := iNdEx + intStringLen
  9230. if postIndex > l {
  9231. return io.ErrUnexpectedEOF
  9232. }
  9233. m.Lang = string(dAtA[iNdEx:postIndex])
  9234. iNdEx = postIndex
  9235. default:
  9236. iNdEx = preIndex
  9237. skippy, err := skipApi(dAtA[iNdEx:])
  9238. if err != nil {
  9239. return err
  9240. }
  9241. if skippy < 0 {
  9242. return ErrInvalidLengthApi
  9243. }
  9244. if (iNdEx + skippy) > l {
  9245. return io.ErrUnexpectedEOF
  9246. }
  9247. iNdEx += skippy
  9248. }
  9249. }
  9250. if iNdEx > l {
  9251. return io.ErrUnexpectedEOF
  9252. }
  9253. return nil
  9254. }
  9255. func (m *VipUserPanelReply) Unmarshal(dAtA []byte) error {
  9256. l := len(dAtA)
  9257. iNdEx := 0
  9258. for iNdEx < l {
  9259. preIndex := iNdEx
  9260. var wire uint64
  9261. for shift := uint(0); ; shift += 7 {
  9262. if shift >= 64 {
  9263. return ErrIntOverflowApi
  9264. }
  9265. if iNdEx >= l {
  9266. return io.ErrUnexpectedEOF
  9267. }
  9268. b := dAtA[iNdEx]
  9269. iNdEx++
  9270. wire |= (uint64(b) & 0x7F) << shift
  9271. if b < 0x80 {
  9272. break
  9273. }
  9274. }
  9275. fieldNum := int32(wire >> 3)
  9276. wireType := int(wire & 0x7)
  9277. if wireType == 4 {
  9278. return fmt.Errorf("proto: VipUserPanelReply: wiretype end group for non-group")
  9279. }
  9280. if fieldNum <= 0 {
  9281. return fmt.Errorf("proto: VipUserPanelReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9282. }
  9283. switch fieldNum {
  9284. case 1:
  9285. if wireType != 2 {
  9286. return fmt.Errorf("proto: wrong wireType = %d for field PriceList", wireType)
  9287. }
  9288. var msglen int
  9289. for shift := uint(0); ; shift += 7 {
  9290. if shift >= 64 {
  9291. return ErrIntOverflowApi
  9292. }
  9293. if iNdEx >= l {
  9294. return io.ErrUnexpectedEOF
  9295. }
  9296. b := dAtA[iNdEx]
  9297. iNdEx++
  9298. msglen |= (int(b) & 0x7F) << shift
  9299. if b < 0x80 {
  9300. break
  9301. }
  9302. }
  9303. if msglen < 0 {
  9304. return ErrInvalidLengthApi
  9305. }
  9306. postIndex := iNdEx + msglen
  9307. if postIndex > l {
  9308. return io.ErrUnexpectedEOF
  9309. }
  9310. m.PriceList = append(m.PriceList, &ModelVipPanelInfo{})
  9311. if err := m.PriceList[len(m.PriceList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9312. return err
  9313. }
  9314. iNdEx = postIndex
  9315. case 2:
  9316. if wireType != 2 {
  9317. return fmt.Errorf("proto: wrong wireType = %d for field Coupon", wireType)
  9318. }
  9319. var msglen int
  9320. for shift := uint(0); ; shift += 7 {
  9321. if shift >= 64 {
  9322. return ErrIntOverflowApi
  9323. }
  9324. if iNdEx >= l {
  9325. return io.ErrUnexpectedEOF
  9326. }
  9327. b := dAtA[iNdEx]
  9328. iNdEx++
  9329. msglen |= (int(b) & 0x7F) << shift
  9330. if b < 0x80 {
  9331. break
  9332. }
  9333. }
  9334. if msglen < 0 {
  9335. return ErrInvalidLengthApi
  9336. }
  9337. postIndex := iNdEx + msglen
  9338. if postIndex > l {
  9339. return io.ErrUnexpectedEOF
  9340. }
  9341. if m.Coupon == nil {
  9342. m.Coupon = &CouponBySuitIDReply{}
  9343. }
  9344. if err := m.Coupon.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9345. return err
  9346. }
  9347. iNdEx = postIndex
  9348. case 3:
  9349. if wireType != 0 {
  9350. return fmt.Errorf("proto: wrong wireType = %d for field CouponSwitch", wireType)
  9351. }
  9352. m.CouponSwitch = 0
  9353. for shift := uint(0); ; shift += 7 {
  9354. if shift >= 64 {
  9355. return ErrIntOverflowApi
  9356. }
  9357. if iNdEx >= l {
  9358. return io.ErrUnexpectedEOF
  9359. }
  9360. b := dAtA[iNdEx]
  9361. iNdEx++
  9362. m.CouponSwitch |= (int32(b) & 0x7F) << shift
  9363. if b < 0x80 {
  9364. break
  9365. }
  9366. }
  9367. case 4:
  9368. if wireType != 0 {
  9369. return fmt.Errorf("proto: wrong wireType = %d for field CodeSwitch", wireType)
  9370. }
  9371. m.CodeSwitch = 0
  9372. for shift := uint(0); ; shift += 7 {
  9373. if shift >= 64 {
  9374. return ErrIntOverflowApi
  9375. }
  9376. if iNdEx >= l {
  9377. return io.ErrUnexpectedEOF
  9378. }
  9379. b := dAtA[iNdEx]
  9380. iNdEx++
  9381. m.CodeSwitch |= (int32(b) & 0x7F) << shift
  9382. if b < 0x80 {
  9383. break
  9384. }
  9385. }
  9386. case 5:
  9387. if wireType != 0 {
  9388. return fmt.Errorf("proto: wrong wireType = %d for field GiveSwitch", wireType)
  9389. }
  9390. m.GiveSwitch = 0
  9391. for shift := uint(0); ; shift += 7 {
  9392. if shift >= 64 {
  9393. return ErrIntOverflowApi
  9394. }
  9395. if iNdEx >= l {
  9396. return io.ErrUnexpectedEOF
  9397. }
  9398. b := dAtA[iNdEx]
  9399. iNdEx++
  9400. m.GiveSwitch |= (int32(b) & 0x7F) << shift
  9401. if b < 0x80 {
  9402. break
  9403. }
  9404. }
  9405. case 6:
  9406. if wireType != 2 {
  9407. return fmt.Errorf("proto: wrong wireType = %d for field Privileges", wireType)
  9408. }
  9409. var msglen int
  9410. for shift := uint(0); ; shift += 7 {
  9411. if shift >= 64 {
  9412. return ErrIntOverflowApi
  9413. }
  9414. if iNdEx >= l {
  9415. return io.ErrUnexpectedEOF
  9416. }
  9417. b := dAtA[iNdEx]
  9418. iNdEx++
  9419. msglen |= (int(b) & 0x7F) << shift
  9420. if b < 0x80 {
  9421. break
  9422. }
  9423. }
  9424. if msglen < 0 {
  9425. return ErrInvalidLengthApi
  9426. }
  9427. postIndex := iNdEx + msglen
  9428. if postIndex > l {
  9429. return io.ErrUnexpectedEOF
  9430. }
  9431. if m.Privileges == nil {
  9432. m.Privileges = make(map[int32]*ModelPrivilegeResp)
  9433. }
  9434. var mapkey int32
  9435. var mapvalue *ModelPrivilegeResp
  9436. for iNdEx < postIndex {
  9437. entryPreIndex := iNdEx
  9438. var wire uint64
  9439. for shift := uint(0); ; shift += 7 {
  9440. if shift >= 64 {
  9441. return ErrIntOverflowApi
  9442. }
  9443. if iNdEx >= l {
  9444. return io.ErrUnexpectedEOF
  9445. }
  9446. b := dAtA[iNdEx]
  9447. iNdEx++
  9448. wire |= (uint64(b) & 0x7F) << shift
  9449. if b < 0x80 {
  9450. break
  9451. }
  9452. }
  9453. fieldNum := int32(wire >> 3)
  9454. if fieldNum == 1 {
  9455. for shift := uint(0); ; shift += 7 {
  9456. if shift >= 64 {
  9457. return ErrIntOverflowApi
  9458. }
  9459. if iNdEx >= l {
  9460. return io.ErrUnexpectedEOF
  9461. }
  9462. b := dAtA[iNdEx]
  9463. iNdEx++
  9464. mapkey |= (int32(b) & 0x7F) << shift
  9465. if b < 0x80 {
  9466. break
  9467. }
  9468. }
  9469. } else if fieldNum == 2 {
  9470. var mapmsglen int
  9471. for shift := uint(0); ; shift += 7 {
  9472. if shift >= 64 {
  9473. return ErrIntOverflowApi
  9474. }
  9475. if iNdEx >= l {
  9476. return io.ErrUnexpectedEOF
  9477. }
  9478. b := dAtA[iNdEx]
  9479. iNdEx++
  9480. mapmsglen |= (int(b) & 0x7F) << shift
  9481. if b < 0x80 {
  9482. break
  9483. }
  9484. }
  9485. if mapmsglen < 0 {
  9486. return ErrInvalidLengthApi
  9487. }
  9488. postmsgIndex := iNdEx + mapmsglen
  9489. if mapmsglen < 0 {
  9490. return ErrInvalidLengthApi
  9491. }
  9492. if postmsgIndex > l {
  9493. return io.ErrUnexpectedEOF
  9494. }
  9495. mapvalue = &ModelPrivilegeResp{}
  9496. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  9497. return err
  9498. }
  9499. iNdEx = postmsgIndex
  9500. } else {
  9501. iNdEx = entryPreIndex
  9502. skippy, err := skipApi(dAtA[iNdEx:])
  9503. if err != nil {
  9504. return err
  9505. }
  9506. if skippy < 0 {
  9507. return ErrInvalidLengthApi
  9508. }
  9509. if (iNdEx + skippy) > postIndex {
  9510. return io.ErrUnexpectedEOF
  9511. }
  9512. iNdEx += skippy
  9513. }
  9514. }
  9515. m.Privileges[mapkey] = mapvalue
  9516. iNdEx = postIndex
  9517. default:
  9518. iNdEx = preIndex
  9519. skippy, err := skipApi(dAtA[iNdEx:])
  9520. if err != nil {
  9521. return err
  9522. }
  9523. if skippy < 0 {
  9524. return ErrInvalidLengthApi
  9525. }
  9526. if (iNdEx + skippy) > l {
  9527. return io.ErrUnexpectedEOF
  9528. }
  9529. iNdEx += skippy
  9530. }
  9531. }
  9532. if iNdEx > l {
  9533. return io.ErrUnexpectedEOF
  9534. }
  9535. return nil
  9536. }
  9537. func (m *CouponBySuitIDReply) Unmarshal(dAtA []byte) error {
  9538. l := len(dAtA)
  9539. iNdEx := 0
  9540. for iNdEx < l {
  9541. preIndex := iNdEx
  9542. var wire uint64
  9543. for shift := uint(0); ; shift += 7 {
  9544. if shift >= 64 {
  9545. return ErrIntOverflowApi
  9546. }
  9547. if iNdEx >= l {
  9548. return io.ErrUnexpectedEOF
  9549. }
  9550. b := dAtA[iNdEx]
  9551. iNdEx++
  9552. wire |= (uint64(b) & 0x7F) << shift
  9553. if b < 0x80 {
  9554. break
  9555. }
  9556. }
  9557. fieldNum := int32(wire >> 3)
  9558. wireType := int(wire & 0x7)
  9559. if wireType == 4 {
  9560. return fmt.Errorf("proto: CouponBySuitIDReply: wiretype end group for non-group")
  9561. }
  9562. if fieldNum <= 0 {
  9563. return fmt.Errorf("proto: CouponBySuitIDReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9564. }
  9565. switch fieldNum {
  9566. case 1:
  9567. if wireType != 2 {
  9568. return fmt.Errorf("proto: wrong wireType = %d for field CouponTip", wireType)
  9569. }
  9570. var stringLen uint64
  9571. for shift := uint(0); ; shift += 7 {
  9572. if shift >= 64 {
  9573. return ErrIntOverflowApi
  9574. }
  9575. if iNdEx >= l {
  9576. return io.ErrUnexpectedEOF
  9577. }
  9578. b := dAtA[iNdEx]
  9579. iNdEx++
  9580. stringLen |= (uint64(b) & 0x7F) << shift
  9581. if b < 0x80 {
  9582. break
  9583. }
  9584. }
  9585. intStringLen := int(stringLen)
  9586. if intStringLen < 0 {
  9587. return ErrInvalidLengthApi
  9588. }
  9589. postIndex := iNdEx + intStringLen
  9590. if postIndex > l {
  9591. return io.ErrUnexpectedEOF
  9592. }
  9593. m.CouponTip = string(dAtA[iNdEx:postIndex])
  9594. iNdEx = postIndex
  9595. case 2:
  9596. if wireType != 2 {
  9597. return fmt.Errorf("proto: wrong wireType = %d for field CouponInfo", wireType)
  9598. }
  9599. var msglen int
  9600. for shift := uint(0); ; shift += 7 {
  9601. if shift >= 64 {
  9602. return ErrIntOverflowApi
  9603. }
  9604. if iNdEx >= l {
  9605. return io.ErrUnexpectedEOF
  9606. }
  9607. b := dAtA[iNdEx]
  9608. iNdEx++
  9609. msglen |= (int(b) & 0x7F) << shift
  9610. if b < 0x80 {
  9611. break
  9612. }
  9613. }
  9614. if msglen < 0 {
  9615. return ErrInvalidLengthApi
  9616. }
  9617. postIndex := iNdEx + msglen
  9618. if postIndex > l {
  9619. return io.ErrUnexpectedEOF
  9620. }
  9621. if m.CouponInfo == nil {
  9622. m.CouponInfo = &ModelCouponAllowancePanelInfo{}
  9623. }
  9624. if err := m.CouponInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9625. return err
  9626. }
  9627. iNdEx = postIndex
  9628. default:
  9629. iNdEx = preIndex
  9630. skippy, err := skipApi(dAtA[iNdEx:])
  9631. if err != nil {
  9632. return err
  9633. }
  9634. if skippy < 0 {
  9635. return ErrInvalidLengthApi
  9636. }
  9637. if (iNdEx + skippy) > l {
  9638. return io.ErrUnexpectedEOF
  9639. }
  9640. iNdEx += skippy
  9641. }
  9642. }
  9643. if iNdEx > l {
  9644. return io.ErrUnexpectedEOF
  9645. }
  9646. return nil
  9647. }
  9648. func (m *ModelCouponAllowancePanelInfo) Unmarshal(dAtA []byte) error {
  9649. l := len(dAtA)
  9650. iNdEx := 0
  9651. for iNdEx < l {
  9652. preIndex := iNdEx
  9653. var wire uint64
  9654. for shift := uint(0); ; shift += 7 {
  9655. if shift >= 64 {
  9656. return ErrIntOverflowApi
  9657. }
  9658. if iNdEx >= l {
  9659. return io.ErrUnexpectedEOF
  9660. }
  9661. b := dAtA[iNdEx]
  9662. iNdEx++
  9663. wire |= (uint64(b) & 0x7F) << shift
  9664. if b < 0x80 {
  9665. break
  9666. }
  9667. }
  9668. fieldNum := int32(wire >> 3)
  9669. wireType := int(wire & 0x7)
  9670. if wireType == 4 {
  9671. return fmt.Errorf("proto: ModelCouponAllowancePanelInfo: wiretype end group for non-group")
  9672. }
  9673. if fieldNum <= 0 {
  9674. return fmt.Errorf("proto: ModelCouponAllowancePanelInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  9675. }
  9676. switch fieldNum {
  9677. case 1:
  9678. if wireType != 2 {
  9679. return fmt.Errorf("proto: wrong wireType = %d for field CouponToken", wireType)
  9680. }
  9681. var stringLen uint64
  9682. for shift := uint(0); ; shift += 7 {
  9683. if shift >= 64 {
  9684. return ErrIntOverflowApi
  9685. }
  9686. if iNdEx >= l {
  9687. return io.ErrUnexpectedEOF
  9688. }
  9689. b := dAtA[iNdEx]
  9690. iNdEx++
  9691. stringLen |= (uint64(b) & 0x7F) << shift
  9692. if b < 0x80 {
  9693. break
  9694. }
  9695. }
  9696. intStringLen := int(stringLen)
  9697. if intStringLen < 0 {
  9698. return ErrInvalidLengthApi
  9699. }
  9700. postIndex := iNdEx + intStringLen
  9701. if postIndex > l {
  9702. return io.ErrUnexpectedEOF
  9703. }
  9704. m.CouponToken = string(dAtA[iNdEx:postIndex])
  9705. iNdEx = postIndex
  9706. case 2:
  9707. if wireType != 1 {
  9708. return fmt.Errorf("proto: wrong wireType = %d for field CouponAmount", wireType)
  9709. }
  9710. var v uint64
  9711. if (iNdEx + 8) > l {
  9712. return io.ErrUnexpectedEOF
  9713. }
  9714. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  9715. iNdEx += 8
  9716. m.CouponAmount = float64(math.Float64frombits(v))
  9717. case 3:
  9718. if wireType != 0 {
  9719. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  9720. }
  9721. m.State = 0
  9722. for shift := uint(0); ; shift += 7 {
  9723. if shift >= 64 {
  9724. return ErrIntOverflowApi
  9725. }
  9726. if iNdEx >= l {
  9727. return io.ErrUnexpectedEOF
  9728. }
  9729. b := dAtA[iNdEx]
  9730. iNdEx++
  9731. m.State |= (int32(b) & 0x7F) << shift
  9732. if b < 0x80 {
  9733. break
  9734. }
  9735. }
  9736. case 4:
  9737. if wireType != 2 {
  9738. return fmt.Errorf("proto: wrong wireType = %d for field FullLimitExplain", wireType)
  9739. }
  9740. var stringLen uint64
  9741. for shift := uint(0); ; shift += 7 {
  9742. if shift >= 64 {
  9743. return ErrIntOverflowApi
  9744. }
  9745. if iNdEx >= l {
  9746. return io.ErrUnexpectedEOF
  9747. }
  9748. b := dAtA[iNdEx]
  9749. iNdEx++
  9750. stringLen |= (uint64(b) & 0x7F) << shift
  9751. if b < 0x80 {
  9752. break
  9753. }
  9754. }
  9755. intStringLen := int(stringLen)
  9756. if intStringLen < 0 {
  9757. return ErrInvalidLengthApi
  9758. }
  9759. postIndex := iNdEx + intStringLen
  9760. if postIndex > l {
  9761. return io.ErrUnexpectedEOF
  9762. }
  9763. m.FullLimitExplain = string(dAtA[iNdEx:postIndex])
  9764. iNdEx = postIndex
  9765. case 5:
  9766. if wireType != 2 {
  9767. return fmt.Errorf("proto: wrong wireType = %d for field ScopeExplain", wireType)
  9768. }
  9769. var stringLen uint64
  9770. for shift := uint(0); ; shift += 7 {
  9771. if shift >= 64 {
  9772. return ErrIntOverflowApi
  9773. }
  9774. if iNdEx >= l {
  9775. return io.ErrUnexpectedEOF
  9776. }
  9777. b := dAtA[iNdEx]
  9778. iNdEx++
  9779. stringLen |= (uint64(b) & 0x7F) << shift
  9780. if b < 0x80 {
  9781. break
  9782. }
  9783. }
  9784. intStringLen := int(stringLen)
  9785. if intStringLen < 0 {
  9786. return ErrInvalidLengthApi
  9787. }
  9788. postIndex := iNdEx + intStringLen
  9789. if postIndex > l {
  9790. return io.ErrUnexpectedEOF
  9791. }
  9792. m.ScopeExplain = string(dAtA[iNdEx:postIndex])
  9793. iNdEx = postIndex
  9794. case 6:
  9795. if wireType != 1 {
  9796. return fmt.Errorf("proto: wrong wireType = %d for field FullAmount", wireType)
  9797. }
  9798. var v uint64
  9799. if (iNdEx + 8) > l {
  9800. return io.ErrUnexpectedEOF
  9801. }
  9802. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  9803. iNdEx += 8
  9804. m.FullAmount = float64(math.Float64frombits(v))
  9805. case 7:
  9806. if wireType != 1 {
  9807. return fmt.Errorf("proto: wrong wireType = %d for field CouponDiscountPrice", wireType)
  9808. }
  9809. var v uint64
  9810. if (iNdEx + 8) > l {
  9811. return io.ErrUnexpectedEOF
  9812. }
  9813. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  9814. iNdEx += 8
  9815. m.CouponDiscountPrice = float64(math.Float64frombits(v))
  9816. case 8:
  9817. if wireType != 0 {
  9818. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  9819. }
  9820. m.StartTime = 0
  9821. for shift := uint(0); ; shift += 7 {
  9822. if shift >= 64 {
  9823. return ErrIntOverflowApi
  9824. }
  9825. if iNdEx >= l {
  9826. return io.ErrUnexpectedEOF
  9827. }
  9828. b := dAtA[iNdEx]
  9829. iNdEx++
  9830. m.StartTime |= (int64(b) & 0x7F) << shift
  9831. if b < 0x80 {
  9832. break
  9833. }
  9834. }
  9835. case 9:
  9836. if wireType != 0 {
  9837. return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType)
  9838. }
  9839. m.ExpireTime = 0
  9840. for shift := uint(0); ; shift += 7 {
  9841. if shift >= 64 {
  9842. return ErrIntOverflowApi
  9843. }
  9844. if iNdEx >= l {
  9845. return io.ErrUnexpectedEOF
  9846. }
  9847. b := dAtA[iNdEx]
  9848. iNdEx++
  9849. m.ExpireTime |= (int64(b) & 0x7F) << shift
  9850. if b < 0x80 {
  9851. break
  9852. }
  9853. }
  9854. case 10:
  9855. if wireType != 0 {
  9856. return fmt.Errorf("proto: wrong wireType = %d for field Selected", wireType)
  9857. }
  9858. m.Selected = 0
  9859. for shift := uint(0); ; shift += 7 {
  9860. if shift >= 64 {
  9861. return ErrIntOverflowApi
  9862. }
  9863. if iNdEx >= l {
  9864. return io.ErrUnexpectedEOF
  9865. }
  9866. b := dAtA[iNdEx]
  9867. iNdEx++
  9868. m.Selected |= (int32(b) & 0x7F) << shift
  9869. if b < 0x80 {
  9870. break
  9871. }
  9872. }
  9873. case 11:
  9874. if wireType != 2 {
  9875. return fmt.Errorf("proto: wrong wireType = %d for field DisablesExplains", wireType)
  9876. }
  9877. var stringLen uint64
  9878. for shift := uint(0); ; shift += 7 {
  9879. if shift >= 64 {
  9880. return ErrIntOverflowApi
  9881. }
  9882. if iNdEx >= l {
  9883. return io.ErrUnexpectedEOF
  9884. }
  9885. b := dAtA[iNdEx]
  9886. iNdEx++
  9887. stringLen |= (uint64(b) & 0x7F) << shift
  9888. if b < 0x80 {
  9889. break
  9890. }
  9891. }
  9892. intStringLen := int(stringLen)
  9893. if intStringLen < 0 {
  9894. return ErrInvalidLengthApi
  9895. }
  9896. postIndex := iNdEx + intStringLen
  9897. if postIndex > l {
  9898. return io.ErrUnexpectedEOF
  9899. }
  9900. m.DisablesExplains = string(dAtA[iNdEx:postIndex])
  9901. iNdEx = postIndex
  9902. case 12:
  9903. if wireType != 2 {
  9904. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  9905. }
  9906. var stringLen uint64
  9907. for shift := uint(0); ; shift += 7 {
  9908. if shift >= 64 {
  9909. return ErrIntOverflowApi
  9910. }
  9911. if iNdEx >= l {
  9912. return io.ErrUnexpectedEOF
  9913. }
  9914. b := dAtA[iNdEx]
  9915. iNdEx++
  9916. stringLen |= (uint64(b) & 0x7F) << shift
  9917. if b < 0x80 {
  9918. break
  9919. }
  9920. }
  9921. intStringLen := int(stringLen)
  9922. if intStringLen < 0 {
  9923. return ErrInvalidLengthApi
  9924. }
  9925. postIndex := iNdEx + intStringLen
  9926. if postIndex > l {
  9927. return io.ErrUnexpectedEOF
  9928. }
  9929. m.OrderNo = string(dAtA[iNdEx:postIndex])
  9930. iNdEx = postIndex
  9931. case 13:
  9932. if wireType != 2 {
  9933. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  9934. }
  9935. var stringLen uint64
  9936. for shift := uint(0); ; shift += 7 {
  9937. if shift >= 64 {
  9938. return ErrIntOverflowApi
  9939. }
  9940. if iNdEx >= l {
  9941. return io.ErrUnexpectedEOF
  9942. }
  9943. b := dAtA[iNdEx]
  9944. iNdEx++
  9945. stringLen |= (uint64(b) & 0x7F) << shift
  9946. if b < 0x80 {
  9947. break
  9948. }
  9949. }
  9950. intStringLen := int(stringLen)
  9951. if intStringLen < 0 {
  9952. return ErrInvalidLengthApi
  9953. }
  9954. postIndex := iNdEx + intStringLen
  9955. if postIndex > l {
  9956. return io.ErrUnexpectedEOF
  9957. }
  9958. m.Name = string(dAtA[iNdEx:postIndex])
  9959. iNdEx = postIndex
  9960. case 14:
  9961. if wireType != 0 {
  9962. return fmt.Errorf("proto: wrong wireType = %d for field Usable", wireType)
  9963. }
  9964. m.Usable = 0
  9965. for shift := uint(0); ; shift += 7 {
  9966. if shift >= 64 {
  9967. return ErrIntOverflowApi
  9968. }
  9969. if iNdEx >= l {
  9970. return io.ErrUnexpectedEOF
  9971. }
  9972. b := dAtA[iNdEx]
  9973. iNdEx++
  9974. m.Usable |= (int32(b) & 0x7F) << shift
  9975. if b < 0x80 {
  9976. break
  9977. }
  9978. }
  9979. default:
  9980. iNdEx = preIndex
  9981. skippy, err := skipApi(dAtA[iNdEx:])
  9982. if err != nil {
  9983. return err
  9984. }
  9985. if skippy < 0 {
  9986. return ErrInvalidLengthApi
  9987. }
  9988. if (iNdEx + skippy) > l {
  9989. return io.ErrUnexpectedEOF
  9990. }
  9991. iNdEx += skippy
  9992. }
  9993. }
  9994. if iNdEx > l {
  9995. return io.ErrUnexpectedEOF
  9996. }
  9997. return nil
  9998. }
  9999. func (m *ModelVipPanelInfo) Unmarshal(dAtA []byte) error {
  10000. l := len(dAtA)
  10001. iNdEx := 0
  10002. for iNdEx < l {
  10003. preIndex := iNdEx
  10004. var wire uint64
  10005. for shift := uint(0); ; shift += 7 {
  10006. if shift >= 64 {
  10007. return ErrIntOverflowApi
  10008. }
  10009. if iNdEx >= l {
  10010. return io.ErrUnexpectedEOF
  10011. }
  10012. b := dAtA[iNdEx]
  10013. iNdEx++
  10014. wire |= (uint64(b) & 0x7F) << shift
  10015. if b < 0x80 {
  10016. break
  10017. }
  10018. }
  10019. fieldNum := int32(wire >> 3)
  10020. wireType := int(wire & 0x7)
  10021. if wireType == 4 {
  10022. return fmt.Errorf("proto: ModelVipPanelInfo: wiretype end group for non-group")
  10023. }
  10024. if fieldNum <= 0 {
  10025. return fmt.Errorf("proto: ModelVipPanelInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  10026. }
  10027. switch fieldNum {
  10028. case 1:
  10029. if wireType != 0 {
  10030. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  10031. }
  10032. m.Month = 0
  10033. for shift := uint(0); ; shift += 7 {
  10034. if shift >= 64 {
  10035. return ErrIntOverflowApi
  10036. }
  10037. if iNdEx >= l {
  10038. return io.ErrUnexpectedEOF
  10039. }
  10040. b := dAtA[iNdEx]
  10041. iNdEx++
  10042. m.Month |= (int32(b) & 0x7F) << shift
  10043. if b < 0x80 {
  10044. break
  10045. }
  10046. }
  10047. case 2:
  10048. if wireType != 2 {
  10049. return fmt.Errorf("proto: wrong wireType = %d for field ProductName", wireType)
  10050. }
  10051. var stringLen uint64
  10052. for shift := uint(0); ; shift += 7 {
  10053. if shift >= 64 {
  10054. return ErrIntOverflowApi
  10055. }
  10056. if iNdEx >= l {
  10057. return io.ErrUnexpectedEOF
  10058. }
  10059. b := dAtA[iNdEx]
  10060. iNdEx++
  10061. stringLen |= (uint64(b) & 0x7F) << shift
  10062. if b < 0x80 {
  10063. break
  10064. }
  10065. }
  10066. intStringLen := int(stringLen)
  10067. if intStringLen < 0 {
  10068. return ErrInvalidLengthApi
  10069. }
  10070. postIndex := iNdEx + intStringLen
  10071. if postIndex > l {
  10072. return io.ErrUnexpectedEOF
  10073. }
  10074. m.ProductName = string(dAtA[iNdEx:postIndex])
  10075. iNdEx = postIndex
  10076. case 3:
  10077. if wireType != 2 {
  10078. return fmt.Errorf("proto: wrong wireType = %d for field ProductId", wireType)
  10079. }
  10080. var stringLen uint64
  10081. for shift := uint(0); ; shift += 7 {
  10082. if shift >= 64 {
  10083. return ErrIntOverflowApi
  10084. }
  10085. if iNdEx >= l {
  10086. return io.ErrUnexpectedEOF
  10087. }
  10088. b := dAtA[iNdEx]
  10089. iNdEx++
  10090. stringLen |= (uint64(b) & 0x7F) << shift
  10091. if b < 0x80 {
  10092. break
  10093. }
  10094. }
  10095. intStringLen := int(stringLen)
  10096. if intStringLen < 0 {
  10097. return ErrInvalidLengthApi
  10098. }
  10099. postIndex := iNdEx + intStringLen
  10100. if postIndex > l {
  10101. return io.ErrUnexpectedEOF
  10102. }
  10103. m.ProductId = string(dAtA[iNdEx:postIndex])
  10104. iNdEx = postIndex
  10105. case 4:
  10106. if wireType != 0 {
  10107. return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
  10108. }
  10109. m.SubType = 0
  10110. for shift := uint(0); ; shift += 7 {
  10111. if shift >= 64 {
  10112. return ErrIntOverflowApi
  10113. }
  10114. if iNdEx >= l {
  10115. return io.ErrUnexpectedEOF
  10116. }
  10117. b := dAtA[iNdEx]
  10118. iNdEx++
  10119. m.SubType |= (int32(b) & 0x7F) << shift
  10120. if b < 0x80 {
  10121. break
  10122. }
  10123. }
  10124. case 5:
  10125. if wireType != 0 {
  10126. return fmt.Errorf("proto: wrong wireType = %d for field SuitType", wireType)
  10127. }
  10128. m.SuitType = 0
  10129. for shift := uint(0); ; shift += 7 {
  10130. if shift >= 64 {
  10131. return ErrIntOverflowApi
  10132. }
  10133. if iNdEx >= l {
  10134. return io.ErrUnexpectedEOF
  10135. }
  10136. b := dAtA[iNdEx]
  10137. iNdEx++
  10138. m.SuitType |= (int32(b) & 0x7F) << shift
  10139. if b < 0x80 {
  10140. break
  10141. }
  10142. }
  10143. case 6:
  10144. if wireType != 1 {
  10145. return fmt.Errorf("proto: wrong wireType = %d for field OriginalPrice", wireType)
  10146. }
  10147. var v uint64
  10148. if (iNdEx + 8) > l {
  10149. return io.ErrUnexpectedEOF
  10150. }
  10151. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  10152. iNdEx += 8
  10153. m.OriginalPrice = float64(math.Float64frombits(v))
  10154. case 7:
  10155. if wireType != 1 {
  10156. return fmt.Errorf("proto: wrong wireType = %d for field DiscountPrice", wireType)
  10157. }
  10158. var v uint64
  10159. if (iNdEx + 8) > l {
  10160. return io.ErrUnexpectedEOF
  10161. }
  10162. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  10163. iNdEx += 8
  10164. m.DiscountPrice = float64(math.Float64frombits(v))
  10165. case 8:
  10166. if wireType != 2 {
  10167. return fmt.Errorf("proto: wrong wireType = %d for field DiscountRate", wireType)
  10168. }
  10169. var stringLen uint64
  10170. for shift := uint(0); ; shift += 7 {
  10171. if shift >= 64 {
  10172. return ErrIntOverflowApi
  10173. }
  10174. if iNdEx >= l {
  10175. return io.ErrUnexpectedEOF
  10176. }
  10177. b := dAtA[iNdEx]
  10178. iNdEx++
  10179. stringLen |= (uint64(b) & 0x7F) << shift
  10180. if b < 0x80 {
  10181. break
  10182. }
  10183. }
  10184. intStringLen := int(stringLen)
  10185. if intStringLen < 0 {
  10186. return ErrInvalidLengthApi
  10187. }
  10188. postIndex := iNdEx + intStringLen
  10189. if postIndex > l {
  10190. return io.ErrUnexpectedEOF
  10191. }
  10192. m.DiscountRate = string(dAtA[iNdEx:postIndex])
  10193. iNdEx = postIndex
  10194. case 9:
  10195. if wireType != 2 {
  10196. return fmt.Errorf("proto: wrong wireType = %d for field Remark", wireType)
  10197. }
  10198. var stringLen uint64
  10199. for shift := uint(0); ; shift += 7 {
  10200. if shift >= 64 {
  10201. return ErrIntOverflowApi
  10202. }
  10203. if iNdEx >= l {
  10204. return io.ErrUnexpectedEOF
  10205. }
  10206. b := dAtA[iNdEx]
  10207. iNdEx++
  10208. stringLen |= (uint64(b) & 0x7F) << shift
  10209. if b < 0x80 {
  10210. break
  10211. }
  10212. }
  10213. intStringLen := int(stringLen)
  10214. if intStringLen < 0 {
  10215. return ErrInvalidLengthApi
  10216. }
  10217. postIndex := iNdEx + intStringLen
  10218. if postIndex > l {
  10219. return io.ErrUnexpectedEOF
  10220. }
  10221. m.Remark = string(dAtA[iNdEx:postIndex])
  10222. iNdEx = postIndex
  10223. case 10:
  10224. if wireType != 0 {
  10225. return fmt.Errorf("proto: wrong wireType = %d for field Selected", wireType)
  10226. }
  10227. m.Selected = 0
  10228. for shift := uint(0); ; shift += 7 {
  10229. if shift >= 64 {
  10230. return ErrIntOverflowApi
  10231. }
  10232. if iNdEx >= l {
  10233. return io.ErrUnexpectedEOF
  10234. }
  10235. b := dAtA[iNdEx]
  10236. iNdEx++
  10237. m.Selected |= (int32(b) & 0x7F) << shift
  10238. if b < 0x80 {
  10239. break
  10240. }
  10241. }
  10242. case 11:
  10243. if wireType != 0 {
  10244. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  10245. }
  10246. m.Id = 0
  10247. for shift := uint(0); ; shift += 7 {
  10248. if shift >= 64 {
  10249. return ErrIntOverflowApi
  10250. }
  10251. if iNdEx >= l {
  10252. return io.ErrUnexpectedEOF
  10253. }
  10254. b := dAtA[iNdEx]
  10255. iNdEx++
  10256. m.Id |= (int64(b) & 0x7F) << shift
  10257. if b < 0x80 {
  10258. break
  10259. }
  10260. }
  10261. case 12:
  10262. if wireType != 0 {
  10263. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10264. }
  10265. m.Type = 0
  10266. for shift := uint(0); ; shift += 7 {
  10267. if shift >= 64 {
  10268. return ErrIntOverflowApi
  10269. }
  10270. if iNdEx >= l {
  10271. return io.ErrUnexpectedEOF
  10272. }
  10273. b := dAtA[iNdEx]
  10274. iNdEx++
  10275. m.Type |= (int32(b) & 0x7F) << shift
  10276. if b < 0x80 {
  10277. break
  10278. }
  10279. }
  10280. default:
  10281. iNdEx = preIndex
  10282. skippy, err := skipApi(dAtA[iNdEx:])
  10283. if err != nil {
  10284. return err
  10285. }
  10286. if skippy < 0 {
  10287. return ErrInvalidLengthApi
  10288. }
  10289. if (iNdEx + skippy) > l {
  10290. return io.ErrUnexpectedEOF
  10291. }
  10292. iNdEx += skippy
  10293. }
  10294. }
  10295. if iNdEx > l {
  10296. return io.ErrUnexpectedEOF
  10297. }
  10298. return nil
  10299. }
  10300. func (m *ModelPrivilegeResp) Unmarshal(dAtA []byte) error {
  10301. l := len(dAtA)
  10302. iNdEx := 0
  10303. for iNdEx < l {
  10304. preIndex := iNdEx
  10305. var wire uint64
  10306. for shift := uint(0); ; shift += 7 {
  10307. if shift >= 64 {
  10308. return ErrIntOverflowApi
  10309. }
  10310. if iNdEx >= l {
  10311. return io.ErrUnexpectedEOF
  10312. }
  10313. b := dAtA[iNdEx]
  10314. iNdEx++
  10315. wire |= (uint64(b) & 0x7F) << shift
  10316. if b < 0x80 {
  10317. break
  10318. }
  10319. }
  10320. fieldNum := int32(wire >> 3)
  10321. wireType := int(wire & 0x7)
  10322. if wireType == 4 {
  10323. return fmt.Errorf("proto: ModelPrivilegeResp: wiretype end group for non-group")
  10324. }
  10325. if fieldNum <= 0 {
  10326. return fmt.Errorf("proto: ModelPrivilegeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  10327. }
  10328. switch fieldNum {
  10329. case 1:
  10330. if wireType != 2 {
  10331. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  10332. }
  10333. var stringLen uint64
  10334. for shift := uint(0); ; shift += 7 {
  10335. if shift >= 64 {
  10336. return ErrIntOverflowApi
  10337. }
  10338. if iNdEx >= l {
  10339. return io.ErrUnexpectedEOF
  10340. }
  10341. b := dAtA[iNdEx]
  10342. iNdEx++
  10343. stringLen |= (uint64(b) & 0x7F) << shift
  10344. if b < 0x80 {
  10345. break
  10346. }
  10347. }
  10348. intStringLen := int(stringLen)
  10349. if intStringLen < 0 {
  10350. return ErrInvalidLengthApi
  10351. }
  10352. postIndex := iNdEx + intStringLen
  10353. if postIndex > l {
  10354. return io.ErrUnexpectedEOF
  10355. }
  10356. m.Title = string(dAtA[iNdEx:postIndex])
  10357. iNdEx = postIndex
  10358. case 2:
  10359. if wireType != 2 {
  10360. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  10361. }
  10362. var msglen int
  10363. for shift := uint(0); ; shift += 7 {
  10364. if shift >= 64 {
  10365. return ErrIntOverflowApi
  10366. }
  10367. if iNdEx >= l {
  10368. return io.ErrUnexpectedEOF
  10369. }
  10370. b := dAtA[iNdEx]
  10371. iNdEx++
  10372. msglen |= (int(b) & 0x7F) << shift
  10373. if b < 0x80 {
  10374. break
  10375. }
  10376. }
  10377. if msglen < 0 {
  10378. return ErrInvalidLengthApi
  10379. }
  10380. postIndex := iNdEx + msglen
  10381. if postIndex > l {
  10382. return io.ErrUnexpectedEOF
  10383. }
  10384. m.List = append(m.List, &ModelPrivilege{})
  10385. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10386. return err
  10387. }
  10388. iNdEx = postIndex
  10389. default:
  10390. iNdEx = preIndex
  10391. skippy, err := skipApi(dAtA[iNdEx:])
  10392. if err != nil {
  10393. return err
  10394. }
  10395. if skippy < 0 {
  10396. return ErrInvalidLengthApi
  10397. }
  10398. if (iNdEx + skippy) > l {
  10399. return io.ErrUnexpectedEOF
  10400. }
  10401. iNdEx += skippy
  10402. }
  10403. }
  10404. if iNdEx > l {
  10405. return io.ErrUnexpectedEOF
  10406. }
  10407. return nil
  10408. }
  10409. func (m *ModelPrivilege) Unmarshal(dAtA []byte) error {
  10410. l := len(dAtA)
  10411. iNdEx := 0
  10412. for iNdEx < l {
  10413. preIndex := iNdEx
  10414. var wire uint64
  10415. for shift := uint(0); ; shift += 7 {
  10416. if shift >= 64 {
  10417. return ErrIntOverflowApi
  10418. }
  10419. if iNdEx >= l {
  10420. return io.ErrUnexpectedEOF
  10421. }
  10422. b := dAtA[iNdEx]
  10423. iNdEx++
  10424. wire |= (uint64(b) & 0x7F) << shift
  10425. if b < 0x80 {
  10426. break
  10427. }
  10428. }
  10429. fieldNum := int32(wire >> 3)
  10430. wireType := int(wire & 0x7)
  10431. if wireType == 4 {
  10432. return fmt.Errorf("proto: ModelPrivilege: wiretype end group for non-group")
  10433. }
  10434. if fieldNum <= 0 {
  10435. return fmt.Errorf("proto: ModelPrivilege: illegal tag %d (wire type %d)", fieldNum, wire)
  10436. }
  10437. switch fieldNum {
  10438. case 1:
  10439. if wireType != 2 {
  10440. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  10441. }
  10442. var stringLen uint64
  10443. for shift := uint(0); ; shift += 7 {
  10444. if shift >= 64 {
  10445. return ErrIntOverflowApi
  10446. }
  10447. if iNdEx >= l {
  10448. return io.ErrUnexpectedEOF
  10449. }
  10450. b := dAtA[iNdEx]
  10451. iNdEx++
  10452. stringLen |= (uint64(b) & 0x7F) << shift
  10453. if b < 0x80 {
  10454. break
  10455. }
  10456. }
  10457. intStringLen := int(stringLen)
  10458. if intStringLen < 0 {
  10459. return ErrInvalidLengthApi
  10460. }
  10461. postIndex := iNdEx + intStringLen
  10462. if postIndex > l {
  10463. return io.ErrUnexpectedEOF
  10464. }
  10465. m.Name = string(dAtA[iNdEx:postIndex])
  10466. iNdEx = postIndex
  10467. case 2:
  10468. if wireType != 2 {
  10469. return fmt.Errorf("proto: wrong wireType = %d for field IconUrl", wireType)
  10470. }
  10471. var stringLen uint64
  10472. for shift := uint(0); ; shift += 7 {
  10473. if shift >= 64 {
  10474. return ErrIntOverflowApi
  10475. }
  10476. if iNdEx >= l {
  10477. return io.ErrUnexpectedEOF
  10478. }
  10479. b := dAtA[iNdEx]
  10480. iNdEx++
  10481. stringLen |= (uint64(b) & 0x7F) << shift
  10482. if b < 0x80 {
  10483. break
  10484. }
  10485. }
  10486. intStringLen := int(stringLen)
  10487. if intStringLen < 0 {
  10488. return ErrInvalidLengthApi
  10489. }
  10490. postIndex := iNdEx + intStringLen
  10491. if postIndex > l {
  10492. return io.ErrUnexpectedEOF
  10493. }
  10494. m.IconUrl = string(dAtA[iNdEx:postIndex])
  10495. iNdEx = postIndex
  10496. case 3:
  10497. if wireType != 0 {
  10498. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10499. }
  10500. m.Type = 0
  10501. for shift := uint(0); ; shift += 7 {
  10502. if shift >= 64 {
  10503. return ErrIntOverflowApi
  10504. }
  10505. if iNdEx >= l {
  10506. return io.ErrUnexpectedEOF
  10507. }
  10508. b := dAtA[iNdEx]
  10509. iNdEx++
  10510. m.Type |= (int32(b) & 0x7F) << shift
  10511. if b < 0x80 {
  10512. break
  10513. }
  10514. }
  10515. default:
  10516. iNdEx = preIndex
  10517. skippy, err := skipApi(dAtA[iNdEx:])
  10518. if err != nil {
  10519. return err
  10520. }
  10521. if skippy < 0 {
  10522. return ErrInvalidLengthApi
  10523. }
  10524. if (iNdEx + skippy) > l {
  10525. return io.ErrUnexpectedEOF
  10526. }
  10527. iNdEx += skippy
  10528. }
  10529. }
  10530. if iNdEx > l {
  10531. return io.ErrUnexpectedEOF
  10532. }
  10533. return nil
  10534. }
  10535. func (m *CouponBySuitIDReq) Unmarshal(dAtA []byte) error {
  10536. l := len(dAtA)
  10537. iNdEx := 0
  10538. for iNdEx < l {
  10539. preIndex := iNdEx
  10540. var wire uint64
  10541. for shift := uint(0); ; shift += 7 {
  10542. if shift >= 64 {
  10543. return ErrIntOverflowApi
  10544. }
  10545. if iNdEx >= l {
  10546. return io.ErrUnexpectedEOF
  10547. }
  10548. b := dAtA[iNdEx]
  10549. iNdEx++
  10550. wire |= (uint64(b) & 0x7F) << shift
  10551. if b < 0x80 {
  10552. break
  10553. }
  10554. }
  10555. fieldNum := int32(wire >> 3)
  10556. wireType := int(wire & 0x7)
  10557. if wireType == 4 {
  10558. return fmt.Errorf("proto: CouponBySuitIDReq: wiretype end group for non-group")
  10559. }
  10560. if fieldNum <= 0 {
  10561. return fmt.Errorf("proto: CouponBySuitIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10562. }
  10563. switch fieldNum {
  10564. case 1:
  10565. if wireType != 0 {
  10566. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  10567. }
  10568. m.Mid = 0
  10569. for shift := uint(0); ; shift += 7 {
  10570. if shift >= 64 {
  10571. return ErrIntOverflowApi
  10572. }
  10573. if iNdEx >= l {
  10574. return io.ErrUnexpectedEOF
  10575. }
  10576. b := dAtA[iNdEx]
  10577. iNdEx++
  10578. m.Mid |= (int64(b) & 0x7F) << shift
  10579. if b < 0x80 {
  10580. break
  10581. }
  10582. }
  10583. case 2:
  10584. if wireType != 0 {
  10585. return fmt.Errorf("proto: wrong wireType = %d for field Sid", wireType)
  10586. }
  10587. m.Sid = 0
  10588. for shift := uint(0); ; shift += 7 {
  10589. if shift >= 64 {
  10590. return ErrIntOverflowApi
  10591. }
  10592. if iNdEx >= l {
  10593. return io.ErrUnexpectedEOF
  10594. }
  10595. b := dAtA[iNdEx]
  10596. iNdEx++
  10597. m.Sid |= (int64(b) & 0x7F) << shift
  10598. if b < 0x80 {
  10599. break
  10600. }
  10601. }
  10602. case 3:
  10603. if wireType != 2 {
  10604. return fmt.Errorf("proto: wrong wireType = %d for field MobiApp", wireType)
  10605. }
  10606. var stringLen uint64
  10607. for shift := uint(0); ; shift += 7 {
  10608. if shift >= 64 {
  10609. return ErrIntOverflowApi
  10610. }
  10611. if iNdEx >= l {
  10612. return io.ErrUnexpectedEOF
  10613. }
  10614. b := dAtA[iNdEx]
  10615. iNdEx++
  10616. stringLen |= (uint64(b) & 0x7F) << shift
  10617. if b < 0x80 {
  10618. break
  10619. }
  10620. }
  10621. intStringLen := int(stringLen)
  10622. if intStringLen < 0 {
  10623. return ErrInvalidLengthApi
  10624. }
  10625. postIndex := iNdEx + intStringLen
  10626. if postIndex > l {
  10627. return io.ErrUnexpectedEOF
  10628. }
  10629. m.MobiApp = string(dAtA[iNdEx:postIndex])
  10630. iNdEx = postIndex
  10631. case 4:
  10632. if wireType != 2 {
  10633. return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
  10634. }
  10635. var stringLen uint64
  10636. for shift := uint(0); ; shift += 7 {
  10637. if shift >= 64 {
  10638. return ErrIntOverflowApi
  10639. }
  10640. if iNdEx >= l {
  10641. return io.ErrUnexpectedEOF
  10642. }
  10643. b := dAtA[iNdEx]
  10644. iNdEx++
  10645. stringLen |= (uint64(b) & 0x7F) << shift
  10646. if b < 0x80 {
  10647. break
  10648. }
  10649. }
  10650. intStringLen := int(stringLen)
  10651. if intStringLen < 0 {
  10652. return ErrInvalidLengthApi
  10653. }
  10654. postIndex := iNdEx + intStringLen
  10655. if postIndex > l {
  10656. return io.ErrUnexpectedEOF
  10657. }
  10658. m.Device = string(dAtA[iNdEx:postIndex])
  10659. iNdEx = postIndex
  10660. case 5:
  10661. if wireType != 2 {
  10662. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  10663. }
  10664. var stringLen uint64
  10665. for shift := uint(0); ; shift += 7 {
  10666. if shift >= 64 {
  10667. return ErrIntOverflowApi
  10668. }
  10669. if iNdEx >= l {
  10670. return io.ErrUnexpectedEOF
  10671. }
  10672. b := dAtA[iNdEx]
  10673. iNdEx++
  10674. stringLen |= (uint64(b) & 0x7F) << shift
  10675. if b < 0x80 {
  10676. break
  10677. }
  10678. }
  10679. intStringLen := int(stringLen)
  10680. if intStringLen < 0 {
  10681. return ErrInvalidLengthApi
  10682. }
  10683. postIndex := iNdEx + intStringLen
  10684. if postIndex > l {
  10685. return io.ErrUnexpectedEOF
  10686. }
  10687. m.Platform = string(dAtA[iNdEx:postIndex])
  10688. iNdEx = postIndex
  10689. case 6:
  10690. if wireType != 2 {
  10691. return fmt.Errorf("proto: wrong wireType = %d for field PanelType", wireType)
  10692. }
  10693. var stringLen uint64
  10694. for shift := uint(0); ; shift += 7 {
  10695. if shift >= 64 {
  10696. return ErrIntOverflowApi
  10697. }
  10698. if iNdEx >= l {
  10699. return io.ErrUnexpectedEOF
  10700. }
  10701. b := dAtA[iNdEx]
  10702. iNdEx++
  10703. stringLen |= (uint64(b) & 0x7F) << shift
  10704. if b < 0x80 {
  10705. break
  10706. }
  10707. }
  10708. intStringLen := int(stringLen)
  10709. if intStringLen < 0 {
  10710. return ErrInvalidLengthApi
  10711. }
  10712. postIndex := iNdEx + intStringLen
  10713. if postIndex > l {
  10714. return io.ErrUnexpectedEOF
  10715. }
  10716. m.PanelType = string(dAtA[iNdEx:postIndex])
  10717. iNdEx = postIndex
  10718. case 7:
  10719. if wireType != 0 {
  10720. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  10721. }
  10722. m.Build = 0
  10723. for shift := uint(0); ; shift += 7 {
  10724. if shift >= 64 {
  10725. return ErrIntOverflowApi
  10726. }
  10727. if iNdEx >= l {
  10728. return io.ErrUnexpectedEOF
  10729. }
  10730. b := dAtA[iNdEx]
  10731. iNdEx++
  10732. m.Build |= (int64(b) & 0x7F) << shift
  10733. if b < 0x80 {
  10734. break
  10735. }
  10736. }
  10737. default:
  10738. iNdEx = preIndex
  10739. skippy, err := skipApi(dAtA[iNdEx:])
  10740. if err != nil {
  10741. return err
  10742. }
  10743. if skippy < 0 {
  10744. return ErrInvalidLengthApi
  10745. }
  10746. if (iNdEx + skippy) > l {
  10747. return io.ErrUnexpectedEOF
  10748. }
  10749. iNdEx += skippy
  10750. }
  10751. }
  10752. if iNdEx > l {
  10753. return io.ErrUnexpectedEOF
  10754. }
  10755. return nil
  10756. }
  10757. func (m *WelfareReq) Unmarshal(dAtA []byte) error {
  10758. l := len(dAtA)
  10759. iNdEx := 0
  10760. for iNdEx < l {
  10761. preIndex := iNdEx
  10762. var wire uint64
  10763. for shift := uint(0); ; shift += 7 {
  10764. if shift >= 64 {
  10765. return ErrIntOverflowApi
  10766. }
  10767. if iNdEx >= l {
  10768. return io.ErrUnexpectedEOF
  10769. }
  10770. b := dAtA[iNdEx]
  10771. iNdEx++
  10772. wire |= (uint64(b) & 0x7F) << shift
  10773. if b < 0x80 {
  10774. break
  10775. }
  10776. }
  10777. fieldNum := int32(wire >> 3)
  10778. wireType := int(wire & 0x7)
  10779. if wireType == 4 {
  10780. return fmt.Errorf("proto: WelfareReq: wiretype end group for non-group")
  10781. }
  10782. if fieldNum <= 0 {
  10783. return fmt.Errorf("proto: WelfareReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10784. }
  10785. switch fieldNum {
  10786. case 1:
  10787. if wireType != 0 {
  10788. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  10789. }
  10790. m.Tid = 0
  10791. for shift := uint(0); ; shift += 7 {
  10792. if shift >= 64 {
  10793. return ErrIntOverflowApi
  10794. }
  10795. if iNdEx >= l {
  10796. return io.ErrUnexpectedEOF
  10797. }
  10798. b := dAtA[iNdEx]
  10799. iNdEx++
  10800. m.Tid |= (int64(b) & 0x7F) << shift
  10801. if b < 0x80 {
  10802. break
  10803. }
  10804. }
  10805. case 2:
  10806. if wireType != 0 {
  10807. return fmt.Errorf("proto: wrong wireType = %d for field Recommend", wireType)
  10808. }
  10809. m.Recommend = 0
  10810. for shift := uint(0); ; shift += 7 {
  10811. if shift >= 64 {
  10812. return ErrIntOverflowApi
  10813. }
  10814. if iNdEx >= l {
  10815. return io.ErrUnexpectedEOF
  10816. }
  10817. b := dAtA[iNdEx]
  10818. iNdEx++
  10819. m.Recommend |= (int64(b) & 0x7F) << shift
  10820. if b < 0x80 {
  10821. break
  10822. }
  10823. }
  10824. case 3:
  10825. if wireType != 0 {
  10826. return fmt.Errorf("proto: wrong wireType = %d for field Ps", wireType)
  10827. }
  10828. m.Ps = 0
  10829. for shift := uint(0); ; shift += 7 {
  10830. if shift >= 64 {
  10831. return ErrIntOverflowApi
  10832. }
  10833. if iNdEx >= l {
  10834. return io.ErrUnexpectedEOF
  10835. }
  10836. b := dAtA[iNdEx]
  10837. iNdEx++
  10838. m.Ps |= (int64(b) & 0x7F) << shift
  10839. if b < 0x80 {
  10840. break
  10841. }
  10842. }
  10843. case 4:
  10844. if wireType != 0 {
  10845. return fmt.Errorf("proto: wrong wireType = %d for field Pn", wireType)
  10846. }
  10847. m.Pn = 0
  10848. for shift := uint(0); ; shift += 7 {
  10849. if shift >= 64 {
  10850. return ErrIntOverflowApi
  10851. }
  10852. if iNdEx >= l {
  10853. return io.ErrUnexpectedEOF
  10854. }
  10855. b := dAtA[iNdEx]
  10856. iNdEx++
  10857. m.Pn |= (int64(b) & 0x7F) << shift
  10858. if b < 0x80 {
  10859. break
  10860. }
  10861. }
  10862. default:
  10863. iNdEx = preIndex
  10864. skippy, err := skipApi(dAtA[iNdEx:])
  10865. if err != nil {
  10866. return err
  10867. }
  10868. if skippy < 0 {
  10869. return ErrInvalidLengthApi
  10870. }
  10871. if (iNdEx + skippy) > l {
  10872. return io.ErrUnexpectedEOF
  10873. }
  10874. iNdEx += skippy
  10875. }
  10876. }
  10877. if iNdEx > l {
  10878. return io.ErrUnexpectedEOF
  10879. }
  10880. return nil
  10881. }
  10882. func (m *WelfareReply) Unmarshal(dAtA []byte) error {
  10883. l := len(dAtA)
  10884. iNdEx := 0
  10885. for iNdEx < l {
  10886. preIndex := iNdEx
  10887. var wire uint64
  10888. for shift := uint(0); ; shift += 7 {
  10889. if shift >= 64 {
  10890. return ErrIntOverflowApi
  10891. }
  10892. if iNdEx >= l {
  10893. return io.ErrUnexpectedEOF
  10894. }
  10895. b := dAtA[iNdEx]
  10896. iNdEx++
  10897. wire |= (uint64(b) & 0x7F) << shift
  10898. if b < 0x80 {
  10899. break
  10900. }
  10901. }
  10902. fieldNum := int32(wire >> 3)
  10903. wireType := int(wire & 0x7)
  10904. if wireType == 4 {
  10905. return fmt.Errorf("proto: WelfareReply: wiretype end group for non-group")
  10906. }
  10907. if fieldNum <= 0 {
  10908. return fmt.Errorf("proto: WelfareReply: illegal tag %d (wire type %d)", fieldNum, wire)
  10909. }
  10910. switch fieldNum {
  10911. case 1:
  10912. if wireType != 0 {
  10913. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  10914. }
  10915. m.Count = 0
  10916. for shift := uint(0); ; shift += 7 {
  10917. if shift >= 64 {
  10918. return ErrIntOverflowApi
  10919. }
  10920. if iNdEx >= l {
  10921. return io.ErrUnexpectedEOF
  10922. }
  10923. b := dAtA[iNdEx]
  10924. iNdEx++
  10925. m.Count |= (int64(b) & 0x7F) << shift
  10926. if b < 0x80 {
  10927. break
  10928. }
  10929. }
  10930. case 2:
  10931. if wireType != 2 {
  10932. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  10933. }
  10934. var msglen int
  10935. for shift := uint(0); ; shift += 7 {
  10936. if shift >= 64 {
  10937. return ErrIntOverflowApi
  10938. }
  10939. if iNdEx >= l {
  10940. return io.ErrUnexpectedEOF
  10941. }
  10942. b := dAtA[iNdEx]
  10943. iNdEx++
  10944. msglen |= (int(b) & 0x7F) << shift
  10945. if b < 0x80 {
  10946. break
  10947. }
  10948. }
  10949. if msglen < 0 {
  10950. return ErrInvalidLengthApi
  10951. }
  10952. postIndex := iNdEx + msglen
  10953. if postIndex > l {
  10954. return io.ErrUnexpectedEOF
  10955. }
  10956. m.List = append(m.List, &WelfareListDetail{})
  10957. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10958. return err
  10959. }
  10960. iNdEx = postIndex
  10961. default:
  10962. iNdEx = preIndex
  10963. skippy, err := skipApi(dAtA[iNdEx:])
  10964. if err != nil {
  10965. return err
  10966. }
  10967. if skippy < 0 {
  10968. return ErrInvalidLengthApi
  10969. }
  10970. if (iNdEx + skippy) > l {
  10971. return io.ErrUnexpectedEOF
  10972. }
  10973. iNdEx += skippy
  10974. }
  10975. }
  10976. if iNdEx > l {
  10977. return io.ErrUnexpectedEOF
  10978. }
  10979. return nil
  10980. }
  10981. func (m *WelfareListDetail) Unmarshal(dAtA []byte) error {
  10982. l := len(dAtA)
  10983. iNdEx := 0
  10984. for iNdEx < l {
  10985. preIndex := iNdEx
  10986. var wire uint64
  10987. for shift := uint(0); ; shift += 7 {
  10988. if shift >= 64 {
  10989. return ErrIntOverflowApi
  10990. }
  10991. if iNdEx >= l {
  10992. return io.ErrUnexpectedEOF
  10993. }
  10994. b := dAtA[iNdEx]
  10995. iNdEx++
  10996. wire |= (uint64(b) & 0x7F) << shift
  10997. if b < 0x80 {
  10998. break
  10999. }
  11000. }
  11001. fieldNum := int32(wire >> 3)
  11002. wireType := int(wire & 0x7)
  11003. if wireType == 4 {
  11004. return fmt.Errorf("proto: WelfareListDetail: wiretype end group for non-group")
  11005. }
  11006. if fieldNum <= 0 {
  11007. return fmt.Errorf("proto: WelfareListDetail: illegal tag %d (wire type %d)", fieldNum, wire)
  11008. }
  11009. switch fieldNum {
  11010. case 1:
  11011. if wireType != 0 {
  11012. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  11013. }
  11014. m.Id = 0
  11015. for shift := uint(0); ; shift += 7 {
  11016. if shift >= 64 {
  11017. return ErrIntOverflowApi
  11018. }
  11019. if iNdEx >= l {
  11020. return io.ErrUnexpectedEOF
  11021. }
  11022. b := dAtA[iNdEx]
  11023. iNdEx++
  11024. m.Id |= (int32(b) & 0x7F) << shift
  11025. if b < 0x80 {
  11026. break
  11027. }
  11028. }
  11029. case 2:
  11030. if wireType != 2 {
  11031. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  11032. }
  11033. var stringLen uint64
  11034. for shift := uint(0); ; shift += 7 {
  11035. if shift >= 64 {
  11036. return ErrIntOverflowApi
  11037. }
  11038. if iNdEx >= l {
  11039. return io.ErrUnexpectedEOF
  11040. }
  11041. b := dAtA[iNdEx]
  11042. iNdEx++
  11043. stringLen |= (uint64(b) & 0x7F) << shift
  11044. if b < 0x80 {
  11045. break
  11046. }
  11047. }
  11048. intStringLen := int(stringLen)
  11049. if intStringLen < 0 {
  11050. return ErrInvalidLengthApi
  11051. }
  11052. postIndex := iNdEx + intStringLen
  11053. if postIndex > l {
  11054. return io.ErrUnexpectedEOF
  11055. }
  11056. m.Name = string(dAtA[iNdEx:postIndex])
  11057. iNdEx = postIndex
  11058. case 3:
  11059. if wireType != 2 {
  11060. return fmt.Errorf("proto: wrong wireType = %d for field HomepageUri", wireType)
  11061. }
  11062. var stringLen uint64
  11063. for shift := uint(0); ; shift += 7 {
  11064. if shift >= 64 {
  11065. return ErrIntOverflowApi
  11066. }
  11067. if iNdEx >= l {
  11068. return io.ErrUnexpectedEOF
  11069. }
  11070. b := dAtA[iNdEx]
  11071. iNdEx++
  11072. stringLen |= (uint64(b) & 0x7F) << shift
  11073. if b < 0x80 {
  11074. break
  11075. }
  11076. }
  11077. intStringLen := int(stringLen)
  11078. if intStringLen < 0 {
  11079. return ErrInvalidLengthApi
  11080. }
  11081. postIndex := iNdEx + intStringLen
  11082. if postIndex > l {
  11083. return io.ErrUnexpectedEOF
  11084. }
  11085. m.HomepageUri = string(dAtA[iNdEx:postIndex])
  11086. iNdEx = postIndex
  11087. case 4:
  11088. if wireType != 2 {
  11089. return fmt.Errorf("proto: wrong wireType = %d for field BackdropUri", wireType)
  11090. }
  11091. var stringLen uint64
  11092. for shift := uint(0); ; shift += 7 {
  11093. if shift >= 64 {
  11094. return ErrIntOverflowApi
  11095. }
  11096. if iNdEx >= l {
  11097. return io.ErrUnexpectedEOF
  11098. }
  11099. b := dAtA[iNdEx]
  11100. iNdEx++
  11101. stringLen |= (uint64(b) & 0x7F) << shift
  11102. if b < 0x80 {
  11103. break
  11104. }
  11105. }
  11106. intStringLen := int(stringLen)
  11107. if intStringLen < 0 {
  11108. return ErrInvalidLengthApi
  11109. }
  11110. postIndex := iNdEx + intStringLen
  11111. if postIndex > l {
  11112. return io.ErrUnexpectedEOF
  11113. }
  11114. m.BackdropUri = string(dAtA[iNdEx:postIndex])
  11115. iNdEx = postIndex
  11116. case 5:
  11117. if wireType != 0 {
  11118. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  11119. }
  11120. m.Tid = 0
  11121. for shift := uint(0); ; shift += 7 {
  11122. if shift >= 64 {
  11123. return ErrIntOverflowApi
  11124. }
  11125. if iNdEx >= l {
  11126. return io.ErrUnexpectedEOF
  11127. }
  11128. b := dAtA[iNdEx]
  11129. iNdEx++
  11130. m.Tid |= (int32(b) & 0x7F) << shift
  11131. if b < 0x80 {
  11132. break
  11133. }
  11134. }
  11135. case 6:
  11136. if wireType != 0 {
  11137. return fmt.Errorf("proto: wrong wireType = %d for field Rank", wireType)
  11138. }
  11139. m.Rank = 0
  11140. for shift := uint(0); ; shift += 7 {
  11141. if shift >= 64 {
  11142. return ErrIntOverflowApi
  11143. }
  11144. if iNdEx >= l {
  11145. return io.ErrUnexpectedEOF
  11146. }
  11147. b := dAtA[iNdEx]
  11148. iNdEx++
  11149. m.Rank |= (int32(b) & 0x7F) << shift
  11150. if b < 0x80 {
  11151. break
  11152. }
  11153. }
  11154. default:
  11155. iNdEx = preIndex
  11156. skippy, err := skipApi(dAtA[iNdEx:])
  11157. if err != nil {
  11158. return err
  11159. }
  11160. if skippy < 0 {
  11161. return ErrInvalidLengthApi
  11162. }
  11163. if (iNdEx + skippy) > l {
  11164. return io.ErrUnexpectedEOF
  11165. }
  11166. iNdEx += skippy
  11167. }
  11168. }
  11169. if iNdEx > l {
  11170. return io.ErrUnexpectedEOF
  11171. }
  11172. return nil
  11173. }
  11174. func (m *WelfareTypeReq) Unmarshal(dAtA []byte) error {
  11175. l := len(dAtA)
  11176. iNdEx := 0
  11177. for iNdEx < l {
  11178. preIndex := iNdEx
  11179. var wire uint64
  11180. for shift := uint(0); ; shift += 7 {
  11181. if shift >= 64 {
  11182. return ErrIntOverflowApi
  11183. }
  11184. if iNdEx >= l {
  11185. return io.ErrUnexpectedEOF
  11186. }
  11187. b := dAtA[iNdEx]
  11188. iNdEx++
  11189. wire |= (uint64(b) & 0x7F) << shift
  11190. if b < 0x80 {
  11191. break
  11192. }
  11193. }
  11194. fieldNum := int32(wire >> 3)
  11195. wireType := int(wire & 0x7)
  11196. if wireType == 4 {
  11197. return fmt.Errorf("proto: WelfareTypeReq: wiretype end group for non-group")
  11198. }
  11199. if fieldNum <= 0 {
  11200. return fmt.Errorf("proto: WelfareTypeReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11201. }
  11202. switch fieldNum {
  11203. default:
  11204. iNdEx = preIndex
  11205. skippy, err := skipApi(dAtA[iNdEx:])
  11206. if err != nil {
  11207. return err
  11208. }
  11209. if skippy < 0 {
  11210. return ErrInvalidLengthApi
  11211. }
  11212. if (iNdEx + skippy) > l {
  11213. return io.ErrUnexpectedEOF
  11214. }
  11215. iNdEx += skippy
  11216. }
  11217. }
  11218. if iNdEx > l {
  11219. return io.ErrUnexpectedEOF
  11220. }
  11221. return nil
  11222. }
  11223. func (m *WelfareTypeReply) Unmarshal(dAtA []byte) error {
  11224. l := len(dAtA)
  11225. iNdEx := 0
  11226. for iNdEx < l {
  11227. preIndex := iNdEx
  11228. var wire uint64
  11229. for shift := uint(0); ; shift += 7 {
  11230. if shift >= 64 {
  11231. return ErrIntOverflowApi
  11232. }
  11233. if iNdEx >= l {
  11234. return io.ErrUnexpectedEOF
  11235. }
  11236. b := dAtA[iNdEx]
  11237. iNdEx++
  11238. wire |= (uint64(b) & 0x7F) << shift
  11239. if b < 0x80 {
  11240. break
  11241. }
  11242. }
  11243. fieldNum := int32(wire >> 3)
  11244. wireType := int(wire & 0x7)
  11245. if wireType == 4 {
  11246. return fmt.Errorf("proto: WelfareTypeReply: wiretype end group for non-group")
  11247. }
  11248. if fieldNum <= 0 {
  11249. return fmt.Errorf("proto: WelfareTypeReply: illegal tag %d (wire type %d)", fieldNum, wire)
  11250. }
  11251. switch fieldNum {
  11252. case 1:
  11253. if wireType != 2 {
  11254. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  11255. }
  11256. var msglen int
  11257. for shift := uint(0); ; shift += 7 {
  11258. if shift >= 64 {
  11259. return ErrIntOverflowApi
  11260. }
  11261. if iNdEx >= l {
  11262. return io.ErrUnexpectedEOF
  11263. }
  11264. b := dAtA[iNdEx]
  11265. iNdEx++
  11266. msglen |= (int(b) & 0x7F) << shift
  11267. if b < 0x80 {
  11268. break
  11269. }
  11270. }
  11271. if msglen < 0 {
  11272. return ErrInvalidLengthApi
  11273. }
  11274. postIndex := iNdEx + msglen
  11275. if postIndex > l {
  11276. return io.ErrUnexpectedEOF
  11277. }
  11278. m.List = append(m.List, &WelfareTypeListDetail{})
  11279. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11280. return err
  11281. }
  11282. iNdEx = postIndex
  11283. default:
  11284. iNdEx = preIndex
  11285. skippy, err := skipApi(dAtA[iNdEx:])
  11286. if err != nil {
  11287. return err
  11288. }
  11289. if skippy < 0 {
  11290. return ErrInvalidLengthApi
  11291. }
  11292. if (iNdEx + skippy) > l {
  11293. return io.ErrUnexpectedEOF
  11294. }
  11295. iNdEx += skippy
  11296. }
  11297. }
  11298. if iNdEx > l {
  11299. return io.ErrUnexpectedEOF
  11300. }
  11301. return nil
  11302. }
  11303. func (m *WelfareTypeListDetail) Unmarshal(dAtA []byte) error {
  11304. l := len(dAtA)
  11305. iNdEx := 0
  11306. for iNdEx < l {
  11307. preIndex := iNdEx
  11308. var wire uint64
  11309. for shift := uint(0); ; shift += 7 {
  11310. if shift >= 64 {
  11311. return ErrIntOverflowApi
  11312. }
  11313. if iNdEx >= l {
  11314. return io.ErrUnexpectedEOF
  11315. }
  11316. b := dAtA[iNdEx]
  11317. iNdEx++
  11318. wire |= (uint64(b) & 0x7F) << shift
  11319. if b < 0x80 {
  11320. break
  11321. }
  11322. }
  11323. fieldNum := int32(wire >> 3)
  11324. wireType := int(wire & 0x7)
  11325. if wireType == 4 {
  11326. return fmt.Errorf("proto: WelfareTypeListDetail: wiretype end group for non-group")
  11327. }
  11328. if fieldNum <= 0 {
  11329. return fmt.Errorf("proto: WelfareTypeListDetail: illegal tag %d (wire type %d)", fieldNum, wire)
  11330. }
  11331. switch fieldNum {
  11332. case 1:
  11333. if wireType != 0 {
  11334. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  11335. }
  11336. m.Id = 0
  11337. for shift := uint(0); ; shift += 7 {
  11338. if shift >= 64 {
  11339. return ErrIntOverflowApi
  11340. }
  11341. if iNdEx >= l {
  11342. return io.ErrUnexpectedEOF
  11343. }
  11344. b := dAtA[iNdEx]
  11345. iNdEx++
  11346. m.Id |= (int32(b) & 0x7F) << shift
  11347. if b < 0x80 {
  11348. break
  11349. }
  11350. }
  11351. case 2:
  11352. if wireType != 2 {
  11353. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  11354. }
  11355. var stringLen uint64
  11356. for shift := uint(0); ; shift += 7 {
  11357. if shift >= 64 {
  11358. return ErrIntOverflowApi
  11359. }
  11360. if iNdEx >= l {
  11361. return io.ErrUnexpectedEOF
  11362. }
  11363. b := dAtA[iNdEx]
  11364. iNdEx++
  11365. stringLen |= (uint64(b) & 0x7F) << shift
  11366. if b < 0x80 {
  11367. break
  11368. }
  11369. }
  11370. intStringLen := int(stringLen)
  11371. if intStringLen < 0 {
  11372. return ErrInvalidLengthApi
  11373. }
  11374. postIndex := iNdEx + intStringLen
  11375. if postIndex > l {
  11376. return io.ErrUnexpectedEOF
  11377. }
  11378. m.Name = string(dAtA[iNdEx:postIndex])
  11379. iNdEx = postIndex
  11380. default:
  11381. iNdEx = preIndex
  11382. skippy, err := skipApi(dAtA[iNdEx:])
  11383. if err != nil {
  11384. return err
  11385. }
  11386. if skippy < 0 {
  11387. return ErrInvalidLengthApi
  11388. }
  11389. if (iNdEx + skippy) > l {
  11390. return io.ErrUnexpectedEOF
  11391. }
  11392. iNdEx += skippy
  11393. }
  11394. }
  11395. if iNdEx > l {
  11396. return io.ErrUnexpectedEOF
  11397. }
  11398. return nil
  11399. }
  11400. func (m *WelfareInfoReq) Unmarshal(dAtA []byte) error {
  11401. l := len(dAtA)
  11402. iNdEx := 0
  11403. for iNdEx < l {
  11404. preIndex := iNdEx
  11405. var wire uint64
  11406. for shift := uint(0); ; shift += 7 {
  11407. if shift >= 64 {
  11408. return ErrIntOverflowApi
  11409. }
  11410. if iNdEx >= l {
  11411. return io.ErrUnexpectedEOF
  11412. }
  11413. b := dAtA[iNdEx]
  11414. iNdEx++
  11415. wire |= (uint64(b) & 0x7F) << shift
  11416. if b < 0x80 {
  11417. break
  11418. }
  11419. }
  11420. fieldNum := int32(wire >> 3)
  11421. wireType := int(wire & 0x7)
  11422. if wireType == 4 {
  11423. return fmt.Errorf("proto: WelfareInfoReq: wiretype end group for non-group")
  11424. }
  11425. if fieldNum <= 0 {
  11426. return fmt.Errorf("proto: WelfareInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11427. }
  11428. switch fieldNum {
  11429. case 1:
  11430. if wireType != 0 {
  11431. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  11432. }
  11433. m.Id = 0
  11434. for shift := uint(0); ; shift += 7 {
  11435. if shift >= 64 {
  11436. return ErrIntOverflowApi
  11437. }
  11438. if iNdEx >= l {
  11439. return io.ErrUnexpectedEOF
  11440. }
  11441. b := dAtA[iNdEx]
  11442. iNdEx++
  11443. m.Id |= (int64(b) & 0x7F) << shift
  11444. if b < 0x80 {
  11445. break
  11446. }
  11447. }
  11448. case 2:
  11449. if wireType != 0 {
  11450. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11451. }
  11452. m.Mid = 0
  11453. for shift := uint(0); ; shift += 7 {
  11454. if shift >= 64 {
  11455. return ErrIntOverflowApi
  11456. }
  11457. if iNdEx >= l {
  11458. return io.ErrUnexpectedEOF
  11459. }
  11460. b := dAtA[iNdEx]
  11461. iNdEx++
  11462. m.Mid |= (int64(b) & 0x7F) << shift
  11463. if b < 0x80 {
  11464. break
  11465. }
  11466. }
  11467. default:
  11468. iNdEx = preIndex
  11469. skippy, err := skipApi(dAtA[iNdEx:])
  11470. if err != nil {
  11471. return err
  11472. }
  11473. if skippy < 0 {
  11474. return ErrInvalidLengthApi
  11475. }
  11476. if (iNdEx + skippy) > l {
  11477. return io.ErrUnexpectedEOF
  11478. }
  11479. iNdEx += skippy
  11480. }
  11481. }
  11482. if iNdEx > l {
  11483. return io.ErrUnexpectedEOF
  11484. }
  11485. return nil
  11486. }
  11487. func (m *WelfareInfoReply) Unmarshal(dAtA []byte) error {
  11488. l := len(dAtA)
  11489. iNdEx := 0
  11490. for iNdEx < l {
  11491. preIndex := iNdEx
  11492. var wire uint64
  11493. for shift := uint(0); ; shift += 7 {
  11494. if shift >= 64 {
  11495. return ErrIntOverflowApi
  11496. }
  11497. if iNdEx >= l {
  11498. return io.ErrUnexpectedEOF
  11499. }
  11500. b := dAtA[iNdEx]
  11501. iNdEx++
  11502. wire |= (uint64(b) & 0x7F) << shift
  11503. if b < 0x80 {
  11504. break
  11505. }
  11506. }
  11507. fieldNum := int32(wire >> 3)
  11508. wireType := int(wire & 0x7)
  11509. if wireType == 4 {
  11510. return fmt.Errorf("proto: WelfareInfoReply: wiretype end group for non-group")
  11511. }
  11512. if fieldNum <= 0 {
  11513. return fmt.Errorf("proto: WelfareInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  11514. }
  11515. switch fieldNum {
  11516. case 1:
  11517. if wireType != 0 {
  11518. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  11519. }
  11520. m.Id = 0
  11521. for shift := uint(0); ; shift += 7 {
  11522. if shift >= 64 {
  11523. return ErrIntOverflowApi
  11524. }
  11525. if iNdEx >= l {
  11526. return io.ErrUnexpectedEOF
  11527. }
  11528. b := dAtA[iNdEx]
  11529. iNdEx++
  11530. m.Id |= (int32(b) & 0x7F) << shift
  11531. if b < 0x80 {
  11532. break
  11533. }
  11534. }
  11535. case 2:
  11536. if wireType != 2 {
  11537. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  11538. }
  11539. var stringLen uint64
  11540. for shift := uint(0); ; shift += 7 {
  11541. if shift >= 64 {
  11542. return ErrIntOverflowApi
  11543. }
  11544. if iNdEx >= l {
  11545. return io.ErrUnexpectedEOF
  11546. }
  11547. b := dAtA[iNdEx]
  11548. iNdEx++
  11549. stringLen |= (uint64(b) & 0x7F) << shift
  11550. if b < 0x80 {
  11551. break
  11552. }
  11553. }
  11554. intStringLen := int(stringLen)
  11555. if intStringLen < 0 {
  11556. return ErrInvalidLengthApi
  11557. }
  11558. postIndex := iNdEx + intStringLen
  11559. if postIndex > l {
  11560. return io.ErrUnexpectedEOF
  11561. }
  11562. m.Name = string(dAtA[iNdEx:postIndex])
  11563. iNdEx = postIndex
  11564. case 3:
  11565. if wireType != 2 {
  11566. return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
  11567. }
  11568. var stringLen uint64
  11569. for shift := uint(0); ; shift += 7 {
  11570. if shift >= 64 {
  11571. return ErrIntOverflowApi
  11572. }
  11573. if iNdEx >= l {
  11574. return io.ErrUnexpectedEOF
  11575. }
  11576. b := dAtA[iNdEx]
  11577. iNdEx++
  11578. stringLen |= (uint64(b) & 0x7F) << shift
  11579. if b < 0x80 {
  11580. break
  11581. }
  11582. }
  11583. intStringLen := int(stringLen)
  11584. if intStringLen < 0 {
  11585. return ErrInvalidLengthApi
  11586. }
  11587. postIndex := iNdEx + intStringLen
  11588. if postIndex > l {
  11589. return io.ErrUnexpectedEOF
  11590. }
  11591. m.Desc = string(dAtA[iNdEx:postIndex])
  11592. iNdEx = postIndex
  11593. case 4:
  11594. if wireType != 2 {
  11595. return fmt.Errorf("proto: wrong wireType = %d for field HomepageUri", wireType)
  11596. }
  11597. var stringLen uint64
  11598. for shift := uint(0); ; shift += 7 {
  11599. if shift >= 64 {
  11600. return ErrIntOverflowApi
  11601. }
  11602. if iNdEx >= l {
  11603. return io.ErrUnexpectedEOF
  11604. }
  11605. b := dAtA[iNdEx]
  11606. iNdEx++
  11607. stringLen |= (uint64(b) & 0x7F) << shift
  11608. if b < 0x80 {
  11609. break
  11610. }
  11611. }
  11612. intStringLen := int(stringLen)
  11613. if intStringLen < 0 {
  11614. return ErrInvalidLengthApi
  11615. }
  11616. postIndex := iNdEx + intStringLen
  11617. if postIndex > l {
  11618. return io.ErrUnexpectedEOF
  11619. }
  11620. m.HomepageUri = string(dAtA[iNdEx:postIndex])
  11621. iNdEx = postIndex
  11622. case 5:
  11623. if wireType != 2 {
  11624. return fmt.Errorf("proto: wrong wireType = %d for field BackdropUri", wireType)
  11625. }
  11626. var stringLen uint64
  11627. for shift := uint(0); ; shift += 7 {
  11628. if shift >= 64 {
  11629. return ErrIntOverflowApi
  11630. }
  11631. if iNdEx >= l {
  11632. return io.ErrUnexpectedEOF
  11633. }
  11634. b := dAtA[iNdEx]
  11635. iNdEx++
  11636. stringLen |= (uint64(b) & 0x7F) << shift
  11637. if b < 0x80 {
  11638. break
  11639. }
  11640. }
  11641. intStringLen := int(stringLen)
  11642. if intStringLen < 0 {
  11643. return ErrInvalidLengthApi
  11644. }
  11645. postIndex := iNdEx + intStringLen
  11646. if postIndex > l {
  11647. return io.ErrUnexpectedEOF
  11648. }
  11649. m.BackdropUri = string(dAtA[iNdEx:postIndex])
  11650. iNdEx = postIndex
  11651. case 6:
  11652. if wireType != 0 {
  11653. return fmt.Errorf("proto: wrong wireType = %d for field Finished", wireType)
  11654. }
  11655. var v int
  11656. for shift := uint(0); ; shift += 7 {
  11657. if shift >= 64 {
  11658. return ErrIntOverflowApi
  11659. }
  11660. if iNdEx >= l {
  11661. return io.ErrUnexpectedEOF
  11662. }
  11663. b := dAtA[iNdEx]
  11664. iNdEx++
  11665. v |= (int(b) & 0x7F) << shift
  11666. if b < 0x80 {
  11667. break
  11668. }
  11669. }
  11670. m.Finished = bool(v != 0)
  11671. case 7:
  11672. if wireType != 0 {
  11673. return fmt.Errorf("proto: wrong wireType = %d for field Received", wireType)
  11674. }
  11675. var v int
  11676. for shift := uint(0); ; shift += 7 {
  11677. if shift >= 64 {
  11678. return ErrIntOverflowApi
  11679. }
  11680. if iNdEx >= l {
  11681. return io.ErrUnexpectedEOF
  11682. }
  11683. b := dAtA[iNdEx]
  11684. iNdEx++
  11685. v |= (int(b) & 0x7F) << shift
  11686. if b < 0x80 {
  11687. break
  11688. }
  11689. }
  11690. m.Received = bool(v != 0)
  11691. case 8:
  11692. if wireType != 0 {
  11693. return fmt.Errorf("proto: wrong wireType = %d for field VipType", wireType)
  11694. }
  11695. m.VipType = 0
  11696. for shift := uint(0); ; shift += 7 {
  11697. if shift >= 64 {
  11698. return ErrIntOverflowApi
  11699. }
  11700. if iNdEx >= l {
  11701. return io.ErrUnexpectedEOF
  11702. }
  11703. b := dAtA[iNdEx]
  11704. iNdEx++
  11705. m.VipType |= (int64(b) & 0x7F) << shift
  11706. if b < 0x80 {
  11707. break
  11708. }
  11709. }
  11710. case 9:
  11711. if wireType != 0 {
  11712. return fmt.Errorf("proto: wrong wireType = %d for field Stime", wireType)
  11713. }
  11714. m.Stime = 0
  11715. for shift := uint(0); ; shift += 7 {
  11716. if shift >= 64 {
  11717. return ErrIntOverflowApi
  11718. }
  11719. if iNdEx >= l {
  11720. return io.ErrUnexpectedEOF
  11721. }
  11722. b := dAtA[iNdEx]
  11723. iNdEx++
  11724. m.Stime |= (int64(b) & 0x7F) << shift
  11725. if b < 0x80 {
  11726. break
  11727. }
  11728. }
  11729. case 10:
  11730. if wireType != 0 {
  11731. return fmt.Errorf("proto: wrong wireType = %d for field Etime", wireType)
  11732. }
  11733. m.Etime = 0
  11734. for shift := uint(0); ; shift += 7 {
  11735. if shift >= 64 {
  11736. return ErrIntOverflowApi
  11737. }
  11738. if iNdEx >= l {
  11739. return io.ErrUnexpectedEOF
  11740. }
  11741. b := dAtA[iNdEx]
  11742. iNdEx++
  11743. m.Etime |= (int64(b) & 0x7F) << shift
  11744. if b < 0x80 {
  11745. break
  11746. }
  11747. }
  11748. default:
  11749. iNdEx = preIndex
  11750. skippy, err := skipApi(dAtA[iNdEx:])
  11751. if err != nil {
  11752. return err
  11753. }
  11754. if skippy < 0 {
  11755. return ErrInvalidLengthApi
  11756. }
  11757. if (iNdEx + skippy) > l {
  11758. return io.ErrUnexpectedEOF
  11759. }
  11760. iNdEx += skippy
  11761. }
  11762. }
  11763. if iNdEx > l {
  11764. return io.ErrUnexpectedEOF
  11765. }
  11766. return nil
  11767. }
  11768. func (m *WelfareReceiveReq) Unmarshal(dAtA []byte) error {
  11769. l := len(dAtA)
  11770. iNdEx := 0
  11771. for iNdEx < l {
  11772. preIndex := iNdEx
  11773. var wire uint64
  11774. for shift := uint(0); ; shift += 7 {
  11775. if shift >= 64 {
  11776. return ErrIntOverflowApi
  11777. }
  11778. if iNdEx >= l {
  11779. return io.ErrUnexpectedEOF
  11780. }
  11781. b := dAtA[iNdEx]
  11782. iNdEx++
  11783. wire |= (uint64(b) & 0x7F) << shift
  11784. if b < 0x80 {
  11785. break
  11786. }
  11787. }
  11788. fieldNum := int32(wire >> 3)
  11789. wireType := int(wire & 0x7)
  11790. if wireType == 4 {
  11791. return fmt.Errorf("proto: WelfareReceiveReq: wiretype end group for non-group")
  11792. }
  11793. if fieldNum <= 0 {
  11794. return fmt.Errorf("proto: WelfareReceiveReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11795. }
  11796. switch fieldNum {
  11797. case 1:
  11798. if wireType != 0 {
  11799. return fmt.Errorf("proto: wrong wireType = %d for field Wid", wireType)
  11800. }
  11801. m.Wid = 0
  11802. for shift := uint(0); ; shift += 7 {
  11803. if shift >= 64 {
  11804. return ErrIntOverflowApi
  11805. }
  11806. if iNdEx >= l {
  11807. return io.ErrUnexpectedEOF
  11808. }
  11809. b := dAtA[iNdEx]
  11810. iNdEx++
  11811. m.Wid |= (int64(b) & 0x7F) << shift
  11812. if b < 0x80 {
  11813. break
  11814. }
  11815. }
  11816. case 2:
  11817. if wireType != 0 {
  11818. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11819. }
  11820. m.Mid = 0
  11821. for shift := uint(0); ; shift += 7 {
  11822. if shift >= 64 {
  11823. return ErrIntOverflowApi
  11824. }
  11825. if iNdEx >= l {
  11826. return io.ErrUnexpectedEOF
  11827. }
  11828. b := dAtA[iNdEx]
  11829. iNdEx++
  11830. m.Mid |= (int64(b) & 0x7F) << shift
  11831. if b < 0x80 {
  11832. break
  11833. }
  11834. }
  11835. default:
  11836. iNdEx = preIndex
  11837. skippy, err := skipApi(dAtA[iNdEx:])
  11838. if err != nil {
  11839. return err
  11840. }
  11841. if skippy < 0 {
  11842. return ErrInvalidLengthApi
  11843. }
  11844. if (iNdEx + skippy) > l {
  11845. return io.ErrUnexpectedEOF
  11846. }
  11847. iNdEx += skippy
  11848. }
  11849. }
  11850. if iNdEx > l {
  11851. return io.ErrUnexpectedEOF
  11852. }
  11853. return nil
  11854. }
  11855. func (m *WelfareReceiveReply) Unmarshal(dAtA []byte) error {
  11856. l := len(dAtA)
  11857. iNdEx := 0
  11858. for iNdEx < l {
  11859. preIndex := iNdEx
  11860. var wire uint64
  11861. for shift := uint(0); ; shift += 7 {
  11862. if shift >= 64 {
  11863. return ErrIntOverflowApi
  11864. }
  11865. if iNdEx >= l {
  11866. return io.ErrUnexpectedEOF
  11867. }
  11868. b := dAtA[iNdEx]
  11869. iNdEx++
  11870. wire |= (uint64(b) & 0x7F) << shift
  11871. if b < 0x80 {
  11872. break
  11873. }
  11874. }
  11875. fieldNum := int32(wire >> 3)
  11876. wireType := int(wire & 0x7)
  11877. if wireType == 4 {
  11878. return fmt.Errorf("proto: WelfareReceiveReply: wiretype end group for non-group")
  11879. }
  11880. if fieldNum <= 0 {
  11881. return fmt.Errorf("proto: WelfareReceiveReply: illegal tag %d (wire type %d)", fieldNum, wire)
  11882. }
  11883. switch fieldNum {
  11884. default:
  11885. iNdEx = preIndex
  11886. skippy, err := skipApi(dAtA[iNdEx:])
  11887. if err != nil {
  11888. return err
  11889. }
  11890. if skippy < 0 {
  11891. return ErrInvalidLengthApi
  11892. }
  11893. if (iNdEx + skippy) > l {
  11894. return io.ErrUnexpectedEOF
  11895. }
  11896. iNdEx += skippy
  11897. }
  11898. }
  11899. if iNdEx > l {
  11900. return io.ErrUnexpectedEOF
  11901. }
  11902. return nil
  11903. }
  11904. func (m *MyWelfareReq) Unmarshal(dAtA []byte) error {
  11905. l := len(dAtA)
  11906. iNdEx := 0
  11907. for iNdEx < l {
  11908. preIndex := iNdEx
  11909. var wire uint64
  11910. for shift := uint(0); ; shift += 7 {
  11911. if shift >= 64 {
  11912. return ErrIntOverflowApi
  11913. }
  11914. if iNdEx >= l {
  11915. return io.ErrUnexpectedEOF
  11916. }
  11917. b := dAtA[iNdEx]
  11918. iNdEx++
  11919. wire |= (uint64(b) & 0x7F) << shift
  11920. if b < 0x80 {
  11921. break
  11922. }
  11923. }
  11924. fieldNum := int32(wire >> 3)
  11925. wireType := int(wire & 0x7)
  11926. if wireType == 4 {
  11927. return fmt.Errorf("proto: MyWelfareReq: wiretype end group for non-group")
  11928. }
  11929. if fieldNum <= 0 {
  11930. return fmt.Errorf("proto: MyWelfareReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11931. }
  11932. switch fieldNum {
  11933. case 1:
  11934. if wireType != 0 {
  11935. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11936. }
  11937. m.Mid = 0
  11938. for shift := uint(0); ; shift += 7 {
  11939. if shift >= 64 {
  11940. return ErrIntOverflowApi
  11941. }
  11942. if iNdEx >= l {
  11943. return io.ErrUnexpectedEOF
  11944. }
  11945. b := dAtA[iNdEx]
  11946. iNdEx++
  11947. m.Mid |= (int64(b) & 0x7F) << shift
  11948. if b < 0x80 {
  11949. break
  11950. }
  11951. }
  11952. default:
  11953. iNdEx = preIndex
  11954. skippy, err := skipApi(dAtA[iNdEx:])
  11955. if err != nil {
  11956. return err
  11957. }
  11958. if skippy < 0 {
  11959. return ErrInvalidLengthApi
  11960. }
  11961. if (iNdEx + skippy) > l {
  11962. return io.ErrUnexpectedEOF
  11963. }
  11964. iNdEx += skippy
  11965. }
  11966. }
  11967. if iNdEx > l {
  11968. return io.ErrUnexpectedEOF
  11969. }
  11970. return nil
  11971. }
  11972. func (m *MyWelfareReply) Unmarshal(dAtA []byte) error {
  11973. l := len(dAtA)
  11974. iNdEx := 0
  11975. for iNdEx < l {
  11976. preIndex := iNdEx
  11977. var wire uint64
  11978. for shift := uint(0); ; shift += 7 {
  11979. if shift >= 64 {
  11980. return ErrIntOverflowApi
  11981. }
  11982. if iNdEx >= l {
  11983. return io.ErrUnexpectedEOF
  11984. }
  11985. b := dAtA[iNdEx]
  11986. iNdEx++
  11987. wire |= (uint64(b) & 0x7F) << shift
  11988. if b < 0x80 {
  11989. break
  11990. }
  11991. }
  11992. fieldNum := int32(wire >> 3)
  11993. wireType := int(wire & 0x7)
  11994. if wireType == 4 {
  11995. return fmt.Errorf("proto: MyWelfareReply: wiretype end group for non-group")
  11996. }
  11997. if fieldNum <= 0 {
  11998. return fmt.Errorf("proto: MyWelfareReply: illegal tag %d (wire type %d)", fieldNum, wire)
  11999. }
  12000. switch fieldNum {
  12001. case 1:
  12002. if wireType != 2 {
  12003. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  12004. }
  12005. var msglen int
  12006. for shift := uint(0); ; shift += 7 {
  12007. if shift >= 64 {
  12008. return ErrIntOverflowApi
  12009. }
  12010. if iNdEx >= l {
  12011. return io.ErrUnexpectedEOF
  12012. }
  12013. b := dAtA[iNdEx]
  12014. iNdEx++
  12015. msglen |= (int(b) & 0x7F) << shift
  12016. if b < 0x80 {
  12017. break
  12018. }
  12019. }
  12020. if msglen < 0 {
  12021. return ErrInvalidLengthApi
  12022. }
  12023. postIndex := iNdEx + msglen
  12024. if postIndex > l {
  12025. return io.ErrUnexpectedEOF
  12026. }
  12027. m.List = append(m.List, &MyWelfareDetail{})
  12028. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  12029. return err
  12030. }
  12031. iNdEx = postIndex
  12032. default:
  12033. iNdEx = preIndex
  12034. skippy, err := skipApi(dAtA[iNdEx:])
  12035. if err != nil {
  12036. return err
  12037. }
  12038. if skippy < 0 {
  12039. return ErrInvalidLengthApi
  12040. }
  12041. if (iNdEx + skippy) > l {
  12042. return io.ErrUnexpectedEOF
  12043. }
  12044. iNdEx += skippy
  12045. }
  12046. }
  12047. if iNdEx > l {
  12048. return io.ErrUnexpectedEOF
  12049. }
  12050. return nil
  12051. }
  12052. func (m *MyWelfareDetail) Unmarshal(dAtA []byte) error {
  12053. l := len(dAtA)
  12054. iNdEx := 0
  12055. for iNdEx < l {
  12056. preIndex := iNdEx
  12057. var wire uint64
  12058. for shift := uint(0); ; shift += 7 {
  12059. if shift >= 64 {
  12060. return ErrIntOverflowApi
  12061. }
  12062. if iNdEx >= l {
  12063. return io.ErrUnexpectedEOF
  12064. }
  12065. b := dAtA[iNdEx]
  12066. iNdEx++
  12067. wire |= (uint64(b) & 0x7F) << shift
  12068. if b < 0x80 {
  12069. break
  12070. }
  12071. }
  12072. fieldNum := int32(wire >> 3)
  12073. wireType := int(wire & 0x7)
  12074. if wireType == 4 {
  12075. return fmt.Errorf("proto: MyWelfareDetail: wiretype end group for non-group")
  12076. }
  12077. if fieldNum <= 0 {
  12078. return fmt.Errorf("proto: MyWelfareDetail: illegal tag %d (wire type %d)", fieldNum, wire)
  12079. }
  12080. switch fieldNum {
  12081. case 1:
  12082. if wireType != 0 {
  12083. return fmt.Errorf("proto: wrong wireType = %d for field Wid", wireType)
  12084. }
  12085. m.Wid = 0
  12086. for shift := uint(0); ; shift += 7 {
  12087. if shift >= 64 {
  12088. return ErrIntOverflowApi
  12089. }
  12090. if iNdEx >= l {
  12091. return io.ErrUnexpectedEOF
  12092. }
  12093. b := dAtA[iNdEx]
  12094. iNdEx++
  12095. m.Wid |= (int32(b) & 0x7F) << shift
  12096. if b < 0x80 {
  12097. break
  12098. }
  12099. }
  12100. case 2:
  12101. if wireType != 2 {
  12102. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  12103. }
  12104. var stringLen uint64
  12105. for shift := uint(0); ; shift += 7 {
  12106. if shift >= 64 {
  12107. return ErrIntOverflowApi
  12108. }
  12109. if iNdEx >= l {
  12110. return io.ErrUnexpectedEOF
  12111. }
  12112. b := dAtA[iNdEx]
  12113. iNdEx++
  12114. stringLen |= (uint64(b) & 0x7F) << shift
  12115. if b < 0x80 {
  12116. break
  12117. }
  12118. }
  12119. intStringLen := int(stringLen)
  12120. if intStringLen < 0 {
  12121. return ErrInvalidLengthApi
  12122. }
  12123. postIndex := iNdEx + intStringLen
  12124. if postIndex > l {
  12125. return io.ErrUnexpectedEOF
  12126. }
  12127. m.Name = string(dAtA[iNdEx:postIndex])
  12128. iNdEx = postIndex
  12129. case 3:
  12130. if wireType != 2 {
  12131. return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
  12132. }
  12133. var stringLen uint64
  12134. for shift := uint(0); ; shift += 7 {
  12135. if shift >= 64 {
  12136. return ErrIntOverflowApi
  12137. }
  12138. if iNdEx >= l {
  12139. return io.ErrUnexpectedEOF
  12140. }
  12141. b := dAtA[iNdEx]
  12142. iNdEx++
  12143. stringLen |= (uint64(b) & 0x7F) << shift
  12144. if b < 0x80 {
  12145. break
  12146. }
  12147. }
  12148. intStringLen := int(stringLen)
  12149. if intStringLen < 0 {
  12150. return ErrInvalidLengthApi
  12151. }
  12152. postIndex := iNdEx + intStringLen
  12153. if postIndex > l {
  12154. return io.ErrUnexpectedEOF
  12155. }
  12156. m.Desc = string(dAtA[iNdEx:postIndex])
  12157. iNdEx = postIndex
  12158. case 4:
  12159. if wireType != 0 {
  12160. return fmt.Errorf("proto: wrong wireType = %d for field UsageForm", wireType)
  12161. }
  12162. m.UsageForm = 0
  12163. for shift := uint(0); ; shift += 7 {
  12164. if shift >= 64 {
  12165. return ErrIntOverflowApi
  12166. }
  12167. if iNdEx >= l {
  12168. return io.ErrUnexpectedEOF
  12169. }
  12170. b := dAtA[iNdEx]
  12171. iNdEx++
  12172. m.UsageForm |= (int32(b) & 0x7F) << shift
  12173. if b < 0x80 {
  12174. break
  12175. }
  12176. }
  12177. case 5:
  12178. if wireType != 2 {
  12179. return fmt.Errorf("proto: wrong wireType = %d for field ReceiveUri", wireType)
  12180. }
  12181. var stringLen uint64
  12182. for shift := uint(0); ; shift += 7 {
  12183. if shift >= 64 {
  12184. return ErrIntOverflowApi
  12185. }
  12186. if iNdEx >= l {
  12187. return io.ErrUnexpectedEOF
  12188. }
  12189. b := dAtA[iNdEx]
  12190. iNdEx++
  12191. stringLen |= (uint64(b) & 0x7F) << shift
  12192. if b < 0x80 {
  12193. break
  12194. }
  12195. }
  12196. intStringLen := int(stringLen)
  12197. if intStringLen < 0 {
  12198. return ErrInvalidLengthApi
  12199. }
  12200. postIndex := iNdEx + intStringLen
  12201. if postIndex > l {
  12202. return io.ErrUnexpectedEOF
  12203. }
  12204. m.ReceiveUri = string(dAtA[iNdEx:postIndex])
  12205. iNdEx = postIndex
  12206. case 6:
  12207. if wireType != 2 {
  12208. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  12209. }
  12210. var stringLen uint64
  12211. for shift := uint(0); ; shift += 7 {
  12212. if shift >= 64 {
  12213. return ErrIntOverflowApi
  12214. }
  12215. if iNdEx >= l {
  12216. return io.ErrUnexpectedEOF
  12217. }
  12218. b := dAtA[iNdEx]
  12219. iNdEx++
  12220. stringLen |= (uint64(b) & 0x7F) << shift
  12221. if b < 0x80 {
  12222. break
  12223. }
  12224. }
  12225. intStringLen := int(stringLen)
  12226. if intStringLen < 0 {
  12227. return ErrInvalidLengthApi
  12228. }
  12229. postIndex := iNdEx + intStringLen
  12230. if postIndex > l {
  12231. return io.ErrUnexpectedEOF
  12232. }
  12233. m.Code = string(dAtA[iNdEx:postIndex])
  12234. iNdEx = postIndex
  12235. case 7:
  12236. if wireType != 0 {
  12237. return fmt.Errorf("proto: wrong wireType = %d for field Stime", wireType)
  12238. }
  12239. m.Stime = 0
  12240. for shift := uint(0); ; shift += 7 {
  12241. if shift >= 64 {
  12242. return ErrIntOverflowApi
  12243. }
  12244. if iNdEx >= l {
  12245. return io.ErrUnexpectedEOF
  12246. }
  12247. b := dAtA[iNdEx]
  12248. iNdEx++
  12249. m.Stime |= (int64(b) & 0x7F) << shift
  12250. if b < 0x80 {
  12251. break
  12252. }
  12253. }
  12254. case 8:
  12255. if wireType != 0 {
  12256. return fmt.Errorf("proto: wrong wireType = %d for field Etime", wireType)
  12257. }
  12258. m.Etime = 0
  12259. for shift := uint(0); ; shift += 7 {
  12260. if shift >= 64 {
  12261. return ErrIntOverflowApi
  12262. }
  12263. if iNdEx >= l {
  12264. return io.ErrUnexpectedEOF
  12265. }
  12266. b := dAtA[iNdEx]
  12267. iNdEx++
  12268. m.Etime |= (int64(b) & 0x7F) << shift
  12269. if b < 0x80 {
  12270. break
  12271. }
  12272. }
  12273. case 9:
  12274. if wireType != 0 {
  12275. return fmt.Errorf("proto: wrong wireType = %d for field Expired", wireType)
  12276. }
  12277. var v int
  12278. for shift := uint(0); ; shift += 7 {
  12279. if shift >= 64 {
  12280. return ErrIntOverflowApi
  12281. }
  12282. if iNdEx >= l {
  12283. return io.ErrUnexpectedEOF
  12284. }
  12285. b := dAtA[iNdEx]
  12286. iNdEx++
  12287. v |= (int(b) & 0x7F) << shift
  12288. if b < 0x80 {
  12289. break
  12290. }
  12291. }
  12292. m.Expired = bool(v != 0)
  12293. default:
  12294. iNdEx = preIndex
  12295. skippy, err := skipApi(dAtA[iNdEx:])
  12296. if err != nil {
  12297. return err
  12298. }
  12299. if skippy < 0 {
  12300. return ErrInvalidLengthApi
  12301. }
  12302. if (iNdEx + skippy) > l {
  12303. return io.ErrUnexpectedEOF
  12304. }
  12305. iNdEx += skippy
  12306. }
  12307. }
  12308. if iNdEx > l {
  12309. return io.ErrUnexpectedEOF
  12310. }
  12311. return nil
  12312. }
  12313. func skipApi(dAtA []byte) (n int, err error) {
  12314. l := len(dAtA)
  12315. iNdEx := 0
  12316. for iNdEx < l {
  12317. var wire uint64
  12318. for shift := uint(0); ; shift += 7 {
  12319. if shift >= 64 {
  12320. return 0, ErrIntOverflowApi
  12321. }
  12322. if iNdEx >= l {
  12323. return 0, io.ErrUnexpectedEOF
  12324. }
  12325. b := dAtA[iNdEx]
  12326. iNdEx++
  12327. wire |= (uint64(b) & 0x7F) << shift
  12328. if b < 0x80 {
  12329. break
  12330. }
  12331. }
  12332. wireType := int(wire & 0x7)
  12333. switch wireType {
  12334. case 0:
  12335. for shift := uint(0); ; shift += 7 {
  12336. if shift >= 64 {
  12337. return 0, ErrIntOverflowApi
  12338. }
  12339. if iNdEx >= l {
  12340. return 0, io.ErrUnexpectedEOF
  12341. }
  12342. iNdEx++
  12343. if dAtA[iNdEx-1] < 0x80 {
  12344. break
  12345. }
  12346. }
  12347. return iNdEx, nil
  12348. case 1:
  12349. iNdEx += 8
  12350. return iNdEx, nil
  12351. case 2:
  12352. var length int
  12353. for shift := uint(0); ; shift += 7 {
  12354. if shift >= 64 {
  12355. return 0, ErrIntOverflowApi
  12356. }
  12357. if iNdEx >= l {
  12358. return 0, io.ErrUnexpectedEOF
  12359. }
  12360. b := dAtA[iNdEx]
  12361. iNdEx++
  12362. length |= (int(b) & 0x7F) << shift
  12363. if b < 0x80 {
  12364. break
  12365. }
  12366. }
  12367. iNdEx += length
  12368. if length < 0 {
  12369. return 0, ErrInvalidLengthApi
  12370. }
  12371. return iNdEx, nil
  12372. case 3:
  12373. for {
  12374. var innerWire uint64
  12375. var start int = iNdEx
  12376. for shift := uint(0); ; shift += 7 {
  12377. if shift >= 64 {
  12378. return 0, ErrIntOverflowApi
  12379. }
  12380. if iNdEx >= l {
  12381. return 0, io.ErrUnexpectedEOF
  12382. }
  12383. b := dAtA[iNdEx]
  12384. iNdEx++
  12385. innerWire |= (uint64(b) & 0x7F) << shift
  12386. if b < 0x80 {
  12387. break
  12388. }
  12389. }
  12390. innerWireType := int(innerWire & 0x7)
  12391. if innerWireType == 4 {
  12392. break
  12393. }
  12394. next, err := skipApi(dAtA[start:])
  12395. if err != nil {
  12396. return 0, err
  12397. }
  12398. iNdEx = start + next
  12399. }
  12400. return iNdEx, nil
  12401. case 4:
  12402. return iNdEx, nil
  12403. case 5:
  12404. iNdEx += 4
  12405. return iNdEx, nil
  12406. default:
  12407. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  12408. }
  12409. }
  12410. panic("unreachable")
  12411. }
  12412. var (
  12413. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  12414. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  12415. )
  12416. func init() { proto.RegisterFile("app/service/main/vip/api/api.proto", fileDescriptorApi) }
  12417. var fileDescriptorApi = []byte{
  12418. // 2955 bytes of a gzipped FileDescriptorProto
  12419. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x5a, 0x4b, 0x6f, 0x1c, 0xc7,
  12420. 0x11, 0xc6, 0xbe, 0x77, 0x6b, 0x57, 0x7c, 0x0c, 0x49, 0x89, 0x5c, 0x49, 0x5c, 0x69, 0x1c, 0xc5,
  12421. 0x82, 0x6d, 0x91, 0x0e, 0x0d, 0x3b, 0x76, 0x1e, 0x07, 0x2e, 0x25, 0x07, 0x8c, 0x45, 0x89, 0x18,
  12422. 0x4a, 0x8a, 0x91, 0xc4, 0x5e, 0xcc, 0xee, 0x34, 0xc9, 0x06, 0x67, 0x67, 0x5a, 0xf3, 0x20, 0xbd,
  12423. 0xbe, 0xe5, 0x9c, 0x43, 0x02, 0xe4, 0x27, 0x18, 0x01, 0xf2, 0x17, 0x72, 0xce, 0x25, 0x47, 0xff,
  12424. 0x82, 0x45, 0xe0, 0xe3, 0x22, 0xf7, 0x00, 0x39, 0x05, 0x55, 0xdd, 0xf3, 0xdc, 0x21, 0x69, 0x2b,
  12425. 0x07, 0x71, 0xbb, 0xaa, 0xab, 0xbb, 0xab, 0xab, 0xaa, 0xab, 0xbe, 0xee, 0x11, 0xe8, 0xa6, 0x10,
  12426. 0xdb, 0x3e, 0xf3, 0xce, 0xf9, 0x88, 0x6d, 0x8f, 0x4d, 0xee, 0x6c, 0x9f, 0x73, 0xb1, 0x6d, 0x0a,
  12427. 0x8e, 0xff, 0xb6, 0x84, 0xe7, 0x06, 0xae, 0xd6, 0x36, 0x47, 0x23, 0x37, 0x74, 0x82, 0xad, 0x73,
  12428. 0x2e, 0xba, 0x8f, 0x4e, 0x78, 0x70, 0x1a, 0x0e, 0xb7, 0x46, 0xee, 0x78, 0xfb, 0xc4, 0x3d, 0x71,
  12429. 0xb7, 0x49, 0x66, 0x18, 0x1e, 0x13, 0x45, 0x04, 0xb5, 0xe4, 0x58, 0xfd, 0x17, 0xb0, 0x6c, 0xb0,
  12430. 0x13, 0xee, 0x07, 0xcc, 0x7b, 0x2e, 0x98, 0xb3, 0xff, 0xd8, 0x60, 0xaf, 0xb5, 0x25, 0xa8, 0x8c,
  12431. 0xb9, 0xb5, 0x5e, 0xba, 0x57, 0x7a, 0x58, 0x31, 0xb0, 0xa9, 0xad, 0x41, 0xdd, 0x14, 0x62, 0xc0,
  12432. 0xad, 0xf5, 0x32, 0x31, 0x6b, 0xa6, 0x10, 0xfb, 0x96, 0xbe, 0x05, 0x2b, 0xf9, 0xd1, 0xc2, 0x9e,
  12433. 0x68, 0xb7, 0xa0, 0xe1, 0x0a, 0xe6, 0x0c, 0xd4, 0x1c, 0x2d, 0xa3, 0x8e, 0xe4, 0xbe, 0xa5, 0x9f,
  12434. 0xc2, 0x4d, 0x94, 0xeb, 0x73, 0xc7, 0xea, 0x4f, 0x9e, 0x87, 0x41, 0xb2, 0xe4, 0x65, 0x43, 0xb4,
  12435. 0x4d, 0x68, 0xbb, 0x61, 0x30, 0x88, 0x3a, 0xcb, 0xd4, 0xd9, 0x72, 0xd5, 0xd8, 0xb4, 0x66, 0x95,
  12436. 0xb4, 0x66, 0x5d, 0x58, 0x2f, 0x5c, 0x49, 0xd8, 0x13, 0xfd, 0x25, 0xac, 0xbc, 0xf4, 0x99, 0xb7,
  12437. 0xef, 0x1c, 0xbb, 0xfd, 0x49, 0xa2, 0xc2, 0x02, 0x94, 0xb9, 0x50, 0xab, 0x97, 0xb9, 0x48, 0xab,
  12438. 0x54, 0xce, 0xa8, 0x74, 0xc9, 0x92, 0x5f, 0xc3, 0xda, 0xfc, 0xb4, 0x68, 0x0e, 0x0d, 0xaa, 0x8e,
  12439. 0x39, 0x66, 0x6a, 0x6a, 0x6a, 0x6b, 0x8f, 0x00, 0x86, 0xdc, 0xb1, 0x06, 0x7e, 0x60, 0x06, 0x8c,
  12440. 0xe6, 0xaf, 0xf5, 0x17, 0x66, 0xd3, 0x5e, 0x8a, 0x6b, 0xb4, 0xb0, 0x7d, 0x84, 0xcd, 0xbc, 0x15,
  12441. 0x2a, 0x39, 0x2b, 0xe8, 0x3f, 0x87, 0x25, 0xdc, 0xaa, 0x5c, 0xfb, 0x80, 0x5b, 0x3f, 0xc8, 0x8b,
  12442. 0x1e, 0x68, 0xb9, 0xc1, 0xa8, 0xf5, 0x16, 0x34, 0x54, 0x5c, 0xd1, 0x14, 0xed, 0x9d, 0xd5, 0xad,
  12443. 0x54, 0x9c, 0x6d, 0xed, 0xca, 0xb6, 0x11, 0x09, 0x69, 0xef, 0x41, 0xcd, 0x0d, 0x03, 0xe6, 0xd1,
  12444. 0xdc, 0xed, 0x9d, 0x9b, 0x19, 0x69, 0x9c, 0xff, 0x39, 0xf6, 0x1a, 0x52, 0x48, 0xdf, 0x83, 0x86,
  12445. 0x9a, 0xa1, 0x40, 0xcf, 0xc8, 0x60, 0xe5, 0x94, 0xc1, 0x34, 0xa8, 0x1e, 0x9b, 0x23, 0xa6, 0xb6,
  12446. 0x4e, 0x6d, 0xfd, 0x29, 0xb4, 0xe2, 0x89, 0x71, 0x9a, 0x80, 0xd9, 0xca, 0xc8, 0xd8, 0xfc, 0x81,
  12447. 0x36, 0xd6, 0xff, 0x50, 0x82, 0xb5, 0x3e, 0xb7, 0xf9, 0x90, 0xdb, 0xfc, 0xd0, 0xe3, 0x5f, 0xb3,
  12448. 0x5f, 0x79, 0xa6, 0x13, 0xa0, 0x25, 0x6f, 0x43, 0x4b, 0x20, 0x63, 0x70, 0xc6, 0x26, 0x6a, 0x81,
  12449. 0x26, 0x31, 0x3e, 0x63, 0x13, 0xec, 0x0c, 0x1d, 0xfe, 0x3a, 0x64, 0x03, 0xc7, 0x55, 0x1a, 0x37,
  12450. 0x25, 0xe3, 0x99, 0x9b, 0x8e, 0xa1, 0xca, 0x25, 0x31, 0x54, 0x4d, 0xbb, 0x22, 0x80, 0x5b, 0x45,
  12451. 0x2a, 0xa0, 0x3f, 0x6e, 0x42, 0xdd, 0x1c, 0xc7, 0xee, 0x28, 0x19, 0x8a, 0xd2, 0x7a, 0xd0, 0x3e,
  12452. 0x0e, 0x6d, 0x7b, 0xa0, 0x3a, 0xcb, 0xd4, 0x09, 0xc8, 0xda, 0x95, 0x02, 0xf7, 0xa0, 0x6d, 0x31,
  12453. 0x7f, 0xe4, 0x71, 0x11, 0x70, 0xd7, 0x51, 0x7a, 0xa4, 0x59, 0xfa, 0x37, 0x25, 0x58, 0x89, 0x96,
  12454. 0x7d, 0xc5, 0x45, 0xbc, 0xef, 0x37, 0x3e, 0x94, 0xf7, 0xa0, 0x43, 0xfd, 0x9e, 0xc5, 0x3c, 0x34,
  12455. 0x8b, 0x5c, 0x13, 0x50, 0x00, 0x59, 0xcf, 0x5c, 0xad, 0x0b, 0x4d, 0x2b, 0xf4, 0x4c, 0xd2, 0x08,
  12456. 0x2d, 0x50, 0x33, 0x62, 0x3a, 0x65, 0x9b, 0x5a, 0xda, 0x36, 0xb7, 0x12, 0xf7, 0x24, 0x4a, 0xe2,
  12457. 0x79, 0xfe, 0x73, 0x05, 0x6e, 0xed, 0x79, 0xcc, 0x0c, 0xd8, 0xae, 0xef, 0xbb, 0x23, 0x6e, 0x06,
  12458. 0x8c, 0x96, 0x29, 0x3e, 0x04, 0xab, 0x50, 0x1b, 0xbb, 0x4e, 0x70, 0x2a, 0x03, 0xc2, 0x90, 0x04,
  12459. 0xea, 0x23, 0x6c, 0x33, 0x38, 0x76, 0xbd, 0xb1, 0xd2, 0x36, 0xa6, 0xb5, 0x0d, 0x68, 0x8e, 0xdd,
  12460. 0x21, 0x1f, 0x98, 0x42, 0x90, 0xae, 0x2d, 0xa3, 0x81, 0xf4, 0xae, 0x10, 0xe8, 0x14, 0x8b, 0x61,
  12461. 0x6e, 0x26, 0x55, 0x5b, 0x86, 0xa2, 0x70, 0x11, 0x52, 0x7a, 0xbd, 0x9e, 0xda, 0x01, 0x2e, 0x62,
  12462. 0x0a, 0x71, 0x14, 0x0e, 0xf7, 0xad, 0xf5, 0x86, 0x5c, 0x24, 0xa2, 0xb5, 0x3b, 0xd0, 0x22, 0x73,
  12463. 0xbd, 0x98, 0x08, 0xb6, 0xde, 0x24, 0xd5, 0x12, 0x06, 0xce, 0x67, 0x05, 0xd8, 0xd3, 0x92, 0x4a,
  12464. 0x13, 0x81, 0x63, 0x3c, 0x16, 0x84, 0x9e, 0xf3, 0xd2, 0xb3, 0xd7, 0x41, 0x3a, 0x21, 0x66, 0x68,
  12465. 0xf7, 0xa1, 0x33, 0x72, 0x43, 0xe1, 0x3a, 0x83, 0xc0, 0x3d, 0x63, 0xce, 0x7a, 0x5b, 0x3a, 0x5e,
  12466. 0xf2, 0x5e, 0x20, 0x0b, 0x0f, 0xd5, 0x10, 0xcd, 0xd3, 0x21, 0x2d, 0xa9, 0xad, 0xdd, 0x05, 0x10,
  12467. 0xa6, 0xc3, 0xec, 0x01, 0xad, 0x77, 0x43, 0xce, 0x4a, 0x9c, 0x48, 0x93, 0x61, 0xc8, 0x6d, 0x6b,
  12468. 0x7d, 0x41, 0xee, 0x8c, 0x08, 0xcc, 0x9d, 0xfb, 0x87, 0xeb, 0x8b, 0x32, 0x77, 0xee, 0x1f, 0xea,
  12469. 0x7f, 0x2c, 0xc1, 0x46, 0xb1, 0x4b, 0x30, 0x94, 0xf1, 0x3c, 0x99, 0x93, 0x81, 0x30, 0x3d, 0x73,
  12470. 0x1c, 0x9f, 0x27, 0x73, 0x72, 0x88, 0x34, 0x99, 0x54, 0x78, 0x68, 0x52, 0x19, 0xca, 0x8a, 0x42,
  12471. 0xbe, 0x2b, 0xf9, 0x15, 0xc9, 0x97, 0x54, 0x6a, 0x9b, 0x63, 0xd7, 0x61, 0x13, 0xf2, 0x50, 0x29,
  12472. 0xda, 0xe6, 0x01, 0xb2, 0xf4, 0xbf, 0x94, 0x61, 0x39, 0xd6, 0xe3, 0x10, 0xb7, 0x52, 0x1c, 0x1a,
  12473. 0x37, 0xa1, 0x7e, 0xe4, 0x7a, 0xc1, 0x0b, 0xa1, 0x62, 0x43, 0x51, 0x6a, 0x77, 0x95, 0x68, 0x77,
  12474. 0xda, 0x3a, 0x34, 0x0e, 0x64, 0x00, 0x44, 0xf1, 0x70, 0x90, 0xc4, 0xc3, 0xe3, 0x4c, 0x3c, 0x48,
  12475. 0x0a, 0x3d, 0x7f, 0x18, 0x85, 0x57, 0x5d, 0x6e, 0x38, 0xa2, 0xd1, 0x09, 0xd8, 0xa6, 0x88, 0xa8,
  12476. 0x19, 0xd4, 0x46, 0xcf, 0x1e, 0x46, 0x26, 0xa7, 0x68, 0x68, 0x19, 0x09, 0x03, 0xd7, 0x3f, 0x0a,
  12477. 0x87, 0x2f, 0x92, 0x78, 0x88, 0x48, 0xf4, 0xce, 0x01, 0x05, 0x37, 0xc8, 0x38, 0x21, 0x02, 0xb9,
  12478. 0x7d, 0xf2, 0x59, 0x5b, 0xfa, 0x8c, 0x08, 0xfd, 0xd7, 0xb0, 0x92, 0x37, 0x0a, 0x3a, 0xe7, 0x03,
  12479. 0xa8, 0xda, 0xdc, 0xc7, 0x2c, 0x53, 0x79, 0xd8, 0xde, 0xe9, 0x65, 0x93, 0x7e, 0x46, 0x1e, 0x0b,
  12480. 0x86, 0x41, 0xc2, 0xfa, 0xdf, 0x2a, 0xa0, 0xcd, 0x77, 0x52, 0x49, 0x8d, 0x2c, 0x5c, 0xbe, 0xf4,
  12481. 0xec, 0xdd, 0x87, 0x8e, 0xf0, 0x5c, 0x2b, 0x1c, 0x05, 0x03, 0x4a, 0xfb, 0x2a, 0x43, 0x29, 0xde,
  12482. 0x33, 0xcc, 0xfe, 0x18, 0x94, 0x4a, 0x44, 0xa5, 0x4c, 0x0c, 0x4a, 0xc9, 0xd9, 0xb7, 0xf0, 0x84,
  12483. 0xfa, 0xe1, 0x50, 0x46, 0x6c, 0x4d, 0x5a, 0xc4, 0x57, 0x16, 0xb9, 0x0d, 0x2d, 0x3f, 0xe4, 0x81,
  12484. 0xec, 0xab, 0xcb, 0x4c, 0x83, 0x0c, 0xea, 0x7c, 0x00, 0x0b, 0xae, 0xc7, 0x4f, 0xb8, 0x63, 0xda,
  12485. 0x03, 0x19, 0x5b, 0x0d, 0x8a, 0x9e, 0x1b, 0x11, 0xf7, 0x90, 0x42, 0xec, 0x01, 0x2c, 0x58, 0xdc,
  12486. 0x27, 0x33, 0x28, 0xb1, 0xa6, 0x14, 0x8b, 0xb8, 0x52, 0xec, 0x2d, 0x88, 0x19, 0x03, 0x0f, 0x4b,
  12487. 0x4e, 0x8b, 0xf4, 0xec, 0x44, 0x4c, 0x03, 0x2b, 0xf9, 0x4d, 0xa8, 0x7b, 0x6c, 0x6c, 0x7a, 0x67,
  12488. 0xea, 0xc0, 0x2a, 0x0a, 0x23, 0xc4, 0x67, 0x36, 0x1b, 0x05, 0x4c, 0xba, 0x09, 0xd5, 0x54, 0xb4,
  12489. 0xf6, 0x8e, 0x3c, 0x2f, 0xb2, 0x8e, 0x75, 0xa8, 0x8e, 0xdd, 0x98, 0x4d, 0x7b, 0x09, 0x93, 0x8e,
  12490. 0x8f, 0x44, 0x0a, 0x3d, 0x68, 0x23, 0x7b, 0xcc, 0x7c, 0xdf, 0x3c, 0x89, 0xce, 0x2f, 0x08, 0x73,
  12491. 0x72, 0x20, 0x39, 0xfa, 0x17, 0xb0, 0x82, 0x59, 0x7a, 0x37, 0x0c, 0x4e, 0xf7, 0x4c, 0xdb, 0xee,
  12492. 0x9b, 0xa3, 0xb3, 0xe2, 0xd3, 0x70, 0x17, 0x20, 0x38, 0xe5, 0x9e, 0x35, 0x18, 0xb9, 0x56, 0x54,
  12493. 0x8b, 0x5b, 0xc4, 0xd9, 0x73, 0x2d, 0x76, 0x19, 0x0a, 0xba, 0x05, 0x6b, 0xf3, 0xd3, 0x63, 0x96,
  12494. 0x5e, 0x81, 0xe5, 0x27, 0x36, 0x33, 0x98, 0x75, 0x68, 0x8e, 0xce, 0xcc, 0x13, 0xe6, 0x1b, 0xec,
  12495. 0x35, 0xc6, 0x60, 0x9e, 0x79, 0x5d, 0x0c, 0x1e, 0xb8, 0x16, 0xb3, 0x33, 0x83, 0x54, 0x0c, 0x32,
  12496. 0xd0, 0xe6, 0xfb, 0x0a, 0xc1, 0x57, 0x52, 0x4a, 0xcb, 0x99, 0x52, 0xfa, 0x16, 0xdc, 0xf0, 0xc3,
  12497. 0xf1, 0x60, 0xe4, 0x3a, 0x16, 0x8f, 0x6b, 0x65, 0xc9, 0xe8, 0xf8, 0xe1, 0x78, 0x2f, 0xe2, 0xe9,
  12498. 0xab, 0xa0, 0x3d, 0xb1, 0xd9, 0x91, 0x60, 0x23, 0x93, 0xdb, 0x9f, 0xba, 0xae, 0x45, 0x1b, 0x39,
  12499. 0x80, 0xd5, 0x39, 0x2e, 0xee, 0xe4, 0xc3, 0xcc, 0x4e, 0xee, 0x17, 0xee, 0x24, 0x33, 0x4a, 0xee,
  12500. 0xe5, 0x3f, 0x25, 0x58, 0x2d, 0xea, 0xd6, 0xde, 0x86, 0x45, 0x8f, 0xf9, 0x81, 0x19, 0x62, 0xf9,
  12501. 0x1b, 0xa4, 0x76, 0xb6, 0x90, 0xb0, 0xe9, 0xc4, 0xdc, 0x86, 0xd6, 0xb1, 0xeb, 0x5a, 0x83, 0x14,
  12502. 0x90, 0x6a, 0x22, 0x83, 0x3a, 0x37, 0x80, 0xda, 0x83, 0xd0, 0xb3, 0xd5, 0x69, 0x6b, 0x20, 0x8d,
  12503. 0x55, 0x03, 0x0b, 0xb3, 0x8a, 0x57, 0x95, 0x4a, 0x63, 0x3a, 0x65, 0xb7, 0x5a, 0xc6, 0x6e, 0x6f,
  12504. 0xc3, 0x62, 0x7c, 0x8c, 0x94, 0x40, 0x9d, 0x04, 0xe2, 0xd3, 0xa5, 0xa0, 0xc8, 0x7d, 0xe8, 0x60,
  12505. 0x8d, 0x77, 0x4e, 0x06, 0xc2, 0xe5, 0x4e, 0xa0, 0x4e, 0x5b, 0x5b, 0xf2, 0x0e, 0x91, 0xa5, 0xbf,
  12506. 0x0b, 0x0b, 0x4f, 0x6c, 0x96, 0x46, 0x21, 0x1b, 0xd0, 0x8c, 0x81, 0x84, 0xdc, 0x6b, 0xc3, 0x95,
  12507. 0x28, 0x42, 0xd7, 0x60, 0x29, 0x23, 0x8c, 0x71, 0xf6, 0xd7, 0x32, 0x2c, 0xbe, 0xe2, 0x02, 0xa1,
  12508. 0xf8, 0xd5, 0xa9, 0xde, 0xcf, 0xa4, 0x7a, 0x3f, 0x4e, 0xf5, 0x5c, 0x44, 0xa9, 0x9e, 0x0b, 0x4c,
  12509. 0xb5, 0xe3, 0x6c, 0xaa, 0xbf, 0xae, 0xf4, 0xa7, 0x91, 0x44, 0x3d, 0x87, 0x24, 0x34, 0xa8, 0x8a,
  12510. 0x54, 0xaa, 0x17, 0x2a, 0xd5, 0x8b, 0x7c, 0xaa, 0x17, 0xe9, 0x54, 0xef, 0x67, 0x53, 0xbd, 0x9f,
  12511. 0xa4, 0xfa, 0x71, 0x3a, 0xd5, 0x8f, 0xa3, 0x54, 0x3f, 0x4c, 0xa7, 0x7a, 0x59, 0x9e, 0x35, 0xa8,
  12512. 0xda, 0xa6, 0x73, 0x42, 0xb9, 0xa3, 0x65, 0x50, 0x5b, 0xff, 0xa6, 0x02, 0xcb, 0x59, 0x3b, 0x61,
  12513. 0xbc, 0xfe, 0x12, 0x13, 0x2d, 0x1f, 0xb1, 0x41, 0x2a, 0x6a, 0x37, 0xe7, 0xa3, 0xf6, 0x15, 0x17,
  12514. 0x49, 0x09, 0x68, 0xd1, 0x88, 0xa7, 0xdc, 0x0f, 0xb4, 0x8f, 0xa1, 0x2e, 0x0b, 0xaf, 0xba, 0x05,
  12515. 0xdc, 0xcb, 0x0c, 0xdd, 0xa3, 0xae, 0xfe, 0xe4, 0x28, 0xe4, 0x81, 0xba, 0x1c, 0x19, 0x4a, 0x1e,
  12516. 0xcf, 0x9e, 0x2a, 0xe3, 0xfe, 0x05, 0x0f, 0x46, 0xa7, 0xe4, 0x83, 0x9a, 0xa1, 0x6a, 0xfb, 0x11,
  12517. 0xf1, 0x30, 0xb9, 0x61, 0x32, 0x8a, 0x44, 0x24, 0x70, 0x04, 0x64, 0x25, 0x02, 0x27, 0xfc, 0x3c,
  12518. 0x16, 0x90, 0xb5, 0x00, 0x90, 0xa5, 0x04, 0x9e, 0xd1, 0xfe, 0xce, 0xb9, 0xcd, 0x4e, 0x98, 0xbf,
  12519. 0x5e, 0xa7, 0xfd, 0x6d, 0x65, 0x94, 0x9c, 0xb3, 0xc9, 0xd6, 0x61, 0x3c, 0xe0, 0x89, 0x13, 0x78,
  12520. 0x13, 0x23, 0x35, 0x43, 0xf7, 0x4b, 0x58, 0xcc, 0x75, 0x63, 0xb0, 0x45, 0xf7, 0x84, 0x9a, 0x81,
  12521. 0x4d, 0xed, 0x43, 0xa8, 0x9d, 0x9b, 0x76, 0xc8, 0x94, 0x51, 0x0a, 0xf2, 0x59, 0x3c, 0x87, 0xc1,
  12522. 0x7c, 0x61, 0x48, 0xe9, 0x9f, 0x95, 0x3f, 0x2e, 0xe1, 0xa5, 0x64, 0xa5, 0xc0, 0x6c, 0x98, 0x9c,
  12523. 0x23, 0x70, 0x17, 0x5f, 0x5a, 0x5b, 0x0a, 0xda, 0x71, 0xa1, 0x7d, 0x06, 0x0a, 0x00, 0x0d, 0xb8,
  12524. 0x73, 0xec, 0xaa, 0x75, 0xdf, 0x99, 0x5f, 0x57, 0x4e, 0xbd, 0x6b, 0xdb, 0xee, 0x85, 0xe9, 0x8c,
  12525. 0x52, 0x65, 0x5d, 0xcd, 0x8e, 0x6d, 0xfd, 0xbf, 0x55, 0xb8, 0x7b, 0xa5, 0xf4, 0x1c, 0xd4, 0x2c,
  12526. 0xcd, 0x43, 0xcd, 0x8f, 0x62, 0xff, 0xa6, 0x53, 0x6f, 0x7f, 0x79, 0x36, 0xed, 0x65, 0x3b, 0x22,
  12527. 0x97, 0xef, 0x46, 0xd7, 0x9b, 0x9a, 0xac, 0x7b, 0x14, 0x0f, 0xfd, 0xd6, 0x6c, 0xda, 0x93, 0x0c,
  12528. 0x43, 0xfe, 0x68, 0xef, 0x81, 0x46, 0xf7, 0x1f, 0x9b, 0x8f, 0x79, 0x30, 0x60, 0x5f, 0x09, 0xdb,
  12529. 0xe4, 0x8e, 0x3a, 0xac, 0x4b, 0xd8, 0xf3, 0x14, 0x3b, 0x9e, 0x48, 0x3e, 0xa5, 0xf8, 0x91, 0x2b,
  12530. 0x58, 0x2c, 0x28, 0x0f, 0x6f, 0x87, 0x98, 0x91, 0xd0, 0xfb, 0xd9, 0x2b, 0x15, 0xe5, 0xb2, 0xfe,
  12531. 0xe2, 0x6c, 0xda, 0x4b, 0xb3, 0x33, 0x77, 0xac, 0x03, 0x58, 0x53, 0x9b, 0xc8, 0x01, 0x05, 0xca,
  12532. 0x70, 0xfd, 0x8d, 0xd9, 0xb4, 0x57, 0x2c, 0x60, 0xac, 0x48, 0xf6, 0xe3, 0x0c, 0x92, 0x78, 0x04,
  12533. 0xe0, 0x07, 0xa6, 0x17, 0x0c, 0x02, 0x3e, 0x96, 0x49, 0xa1, 0x22, 0x6f, 0xae, 0x09, 0xd7, 0x68,
  12534. 0x51, 0xfb, 0x05, 0x1f, 0x33, 0xd4, 0x97, 0x7d, 0x25, 0xb8, 0xc7, 0xa4, 0x7c, 0x8b, 0xe4, 0x49,
  12535. 0xdf, 0x14, 0xdb, 0x00, 0x49, 0xd0, 0x88, 0x87, 0x29, 0xb4, 0x41, 0xf9, 0xa3, 0xdf, 0x99, 0x4d,
  12536. 0x7b, 0x31, 0x2f, 0x85, 0x3d, 0xde, 0x85, 0x65, 0x8b, 0xfb, 0xe6, 0xd0, 0x66, 0x7e, 0x64, 0x33,
  12537. 0x5f, 0x5d, 0x25, 0x96, 0xa2, 0x0e, 0x65, 0x37, 0x3f, 0x93, 0xaa, 0x3b, 0x99, 0x54, 0x1d, 0xd7,
  12538. 0xe1, 0x1b, 0xa9, 0x3a, 0xac, 0x43, 0x3d, 0xa4, 0x19, 0xe8, 0x32, 0x51, 0xeb, 0xc3, 0x6c, 0xda,
  12539. 0x53, 0x1c, 0x43, 0xfd, 0xea, 0xd3, 0x0a, 0x2c, 0xcf, 0xa5, 0x1c, 0x8c, 0x0a, 0x99, 0xfc, 0x4a,
  12540. 0x49, 0x54, 0x10, 0xe3, 0x32, 0x4c, 0x59, 0xbe, 0x0e, 0x53, 0x56, 0xf2, 0x98, 0xf2, 0xed, 0x14,
  12541. 0xa6, 0xac, 0xa6, 0x4c, 0xa4, 0x78, 0x49, 0x22, 0x7e, 0x27, 0x8d, 0x30, 0x6b, 0x09, 0x3a, 0x8b,
  12542. 0x99, 0x29, 0xc0, 0xf9, 0xc9, 0x1c, 0xe0, 0x94, 0xc1, 0xa5, 0xcd, 0xa6, 0xbd, 0x5c, 0x4f, 0x1e,
  12543. 0x84, 0x7e, 0x32, 0x07, 0x42, 0x1b, 0xc9, 0xd0, 0x5c, 0x50, 0x5d, 0x07, 0x4c, 0x9b, 0x57, 0x02,
  12544. 0xd3, 0x56, 0x06, 0x98, 0x7e, 0xff, 0x50, 0xb9, 0x49, 0x68, 0x9f, 0x0a, 0x4f, 0xbf, 0x3e, 0x9b,
  12545. 0xf6, 0xca, 0xdc, 0x22, 0xd4, 0x7f, 0x07, 0xaa, 0x64, 0x1b, 0x89, 0x5c, 0x9b, 0xb3, 0x69, 0x8f,
  12546. 0x68, 0x83, 0xfe, 0xea, 0xbf, 0x53, 0xb0, 0x2d, 0x93, 0x02, 0xb1, 0x8e, 0x05, 0x3c, 0xb0, 0x23,
  12547. 0x74, 0x23, 0x09, 0x6d, 0x5b, 0xa1, 0xa9, 0x32, 0xe5, 0xed, 0xdb, 0x57, 0xe5, 0x51, 0x89, 0xa3,
  12548. 0xbe, 0x80, 0x85, 0x2c, 0xbf, 0x10, 0x0f, 0x6e, 0x40, 0x93, 0x8f, 0x5c, 0x87, 0xe0, 0x90, 0x0c,
  12549. 0x94, 0x06, 0xd2, 0x08, 0x87, 0x22, 0xdd, 0x2b, 0x85, 0xba, 0xff, 0xbd, 0x04, 0xcb, 0xf9, 0xec,
  12550. 0x5c, 0x84, 0x36, 0x96, 0xa0, 0xe2, 0xc7, 0xaf, 0x6e, 0xd8, 0x4c, 0xe3, 0x8a, 0xca, 0x65, 0xb8,
  12551. 0xa2, 0x7a, 0x29, 0xae, 0xa8, 0xe5, 0x70, 0x45, 0x06, 0x43, 0xd4, 0x2f, 0xbd, 0xb2, 0x37, 0x52,
  12552. 0x98, 0x40, 0xff, 0x3d, 0xc0, 0x6f, 0x98, 0x7d, 0x6c, 0x7a, 0x4c, 0xe9, 0x1c, 0x24, 0x3a, 0x07,
  12553. 0xe4, 0xb5, 0x96, 0xc7, 0x46, 0xee, 0x78, 0xcc, 0x9c, 0x48, 0xf3, 0x84, 0x81, 0x38, 0x49, 0xf8,
  12554. 0x0a, 0xf9, 0x97, 0x85, 0x4f, 0xb4, 0xa3, 0xde, 0xb2, 0xca, 0xc2, 0xd1, 0x3f, 0x87, 0x4e, 0x3c,
  12555. 0x3b, 0xd6, 0xab, 0x55, 0xa8, 0x25, 0x6f, 0x89, 0x15, 0x43, 0x12, 0xda, 0x4e, 0xc6, 0x9f, 0x59,
  12556. 0x9c, 0xa1, 0x86, 0x23, 0xac, 0x78, 0xcc, 0x02, 0x93, 0xdb, 0xca, 0xa5, 0xff, 0x2e, 0xc1, 0xf2,
  12557. 0x5c, 0x9f, 0x8a, 0x3d, 0x99, 0x0d, 0x72, 0xb1, 0x97, 0x9c, 0x7f, 0xe9, 0x3f, 0xa4, 0x95, 0xe3,
  12558. 0x3f, 0x80, 0xce, 0xa9, 0x3b, 0x66, 0xc2, 0x3c, 0x61, 0x83, 0xd0, 0xe3, 0xd2, 0x15, 0xfd, 0xa5,
  12559. 0xd9, 0xb4, 0x97, 0xe1, 0x1b, 0xed, 0x88, 0x7a, 0xe9, 0x71, 0x1c, 0x34, 0x34, 0x47, 0x67, 0x96,
  12560. 0xe7, 0x0a, 0x1a, 0x54, 0x4d, 0x06, 0xa5, 0xf9, 0x46, 0x3b, 0xa2, 0x70, 0xd0, 0x86, 0xb4, 0xaf,
  12561. 0x4c, 0x0f, 0x8d, 0xd9, 0xb4, 0x87, 0x64, 0x64, 0xe8, 0xaa, 0x67, 0x3a, 0x67, 0xf2, 0x72, 0x2a,
  12562. 0x55, 0x44, 0xda, 0xa0, 0xbf, 0xfa, 0x12, 0x2c, 0xa8, 0xdd, 0xa2, 0x2f, 0xe5, 0x9d, 0x69, 0x29,
  12563. 0xc3, 0x41, 0xf3, 0x7e, 0x94, 0xb9, 0x66, 0xe8, 0x45, 0x86, 0x44, 0xe1, 0x39, 0x63, 0x1e, 0xc0,
  12564. 0x5a, 0x61, 0xf7, 0x9b, 0xd9, 0x53, 0xdf, 0x89, 0x95, 0x25, 0x10, 0xa1, 0x1e, 0xd5, 0xd3, 0x2f,
  12565. 0x00, 0xea, 0x6c, 0x94, 0xe3, 0xb3, 0xa1, 0xff, 0xa9, 0x12, 0xef, 0x47, 0x0e, 0x92, 0x8f, 0x9d,
  12566. 0x6f, 0xe2, 0xce, 0x3b, 0x50, 0xb5, 0x98, 0x3f, 0x52, 0x6e, 0xa4, 0x5e, 0xa4, 0x0d, 0xfa, 0x3b,
  12567. 0xe7, 0xec, 0xea, 0x9b, 0x38, 0xbb, 0xf6, 0x7d, 0x9c, 0xfd, 0x10, 0x9a, 0xc7, 0xdc, 0xe1, 0xfe,
  12568. 0x29, 0x93, 0x0f, 0x80, 0x4d, 0x99, 0x32, 0x23, 0x9e, 0x11, 0xb7, 0x50, 0xd2, 0x63, 0x23, 0xc6,
  12569. 0xcf, 0x99, 0x3c, 0x9d, 0x4a, 0x32, 0xe2, 0x19, 0x71, 0x0b, 0xcb, 0xd1, 0x39, 0x17, 0xb2, 0xc8,
  12570. 0x48, 0x40, 0x40, 0x92, 0x11, 0xcf, 0x68, 0x9c, 0x73, 0x41, 0xa7, 0x9d, 0x00, 0x53, 0x02, 0x03,
  12571. 0x14, 0x60, 0x42, 0x00, 0x20, 0x7f, 0x50, 0x80, 0x91, 0x00, 0x24, 0x02, 0x4c, 0x0a, 0xd0, 0x8f,
  12572. 0xfe, 0xd3, 0xf8, 0x80, 0x19, 0x72, 0x75, 0x95, 0x20, 0x2e, 0x92, 0x04, 0x71, 0x51, 0xe8, 0xca,
  12573. 0x35, 0x58, 0xc9, 0x0f, 0xc4, 0x1b, 0xd9, 0x3d, 0xe8, 0x1c, 0x4c, 0xb2, 0xb9, 0x26, 0x9b, 0x1f,
  12574. 0xf5, 0x3e, 0x2c, 0xa4, 0x24, 0x30, 0x00, 0xde, 0xcf, 0x04, 0xf4, 0x9d, 0x6c, 0xa6, 0x8f, 0x44,
  12575. 0x33, 0xa1, 0xfc, 0x6d, 0x19, 0x16, 0x73, 0x3d, 0x78, 0xea, 0x2e, 0xe2, 0x38, 0xa2, 0x53, 0x77,
  12576. 0x81, 0xa7, 0xee, 0xe2, 0xff, 0x8c, 0xa4, 0x47, 0x00, 0xa1, 0x8f, 0xe1, 0x42, 0xc9, 0xb8, 0x9a,
  12577. 0x7c, 0x58, 0x48, 0xb8, 0x46, 0x8b, 0xda, 0x9f, 0x62, 0x76, 0x7e, 0x1f, 0xda, 0xca, 0x8d, 0xa9,
  12578. 0x10, 0x22, 0x78, 0x96, 0x62, 0x1b, 0xa0, 0x08, 0x0c, 0xa0, 0x3b, 0x50, 0xa5, 0x47, 0x97, 0x7a,
  12579. 0xb2, 0x3c, 0xd2, 0x06, 0xfd, 0x4d, 0x3c, 0xdc, 0xb8, 0xce, 0xc3, 0xcd, 0x62, 0x0f, 0x6b, 0x0f,
  12580. 0xa0, 0x21, 0xc1, 0xa0, 0x45, 0x51, 0xd2, 0xec, 0xb7, 0x67, 0xd3, 0x5e, 0xc4, 0x32, 0xa2, 0xc6,
  12581. 0xce, 0x3f, 0x3a, 0x50, 0x79, 0xc5, 0x85, 0x66, 0xc0, 0x42, 0xf6, 0x33, 0x9f, 0x96, 0x4d, 0xd5,
  12582. 0x73, 0x5f, 0x10, 0xbb, 0xf7, 0xae, 0xec, 0x47, 0x07, 0x9b, 0xf2, 0x19, 0x2a, 0xf7, 0x81, 0x4e,
  12583. 0x7b, 0x2b, 0x33, 0xb0, 0xf8, 0x63, 0x61, 0xf7, 0xc1, 0xf5, 0x42, 0xb8, 0xc4, 0xe7, 0xb0, 0x94,
  12584. 0xff, 0x20, 0xa7, 0x65, 0x15, 0x2b, 0xf8, 0x0c, 0xd8, 0xd5, 0xaf, 0x91, 0xc0, 0x99, 0x9f, 0xc3,
  12585. 0x8d, 0xcc, 0x17, 0x33, 0xed, 0xee, 0xdc, 0xd7, 0xae, 0xf4, 0xa7, 0xb8, 0x6e, 0xef, 0xaa, 0x6e,
  12586. 0x9c, 0xf0, 0x4b, 0xd0, 0xe6, 0xbf, 0xfb, 0x68, 0x7a, 0x6e, 0x58, 0xc1, 0xb7, 0xa9, 0xee, 0x8f,
  12587. 0xae, 0x95, 0x51, 0xa6, 0xc8, 0x7f, 0x3b, 0xc9, 0x99, 0xa2, 0xe0, 0xfb, 0x4f, 0x57, 0xbf, 0x46,
  12588. 0x02, 0x67, 0xb6, 0x60, 0xb5, 0xe8, 0xa1, 0x5f, 0xcb, 0xea, 0x75, 0xc9, 0xe7, 0x99, 0xee, 0x8f,
  12589. 0xbf, 0x87, 0x14, 0xae, 0x62, 0xc0, 0x42, 0xf6, 0x79, 0x39, 0x17, 0x81, 0x73, 0xaf, 0xfb, 0xb9,
  12590. 0x08, 0x2c, 0x7a, 0xe8, 0xfe, 0x1c, 0x96, 0xf2, 0x2f, 0x95, 0x39, 0x9b, 0x14, 0xbc, 0x93, 0xe6,
  12591. 0x6c, 0x52, 0xf8, 0xd4, 0x89, 0xda, 0x66, 0x5f, 0x35, 0x73, 0xda, 0xce, 0xbd, 0x83, 0xe6, 0xb4,
  12592. 0x2d, 0x7a, 0x12, 0x7d, 0x09, 0x8b, 0xf9, 0xb7, 0xc0, 0x5e, 0x7e, 0x50, 0xee, 0x51, 0xb2, 0x7b,
  12593. 0xff, 0x6a, 0x01, 0x9c, 0x76, 0x1f, 0xda, 0xa9, 0x17, 0x34, 0xed, 0x76, 0x7e, 0x44, 0x3a, 0x1c,
  12594. 0xee, 0x5e, 0xde, 0x89, 0x53, 0x3d, 0x85, 0x4e, 0xfa, 0xed, 0x44, 0xbb, 0x73, 0xc5, 0xb3, 0xca,
  12595. 0xeb, 0xee, 0xe6, 0xd5, 0x8f, 0x2e, 0x68, 0xc3, 0x2c, 0xb2, 0xce, 0xd9, 0x70, 0x0e, 0x76, 0x77,
  12596. 0xaf, 0x7d, 0x6b, 0xd2, 0x76, 0xa1, 0x9d, 0x42, 0x8e, 0xda, 0xad, 0x22, 0x98, 0x84, 0x33, 0x6d,
  12597. 0x14, 0x77, 0xe0, 0x14, 0x07, 0xb0, 0x98, 0x03, 0x4c, 0x39, 0x9b, 0x65, 0xc1, 0x5a, 0xce, 0x66,
  12598. 0x73, 0xb8, 0x6d, 0x3f, 0xd6, 0x88, 0xae, 0xb5, 0x85, 0x53, 0x29, 0x28, 0x55, 0x3c, 0x55, 0x02,
  12599. 0x99, 0x8c, 0x18, 0x7b, 0xa9, 0xe2, 0xab, 0x6d, 0x16, 0x6f, 0x23, 0x2a, 0xe9, 0x39, 0x83, 0x15,
  12600. 0x54, 0x6e, 0x6d, 0x0f, 0x5a, 0x71, 0x49, 0xd5, 0x36, 0x8a, 0x8b, 0x30, 0xce, 0x74, 0xfb, 0xb2,
  12601. 0x2e, 0x61, 0x4f, 0xfa, 0x4b, 0xff, 0xfc, 0x6e, 0xb3, 0xf4, 0xed, 0x77, 0x9b, 0xa5, 0x7f, 0x7d,
  12602. 0xb7, 0x59, 0xfa, 0x6d, 0xf9, 0xfc, 0x27, 0xc3, 0x3a, 0xfd, 0xdf, 0x93, 0x0f, 0xfe, 0x17, 0x00,
  12603. 0x00, 0xff, 0xff, 0x48, 0xca, 0xc4, 0x37, 0xdd, 0x22, 0x00, 0x00,
  12604. }