app_swaggerApi.json 465 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "crmeb_java_front",
  5. "version": "last",
  6. "description": "crmeb_java_front"
  7. },
  8. "basePath": "/",
  9. "tags": [
  10. {
  11. "name": "上传文件",
  12. "description": "Upload Front Controller"
  13. },
  14. {
  15. "name": "二维码服务",
  16. "description": "Qr Code Controller"
  17. },
  18. {
  19. "name": "优惠券",
  20. "description": "Coupon Controller"
  21. },
  22. {
  23. "name": "商品",
  24. "description": "Product Controller"
  25. },
  26. {
  27. "name": "商品 -- 购物车",
  28. "description": "Cart Controller"
  29. },
  30. {
  31. "name": "城市服务",
  32. "description": "City Controller"
  33. },
  34. {
  35. "name": "客服",
  36. "description": "Store Service Controller"
  37. },
  38. {
  39. "name": "微信 -- 开放平台",
  40. "description": "We Chat Controller"
  41. },
  42. {
  43. "name": "提货点",
  44. "description": "Store Controller"
  45. },
  46. {
  47. "name": "文章",
  48. "description": "Article Controller"
  49. },
  50. {
  51. "name": "物流公司",
  52. "description": "Express Controller"
  53. },
  54. {
  55. "name": "用户 -- 充值",
  56. "description": "User Recharge Controller"
  57. },
  58. {
  59. "name": "用户 -- 地址",
  60. "description": "User Address Controller"
  61. },
  62. {
  63. "name": "用户 -- 点赞/收藏",
  64. "description": "User Collect Controller"
  65. },
  66. {
  67. "name": "用户 -- 用户中心",
  68. "description": "User Controller"
  69. },
  70. {
  71. "name": "用户 -- 登录注册",
  72. "description": "Login Controller"
  73. },
  74. {
  75. "name": "用户 -- 签到",
  76. "description": "User Sign Controller"
  77. },
  78. {
  79. "name": "营销 -- 优惠券",
  80. "description": "User Coupon Controller"
  81. },
  82. {
  83. "name": "订单",
  84. "description": "Store Order Controller"
  85. },
  86. {
  87. "name": "首页",
  88. "description": "Index Controller"
  89. }
  90. ],
  91. "schemes": [
  92. "http"
  93. ],
  94. "paths": {
  95. "/api/front/user/upload/image": {
  96. "post": {
  97. "tags": [
  98. "上传文件"
  99. ],
  100. "summary": "图片上传",
  101. "consumes": [
  102. "multipart/form-data"
  103. ],
  104. "parameters": [
  105. {
  106. "name": "model",
  107. "in": "query",
  108. "required": false,
  109. "description": "模块 用户user,商品product,微信wechat,news文章",
  110. "type": "string"
  111. },
  112. {
  113. "name": "pid",
  114. "in": "query",
  115. "required": false,
  116. "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ",
  117. "type": "string"
  118. },
  119. {
  120. "name": "multipart",
  121. "in": "formData",
  122. "required": false,
  123. "description": "multipart",
  124. "type": "file"
  125. }
  126. ],
  127. "responses": {
  128. "200": {
  129. "description": "successful operation",
  130. "schema": {
  131. "type": "object",
  132. "properties": {
  133. "code": {
  134. "type": "integer",
  135. "format": "int64"
  136. },
  137. "data": {
  138. "type": "object",
  139. "properties": {
  140. "extName": {
  141. "type": "string"
  142. },
  143. "fileName": {
  144. "type": "string"
  145. },
  146. "fileSize": {
  147. "type": "integer",
  148. "format": "int64"
  149. },
  150. "serverPath": {
  151. "type": "string"
  152. },
  153. "type": {
  154. "type": "string"
  155. },
  156. "url": {
  157. "type": "string"
  158. }
  159. },
  160. "title": "FileResultVo",
  161. "$$ref": "#/definitions/FileResultVo"
  162. },
  163. "message": {
  164. "type": "string"
  165. }
  166. },
  167. "title": "CommonResult«FileResultVo»",
  168. "$$ref": "#/definitions/CommonResult«FileResultVo»"
  169. }
  170. }
  171. }
  172. }
  173. },
  174. "/api/front/qrcode/get": {
  175. "post": {
  176. "tags": [
  177. "二维码服务"
  178. ],
  179. "summary": "获取二维码",
  180. "consumes": [
  181. "application/json"
  182. ],
  183. "parameters": [
  184. {
  185. "name": "root",
  186. "in": "body",
  187. "schema": {
  188. "type": "object",
  189. "additionalProperties": {
  190. "type": "object"
  191. }
  192. }
  193. }
  194. ],
  195. "responses": {
  196. "200": {
  197. "description": "successful operation",
  198. "schema": {
  199. "type": "object",
  200. "properties": {
  201. "code": {
  202. "type": "integer",
  203. "format": "int64"
  204. },
  205. "data": {
  206. "type": "object"
  207. },
  208. "message": {
  209. "type": "string"
  210. }
  211. },
  212. "title": "CommonResult«Map«string,object»»",
  213. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  214. }
  215. }
  216. }
  217. }
  218. },
  219. "/api/front/qrcode/base64": {
  220. "post": {
  221. "tags": [
  222. "二维码服务"
  223. ],
  224. "summary": "远程图片转base64",
  225. "consumes": [
  226. "application/json"
  227. ],
  228. "parameters": [
  229. {
  230. "name": "url",
  231. "in": "query",
  232. "required": false,
  233. "description": "url",
  234. "type": "string"
  235. }
  236. ],
  237. "responses": {
  238. "200": {
  239. "description": "successful operation",
  240. "schema": {
  241. "type": "object",
  242. "properties": {
  243. "code": {
  244. "type": "integer",
  245. "format": "int64"
  246. },
  247. "data": {
  248. "type": "object"
  249. },
  250. "message": {
  251. "type": "string"
  252. }
  253. },
  254. "title": "CommonResult«Map«string,object»»",
  255. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  256. }
  257. }
  258. }
  259. }
  260. },
  261. "/api/front/coupons": {
  262. "get": {
  263. "tags": [
  264. "优惠券"
  265. ],
  266. "summary": "分页列表",
  267. "consumes": [
  268. "text/plain"
  269. ],
  270. "parameters": [
  271. {
  272. "name": "limit",
  273. "in": "query",
  274. "required": false,
  275. "description": "每页数量",
  276. "type": "string"
  277. },
  278. {
  279. "name": "page",
  280. "in": "query",
  281. "required": false,
  282. "description": "页码",
  283. "type": "string"
  284. },
  285. {
  286. "name": "productId",
  287. "in": "query",
  288. "required": false,
  289. "description": "productId",
  290. "type": "string"
  291. },
  292. {
  293. "name": "type",
  294. "in": "query",
  295. "required": false,
  296. "description": "type",
  297. "type": "string"
  298. },
  299. {
  300. "name": "raw",
  301. "in": "body",
  302. "description": "raw paramter",
  303. "schema": {
  304. "type": "string",
  305. "format": "binary"
  306. }
  307. }
  308. ],
  309. "responses": {
  310. "200": {
  311. "description": "successful operation",
  312. "schema": {
  313. "type": "object",
  314. "properties": {
  315. "code": {
  316. "type": "integer",
  317. "format": "int64"
  318. },
  319. "data": {
  320. "type": "array",
  321. "items": {
  322. "type": "object",
  323. "properties": {
  324. "createTime": {
  325. "type": "string",
  326. "format": "date-time",
  327. "description": "创建时间"
  328. },
  329. "day": {
  330. "type": "integer",
  331. "format": "int32",
  332. "description": "天数"
  333. },
  334. "id": {
  335. "type": "integer",
  336. "format": "int32",
  337. "description": "优惠券表ID"
  338. },
  339. "isDel": {
  340. "type": "boolean",
  341. "description": "是否删除 状态(0:否,1:是)"
  342. },
  343. "isFixedTime": {
  344. "type": "boolean",
  345. "description": "是否固定使用时间, 默认0 否, 1是"
  346. },
  347. "isLimited": {
  348. "type": "boolean",
  349. "description": "是否限量, 默认0 不限量, 1限量"
  350. },
  351. "isUse": {
  352. "type": "boolean",
  353. "description": "是否已领取未使用"
  354. },
  355. "lastTotal": {
  356. "type": "integer",
  357. "format": "int32",
  358. "description": "剩余数量"
  359. },
  360. "minPrice": {
  361. "type": "number",
  362. "description": "最低消费,0代表不限制"
  363. },
  364. "money": {
  365. "type": "number",
  366. "description": "兑换的优惠券面值"
  367. },
  368. "name": {
  369. "type": "string",
  370. "description": "优惠券名称"
  371. },
  372. "primaryKey": {
  373. "type": "string",
  374. "description": "所属商品id / 分类id"
  375. },
  376. "receiveEndTime": {
  377. "type": "string",
  378. "format": "date-time",
  379. "description": "可领取结束时间"
  380. },
  381. "receiveStartTime": {
  382. "type": "string",
  383. "format": "date-time",
  384. "description": "可领取开始时间"
  385. },
  386. "sort": {
  387. "type": "integer",
  388. "format": "int32",
  389. "description": "排序"
  390. },
  391. "status": {
  392. "type": "boolean",
  393. "description": "状态(0:关闭,1:开启)"
  394. },
  395. "total": {
  396. "type": "integer",
  397. "format": "int32",
  398. "description": "发放总数"
  399. },
  400. "type": {
  401. "type": "integer",
  402. "format": "int32",
  403. "description": "优惠券类型 0-通用 1 普通券, 2 新人券, 3 购买商品赠送券, 4 付费会员券"
  404. },
  405. "updateTime": {
  406. "type": "string",
  407. "format": "date-time",
  408. "description": "更新时间"
  409. },
  410. "useEndTime": {
  411. "type": "string",
  412. "format": "date-time",
  413. "description": "可使用时间范围 结束时间"
  414. },
  415. "useStartTime": {
  416. "type": "string",
  417. "format": "date-time",
  418. "description": "可使用时间范围 开始时间"
  419. }
  420. },
  421. "title": "StoreCoupon对象",
  422. "description": "优惠券表",
  423. "$$ref": "#/definitions/StoreCoupon对象"
  424. }
  425. },
  426. "message": {
  427. "type": "string"
  428. }
  429. },
  430. "title": "CommonResult«List«StoreCoupon对象»»",
  431. "$$ref": "#/definitions/CommonResult«List«StoreCoupon对象»»"
  432. }
  433. }
  434. }
  435. }
  436. },
  437. "/api/front/coupons/order": {
  438. "get": {
  439. "tags": [
  440. "优惠券"
  441. ],
  442. "summary": "当前购物车可用优惠券",
  443. "consumes": [
  444. "text/plain"
  445. ],
  446. "parameters": [
  447. {
  448. "name": "cartId",
  449. "in": "query",
  450. "required": false,
  451. "description": "cartId",
  452. "type": "string"
  453. },
  454. {
  455. "name": "raw",
  456. "in": "body",
  457. "description": "raw paramter",
  458. "schema": {
  459. "type": "string",
  460. "format": "binary"
  461. }
  462. }
  463. ],
  464. "responses": {
  465. "200": {
  466. "description": "successful operation",
  467. "schema": {
  468. "type": "object",
  469. "properties": {
  470. "code": {
  471. "type": "integer",
  472. "format": "int64"
  473. },
  474. "data": {
  475. "type": "array",
  476. "items": {
  477. "type": "object",
  478. "required": [
  479. "primaryKey"
  480. ],
  481. "properties": {
  482. "cid": {
  483. "type": "integer",
  484. "format": "int32",
  485. "description": "兑换的项目id"
  486. },
  487. "couponId": {
  488. "type": "integer",
  489. "format": "int32",
  490. "description": "优惠券发布id"
  491. },
  492. "createTime": {
  493. "type": "string",
  494. "format": "date-time",
  495. "description": "创建时间"
  496. },
  497. "id": {
  498. "type": "integer",
  499. "format": "int32",
  500. "description": "id"
  501. },
  502. "minPrice": {
  503. "type": "number",
  504. "description": "最低消费多少金额可用优惠券"
  505. },
  506. "money": {
  507. "type": "number",
  508. "description": "优惠券的面值"
  509. },
  510. "name": {
  511. "type": "string",
  512. "description": "优惠券名称"
  513. },
  514. "primaryKey": {
  515. "type": "string",
  516. "description": "主键id 商品id/分类id"
  517. },
  518. "receiveEndTime": {
  519. "type": "string",
  520. "format": "date-time",
  521. "description": "过期时间"
  522. },
  523. "receiveStartTime": {
  524. "type": "string",
  525. "format": "date-time",
  526. "description": "开始使用时间"
  527. },
  528. "status": {
  529. "type": "integer",
  530. "format": "int32",
  531. "description": "状态(0:未使用,1:已使用, 2:已失效)"
  532. },
  533. "type": {
  534. "type": "string",
  535. "description": "获取方式"
  536. },
  537. "uid": {
  538. "type": "integer",
  539. "format": "int32",
  540. "description": "领取人id"
  541. },
  542. "updateTime": {
  543. "type": "string",
  544. "format": "date-time",
  545. "description": "更新时间"
  546. },
  547. "useTime": {
  548. "type": "string",
  549. "format": "date-time",
  550. "description": "使用时间"
  551. },
  552. "useType": {
  553. "type": "integer",
  554. "format": "int32",
  555. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  556. }
  557. },
  558. "title": "StoreCouponUserOrder对象",
  559. "description": "下单之前可以使用的优惠券对象",
  560. "$$ref": "#/definitions/StoreCouponUserOrder对象"
  561. }
  562. },
  563. "message": {
  564. "type": "string"
  565. }
  566. },
  567. "title": "CommonResult«List«StoreCouponUserOrder对象»»",
  568. "$$ref": "#/definitions/CommonResult«List«StoreCouponUserOrder对象»»"
  569. }
  570. }
  571. }
  572. }
  573. },
  574. "/api/front/product/hot": {
  575. "get": {
  576. "tags": [
  577. "商品"
  578. ],
  579. "summary": "为你推荐",
  580. "consumes": [
  581. "text/plain"
  582. ],
  583. "parameters": [
  584. {
  585. "name": "limit",
  586. "in": "query",
  587. "required": false,
  588. "description": "每页数量",
  589. "type": "string"
  590. },
  591. {
  592. "name": "page",
  593. "in": "query",
  594. "required": false,
  595. "description": "页码",
  596. "type": "string"
  597. },
  598. {
  599. "name": "raw",
  600. "in": "body",
  601. "description": "raw paramter",
  602. "schema": {
  603. "type": "string",
  604. "format": "binary"
  605. }
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "successful operation",
  611. "schema": {
  612. "type": "object",
  613. "properties": {
  614. "code": {
  615. "type": "integer",
  616. "format": "int64"
  617. },
  618. "data": {
  619. "type": "object",
  620. "properties": {
  621. "limit": {
  622. "type": "integer",
  623. "format": "int32"
  624. },
  625. "list": {
  626. "type": "array",
  627. "items": {
  628. "type": "object",
  629. "properties": {
  630. "cateId": {
  631. "type": "array",
  632. "description": "分类id",
  633. "items": {
  634. "type": "integer",
  635. "format": "int32"
  636. }
  637. },
  638. "id": {
  639. "type": "integer",
  640. "format": "int32",
  641. "description": "商品id"
  642. },
  643. "image": {
  644. "type": "string",
  645. "description": "商品图片"
  646. },
  647. "otPrice": {
  648. "type": "number",
  649. "description": "市场价"
  650. },
  651. "price": {
  652. "type": "number",
  653. "description": "商品价格"
  654. },
  655. "sales": {
  656. "type": "integer",
  657. "format": "int32",
  658. "description": "销量"
  659. },
  660. "sort": {
  661. "type": "integer",
  662. "format": "int32",
  663. "description": "排序"
  664. },
  665. "stock": {
  666. "type": "integer",
  667. "format": "int32",
  668. "description": "库存"
  669. },
  670. "storeName": {
  671. "type": "string",
  672. "description": "商品名称"
  673. },
  674. "unitName": {
  675. "type": "string",
  676. "description": "单位名"
  677. }
  678. },
  679. "title": "ProductResponse对象",
  680. "description": "商品表",
  681. "$$ref": "#/definitions/ProductResponse对象"
  682. }
  683. },
  684. "page": {
  685. "type": "integer",
  686. "format": "int32"
  687. },
  688. "total": {
  689. "type": "integer",
  690. "format": "int64"
  691. },
  692. "totalPage": {
  693. "type": "integer",
  694. "format": "int32"
  695. }
  696. },
  697. "title": "CommonPage«ProductResponse对象»",
  698. "$$ref": "#/definitions/CommonPage«ProductResponse对象»"
  699. },
  700. "message": {
  701. "type": "string"
  702. }
  703. },
  704. "title": "CommonResult«CommonPage«ProductResponse对象»»",
  705. "$$ref": "#/definitions/CommonResult«CommonPage«ProductResponse对象»»"
  706. }
  707. }
  708. }
  709. }
  710. },
  711. "/api/front/products": {
  712. "get": {
  713. "tags": [
  714. "商品"
  715. ],
  716. "summary": "商品列表",
  717. "consumes": [
  718. "text/plain"
  719. ],
  720. "parameters": [
  721. {
  722. "name": "cid",
  723. "in": "query",
  724. "required": false,
  725. "description": "分类id",
  726. "type": "string"
  727. },
  728. {
  729. "name": "keyword",
  730. "in": "query",
  731. "required": false,
  732. "description": "搜索关键字",
  733. "type": "string"
  734. },
  735. {
  736. "name": "limit",
  737. "in": "query",
  738. "required": false,
  739. "description": "每页数量",
  740. "type": "string"
  741. },
  742. {
  743. "name": "news",
  744. "in": "query",
  745. "required": false,
  746. "description": "是否新品",
  747. "type": "string"
  748. },
  749. {
  750. "name": "page",
  751. "in": "query",
  752. "required": false,
  753. "description": "页码",
  754. "type": "string"
  755. },
  756. {
  757. "name": "priceOrder",
  758. "in": "query",
  759. "required": false,
  760. "description": "价格排序",
  761. "type": "string"
  762. },
  763. {
  764. "name": "salesOrder",
  765. "in": "query",
  766. "required": false,
  767. "description": "销量排序",
  768. "type": "string"
  769. },
  770. {
  771. "name": "raw",
  772. "in": "body",
  773. "description": "raw paramter",
  774. "schema": {
  775. "type": "string",
  776. "format": "binary"
  777. }
  778. }
  779. ],
  780. "responses": {
  781. "200": {
  782. "description": "successful operation",
  783. "schema": {
  784. "type": "object",
  785. "properties": {
  786. "code": {
  787. "type": "integer",
  788. "format": "int64"
  789. },
  790. "data": {
  791. "type": "object",
  792. "properties": {
  793. "limit": {
  794. "type": "integer",
  795. "format": "int32"
  796. },
  797. "list": {
  798. "type": "array",
  799. "items": {
  800. "type": "object",
  801. "properties": {
  802. "cateId": {
  803. "type": "array",
  804. "description": "分类id",
  805. "items": {
  806. "type": "integer",
  807. "format": "int32"
  808. }
  809. },
  810. "id": {
  811. "type": "integer",
  812. "format": "int32",
  813. "description": "商品id"
  814. },
  815. "image": {
  816. "type": "string",
  817. "description": "商品图片"
  818. },
  819. "otPrice": {
  820. "type": "number",
  821. "description": "市场价"
  822. },
  823. "price": {
  824. "type": "number",
  825. "description": "商品价格"
  826. },
  827. "sales": {
  828. "type": "integer",
  829. "format": "int32",
  830. "description": "销量"
  831. },
  832. "sort": {
  833. "type": "integer",
  834. "format": "int32",
  835. "description": "排序"
  836. },
  837. "stock": {
  838. "type": "integer",
  839. "format": "int32",
  840. "description": "库存"
  841. },
  842. "storeName": {
  843. "type": "string",
  844. "description": "商品名称"
  845. },
  846. "unitName": {
  847. "type": "string",
  848. "description": "单位名"
  849. }
  850. },
  851. "title": "ProductResponse对象",
  852. "description": "商品表",
  853. "$$ref": "#/definitions/ProductResponse对象"
  854. }
  855. },
  856. "page": {
  857. "type": "integer",
  858. "format": "int32"
  859. },
  860. "total": {
  861. "type": "integer",
  862. "format": "int64"
  863. },
  864. "totalPage": {
  865. "type": "integer",
  866. "format": "int32"
  867. }
  868. },
  869. "title": "CommonPage«ProductResponse对象»",
  870. "$$ref": "#/definitions/CommonPage«ProductResponse对象»"
  871. },
  872. "message": {
  873. "type": "string"
  874. }
  875. },
  876. "title": "CommonResult«CommonPage«ProductResponse对象»»",
  877. "$$ref": "#/definitions/CommonResult«CommonPage«ProductResponse对象»»"
  878. }
  879. }
  880. }
  881. }
  882. },
  883. "/api/front/reply/list/{id}": {
  884. "get": {
  885. "tags": [
  886. "商品"
  887. ],
  888. "summary": "商品评论列表",
  889. "consumes": [
  890. "text/plain"
  891. ],
  892. "parameters": [
  893. {
  894. "name": "id",
  895. "in": "path",
  896. "description": "id",
  897. "required": true,
  898. "type": "string"
  899. },
  900. {
  901. "name": "limit",
  902. "in": "query",
  903. "required": false,
  904. "description": "每页数量",
  905. "type": "string"
  906. },
  907. {
  908. "name": "page",
  909. "in": "query",
  910. "required": false,
  911. "description": "页码",
  912. "type": "string"
  913. },
  914. {
  915. "name": "type",
  916. "in": "query",
  917. "required": false,
  918. "description": "评价等级|0=全部,1=好评,2=中评,3=差评",
  919. "type": "string"
  920. },
  921. {
  922. "name": "raw",
  923. "in": "body",
  924. "description": "raw paramter",
  925. "schema": {
  926. "type": "string",
  927. "format": "binary"
  928. }
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "successful operation",
  934. "schema": {
  935. "type": "object",
  936. "properties": {
  937. "code": {
  938. "type": "integer",
  939. "format": "int64"
  940. },
  941. "data": {
  942. "type": "object",
  943. "properties": {
  944. "limit": {
  945. "type": "integer",
  946. "format": "int32"
  947. },
  948. "list": {
  949. "type": "array",
  950. "items": {
  951. "type": "object",
  952. "properties": {
  953. "avatar": {
  954. "type": "string",
  955. "description": "用户头像"
  956. },
  957. "comment": {
  958. "type": "string",
  959. "description": "评论内容"
  960. },
  961. "createTime": {
  962. "type": "string",
  963. "format": "date-time",
  964. "description": "评论时间"
  965. },
  966. "id": {
  967. "type": "integer",
  968. "format": "int32",
  969. "description": "评论ID"
  970. },
  971. "isDel": {
  972. "type": "boolean",
  973. "description": "0未删除1已删除"
  974. },
  975. "isReply": {
  976. "type": "boolean",
  977. "description": "0未回复1已回复"
  978. },
  979. "merchantReplyContent": {
  980. "type": "string",
  981. "description": "管理员回复内容"
  982. },
  983. "merchantReplyTime": {
  984. "type": "integer",
  985. "format": "int32",
  986. "description": "管理员回复时间"
  987. },
  988. "nickname": {
  989. "type": "string",
  990. "description": "用户名称"
  991. },
  992. "oid": {
  993. "type": "integer",
  994. "format": "int32",
  995. "description": "订单ID"
  996. },
  997. "pics": {
  998. "type": "array",
  999. "description": "评论图片",
  1000. "items": {
  1001. "type": "string"
  1002. }
  1003. },
  1004. "productId": {
  1005. "type": "integer",
  1006. "format": "int32",
  1007. "description": "商品id"
  1008. },
  1009. "productScore": {
  1010. "type": "integer",
  1011. "format": "int32",
  1012. "description": "商品分数"
  1013. },
  1014. "replyType": {
  1015. "type": "string",
  1016. "description": "某种商品类型(普通商品、秒杀商品)"
  1017. },
  1018. "serviceScore": {
  1019. "type": "integer",
  1020. "format": "int32",
  1021. "description": "服务分数"
  1022. },
  1023. "storeProduct": {
  1024. "type": "object",
  1025. "properties": {
  1026. "activity": {
  1027. "type": "string",
  1028. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  1029. },
  1030. "addTime": {
  1031. "type": "integer",
  1032. "format": "int32",
  1033. "description": "添加时间"
  1034. },
  1035. "barCode": {
  1036. "type": "string",
  1037. "description": "商品条码(一维码)"
  1038. },
  1039. "browse": {
  1040. "type": "integer",
  1041. "format": "int32",
  1042. "description": "浏览量"
  1043. },
  1044. "cateId": {
  1045. "type": "string",
  1046. "description": "分类id"
  1047. },
  1048. "codePath": {
  1049. "type": "string",
  1050. "description": "商品二维码地址(用户小程序海报)"
  1051. },
  1052. "cost": {
  1053. "type": "number",
  1054. "description": "成本价"
  1055. },
  1056. "ficti": {
  1057. "type": "integer",
  1058. "format": "int32",
  1059. "description": "虚拟销量"
  1060. },
  1061. "giveIntegral": {
  1062. "type": "number",
  1063. "description": "获得积分"
  1064. },
  1065. "id": {
  1066. "type": "integer",
  1067. "format": "int32",
  1068. "description": "商品id"
  1069. },
  1070. "image": {
  1071. "type": "string",
  1072. "description": "商品图片"
  1073. },
  1074. "isBargain": {
  1075. "type": "boolean",
  1076. "description": "砍价状态 0未开启 1开启"
  1077. },
  1078. "isBenefit": {
  1079. "type": "boolean",
  1080. "description": "是否优惠"
  1081. },
  1082. "isBest": {
  1083. "type": "boolean",
  1084. "description": "是否精品"
  1085. },
  1086. "isDel": {
  1087. "type": "boolean",
  1088. "description": "是否删除"
  1089. },
  1090. "isGood": {
  1091. "type": "boolean",
  1092. "description": "是否优品推荐"
  1093. },
  1094. "isHot": {
  1095. "type": "boolean",
  1096. "description": "是否热卖"
  1097. },
  1098. "isNew": {
  1099. "type": "boolean",
  1100. "description": "是否新品"
  1101. },
  1102. "isPostage": {
  1103. "type": "boolean",
  1104. "description": "是否包邮"
  1105. },
  1106. "isSeckill": {
  1107. "type": "boolean",
  1108. "description": "秒杀状态 0 未开启 1已开启"
  1109. },
  1110. "isShow": {
  1111. "type": "boolean",
  1112. "description": "状态(0:未上架,1:上架)"
  1113. },
  1114. "isSub": {
  1115. "type": "boolean",
  1116. "description": "是否单独分佣"
  1117. },
  1118. "keyword": {
  1119. "type": "string",
  1120. "description": "关键字"
  1121. },
  1122. "merId": {
  1123. "type": "integer",
  1124. "format": "int32",
  1125. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  1126. },
  1127. "merUse": {
  1128. "type": "boolean",
  1129. "description": "商户是否代理 0不可代理1可代理"
  1130. },
  1131. "otPrice": {
  1132. "type": "number",
  1133. "description": "市场价"
  1134. },
  1135. "postage": {
  1136. "type": "number",
  1137. "description": "邮费"
  1138. },
  1139. "price": {
  1140. "type": "number",
  1141. "description": "商品价格"
  1142. },
  1143. "sales": {
  1144. "type": "integer",
  1145. "format": "int32",
  1146. "description": "销量"
  1147. },
  1148. "sliderImage": {
  1149. "type": "string",
  1150. "description": "轮播图"
  1151. },
  1152. "sort": {
  1153. "type": "integer",
  1154. "format": "int32",
  1155. "description": "排序"
  1156. },
  1157. "soureLink": {
  1158. "type": "string",
  1159. "description": "淘宝京东1688类型"
  1160. },
  1161. "specType": {
  1162. "type": "boolean",
  1163. "description": "规格 0单 1多"
  1164. },
  1165. "stock": {
  1166. "type": "integer",
  1167. "format": "int32",
  1168. "description": "库存"
  1169. },
  1170. "storeInfo": {
  1171. "type": "string",
  1172. "description": "商品简介"
  1173. },
  1174. "storeName": {
  1175. "type": "string",
  1176. "description": "商品名称"
  1177. },
  1178. "tempId": {
  1179. "type": "integer",
  1180. "format": "int32",
  1181. "description": "运费模板ID"
  1182. },
  1183. "unitName": {
  1184. "type": "string",
  1185. "description": "单位名"
  1186. },
  1187. "videoLink": {
  1188. "type": "string",
  1189. "description": "主图视频链接"
  1190. },
  1191. "vipPrice": {
  1192. "type": "number",
  1193. "description": "会员价格"
  1194. }
  1195. },
  1196. "title": "StoreProduct对象",
  1197. "description": "商品表",
  1198. "$$ref": "#/definitions/StoreProduct对象"
  1199. },
  1200. "uid": {
  1201. "type": "integer",
  1202. "format": "int32",
  1203. "description": "用户ID"
  1204. },
  1205. "updateTime": {
  1206. "type": "string",
  1207. "format": "date-time",
  1208. "description": "更新时间"
  1209. }
  1210. },
  1211. "title": "StoreProductReplyResponse",
  1212. "$$ref": "#/definitions/StoreProductReplyResponse"
  1213. }
  1214. },
  1215. "page": {
  1216. "type": "integer",
  1217. "format": "int32"
  1218. },
  1219. "total": {
  1220. "type": "integer",
  1221. "format": "int64"
  1222. },
  1223. "totalPage": {
  1224. "type": "integer",
  1225. "format": "int32"
  1226. }
  1227. },
  1228. "title": "CommonPage«StoreProductReplyResponse»",
  1229. "$$ref": "#/definitions/CommonPage«StoreProductReplyResponse»"
  1230. },
  1231. "message": {
  1232. "type": "string"
  1233. }
  1234. },
  1235. "title": "CommonResult«CommonPage«StoreProductReplyResponse»»",
  1236. "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»"
  1237. }
  1238. }
  1239. }
  1240. }
  1241. },
  1242. "/api/front/reply/config/{id}": {
  1243. "get": {
  1244. "tags": [
  1245. "商品"
  1246. ],
  1247. "summary": "商品评论数量",
  1248. "consumes": [
  1249. "text/plain"
  1250. ],
  1251. "parameters": [
  1252. {
  1253. "name": "id",
  1254. "in": "path",
  1255. "description": "id",
  1256. "required": true,
  1257. "type": "string"
  1258. },
  1259. {
  1260. "name": "raw",
  1261. "in": "body",
  1262. "description": "raw paramter",
  1263. "schema": {
  1264. "type": "string",
  1265. "format": "binary"
  1266. }
  1267. }
  1268. ],
  1269. "responses": {
  1270. "200": {
  1271. "description": "successful operation",
  1272. "schema": {
  1273. "type": "object",
  1274. "properties": {
  1275. "code": {
  1276. "type": "integer",
  1277. "format": "int64"
  1278. },
  1279. "data": {
  1280. "type": "object",
  1281. "properties": {
  1282. "goodCount": {
  1283. "type": "integer",
  1284. "format": "int64",
  1285. "description": "好评总数"
  1286. },
  1287. "inCount": {
  1288. "type": "integer",
  1289. "format": "int64",
  1290. "description": "中评总数"
  1291. },
  1292. "poorCount": {
  1293. "type": "integer",
  1294. "format": "int64",
  1295. "description": "差评总数"
  1296. },
  1297. "replyChance": {
  1298. "type": "string",
  1299. "description": "好评率"
  1300. },
  1301. "replyStar": {
  1302. "type": "integer",
  1303. "format": "int32",
  1304. "description": "评分星数"
  1305. },
  1306. "sumCount": {
  1307. "type": "integer",
  1308. "format": "int64",
  1309. "description": "评论总数"
  1310. }
  1311. },
  1312. "title": "StoreProductReplayCountResponse对象",
  1313. "description": "产品评价数量和好评度",
  1314. "$$ref": "#/definitions/StoreProductReplayCountResponse对象"
  1315. },
  1316. "message": {
  1317. "type": "string"
  1318. }
  1319. },
  1320. "title": "CommonResult«StoreProductReplayCountResponse对象»",
  1321. "$$ref": "#/definitions/CommonResult«StoreProductReplayCountResponse对象»"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/api/front/product/detail/{id}": {
  1328. "get": {
  1329. "tags": [
  1330. "商品"
  1331. ],
  1332. "summary": "商品详情",
  1333. "consumes": [
  1334. "text/plain"
  1335. ],
  1336. "parameters": [
  1337. {
  1338. "name": "id",
  1339. "in": "path",
  1340. "description": "id",
  1341. "required": true,
  1342. "type": "string"
  1343. },
  1344. {
  1345. "name": "raw",
  1346. "in": "body",
  1347. "description": "raw paramter",
  1348. "schema": {
  1349. "type": "string",
  1350. "format": "binary"
  1351. }
  1352. }
  1353. ],
  1354. "responses": {
  1355. "200": {
  1356. "description": "successful operation",
  1357. "schema": {
  1358. "type": "object",
  1359. "properties": {
  1360. "code": {
  1361. "type": "integer",
  1362. "format": "int64"
  1363. },
  1364. "data": {
  1365. "type": "object",
  1366. "properties": {
  1367. "activity": {
  1368. "type": "array",
  1369. "description": "拼团,砍价,秒杀商品集合",
  1370. "items": {
  1371. "type": "object"
  1372. }
  1373. },
  1374. "base64Image": {
  1375. "type": "string",
  1376. "description": "主图base64"
  1377. },
  1378. "goodList": {
  1379. "type": "array",
  1380. "description": "优品推荐列表",
  1381. "items": {
  1382. "type": "object",
  1383. "properties": {
  1384. "activity": {
  1385. "type": "array",
  1386. "description": "秒杀,团购,砍价",
  1387. "items": {
  1388. "type": "object"
  1389. }
  1390. },
  1391. "checkCoupon": {
  1392. "type": "boolean",
  1393. "description": "可用优惠券"
  1394. },
  1395. "id": {
  1396. "type": "integer",
  1397. "format": "int32",
  1398. "description": "id"
  1399. },
  1400. "image": {
  1401. "type": "string",
  1402. "description": "img Url"
  1403. },
  1404. "otPrice": {
  1405. "type": "number",
  1406. "description": "市场价"
  1407. },
  1408. "price": {
  1409. "type": "number",
  1410. "description": "商品价"
  1411. },
  1412. "storeName": {
  1413. "type": "string",
  1414. "description": "商品名称"
  1415. }
  1416. },
  1417. "title": "StoreProductRecommendResponse",
  1418. "$$ref": "#/definitions/StoreProductRecommendResponse"
  1419. }
  1420. },
  1421. "priceName": {
  1422. "type": "string",
  1423. "description": "返佣金额区间"
  1424. },
  1425. "productAttr": {
  1426. "type": "array",
  1427. "description": "产品属性",
  1428. "items": {
  1429. "type": "object",
  1430. "title": "HashMap«string,object»",
  1431. "additionalProperties": {
  1432. "type": "object"
  1433. },
  1434. "$$ref": "#/definitions/HashMap«string,object»"
  1435. }
  1436. },
  1437. "productValue": {
  1438. "type": "object",
  1439. "description": "商品属性详情",
  1440. "additionalProperties": {
  1441. "type": "object"
  1442. }
  1443. },
  1444. "reply": {
  1445. "type": "object",
  1446. "description": "最新评价"
  1447. },
  1448. "replyChance": {
  1449. "type": "integer",
  1450. "format": "int32",
  1451. "description": "好评率"
  1452. },
  1453. "replyCount": {
  1454. "type": "integer",
  1455. "format": "int32",
  1456. "description": "评价数量"
  1457. },
  1458. "storeInfo": {
  1459. "type": "object",
  1460. "properties": {
  1461. "activity": {
  1462. "type": "string",
  1463. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  1464. },
  1465. "addTime": {
  1466. "type": "integer",
  1467. "format": "int32",
  1468. "description": "添加时间"
  1469. },
  1470. "barCode": {
  1471. "type": "string",
  1472. "description": "商品条码(一维码)"
  1473. },
  1474. "browse": {
  1475. "type": "integer",
  1476. "format": "int32",
  1477. "description": "浏览量"
  1478. },
  1479. "cateId": {
  1480. "type": "string",
  1481. "description": "分类id"
  1482. },
  1483. "cateIds": {
  1484. "type": "array",
  1485. "items": {
  1486. "type": "integer",
  1487. "format": "int32"
  1488. }
  1489. },
  1490. "cateValues": {
  1491. "type": "string",
  1492. "description": "分类中文"
  1493. },
  1494. "codePath": {
  1495. "type": "string",
  1496. "description": "商品二维码地址(用户小程序海报)"
  1497. },
  1498. "content": {
  1499. "type": "string",
  1500. "description": "商品描述"
  1501. },
  1502. "cost": {
  1503. "type": "number",
  1504. "description": "成本价"
  1505. },
  1506. "ficti": {
  1507. "type": "integer",
  1508. "format": "int32",
  1509. "description": "虚拟销量"
  1510. },
  1511. "giveIntegral": {
  1512. "type": "number",
  1513. "description": "获得积分"
  1514. },
  1515. "id": {
  1516. "type": "integer",
  1517. "format": "int32",
  1518. "description": "商品id"
  1519. },
  1520. "image": {
  1521. "type": "string",
  1522. "description": "商品图片"
  1523. },
  1524. "isBargain": {
  1525. "type": "boolean",
  1526. "description": "砍价状态 0未开启 1开启"
  1527. },
  1528. "isBenefit": {
  1529. "type": "boolean",
  1530. "description": "是否优惠"
  1531. },
  1532. "isBest": {
  1533. "type": "boolean",
  1534. "description": "是否精品"
  1535. },
  1536. "isDel": {
  1537. "type": "boolean",
  1538. "description": "是否删除"
  1539. },
  1540. "isGood": {
  1541. "type": "boolean",
  1542. "description": "是否优品推荐"
  1543. },
  1544. "isHot": {
  1545. "type": "boolean",
  1546. "description": "是否热卖"
  1547. },
  1548. "isNew": {
  1549. "type": "boolean",
  1550. "description": "是否新品"
  1551. },
  1552. "isPostage": {
  1553. "type": "boolean",
  1554. "description": "是否包邮"
  1555. },
  1556. "isSeckill": {
  1557. "type": "boolean",
  1558. "description": "秒杀状态 0 未开启 1已开启"
  1559. },
  1560. "isShow": {
  1561. "type": "boolean",
  1562. "description": "状态(0:未上架,1:上架)"
  1563. },
  1564. "isSub": {
  1565. "type": "boolean",
  1566. "description": "是否单独分佣"
  1567. },
  1568. "keyword": {
  1569. "type": "string",
  1570. "description": "关键字"
  1571. },
  1572. "merId": {
  1573. "type": "integer",
  1574. "format": "int32",
  1575. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  1576. },
  1577. "merUse": {
  1578. "type": "boolean",
  1579. "description": "商户是否代理 0不可代理1可代理"
  1580. },
  1581. "otPrice": {
  1582. "type": "number",
  1583. "description": "市场价"
  1584. },
  1585. "postage": {
  1586. "type": "number",
  1587. "description": "邮费"
  1588. },
  1589. "price": {
  1590. "type": "number",
  1591. "description": "商品价格"
  1592. },
  1593. "sales": {
  1594. "type": "integer",
  1595. "format": "int32",
  1596. "description": "销量"
  1597. },
  1598. "sliderImage": {
  1599. "type": "string",
  1600. "description": "轮播图"
  1601. },
  1602. "sort": {
  1603. "type": "integer",
  1604. "format": "int32",
  1605. "description": "排序"
  1606. },
  1607. "soureLink": {
  1608. "type": "string",
  1609. "description": "淘宝京东1688类型"
  1610. },
  1611. "specType": {
  1612. "type": "boolean",
  1613. "description": "规格 0单 1多"
  1614. },
  1615. "stock": {
  1616. "type": "integer",
  1617. "format": "int32",
  1618. "description": "库存"
  1619. },
  1620. "storeInfo": {
  1621. "type": "string",
  1622. "description": "商品简介"
  1623. },
  1624. "storeName": {
  1625. "type": "string",
  1626. "description": "商品名称"
  1627. },
  1628. "tempId": {
  1629. "type": "integer",
  1630. "format": "int32",
  1631. "description": "运费模板ID"
  1632. },
  1633. "unitName": {
  1634. "type": "string",
  1635. "description": "单位名"
  1636. },
  1637. "userCollect": {
  1638. "type": "boolean",
  1639. "description": "收藏标识"
  1640. },
  1641. "userLike": {
  1642. "type": "boolean",
  1643. "description": "点赞标识"
  1644. },
  1645. "videoLink": {
  1646. "type": "string",
  1647. "description": "主图视频链接"
  1648. },
  1649. "vipPrice": {
  1650. "type": "number",
  1651. "description": "会员价格"
  1652. }
  1653. },
  1654. "title": "StoreProductStoreInfoResponse对象",
  1655. "description": "商品表",
  1656. "$$ref": "#/definitions/StoreProductStoreInfoResponse对象"
  1657. }
  1658. },
  1659. "title": "ProductDetailResponse对象",
  1660. "description": "商品详情H5",
  1661. "$$ref": "#/definitions/ProductDetailResponse对象"
  1662. },
  1663. "message": {
  1664. "type": "string"
  1665. }
  1666. },
  1667. "title": "CommonResult«ProductDetailResponse对象»",
  1668. "$$ref": "#/definitions/CommonResult«ProductDetailResponse对象»"
  1669. }
  1670. }
  1671. }
  1672. }
  1673. },
  1674. "/api/front/category": {
  1675. "get": {
  1676. "tags": [
  1677. "商品"
  1678. ],
  1679. "summary": "获取分类",
  1680. "consumes": [
  1681. "text/plain"
  1682. ],
  1683. "parameters": [
  1684. {
  1685. "name": "raw",
  1686. "in": "body",
  1687. "description": "raw paramter",
  1688. "schema": {
  1689. "type": "string",
  1690. "format": "binary"
  1691. }
  1692. }
  1693. ],
  1694. "responses": {
  1695. "200": {
  1696. "description": "successful operation",
  1697. "schema": {
  1698. "type": "object",
  1699. "properties": {
  1700. "code": {
  1701. "type": "integer",
  1702. "format": "int64"
  1703. },
  1704. "data": {
  1705. "type": "array",
  1706. "items": {
  1707. "type": "object",
  1708. "properties": {
  1709. "child": {
  1710. "type": "array",
  1711. "items": {
  1712. "originalRef": "CategoryTreeVo",
  1713. "$ref": "#/definitions/CategoryTreeVo"
  1714. }
  1715. },
  1716. "extra": {
  1717. "type": "string",
  1718. "description": "扩展字段"
  1719. },
  1720. "id": {
  1721. "type": "integer",
  1722. "format": "int32"
  1723. },
  1724. "name": {
  1725. "type": "string",
  1726. "description": "分类名称"
  1727. },
  1728. "path": {
  1729. "type": "string",
  1730. "description": "路径"
  1731. },
  1732. "pid": {
  1733. "type": "integer",
  1734. "format": "int32",
  1735. "description": "父级ID"
  1736. },
  1737. "sort": {
  1738. "type": "integer",
  1739. "format": "int32",
  1740. "description": "排序"
  1741. },
  1742. "status": {
  1743. "type": "boolean",
  1744. "description": "状态, 0正常,1失效"
  1745. },
  1746. "type": {
  1747. "type": "integer",
  1748. "format": "int32",
  1749. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
  1750. },
  1751. "url": {
  1752. "type": "string",
  1753. "description": "地址"
  1754. }
  1755. },
  1756. "title": "CategoryTreeVo",
  1757. "$$ref": "#/definitions/CategoryTreeVo"
  1758. }
  1759. },
  1760. "message": {
  1761. "type": "string"
  1762. }
  1763. },
  1764. "title": "CommonResult«List«CategoryTreeVo»»",
  1765. "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/api/front/cart/num": {
  1772. "post": {
  1773. "tags": [
  1774. "商品 -- 购物车"
  1775. ],
  1776. "summary": "修改",
  1777. "consumes": [
  1778. "application/json"
  1779. ],
  1780. "parameters": [
  1781. {
  1782. "name": "id",
  1783. "in": "query",
  1784. "required": false,
  1785. "description": "id",
  1786. "type": "string"
  1787. },
  1788. {
  1789. "name": "number",
  1790. "in": "query",
  1791. "required": false,
  1792. "description": "number",
  1793. "type": "string"
  1794. }
  1795. ],
  1796. "responses": {
  1797. "200": {
  1798. "description": "successful operation",
  1799. "schema": {
  1800. "type": "object",
  1801. "properties": {
  1802. "code": {
  1803. "type": "integer",
  1804. "format": "int64"
  1805. },
  1806. "data": {
  1807. "type": "string"
  1808. },
  1809. "message": {
  1810. "type": "string"
  1811. }
  1812. },
  1813. "title": "CommonResult«string»",
  1814. "$$ref": "#/definitions/CommonResult«string»"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/api/front/cart/list": {
  1821. "get": {
  1822. "tags": [
  1823. "商品 -- 购物车"
  1824. ],
  1825. "summary": "分页列表",
  1826. "consumes": [
  1827. "text/plain"
  1828. ],
  1829. "parameters": [
  1830. {
  1831. "name": "isValid",
  1832. "in": "query",
  1833. "required": false,
  1834. "description": "isValid",
  1835. "type": "string"
  1836. },
  1837. {
  1838. "name": "limit",
  1839. "in": "query",
  1840. "required": false,
  1841. "description": "每页数量",
  1842. "type": "string"
  1843. },
  1844. {
  1845. "name": "page",
  1846. "in": "query",
  1847. "required": false,
  1848. "description": "页码",
  1849. "type": "string"
  1850. },
  1851. {
  1852. "name": "raw",
  1853. "in": "body",
  1854. "description": "raw paramter",
  1855. "schema": {
  1856. "type": "string",
  1857. "format": "binary"
  1858. }
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "successful operation",
  1864. "schema": {
  1865. "type": "object",
  1866. "properties": {
  1867. "code": {
  1868. "type": "integer",
  1869. "format": "int64"
  1870. },
  1871. "data": {
  1872. "type": "object",
  1873. "properties": {
  1874. "limit": {
  1875. "type": "integer",
  1876. "format": "int32"
  1877. },
  1878. "list": {
  1879. "type": "array",
  1880. "items": {
  1881. "type": "object",
  1882. "properties": {
  1883. "addTime": {
  1884. "type": "string"
  1885. },
  1886. "attrStatus": {
  1887. "type": "boolean",
  1888. "description": "商品是否有效"
  1889. },
  1890. "bargainId": {
  1891. "type": "integer",
  1892. "format": "int32",
  1893. "description": "砍价id"
  1894. },
  1895. "brokerage": {
  1896. "type": "number",
  1897. "description": "一级分佣"
  1898. },
  1899. "brokerageTwo": {
  1900. "type": "number",
  1901. "description": "二级分佣"
  1902. },
  1903. "cartNum": {
  1904. "type": "integer",
  1905. "format": "int32",
  1906. "description": "商品数量"
  1907. },
  1908. "combinationId": {
  1909. "type": "integer",
  1910. "format": "int32",
  1911. "description": "拼团id"
  1912. },
  1913. "costPrice": {
  1914. "type": "number"
  1915. },
  1916. "id": {
  1917. "type": "integer",
  1918. "format": "int64",
  1919. "description": "购物车表ID"
  1920. },
  1921. "isNew": {
  1922. "type": "boolean",
  1923. "description": "是否为立即购买"
  1924. },
  1925. "isReply": {
  1926. "type": "integer",
  1927. "format": "int32"
  1928. },
  1929. "productAttrUnique": {
  1930. "type": "string",
  1931. "description": "商品属性"
  1932. },
  1933. "productId": {
  1934. "type": "integer",
  1935. "format": "int32",
  1936. "description": "商品ID"
  1937. },
  1938. "productInfo": {
  1939. "type": "object",
  1940. "properties": {
  1941. "attrInfo": {
  1942. "type": "object",
  1943. "properties": {
  1944. "attrValue": {
  1945. "type": "string",
  1946. "description": "产品属性值和属性名对应关系"
  1947. },
  1948. "barCode": {
  1949. "type": "string",
  1950. "description": "商品条码"
  1951. },
  1952. "brokerage": {
  1953. "type": "number",
  1954. "description": "一级返佣"
  1955. },
  1956. "brokerageTwo": {
  1957. "type": "number",
  1958. "description": "二级返佣"
  1959. },
  1960. "cost": {
  1961. "type": "number",
  1962. "description": "成本价"
  1963. },
  1964. "id": {
  1965. "type": "integer",
  1966. "format": "int32",
  1967. "description": "attrId"
  1968. },
  1969. "image": {
  1970. "type": "string",
  1971. "description": "图片"
  1972. },
  1973. "otPrice": {
  1974. "type": "number",
  1975. "description": "原价"
  1976. },
  1977. "price": {
  1978. "type": "number",
  1979. "description": "属性金额"
  1980. },
  1981. "productId": {
  1982. "type": "integer",
  1983. "format": "int32",
  1984. "description": "商品ID"
  1985. },
  1986. "quota": {
  1987. "type": "integer",
  1988. "format": "int32",
  1989. "description": "活动限购数量"
  1990. },
  1991. "quotaShow": {
  1992. "type": "integer",
  1993. "format": "int32",
  1994. "description": "活动限购数量显示"
  1995. },
  1996. "sales": {
  1997. "type": "integer",
  1998. "format": "int32",
  1999. "description": "销量"
  2000. },
  2001. "stock": {
  2002. "type": "integer",
  2003. "format": "int32",
  2004. "description": "属性对应的库存"
  2005. },
  2006. "suk": {
  2007. "type": "string",
  2008. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  2009. },
  2010. "type": {
  2011. "type": "integer",
  2012. "format": "int32",
  2013. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  2014. },
  2015. "unique": {
  2016. "type": "string",
  2017. "description": "唯一值"
  2018. },
  2019. "volume": {
  2020. "type": "number",
  2021. "description": "体积"
  2022. },
  2023. "weight": {
  2024. "type": "number",
  2025. "description": "重量"
  2026. }
  2027. },
  2028. "title": "StoreProductAttrValue对象",
  2029. "description": "商品属性值表",
  2030. "$$ref": "#/definitions/StoreProductAttrValue对象"
  2031. },
  2032. "barCode": {
  2033. "type": "string",
  2034. "description": "商品条码(一维码)"
  2035. },
  2036. "cateId": {
  2037. "type": "string",
  2038. "description": "分类id"
  2039. },
  2040. "cost": {
  2041. "type": "number",
  2042. "description": "成本价"
  2043. },
  2044. "giveIntegral": {
  2045. "type": "number",
  2046. "description": "获得积分"
  2047. },
  2048. "id": {
  2049. "type": "integer",
  2050. "format": "int32",
  2051. "description": "商品id"
  2052. },
  2053. "image": {
  2054. "type": "string",
  2055. "description": "商品图片"
  2056. },
  2057. "isPostage": {
  2058. "type": "boolean",
  2059. "description": "是否包邮"
  2060. },
  2061. "isSub": {
  2062. "type": "boolean",
  2063. "description": "是否单独分佣"
  2064. },
  2065. "keyword": {
  2066. "type": "string",
  2067. "description": "关键字"
  2068. },
  2069. "merId": {
  2070. "type": "integer",
  2071. "format": "int32",
  2072. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  2073. },
  2074. "otPrice": {
  2075. "type": "number",
  2076. "description": "市场价"
  2077. },
  2078. "postage": {
  2079. "type": "number",
  2080. "description": "邮费"
  2081. },
  2082. "price": {
  2083. "type": "number",
  2084. "description": "商品价格"
  2085. },
  2086. "sales": {
  2087. "type": "integer",
  2088. "format": "int32",
  2089. "description": "销量"
  2090. },
  2091. "sliderImage": {
  2092. "type": "string",
  2093. "description": "轮播图"
  2094. },
  2095. "sort": {
  2096. "type": "integer",
  2097. "format": "int32",
  2098. "description": "排序"
  2099. },
  2100. "stock": {
  2101. "type": "integer",
  2102. "format": "int32",
  2103. "description": "库存"
  2104. },
  2105. "storeInfo": {
  2106. "type": "string",
  2107. "description": "商品简介"
  2108. },
  2109. "storeName": {
  2110. "type": "string",
  2111. "description": "商品名称"
  2112. },
  2113. "tempId": {
  2114. "type": "integer",
  2115. "format": "int32",
  2116. "description": "运费模板ID"
  2117. },
  2118. "unitName": {
  2119. "type": "string",
  2120. "description": "单位名"
  2121. },
  2122. "vipPrice": {
  2123. "type": "number",
  2124. "description": "会员价格"
  2125. }
  2126. },
  2127. "title": "StoreProductCartProductInfoResponse对象",
  2128. "description": "商品信息,购物车列表使用",
  2129. "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
  2130. },
  2131. "seckillId": {
  2132. "type": "integer",
  2133. "format": "int32",
  2134. "description": "秒杀商品ID"
  2135. },
  2136. "truePrice": {
  2137. "type": "number"
  2138. },
  2139. "trueStock": {
  2140. "type": "integer",
  2141. "format": "int32"
  2142. },
  2143. "type": {
  2144. "type": "string",
  2145. "description": "类型"
  2146. },
  2147. "uid": {
  2148. "type": "integer",
  2149. "format": "int32",
  2150. "description": "用户ID"
  2151. },
  2152. "vipTruePrice": {
  2153. "type": "number"
  2154. }
  2155. },
  2156. "title": "StoreCartResponse",
  2157. "description": "购物车ListResponse",
  2158. "$$ref": "#/definitions/StoreCartResponse"
  2159. }
  2160. },
  2161. "page": {
  2162. "type": "integer",
  2163. "format": "int32"
  2164. },
  2165. "total": {
  2166. "type": "integer",
  2167. "format": "int64"
  2168. },
  2169. "totalPage": {
  2170. "type": "integer",
  2171. "format": "int32"
  2172. }
  2173. },
  2174. "title": "CommonPage«StoreCartResponse»",
  2175. "$$ref": "#/definitions/CommonPage«StoreCartResponse»"
  2176. },
  2177. "message": {
  2178. "type": "string"
  2179. }
  2180. },
  2181. "title": "CommonResult«CommonPage«StoreCartResponse»»",
  2182. "$$ref": "#/definitions/CommonResult«CommonPage«StoreCartResponse»»"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/api/front/cart/delete": {
  2189. "post": {
  2190. "tags": [
  2191. "商品 -- 购物车"
  2192. ],
  2193. "summary": "删除",
  2194. "consumes": [
  2195. "application/json"
  2196. ],
  2197. "parameters": [
  2198. {
  2199. "name": "ids",
  2200. "in": "query",
  2201. "required": false,
  2202. "description": "ids",
  2203. "type": "string"
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "successful operation",
  2209. "schema": {
  2210. "type": "object",
  2211. "properties": {
  2212. "code": {
  2213. "type": "integer",
  2214. "format": "int64"
  2215. },
  2216. "data": {
  2217. "type": "string"
  2218. },
  2219. "message": {
  2220. "type": "string"
  2221. }
  2222. },
  2223. "title": "CommonResult«string»",
  2224. "$$ref": "#/definitions/CommonResult«string»"
  2225. }
  2226. }
  2227. }
  2228. }
  2229. },
  2230. "/api/front/cart/count": {
  2231. "get": {
  2232. "tags": [
  2233. "商品 -- 购物车"
  2234. ],
  2235. "summary": "数量",
  2236. "consumes": [
  2237. "text/plain"
  2238. ],
  2239. "parameters": [
  2240. {
  2241. "name": "numType",
  2242. "in": "query",
  2243. "required": false,
  2244. "description": "numType",
  2245. "type": "string"
  2246. },
  2247. {
  2248. "name": "raw",
  2249. "in": "body",
  2250. "description": "raw paramter",
  2251. "schema": {
  2252. "type": "string",
  2253. "format": "binary"
  2254. }
  2255. }
  2256. ],
  2257. "responses": {
  2258. "200": {
  2259. "description": "successful operation",
  2260. "schema": {
  2261. "type": "object",
  2262. "properties": {
  2263. "code": {
  2264. "type": "integer",
  2265. "format": "int64"
  2266. },
  2267. "data": {
  2268. "type": "object"
  2269. },
  2270. "message": {
  2271. "type": "string"
  2272. }
  2273. },
  2274. "title": "CommonResult«Map«object,object»»",
  2275. "$$ref": "#/definitions/CommonResult«Map«object,object»»"
  2276. }
  2277. }
  2278. }
  2279. }
  2280. },
  2281. "/api/front/cart/save": {
  2282. "post": {
  2283. "tags": [
  2284. "商品 -- 购物车"
  2285. ],
  2286. "summary": "新增",
  2287. "consumes": [
  2288. "application/json"
  2289. ],
  2290. "parameters": [
  2291. {
  2292. "name": "cartNum",
  2293. "in": "query",
  2294. "required": false,
  2295. "description": "商品数量",
  2296. "type": "string"
  2297. },
  2298. {
  2299. "name": "isNew",
  2300. "in": "query",
  2301. "required": false,
  2302. "description": "是否为立即购买",
  2303. "type": "string"
  2304. },
  2305. {
  2306. "name": "productAttrUnique",
  2307. "in": "query",
  2308. "required": false,
  2309. "description": "商品属性 -- attr 对象的id",
  2310. "type": "string"
  2311. },
  2312. {
  2313. "name": "productId",
  2314. "in": "query",
  2315. "required": false,
  2316. "description": "商品ID",
  2317. "type": "string"
  2318. }
  2319. ],
  2320. "responses": {
  2321. "200": {
  2322. "description": "successful operation",
  2323. "schema": {
  2324. "type": "object",
  2325. "properties": {
  2326. "code": {
  2327. "type": "integer",
  2328. "format": "int64"
  2329. },
  2330. "data": {
  2331. "type": "object",
  2332. "additionalProperties": {
  2333. "type": "string"
  2334. }
  2335. },
  2336. "message": {
  2337. "type": "string"
  2338. }
  2339. },
  2340. "title": "CommonResult«HashMap«string,string»»",
  2341. "$$ref": "#/definitions/CommonResult«HashMap«string,string»»"
  2342. }
  2343. }
  2344. }
  2345. }
  2346. },
  2347. "/api/front/cart/resetcart": {
  2348. "post": {
  2349. "tags": [
  2350. "商品 -- 购物车"
  2351. ],
  2352. "summary": "购物车重选提交",
  2353. "consumes": [
  2354. "application/json"
  2355. ],
  2356. "parameters": [
  2357. {
  2358. "name": "root",
  2359. "in": "body",
  2360. "schema": {
  2361. "type": "object",
  2362. "properties": {
  2363. "id": {
  2364. "type": "integer",
  2365. "format": "int64",
  2366. "description": "购物车id"
  2367. },
  2368. "num": {
  2369. "type": "integer",
  2370. "format": "int32",
  2371. "description": "购物车数量"
  2372. },
  2373. "productId": {
  2374. "type": "integer",
  2375. "format": "int32",
  2376. "description": "商品id"
  2377. },
  2378. "unique": {
  2379. "type": "integer",
  2380. "format": "int32",
  2381. "description": "AttrValue Id"
  2382. }
  2383. },
  2384. "title": "CartResetRequest",
  2385. "$$ref": "#/definitions/CartResetRequest"
  2386. }
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "successful operation",
  2392. "schema": {
  2393. "type": "object",
  2394. "properties": {
  2395. "code": {
  2396. "type": "integer",
  2397. "format": "int64"
  2398. },
  2399. "data": {
  2400. "type": "object"
  2401. },
  2402. "message": {
  2403. "type": "string"
  2404. }
  2405. },
  2406. "title": "CommonResult«object»",
  2407. "$$ref": "#/definitions/CommonResult«object»"
  2408. }
  2409. }
  2410. }
  2411. }
  2412. },
  2413. "/api/front/city/list": {
  2414. "get": {
  2415. "tags": [
  2416. "城市服务"
  2417. ],
  2418. "summary": "树形结构",
  2419. "consumes": [
  2420. "text/plain"
  2421. ],
  2422. "parameters": [
  2423. {
  2424. "name": "raw",
  2425. "in": "body",
  2426. "description": "raw paramter",
  2427. "schema": {
  2428. "type": "string",
  2429. "format": "binary"
  2430. }
  2431. }
  2432. ],
  2433. "responses": {
  2434. "200": {
  2435. "description": "successful operation",
  2436. "schema": {
  2437. "type": "object",
  2438. "properties": {
  2439. "code": {
  2440. "type": "integer",
  2441. "format": "int64"
  2442. },
  2443. "data": {
  2444. "type": "object"
  2445. },
  2446. "message": {
  2447. "type": "string"
  2448. }
  2449. },
  2450. "title": "CommonResult«object»",
  2451. "$$ref": "#/definitions/CommonResult«object»"
  2452. }
  2453. }
  2454. }
  2455. }
  2456. },
  2457. "/api/front/user/service/lst": {
  2458. "get": {
  2459. "tags": [
  2460. "客服"
  2461. ],
  2462. "summary": "客服列表",
  2463. "consumes": [
  2464. "text/plain"
  2465. ],
  2466. "parameters": [
  2467. {
  2468. "name": "raw",
  2469. "in": "body",
  2470. "description": "raw paramter",
  2471. "schema": {
  2472. "type": "string",
  2473. "format": "binary"
  2474. }
  2475. }
  2476. ],
  2477. "responses": {
  2478. "200": {
  2479. "description": "successful operation",
  2480. "schema": {
  2481. "type": "object",
  2482. "properties": {
  2483. "code": {
  2484. "type": "integer",
  2485. "format": "int64"
  2486. },
  2487. "data": {
  2488. "type": "array",
  2489. "items": {
  2490. "type": "object",
  2491. "properties": {
  2492. "avatar": {
  2493. "type": "string",
  2494. "description": "客服头像"
  2495. },
  2496. "createTime": {
  2497. "type": "string",
  2498. "format": "date-time",
  2499. "description": "添加时间"
  2500. },
  2501. "customer": {
  2502. "type": "boolean",
  2503. "description": "是否展示统计管理"
  2504. },
  2505. "id": {
  2506. "type": "integer",
  2507. "format": "int32",
  2508. "description": "客服id"
  2509. },
  2510. "nickname": {
  2511. "type": "string",
  2512. "description": "代理名称"
  2513. },
  2514. "notify": {
  2515. "type": "integer",
  2516. "format": "int32",
  2517. "description": "订单通知1开启0关闭"
  2518. },
  2519. "status": {
  2520. "type": "boolean",
  2521. "description": "0隐藏1显示"
  2522. },
  2523. "uid": {
  2524. "type": "integer",
  2525. "format": "int32",
  2526. "description": "客服uid"
  2527. },
  2528. "updateTime": {
  2529. "type": "string",
  2530. "format": "date-time",
  2531. "description": "更新时间"
  2532. }
  2533. },
  2534. "title": "StoreService对象",
  2535. "description": "客服表",
  2536. "$$ref": "#/definitions/StoreService对象"
  2537. }
  2538. },
  2539. "message": {
  2540. "type": "string"
  2541. }
  2542. },
  2543. "title": "CommonResult«List«StoreService对象»»",
  2544. "$$ref": "#/definitions/CommonResult«List«StoreService对象»»"
  2545. }
  2546. }
  2547. }
  2548. }
  2549. },
  2550. "/api/front/user/service/record/{toUid}": {
  2551. "get": {
  2552. "tags": [
  2553. "客服"
  2554. ],
  2555. "summary": "聊天记录",
  2556. "consumes": [
  2557. "text/plain"
  2558. ],
  2559. "parameters": [
  2560. {
  2561. "name": "toUid",
  2562. "in": "path",
  2563. "description": "聊天人编号",
  2564. "required": true,
  2565. "type": "string"
  2566. },
  2567. {
  2568. "name": "limit",
  2569. "in": "query",
  2570. "required": false,
  2571. "description": "每页数量",
  2572. "type": "string"
  2573. },
  2574. {
  2575. "name": "page",
  2576. "in": "query",
  2577. "required": false,
  2578. "description": "页码",
  2579. "type": "string"
  2580. },
  2581. {
  2582. "name": "raw",
  2583. "in": "body",
  2584. "description": "raw paramter",
  2585. "schema": {
  2586. "type": "string",
  2587. "format": "binary"
  2588. }
  2589. }
  2590. ],
  2591. "responses": {
  2592. "200": {
  2593. "description": "successful operation",
  2594. "schema": {
  2595. "type": "object",
  2596. "properties": {
  2597. "code": {
  2598. "type": "integer",
  2599. "format": "int64"
  2600. },
  2601. "data": {
  2602. "type": "object",
  2603. "properties": {
  2604. "limit": {
  2605. "type": "integer",
  2606. "format": "int32"
  2607. },
  2608. "list": {
  2609. "type": "array",
  2610. "items": {
  2611. "type": "object",
  2612. "properties": {
  2613. "createTime": {
  2614. "type": "string",
  2615. "format": "date-time",
  2616. "description": "添加时间"
  2617. },
  2618. "id": {
  2619. "type": "integer",
  2620. "format": "int32",
  2621. "description": "客服用户对话记录表ID"
  2622. },
  2623. "msn": {
  2624. "type": "string",
  2625. "description": "消息内容"
  2626. },
  2627. "msnType": {
  2628. "type": "boolean",
  2629. "description": "消息类型 1=文字 2=表情 3=图片 4=语音"
  2630. },
  2631. "remind": {
  2632. "type": "boolean",
  2633. "description": "是否提醒过"
  2634. },
  2635. "toUid": {
  2636. "type": "integer",
  2637. "format": "int32",
  2638. "description": "接收人uid"
  2639. },
  2640. "type": {
  2641. "type": "boolean",
  2642. "description": "是否已读(0:否;1:是;)"
  2643. },
  2644. "uid": {
  2645. "type": "integer",
  2646. "format": "int32",
  2647. "description": "发送人uid"
  2648. },
  2649. "updateTime": {
  2650. "type": "string",
  2651. "format": "date-time",
  2652. "description": "更新时间"
  2653. }
  2654. },
  2655. "title": "StoreServiceLog对象",
  2656. "description": "客服用户对话记录表",
  2657. "$$ref": "#/definitions/StoreServiceLog对象"
  2658. }
  2659. },
  2660. "page": {
  2661. "type": "integer",
  2662. "format": "int32"
  2663. },
  2664. "total": {
  2665. "type": "integer",
  2666. "format": "int64"
  2667. },
  2668. "totalPage": {
  2669. "type": "integer",
  2670. "format": "int32"
  2671. }
  2672. },
  2673. "title": "CommonPage«StoreServiceLog对象»",
  2674. "$$ref": "#/definitions/CommonPage«StoreServiceLog对象»"
  2675. },
  2676. "message": {
  2677. "type": "string"
  2678. }
  2679. },
  2680. "title": "CommonResult«CommonPage«StoreServiceLog对象»»",
  2681. "$$ref": "#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»"
  2682. }
  2683. }
  2684. }
  2685. }
  2686. },
  2687. "/api/front/wechat/getLogo": {
  2688. "get": {
  2689. "tags": [
  2690. "微信 -- 开放平台"
  2691. ],
  2692. "summary": "小程序获取授权logo",
  2693. "consumes": [
  2694. "text/plain"
  2695. ],
  2696. "parameters": [
  2697. {
  2698. "name": "raw",
  2699. "in": "body",
  2700. "description": "raw paramter",
  2701. "schema": {
  2702. "type": "string",
  2703. "format": "binary"
  2704. }
  2705. }
  2706. ],
  2707. "responses": {
  2708. "200": {
  2709. "description": "successful operation",
  2710. "schema": {
  2711. "type": "object",
  2712. "properties": {
  2713. "code": {
  2714. "type": "integer",
  2715. "format": "int64"
  2716. },
  2717. "data": {
  2718. "type": "object",
  2719. "additionalProperties": {
  2720. "type": "string"
  2721. }
  2722. },
  2723. "message": {
  2724. "type": "string"
  2725. }
  2726. },
  2727. "title": "CommonResult«Map«string,string»»",
  2728. "$$ref": "#/definitions/CommonResult«Map«string,string»»"
  2729. }
  2730. }
  2731. }
  2732. }
  2733. },
  2734. "/api/front/wechat/authorize/login": {
  2735. "get": {
  2736. "tags": [
  2737. "微信 -- 开放平台"
  2738. ],
  2739. "summary": "微信登录公共号授权登录",
  2740. "consumes": [
  2741. "text/plain"
  2742. ],
  2743. "parameters": [
  2744. {
  2745. "name": "code",
  2746. "in": "query",
  2747. "required": false,
  2748. "description": "code",
  2749. "type": "string"
  2750. },
  2751. {
  2752. "name": "raw",
  2753. "in": "body",
  2754. "description": "raw paramter",
  2755. "schema": {
  2756. "type": "string",
  2757. "format": "binary"
  2758. }
  2759. }
  2760. ],
  2761. "responses": {
  2762. "200": {
  2763. "description": "successful operation",
  2764. "schema": {
  2765. "type": "object",
  2766. "properties": {
  2767. "code": {
  2768. "type": "integer",
  2769. "format": "int64"
  2770. },
  2771. "data": {
  2772. "type": "object",
  2773. "properties": {
  2774. "expiresTime": {
  2775. "type": "string",
  2776. "format": "date-time",
  2777. "description": "用户登录密钥到期时间"
  2778. },
  2779. "token": {
  2780. "type": "string",
  2781. "description": "用户登录密钥"
  2782. },
  2783. "user": {
  2784. "type": "object",
  2785. "properties": {
  2786. "account": {
  2787. "type": "string",
  2788. "description": "用户账号"
  2789. },
  2790. "addIp": {
  2791. "type": "string",
  2792. "description": "添加ip"
  2793. },
  2794. "addres": {
  2795. "type": "string",
  2796. "description": "详细地址"
  2797. },
  2798. "adminid": {
  2799. "type": "integer",
  2800. "format": "int32",
  2801. "description": "管理员编号 "
  2802. },
  2803. "avatar": {
  2804. "type": "string",
  2805. "description": "用户头像"
  2806. },
  2807. "birthday": {
  2808. "type": "string",
  2809. "description": "生日"
  2810. },
  2811. "brokeragePrice": {
  2812. "type": "number",
  2813. "description": "佣金金额"
  2814. },
  2815. "cardId": {
  2816. "type": "string",
  2817. "description": "身份证号码"
  2818. },
  2819. "cleanTime": {
  2820. "type": "string",
  2821. "format": "date-time",
  2822. "description": "最后一次登录时间"
  2823. },
  2824. "createTime": {
  2825. "type": "string",
  2826. "format": "date-time",
  2827. "description": "创建时间"
  2828. },
  2829. "experience": {
  2830. "type": "integer",
  2831. "format": "int32",
  2832. "description": "用户剩余经验"
  2833. },
  2834. "groupId": {
  2835. "type": "string",
  2836. "description": "用户分组id"
  2837. },
  2838. "integral": {
  2839. "type": "number",
  2840. "description": "用户剩余积分"
  2841. },
  2842. "isPromoter": {
  2843. "type": "boolean",
  2844. "description": "是否为推广员"
  2845. },
  2846. "lastIp": {
  2847. "type": "string",
  2848. "description": "最后一次登录ip"
  2849. },
  2850. "lastLoginTime": {
  2851. "type": "string",
  2852. "format": "date-time",
  2853. "description": "最后一次登录时间"
  2854. },
  2855. "level": {
  2856. "type": "integer",
  2857. "format": "int32",
  2858. "description": "等级"
  2859. },
  2860. "loginType": {
  2861. "type": "string",
  2862. "description": "用户登陆类型,h5,wechat,routine"
  2863. },
  2864. "mark": {
  2865. "type": "string",
  2866. "description": "用户备注"
  2867. },
  2868. "nickname": {
  2869. "type": "string",
  2870. "description": "用户昵称"
  2871. },
  2872. "nowMoney": {
  2873. "type": "number",
  2874. "description": "用户余额"
  2875. },
  2876. "partnerId": {
  2877. "type": "integer",
  2878. "format": "int32",
  2879. "description": "合伙人id"
  2880. },
  2881. "path": {
  2882. "type": "string",
  2883. "description": "用户推广等级"
  2884. },
  2885. "payCount": {
  2886. "type": "integer",
  2887. "format": "int32",
  2888. "description": "用户购买次数"
  2889. },
  2890. "phone": {
  2891. "type": "string",
  2892. "description": "手机号码"
  2893. },
  2894. "realName": {
  2895. "type": "string",
  2896. "description": "真实姓名"
  2897. },
  2898. "signNum": {
  2899. "type": "integer",
  2900. "format": "int32",
  2901. "description": "连续签到天数"
  2902. },
  2903. "spreadCount": {
  2904. "type": "integer",
  2905. "format": "int32",
  2906. "description": "下级人数"
  2907. },
  2908. "spreadTime": {
  2909. "type": "string",
  2910. "format": "date-time",
  2911. "description": "推广员关联时间"
  2912. },
  2913. "spreadUid": {
  2914. "type": "integer",
  2915. "format": "int32",
  2916. "description": "推广人id"
  2917. },
  2918. "status": {
  2919. "type": "boolean",
  2920. "description": "1为正常,0为禁止"
  2921. },
  2922. "subscribe": {
  2923. "type": "boolean",
  2924. "description": "是否关注公众号"
  2925. },
  2926. "tagId": {
  2927. "type": "string",
  2928. "description": "用户标签id"
  2929. },
  2930. "uid": {
  2931. "type": "integer",
  2932. "format": "int32",
  2933. "description": "用户id"
  2934. },
  2935. "updateTime": {
  2936. "type": "string",
  2937. "format": "date-time",
  2938. "description": "创建时间"
  2939. },
  2940. "userType": {
  2941. "type": "string",
  2942. "description": "用户类型"
  2943. }
  2944. },
  2945. "title": "User对象",
  2946. "description": "用户表",
  2947. "$$ref": "#/definitions/User对象"
  2948. }
  2949. },
  2950. "title": "LoginResponse",
  2951. "description": "用户登录返回数据",
  2952. "$$ref": "#/definitions/LoginResponse"
  2953. },
  2954. "message": {
  2955. "type": "string"
  2956. }
  2957. },
  2958. "title": "CommonResult«LoginResponse»",
  2959. "$$ref": "#/definitions/CommonResult«LoginResponse»"
  2960. }
  2961. }
  2962. }
  2963. }
  2964. },
  2965. "/api/front/wechat/authorize/program/login": {
  2966. "post": {
  2967. "tags": [
  2968. "微信 -- 开放平台"
  2969. ],
  2970. "summary": "微信登录小程序授权登录",
  2971. "consumes": [
  2972. "application/json"
  2973. ],
  2974. "parameters": [
  2975. {
  2976. "name": "code",
  2977. "in": "query",
  2978. "required": false,
  2979. "description": "code",
  2980. "type": "string"
  2981. },
  2982. {
  2983. "name": "root",
  2984. "in": "body",
  2985. "description": "三方用户注册对象",
  2986. "schema": {
  2987. "type": "object",
  2988. "required": [
  2989. "avatar",
  2990. "nickName",
  2991. "sex",
  2992. "spread_spid"
  2993. ],
  2994. "properties": {
  2995. "avatar": {
  2996. "type": "string",
  2997. "description": "用户头像"
  2998. },
  2999. "city": {
  3000. "type": "string",
  3001. "description": "普通用户个人资料填写的城市"
  3002. },
  3003. "country": {
  3004. "type": "string",
  3005. "description": "国家,如中国为CN"
  3006. },
  3007. "nickName": {
  3008. "type": "string",
  3009. "description": "用户昵称"
  3010. },
  3011. "province": {
  3012. "type": "string",
  3013. "description": "用户个人资料填写的省份"
  3014. },
  3015. "sex": {
  3016. "type": "string",
  3017. "description": "性别"
  3018. },
  3019. "spread_spid": {
  3020. "type": "integer",
  3021. "format": "int32",
  3022. "description": "推广人id"
  3023. }
  3024. },
  3025. "title": "RegisterThirdUserRequest对象",
  3026. "description": "三方用户注册对象",
  3027. "$$ref": "#/definitions/RegisterThirdUserRequest对象"
  3028. }
  3029. }
  3030. ],
  3031. "responses": {
  3032. "200": {
  3033. "description": "successful operation",
  3034. "schema": {
  3035. "type": "object",
  3036. "properties": {
  3037. "code": {
  3038. "type": "integer",
  3039. "format": "int64"
  3040. },
  3041. "data": {
  3042. "type": "object",
  3043. "properties": {
  3044. "expiresTime": {
  3045. "type": "string",
  3046. "format": "date-time",
  3047. "description": "用户登录密钥到期时间"
  3048. },
  3049. "token": {
  3050. "type": "string",
  3051. "description": "用户登录密钥"
  3052. },
  3053. "user": {
  3054. "type": "object",
  3055. "properties": {
  3056. "account": {
  3057. "type": "string",
  3058. "description": "用户账号"
  3059. },
  3060. "addIp": {
  3061. "type": "string",
  3062. "description": "添加ip"
  3063. },
  3064. "addres": {
  3065. "type": "string",
  3066. "description": "详细地址"
  3067. },
  3068. "adminid": {
  3069. "type": "integer",
  3070. "format": "int32",
  3071. "description": "管理员编号 "
  3072. },
  3073. "avatar": {
  3074. "type": "string",
  3075. "description": "用户头像"
  3076. },
  3077. "birthday": {
  3078. "type": "string",
  3079. "description": "生日"
  3080. },
  3081. "brokeragePrice": {
  3082. "type": "number",
  3083. "description": "佣金金额"
  3084. },
  3085. "cardId": {
  3086. "type": "string",
  3087. "description": "身份证号码"
  3088. },
  3089. "cleanTime": {
  3090. "type": "string",
  3091. "format": "date-time",
  3092. "description": "最后一次登录时间"
  3093. },
  3094. "createTime": {
  3095. "type": "string",
  3096. "format": "date-time",
  3097. "description": "创建时间"
  3098. },
  3099. "experience": {
  3100. "type": "integer",
  3101. "format": "int32",
  3102. "description": "用户剩余经验"
  3103. },
  3104. "groupId": {
  3105. "type": "string",
  3106. "description": "用户分组id"
  3107. },
  3108. "integral": {
  3109. "type": "number",
  3110. "description": "用户剩余积分"
  3111. },
  3112. "isPromoter": {
  3113. "type": "boolean",
  3114. "description": "是否为推广员"
  3115. },
  3116. "lastIp": {
  3117. "type": "string",
  3118. "description": "最后一次登录ip"
  3119. },
  3120. "lastLoginTime": {
  3121. "type": "string",
  3122. "format": "date-time",
  3123. "description": "最后一次登录时间"
  3124. },
  3125. "level": {
  3126. "type": "integer",
  3127. "format": "int32",
  3128. "description": "等级"
  3129. },
  3130. "loginType": {
  3131. "type": "string",
  3132. "description": "用户登陆类型,h5,wechat,routine"
  3133. },
  3134. "mark": {
  3135. "type": "string",
  3136. "description": "用户备注"
  3137. },
  3138. "nickname": {
  3139. "type": "string",
  3140. "description": "用户昵称"
  3141. },
  3142. "nowMoney": {
  3143. "type": "number",
  3144. "description": "用户余额"
  3145. },
  3146. "partnerId": {
  3147. "type": "integer",
  3148. "format": "int32",
  3149. "description": "合伙人id"
  3150. },
  3151. "path": {
  3152. "type": "string",
  3153. "description": "用户推广等级"
  3154. },
  3155. "payCount": {
  3156. "type": "integer",
  3157. "format": "int32",
  3158. "description": "用户购买次数"
  3159. },
  3160. "phone": {
  3161. "type": "string",
  3162. "description": "手机号码"
  3163. },
  3164. "realName": {
  3165. "type": "string",
  3166. "description": "真实姓名"
  3167. },
  3168. "signNum": {
  3169. "type": "integer",
  3170. "format": "int32",
  3171. "description": "连续签到天数"
  3172. },
  3173. "spreadCount": {
  3174. "type": "integer",
  3175. "format": "int32",
  3176. "description": "下级人数"
  3177. },
  3178. "spreadTime": {
  3179. "type": "string",
  3180. "format": "date-time",
  3181. "description": "推广员关联时间"
  3182. },
  3183. "spreadUid": {
  3184. "type": "integer",
  3185. "format": "int32",
  3186. "description": "推广人id"
  3187. },
  3188. "status": {
  3189. "type": "boolean",
  3190. "description": "1为正常,0为禁止"
  3191. },
  3192. "subscribe": {
  3193. "type": "boolean",
  3194. "description": "是否关注公众号"
  3195. },
  3196. "tagId": {
  3197. "type": "string",
  3198. "description": "用户标签id"
  3199. },
  3200. "uid": {
  3201. "type": "integer",
  3202. "format": "int32",
  3203. "description": "用户id"
  3204. },
  3205. "updateTime": {
  3206. "type": "string",
  3207. "format": "date-time",
  3208. "description": "创建时间"
  3209. },
  3210. "userType": {
  3211. "type": "string",
  3212. "description": "用户类型"
  3213. }
  3214. },
  3215. "title": "User对象",
  3216. "description": "用户表",
  3217. "$$ref": "#/definitions/User对象"
  3218. }
  3219. },
  3220. "title": "LoginResponse",
  3221. "description": "用户登录返回数据",
  3222. "$$ref": "#/definitions/LoginResponse"
  3223. },
  3224. "message": {
  3225. "type": "string"
  3226. }
  3227. },
  3228. "title": "CommonResult«LoginResponse»",
  3229. "$$ref": "#/definitions/CommonResult«LoginResponse»"
  3230. }
  3231. }
  3232. }
  3233. }
  3234. },
  3235. "/api/front/wechat/config": {
  3236. "get": {
  3237. "tags": [
  3238. "微信 -- 开放平台"
  3239. ],
  3240. "summary": "获取微信公众号js配置",
  3241. "consumes": [
  3242. "text/plain"
  3243. ],
  3244. "parameters": [
  3245. {
  3246. "name": "url",
  3247. "in": "query",
  3248. "required": false,
  3249. "description": "页面地址url",
  3250. "type": "string"
  3251. },
  3252. {
  3253. "name": "raw",
  3254. "in": "body",
  3255. "description": "raw paramter",
  3256. "schema": {
  3257. "type": "string",
  3258. "format": "binary"
  3259. }
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "successful operation",
  3265. "schema": {
  3266. "type": "object",
  3267. "properties": {
  3268. "code": {
  3269. "type": "integer",
  3270. "format": "int64"
  3271. },
  3272. "data": {
  3273. "type": "object"
  3274. },
  3275. "message": {
  3276. "type": "string"
  3277. }
  3278. },
  3279. "title": "CommonResult«object»",
  3280. "$$ref": "#/definitions/CommonResult«object»"
  3281. }
  3282. }
  3283. }
  3284. }
  3285. },
  3286. "/api/front/wechat/authorize/get": {
  3287. "get": {
  3288. "tags": [
  3289. "微信 -- 开放平台"
  3290. ],
  3291. "summary": "获取授权页面跳转地址",
  3292. "consumes": [
  3293. "text/plain"
  3294. ],
  3295. "parameters": [
  3296. {
  3297. "name": "raw",
  3298. "in": "body",
  3299. "description": "raw paramter",
  3300. "schema": {
  3301. "type": "string",
  3302. "format": "binary"
  3303. }
  3304. }
  3305. ],
  3306. "responses": {
  3307. "200": {
  3308. "description": "successful operation",
  3309. "schema": {
  3310. "type": "object",
  3311. "properties": {
  3312. "code": {
  3313. "type": "integer",
  3314. "format": "int64"
  3315. },
  3316. "data": {
  3317. "type": "object"
  3318. },
  3319. "message": {
  3320. "type": "string"
  3321. }
  3322. },
  3323. "title": "CommonResult«object»",
  3324. "$$ref": "#/definitions/CommonResult«object»"
  3325. }
  3326. }
  3327. }
  3328. }
  3329. },
  3330. "/api/front/wechat/info/{id}": {
  3331. "get": {
  3332. "tags": [
  3333. "微信 -- 开放平台"
  3334. ],
  3335. "summary": "详情",
  3336. "consumes": [
  3337. "text/plain"
  3338. ],
  3339. "parameters": [
  3340. {
  3341. "name": "id",
  3342. "in": "path",
  3343. "description": "id",
  3344. "required": true,
  3345. "type": "string"
  3346. },
  3347. {
  3348. "name": "raw",
  3349. "in": "body",
  3350. "description": "raw paramter",
  3351. "schema": {
  3352. "type": "string",
  3353. "format": "binary"
  3354. }
  3355. }
  3356. ],
  3357. "responses": {
  3358. "200": {
  3359. "description": "successful operation",
  3360. "schema": {
  3361. "type": "object",
  3362. "properties": {
  3363. "code": {
  3364. "type": "integer",
  3365. "format": "int64"
  3366. },
  3367. "data": {
  3368. "type": "object",
  3369. "properties": {
  3370. "content": {
  3371. "type": "string",
  3372. "description": "回复内容"
  3373. },
  3374. "createTime": {
  3375. "type": "string",
  3376. "format": "date-time",
  3377. "description": "添加时间"
  3378. },
  3379. "id": {
  3380. "type": "integer",
  3381. "format": "int32",
  3382. "description": "模板id"
  3383. },
  3384. "name": {
  3385. "type": "string",
  3386. "description": "模板名"
  3387. },
  3388. "status": {
  3389. "type": "integer",
  3390. "format": "int32",
  3391. "description": "状态"
  3392. },
  3393. "tempId": {
  3394. "type": "string",
  3395. "description": "模板ID"
  3396. },
  3397. "tempKey": {
  3398. "type": "string",
  3399. "description": "模板编号"
  3400. },
  3401. "type": {
  3402. "type": "boolean",
  3403. "description": "0=订阅消息,1=微信模板消息"
  3404. },
  3405. "updateTime": {
  3406. "type": "string",
  3407. "format": "date-time",
  3408. "description": "更新时间"
  3409. }
  3410. },
  3411. "title": "TemplateMessage对象",
  3412. "description": "微信模板",
  3413. "$$ref": "#/definitions/TemplateMessage对象"
  3414. },
  3415. "message": {
  3416. "type": "string"
  3417. }
  3418. },
  3419. "title": "CommonResult«TemplateMessage对象»",
  3420. "$$ref": "#/definitions/CommonResult«TemplateMessage对象»"
  3421. }
  3422. }
  3423. }
  3424. }
  3425. },
  3426. "/api/front/store/list": {
  3427. "post": {
  3428. "tags": [
  3429. "提货点"
  3430. ],
  3431. "summary": "附近的提货点",
  3432. "consumes": [
  3433. "application/json"
  3434. ],
  3435. "parameters": [
  3436. {
  3437. "name": "latitude",
  3438. "in": "query",
  3439. "required": false,
  3440. "description": "经度",
  3441. "type": "string"
  3442. },
  3443. {
  3444. "name": "limit",
  3445. "in": "query",
  3446. "required": false,
  3447. "description": "每页数量",
  3448. "type": "string"
  3449. },
  3450. {
  3451. "name": "longitude",
  3452. "in": "query",
  3453. "required": false,
  3454. "description": "纬度",
  3455. "type": "string"
  3456. },
  3457. {
  3458. "name": "page",
  3459. "in": "query",
  3460. "required": false,
  3461. "description": "页码",
  3462. "type": "string"
  3463. }
  3464. ],
  3465. "responses": {
  3466. "200": {
  3467. "description": "successful operation",
  3468. "schema": {
  3469. "type": "object",
  3470. "properties": {
  3471. "code": {
  3472. "type": "integer",
  3473. "format": "int64"
  3474. },
  3475. "data": {
  3476. "type": "object",
  3477. "required": [
  3478. "list"
  3479. ],
  3480. "properties": {
  3481. "list": {
  3482. "type": "array",
  3483. "description": "附近的门店列表",
  3484. "items": {
  3485. "type": "object",
  3486. "properties": {
  3487. "address": {
  3488. "type": "string",
  3489. "description": "省市区"
  3490. },
  3491. "createTime": {
  3492. "type": "string",
  3493. "format": "date-time",
  3494. "description": "创建时间"
  3495. },
  3496. "dayTime": {
  3497. "type": "string",
  3498. "description": "每日营业开关时间"
  3499. },
  3500. "detailedAddress": {
  3501. "type": "string",
  3502. "description": "详细地址"
  3503. },
  3504. "distance": {
  3505. "type": "string",
  3506. "description": "距离,单位米"
  3507. },
  3508. "id": {
  3509. "type": "integer",
  3510. "format": "int32"
  3511. },
  3512. "image": {
  3513. "type": "string",
  3514. "description": "门店logo"
  3515. },
  3516. "introduction": {
  3517. "type": "string",
  3518. "description": "简介"
  3519. },
  3520. "isDel": {
  3521. "type": "boolean",
  3522. "description": "是否删除"
  3523. },
  3524. "isShow": {
  3525. "type": "boolean",
  3526. "description": "是否显示"
  3527. },
  3528. "latitude": {
  3529. "type": "string",
  3530. "description": "纬度"
  3531. },
  3532. "longitude": {
  3533. "type": "string",
  3534. "description": "经度"
  3535. },
  3536. "name": {
  3537. "type": "string",
  3538. "description": "门店名称"
  3539. },
  3540. "phone": {
  3541. "type": "string",
  3542. "description": "手机号码"
  3543. },
  3544. "updateTime": {
  3545. "type": "string",
  3546. "format": "date-time",
  3547. "description": "修改时间"
  3548. },
  3549. "validTime": {
  3550. "type": "string",
  3551. "description": "核销有效日期"
  3552. }
  3553. },
  3554. "title": "SystemStoreNearVo对象",
  3555. "description": "门店自提",
  3556. "$$ref": "#/definitions/SystemStoreNearVo对象"
  3557. }
  3558. },
  3559. "tengXunMapKey": {
  3560. "type": "string",
  3561. "description": "腾讯地图key"
  3562. }
  3563. },
  3564. "title": "StoreNearRequest对象",
  3565. "description": "附近的门店",
  3566. "$$ref": "#/definitions/StoreNearRequest对象"
  3567. },
  3568. "message": {
  3569. "type": "string"
  3570. }
  3571. },
  3572. "title": "CommonResult«StoreNearRequest对象»",
  3573. "$$ref": "#/definitions/CommonResult«StoreNearRequest对象»"
  3574. }
  3575. }
  3576. }
  3577. }
  3578. },
  3579. "/api/front/article/category/list": {
  3580. "get": {
  3581. "tags": [
  3582. "文章"
  3583. ],
  3584. "summary": "分类列表",
  3585. "consumes": [
  3586. "text/plain"
  3587. ],
  3588. "parameters": [
  3589. {
  3590. "name": "raw",
  3591. "in": "body",
  3592. "description": "raw paramter",
  3593. "schema": {
  3594. "type": "string",
  3595. "format": "binary"
  3596. }
  3597. }
  3598. ],
  3599. "responses": {
  3600. "200": {
  3601. "description": "successful operation",
  3602. "schema": {
  3603. "type": "object",
  3604. "properties": {
  3605. "code": {
  3606. "type": "integer",
  3607. "format": "int64"
  3608. },
  3609. "data": {
  3610. "type": "object",
  3611. "properties": {
  3612. "limit": {
  3613. "type": "integer",
  3614. "format": "int32"
  3615. },
  3616. "list": {
  3617. "type": "array",
  3618. "items": {
  3619. "type": "object",
  3620. "properties": {
  3621. "child": {
  3622. "type": "array",
  3623. "items": {
  3624. "originalRef": "CategoryTreeVo",
  3625. "$ref": "#/definitions/CategoryTreeVo"
  3626. }
  3627. },
  3628. "extra": {
  3629. "type": "string",
  3630. "description": "扩展字段"
  3631. },
  3632. "id": {
  3633. "type": "integer",
  3634. "format": "int32"
  3635. },
  3636. "name": {
  3637. "type": "string",
  3638. "description": "分类名称"
  3639. },
  3640. "path": {
  3641. "type": "string",
  3642. "description": "路径"
  3643. },
  3644. "pid": {
  3645. "type": "integer",
  3646. "format": "int32",
  3647. "description": "父级ID"
  3648. },
  3649. "sort": {
  3650. "type": "integer",
  3651. "format": "int32",
  3652. "description": "排序"
  3653. },
  3654. "status": {
  3655. "type": "boolean",
  3656. "description": "状态, 0正常,1失效"
  3657. },
  3658. "type": {
  3659. "type": "integer",
  3660. "format": "int32",
  3661. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
  3662. },
  3663. "url": {
  3664. "type": "string",
  3665. "description": "地址"
  3666. }
  3667. },
  3668. "title": "CategoryTreeVo",
  3669. "$$ref": "#/definitions/CategoryTreeVo"
  3670. }
  3671. },
  3672. "page": {
  3673. "type": "integer",
  3674. "format": "int32"
  3675. },
  3676. "total": {
  3677. "type": "integer",
  3678. "format": "int64"
  3679. },
  3680. "totalPage": {
  3681. "type": "integer",
  3682. "format": "int32"
  3683. }
  3684. },
  3685. "title": "CommonPage«CategoryTreeVo»",
  3686. "$$ref": "#/definitions/CommonPage«CategoryTreeVo»"
  3687. },
  3688. "message": {
  3689. "type": "string"
  3690. }
  3691. },
  3692. "title": "CommonResult«CommonPage«CategoryTreeVo»»",
  3693. "$$ref": "#/definitions/CommonResult«CommonPage«CategoryTreeVo»»"
  3694. }
  3695. }
  3696. }
  3697. }
  3698. },
  3699. "/api/front/article/list/{cid}": {
  3700. "get": {
  3701. "tags": [
  3702. "文章"
  3703. ],
  3704. "summary": "分页列表",
  3705. "consumes": [
  3706. "text/plain"
  3707. ],
  3708. "parameters": [
  3709. {
  3710. "name": "cid",
  3711. "in": "path",
  3712. "description": "cid",
  3713. "required": true,
  3714. "type": "string"
  3715. },
  3716. {
  3717. "name": "limit",
  3718. "in": "query",
  3719. "required": false,
  3720. "description": "每页数量",
  3721. "type": "string"
  3722. },
  3723. {
  3724. "name": "page",
  3725. "in": "query",
  3726. "required": false,
  3727. "description": "页码",
  3728. "type": "string"
  3729. },
  3730. {
  3731. "name": "raw",
  3732. "in": "body",
  3733. "description": "raw paramter",
  3734. "schema": {
  3735. "type": "string",
  3736. "format": "binary"
  3737. }
  3738. }
  3739. ],
  3740. "responses": {
  3741. "200": {
  3742. "description": "successful operation",
  3743. "schema": {
  3744. "type": "object",
  3745. "properties": {
  3746. "code": {
  3747. "type": "integer",
  3748. "format": "int64"
  3749. },
  3750. "data": {
  3751. "type": "object",
  3752. "properties": {
  3753. "limit": {
  3754. "type": "integer",
  3755. "format": "int32"
  3756. },
  3757. "list": {
  3758. "type": "array",
  3759. "items": {
  3760. "type": "object",
  3761. "properties": {
  3762. "adminId": {
  3763. "type": "integer",
  3764. "format": "int32",
  3765. "description": "管理员id"
  3766. },
  3767. "author": {
  3768. "type": "string",
  3769. "description": "文章作者"
  3770. },
  3771. "categoryName": {
  3772. "type": "string",
  3773. "description": "分类"
  3774. },
  3775. "cid": {
  3776. "type": "string",
  3777. "description": "分类id"
  3778. },
  3779. "content": {
  3780. "type": "string",
  3781. "description": "文章内容"
  3782. },
  3783. "createTime": {
  3784. "type": "string",
  3785. "format": "date-time",
  3786. "description": "创建时间"
  3787. },
  3788. "hide": {
  3789. "type": "boolean",
  3790. "description": "是否隐藏"
  3791. },
  3792. "id": {
  3793. "type": "integer",
  3794. "format": "int32",
  3795. "description": "文章管理ID"
  3796. },
  3797. "imageInput": {
  3798. "type": "array",
  3799. "description": "文章图片 前端用",
  3800. "items": {
  3801. "type": "string"
  3802. }
  3803. },
  3804. "imageInputs": {
  3805. "type": "string",
  3806. "description": "文章图片 后端用"
  3807. },
  3808. "isBanner": {
  3809. "type": "boolean",
  3810. "description": "是否轮播图(小程序)"
  3811. },
  3812. "isHot": {
  3813. "type": "boolean",
  3814. "description": "是否热门(小程序)"
  3815. },
  3816. "mediaId": {
  3817. "type": "string",
  3818. "description": "微信素材媒体id"
  3819. },
  3820. "merId": {
  3821. "type": "integer",
  3822. "format": "int32",
  3823. "description": "商户id"
  3824. },
  3825. "productId": {
  3826. "type": "integer",
  3827. "format": "int32",
  3828. "description": "商品关联id"
  3829. },
  3830. "shareSynopsis": {
  3831. "type": "string",
  3832. "description": "文章分享简介"
  3833. },
  3834. "shareTitle": {
  3835. "type": "string",
  3836. "description": "文章分享标题"
  3837. },
  3838. "sort": {
  3839. "type": "integer",
  3840. "format": "int32",
  3841. "description": "排序"
  3842. },
  3843. "status": {
  3844. "type": "boolean",
  3845. "description": "状态"
  3846. },
  3847. "synopsis": {
  3848. "type": "string",
  3849. "description": "文章简介"
  3850. },
  3851. "title": {
  3852. "type": "string",
  3853. "description": "文章标题"
  3854. },
  3855. "updateTime": {
  3856. "type": "string",
  3857. "format": "date-time",
  3858. "description": "更新时间"
  3859. },
  3860. "url": {
  3861. "type": "string",
  3862. "description": "原文链接"
  3863. },
  3864. "visit": {
  3865. "type": "string",
  3866. "description": "浏览次数"
  3867. }
  3868. },
  3869. "title": "ArticleVo对象",
  3870. "description": "文章管理表",
  3871. "$$ref": "#/definitions/ArticleVo对象"
  3872. }
  3873. },
  3874. "page": {
  3875. "type": "integer",
  3876. "format": "int32"
  3877. },
  3878. "total": {
  3879. "type": "integer",
  3880. "format": "int64"
  3881. },
  3882. "totalPage": {
  3883. "type": "integer",
  3884. "format": "int32"
  3885. }
  3886. },
  3887. "title": "CommonPage«ArticleVo对象»",
  3888. "$$ref": "#/definitions/CommonPage«ArticleVo对象»"
  3889. },
  3890. "message": {
  3891. "type": "string"
  3892. }
  3893. },
  3894. "title": "CommonResult«CommonPage«ArticleVo对象»»",
  3895. "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»"
  3896. }
  3897. }
  3898. }
  3899. }
  3900. },
  3901. "/api/front/article/hot/list": {
  3902. "get": {
  3903. "tags": [
  3904. "文章"
  3905. ],
  3906. "summary": "热门列表",
  3907. "consumes": [
  3908. "text/plain"
  3909. ],
  3910. "parameters": [
  3911. {
  3912. "name": "raw",
  3913. "in": "body",
  3914. "description": "raw paramter",
  3915. "schema": {
  3916. "type": "string",
  3917. "format": "binary"
  3918. }
  3919. }
  3920. ],
  3921. "responses": {
  3922. "200": {
  3923. "description": "successful operation",
  3924. "schema": {
  3925. "type": "object",
  3926. "properties": {
  3927. "code": {
  3928. "type": "integer",
  3929. "format": "int64"
  3930. },
  3931. "data": {
  3932. "type": "object",
  3933. "properties": {
  3934. "limit": {
  3935. "type": "integer",
  3936. "format": "int32"
  3937. },
  3938. "list": {
  3939. "type": "array",
  3940. "items": {
  3941. "type": "object",
  3942. "properties": {
  3943. "adminId": {
  3944. "type": "integer",
  3945. "format": "int32",
  3946. "description": "管理员id"
  3947. },
  3948. "author": {
  3949. "type": "string",
  3950. "description": "文章作者"
  3951. },
  3952. "categoryName": {
  3953. "type": "string",
  3954. "description": "分类"
  3955. },
  3956. "cid": {
  3957. "type": "string",
  3958. "description": "分类id"
  3959. },
  3960. "content": {
  3961. "type": "string",
  3962. "description": "文章内容"
  3963. },
  3964. "createTime": {
  3965. "type": "string",
  3966. "format": "date-time",
  3967. "description": "创建时间"
  3968. },
  3969. "hide": {
  3970. "type": "boolean",
  3971. "description": "是否隐藏"
  3972. },
  3973. "id": {
  3974. "type": "integer",
  3975. "format": "int32",
  3976. "description": "文章管理ID"
  3977. },
  3978. "imageInput": {
  3979. "type": "array",
  3980. "description": "文章图片 前端用",
  3981. "items": {
  3982. "type": "string"
  3983. }
  3984. },
  3985. "imageInputs": {
  3986. "type": "string",
  3987. "description": "文章图片 后端用"
  3988. },
  3989. "isBanner": {
  3990. "type": "boolean",
  3991. "description": "是否轮播图(小程序)"
  3992. },
  3993. "isHot": {
  3994. "type": "boolean",
  3995. "description": "是否热门(小程序)"
  3996. },
  3997. "mediaId": {
  3998. "type": "string",
  3999. "description": "微信素材媒体id"
  4000. },
  4001. "merId": {
  4002. "type": "integer",
  4003. "format": "int32",
  4004. "description": "商户id"
  4005. },
  4006. "productId": {
  4007. "type": "integer",
  4008. "format": "int32",
  4009. "description": "商品关联id"
  4010. },
  4011. "shareSynopsis": {
  4012. "type": "string",
  4013. "description": "文章分享简介"
  4014. },
  4015. "shareTitle": {
  4016. "type": "string",
  4017. "description": "文章分享标题"
  4018. },
  4019. "sort": {
  4020. "type": "integer",
  4021. "format": "int32",
  4022. "description": "排序"
  4023. },
  4024. "status": {
  4025. "type": "boolean",
  4026. "description": "状态"
  4027. },
  4028. "synopsis": {
  4029. "type": "string",
  4030. "description": "文章简介"
  4031. },
  4032. "title": {
  4033. "type": "string",
  4034. "description": "文章标题"
  4035. },
  4036. "updateTime": {
  4037. "type": "string",
  4038. "format": "date-time",
  4039. "description": "更新时间"
  4040. },
  4041. "url": {
  4042. "type": "string",
  4043. "description": "原文链接"
  4044. },
  4045. "visit": {
  4046. "type": "string",
  4047. "description": "浏览次数"
  4048. }
  4049. },
  4050. "title": "ArticleVo对象",
  4051. "description": "文章管理表",
  4052. "$$ref": "#/definitions/ArticleVo对象"
  4053. }
  4054. },
  4055. "page": {
  4056. "type": "integer",
  4057. "format": "int32"
  4058. },
  4059. "total": {
  4060. "type": "integer",
  4061. "format": "int64"
  4062. },
  4063. "totalPage": {
  4064. "type": "integer",
  4065. "format": "int32"
  4066. }
  4067. },
  4068. "title": "CommonPage«ArticleVo对象»",
  4069. "$$ref": "#/definitions/CommonPage«ArticleVo对象»"
  4070. },
  4071. "message": {
  4072. "type": "string"
  4073. }
  4074. },
  4075. "title": "CommonResult«CommonPage«ArticleVo对象»»",
  4076. "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»"
  4077. }
  4078. }
  4079. }
  4080. }
  4081. },
  4082. "/api/front/article/info": {
  4083. "get": {
  4084. "tags": [
  4085. "文章"
  4086. ],
  4087. "summary": "详情",
  4088. "consumes": [
  4089. "text/plain"
  4090. ],
  4091. "parameters": [
  4092. {
  4093. "name": "id",
  4094. "in": "query",
  4095. "required": false,
  4096. "description": "文章ID",
  4097. "type": "string"
  4098. },
  4099. {
  4100. "name": "raw",
  4101. "in": "body",
  4102. "description": "raw paramter",
  4103. "schema": {
  4104. "type": "string",
  4105. "format": "binary"
  4106. }
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "successful operation",
  4112. "schema": {
  4113. "type": "object",
  4114. "properties": {
  4115. "code": {
  4116. "type": "integer",
  4117. "format": "int64"
  4118. },
  4119. "data": {
  4120. "type": "object",
  4121. "properties": {
  4122. "adminId": {
  4123. "type": "integer",
  4124. "format": "int32",
  4125. "description": "管理员id"
  4126. },
  4127. "author": {
  4128. "type": "string",
  4129. "description": "文章作者"
  4130. },
  4131. "categoryName": {
  4132. "type": "string",
  4133. "description": "分类"
  4134. },
  4135. "cid": {
  4136. "type": "string",
  4137. "description": "分类id"
  4138. },
  4139. "content": {
  4140. "type": "string",
  4141. "description": "文章内容"
  4142. },
  4143. "createTime": {
  4144. "type": "string",
  4145. "format": "date-time",
  4146. "description": "创建时间"
  4147. },
  4148. "hide": {
  4149. "type": "boolean",
  4150. "description": "是否隐藏"
  4151. },
  4152. "id": {
  4153. "type": "integer",
  4154. "format": "int32",
  4155. "description": "文章管理ID"
  4156. },
  4157. "imageInput": {
  4158. "type": "array",
  4159. "description": "文章图片 前端用",
  4160. "items": {
  4161. "type": "string"
  4162. }
  4163. },
  4164. "imageInputs": {
  4165. "type": "string",
  4166. "description": "文章图片 后端用"
  4167. },
  4168. "isBanner": {
  4169. "type": "boolean",
  4170. "description": "是否轮播图(小程序)"
  4171. },
  4172. "isHot": {
  4173. "type": "boolean",
  4174. "description": "是否热门(小程序)"
  4175. },
  4176. "mediaId": {
  4177. "type": "string",
  4178. "description": "微信素材媒体id"
  4179. },
  4180. "merId": {
  4181. "type": "integer",
  4182. "format": "int32",
  4183. "description": "商户id"
  4184. },
  4185. "productId": {
  4186. "type": "integer",
  4187. "format": "int32",
  4188. "description": "商品关联id"
  4189. },
  4190. "shareSynopsis": {
  4191. "type": "string",
  4192. "description": "文章分享简介"
  4193. },
  4194. "shareTitle": {
  4195. "type": "string",
  4196. "description": "文章分享标题"
  4197. },
  4198. "sort": {
  4199. "type": "integer",
  4200. "format": "int32",
  4201. "description": "排序"
  4202. },
  4203. "status": {
  4204. "type": "boolean",
  4205. "description": "状态"
  4206. },
  4207. "synopsis": {
  4208. "type": "string",
  4209. "description": "文章简介"
  4210. },
  4211. "title": {
  4212. "type": "string",
  4213. "description": "文章标题"
  4214. },
  4215. "updateTime": {
  4216. "type": "string",
  4217. "format": "date-time",
  4218. "description": "更新时间"
  4219. },
  4220. "url": {
  4221. "type": "string",
  4222. "description": "原文链接"
  4223. },
  4224. "visit": {
  4225. "type": "string",
  4226. "description": "浏览次数"
  4227. }
  4228. },
  4229. "title": "ArticleVo对象",
  4230. "description": "文章管理表",
  4231. "$$ref": "#/definitions/ArticleVo对象"
  4232. },
  4233. "message": {
  4234. "type": "string"
  4235. }
  4236. },
  4237. "title": "CommonResult«ArticleVo对象»",
  4238. "$$ref": "#/definitions/CommonResult«ArticleVo对象»"
  4239. }
  4240. }
  4241. }
  4242. }
  4243. },
  4244. "/api/front/article/banner/list": {
  4245. "get": {
  4246. "tags": [
  4247. "文章"
  4248. ],
  4249. "summary": "轮播列表",
  4250. "consumes": [
  4251. "text/plain"
  4252. ],
  4253. "parameters": [
  4254. {
  4255. "name": "raw",
  4256. "in": "body",
  4257. "description": "raw paramter",
  4258. "schema": {
  4259. "type": "string",
  4260. "format": "binary"
  4261. }
  4262. }
  4263. ],
  4264. "responses": {
  4265. "200": {
  4266. "description": "successful operation",
  4267. "schema": {
  4268. "type": "object",
  4269. "properties": {
  4270. "code": {
  4271. "type": "integer",
  4272. "format": "int64"
  4273. },
  4274. "data": {
  4275. "type": "object",
  4276. "properties": {
  4277. "limit": {
  4278. "type": "integer",
  4279. "format": "int32"
  4280. },
  4281. "list": {
  4282. "type": "array",
  4283. "items": {
  4284. "type": "object",
  4285. "properties": {
  4286. "adminId": {
  4287. "type": "integer",
  4288. "format": "int32",
  4289. "description": "管理员id"
  4290. },
  4291. "author": {
  4292. "type": "string",
  4293. "description": "文章作者"
  4294. },
  4295. "categoryName": {
  4296. "type": "string",
  4297. "description": "分类"
  4298. },
  4299. "cid": {
  4300. "type": "string",
  4301. "description": "分类id"
  4302. },
  4303. "content": {
  4304. "type": "string",
  4305. "description": "文章内容"
  4306. },
  4307. "createTime": {
  4308. "type": "string",
  4309. "format": "date-time",
  4310. "description": "创建时间"
  4311. },
  4312. "hide": {
  4313. "type": "boolean",
  4314. "description": "是否隐藏"
  4315. },
  4316. "id": {
  4317. "type": "integer",
  4318. "format": "int32",
  4319. "description": "文章管理ID"
  4320. },
  4321. "imageInput": {
  4322. "type": "array",
  4323. "description": "文章图片 前端用",
  4324. "items": {
  4325. "type": "string"
  4326. }
  4327. },
  4328. "imageInputs": {
  4329. "type": "string",
  4330. "description": "文章图片 后端用"
  4331. },
  4332. "isBanner": {
  4333. "type": "boolean",
  4334. "description": "是否轮播图(小程序)"
  4335. },
  4336. "isHot": {
  4337. "type": "boolean",
  4338. "description": "是否热门(小程序)"
  4339. },
  4340. "mediaId": {
  4341. "type": "string",
  4342. "description": "微信素材媒体id"
  4343. },
  4344. "merId": {
  4345. "type": "integer",
  4346. "format": "int32",
  4347. "description": "商户id"
  4348. },
  4349. "productId": {
  4350. "type": "integer",
  4351. "format": "int32",
  4352. "description": "商品关联id"
  4353. },
  4354. "shareSynopsis": {
  4355. "type": "string",
  4356. "description": "文章分享简介"
  4357. },
  4358. "shareTitle": {
  4359. "type": "string",
  4360. "description": "文章分享标题"
  4361. },
  4362. "sort": {
  4363. "type": "integer",
  4364. "format": "int32",
  4365. "description": "排序"
  4366. },
  4367. "status": {
  4368. "type": "boolean",
  4369. "description": "状态"
  4370. },
  4371. "synopsis": {
  4372. "type": "string",
  4373. "description": "文章简介"
  4374. },
  4375. "title": {
  4376. "type": "string",
  4377. "description": "文章标题"
  4378. },
  4379. "updateTime": {
  4380. "type": "string",
  4381. "format": "date-time",
  4382. "description": "更新时间"
  4383. },
  4384. "url": {
  4385. "type": "string",
  4386. "description": "原文链接"
  4387. },
  4388. "visit": {
  4389. "type": "string",
  4390. "description": "浏览次数"
  4391. }
  4392. },
  4393. "title": "ArticleVo对象",
  4394. "description": "文章管理表",
  4395. "$$ref": "#/definitions/ArticleVo对象"
  4396. }
  4397. },
  4398. "page": {
  4399. "type": "integer",
  4400. "format": "int32"
  4401. },
  4402. "total": {
  4403. "type": "integer",
  4404. "format": "int64"
  4405. },
  4406. "totalPage": {
  4407. "type": "integer",
  4408. "format": "int32"
  4409. }
  4410. },
  4411. "title": "CommonPage«ArticleVo对象»",
  4412. "$$ref": "#/definitions/CommonPage«ArticleVo对象»"
  4413. },
  4414. "message": {
  4415. "type": "string"
  4416. }
  4417. },
  4418. "title": "CommonResult«CommonPage«ArticleVo对象»»",
  4419. "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»"
  4420. }
  4421. }
  4422. }
  4423. }
  4424. },
  4425. "/api/front/logistics": {
  4426. "get": {
  4427. "tags": [
  4428. "物流公司"
  4429. ],
  4430. "summary": "列表",
  4431. "consumes": [
  4432. "text/plain"
  4433. ],
  4434. "parameters": [
  4435. {
  4436. "name": "raw",
  4437. "in": "body",
  4438. "description": "raw paramter",
  4439. "schema": {
  4440. "type": "string",
  4441. "format": "binary"
  4442. }
  4443. }
  4444. ],
  4445. "responses": {
  4446. "200": {
  4447. "description": "successful operation",
  4448. "schema": {
  4449. "type": "object",
  4450. "properties": {
  4451. "code": {
  4452. "type": "integer",
  4453. "format": "int64"
  4454. },
  4455. "data": {
  4456. "type": "object",
  4457. "properties": {
  4458. "limit": {
  4459. "type": "integer",
  4460. "format": "int32"
  4461. },
  4462. "list": {
  4463. "type": "array",
  4464. "items": {
  4465. "type": "object",
  4466. "properties": {
  4467. "code": {
  4468. "type": "string",
  4469. "description": "快递公司简称"
  4470. },
  4471. "id": {
  4472. "type": "integer",
  4473. "format": "int32",
  4474. "description": "快递公司id"
  4475. },
  4476. "isShow": {
  4477. "type": "boolean",
  4478. "description": "是否显示"
  4479. },
  4480. "name": {
  4481. "type": "string",
  4482. "description": "快递公司全称"
  4483. },
  4484. "sort": {
  4485. "type": "integer",
  4486. "format": "int32",
  4487. "description": "排序"
  4488. }
  4489. },
  4490. "title": "Express对象",
  4491. "description": "快递公司表",
  4492. "$$ref": "#/definitions/Express对象"
  4493. }
  4494. },
  4495. "page": {
  4496. "type": "integer",
  4497. "format": "int32"
  4498. },
  4499. "total": {
  4500. "type": "integer",
  4501. "format": "int64"
  4502. },
  4503. "totalPage": {
  4504. "type": "integer",
  4505. "format": "int32"
  4506. }
  4507. },
  4508. "title": "CommonPage«Express对象»",
  4509. "$$ref": "#/definitions/CommonPage«Express对象»"
  4510. },
  4511. "message": {
  4512. "type": "string"
  4513. }
  4514. },
  4515. "title": "CommonResult«CommonPage«Express对象»»",
  4516. "$$ref": "#/definitions/CommonResult«CommonPage«Express对象»»"
  4517. }
  4518. }
  4519. }
  4520. }
  4521. },
  4522. "/api/front/recharge/transferIn": {
  4523. "post": {
  4524. "tags": [
  4525. "用户 -- 充值"
  4526. ],
  4527. "summary": "余额转入",
  4528. "consumes": [
  4529. "application/json"
  4530. ],
  4531. "parameters": [
  4532. {
  4533. "name": "price",
  4534. "in": "query",
  4535. "required": false,
  4536. "description": "price",
  4537. "type": "string"
  4538. }
  4539. ],
  4540. "responses": {
  4541. "200": {
  4542. "description": "successful operation",
  4543. "schema": {
  4544. "type": "object",
  4545. "properties": {
  4546. "code": {
  4547. "type": "integer",
  4548. "format": "int64"
  4549. },
  4550. "data": {
  4551. "type": "boolean"
  4552. },
  4553. "message": {
  4554. "type": "string"
  4555. }
  4556. },
  4557. "title": "CommonResult«boolean»",
  4558. "$$ref": "#/definitions/CommonResult«boolean»"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/api/front/recharge/index": {
  4565. "get": {
  4566. "tags": [
  4567. "用户 -- 充值"
  4568. ],
  4569. "summary": "充值额度选择",
  4570. "consumes": [
  4571. "text/plain"
  4572. ],
  4573. "parameters": [
  4574. {
  4575. "name": "raw",
  4576. "in": "body",
  4577. "description": "raw paramter",
  4578. "schema": {
  4579. "type": "string",
  4580. "format": "binary"
  4581. }
  4582. }
  4583. ],
  4584. "responses": {
  4585. "200": {
  4586. "description": "successful operation",
  4587. "schema": {
  4588. "type": "object",
  4589. "properties": {
  4590. "code": {
  4591. "type": "integer",
  4592. "format": "int64"
  4593. },
  4594. "data": {
  4595. "type": "object",
  4596. "properties": {
  4597. "giveMoney": {
  4598. "type": "string",
  4599. "description": "赠送金额"
  4600. },
  4601. "id": {
  4602. "type": "integer",
  4603. "format": "int32",
  4604. "description": "充值模板id"
  4605. },
  4606. "price": {
  4607. "type": "string",
  4608. "description": "充值金额"
  4609. }
  4610. },
  4611. "title": "UserRechargeResponse对象",
  4612. "description": "c",
  4613. "$$ref": "#/definitions/UserRechargeResponse对象"
  4614. },
  4615. "message": {
  4616. "type": "string"
  4617. }
  4618. },
  4619. "title": "CommonResult«UserRechargeResponse对象»",
  4620. "$$ref": "#/definitions/CommonResult«UserRechargeResponse对象»"
  4621. }
  4622. }
  4623. }
  4624. }
  4625. },
  4626. "/api/front/recharge/wechat": {
  4627. "post": {
  4628. "tags": [
  4629. "用户 -- 充值"
  4630. ],
  4631. "summary": "公众号充值",
  4632. "consumes": [
  4633. "application/json"
  4634. ],
  4635. "parameters": [
  4636. {
  4637. "name": "root",
  4638. "in": "body",
  4639. "description": "充值",
  4640. "schema": {
  4641. "type": "object",
  4642. "properties": {
  4643. "from": {
  4644. "type": "string",
  4645. "description": "来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序"
  4646. },
  4647. "payType": {
  4648. "type": "string",
  4649. "description": "支付方式| weixin = 微信,alipay = 支付宝"
  4650. },
  4651. "price": {
  4652. "type": "number",
  4653. "description": "充值金额"
  4654. },
  4655. "rechar_id": {
  4656. "type": "integer",
  4657. "format": "int32",
  4658. "description": "选择金额组合数据id"
  4659. }
  4660. },
  4661. "title": "UserRechargeRequest对象",
  4662. "description": "充值",
  4663. "$$ref": "#/definitions/UserRechargeRequest对象"
  4664. }
  4665. }
  4666. ],
  4667. "responses": {
  4668. "200": {
  4669. "description": "successful operation",
  4670. "schema": {
  4671. "type": "object",
  4672. "properties": {
  4673. "code": {
  4674. "type": "integer",
  4675. "format": "int64"
  4676. },
  4677. "data": {
  4678. "type": "object",
  4679. "properties": {
  4680. "appId": {
  4681. "type": "string",
  4682. "description": "调用接口提交的公众账号ID"
  4683. },
  4684. "h5PayUrl": {
  4685. "type": "string",
  4686. "description": "H5支付的跳转url"
  4687. },
  4688. "nonceStr": {
  4689. "type": "string",
  4690. "description": "随机字符串"
  4691. },
  4692. "package": {
  4693. "type": "string",
  4694. "description": "订单详情扩展字符串"
  4695. },
  4696. "paySign": {
  4697. "type": "string",
  4698. "description": "签名"
  4699. },
  4700. "prepayId": {
  4701. "type": "string",
  4702. "description": "微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途"
  4703. },
  4704. "signType": {
  4705. "type": "string",
  4706. "description": "签名方式"
  4707. },
  4708. "timeStamp": {
  4709. "type": "integer",
  4710. "format": "int32",
  4711. "description": "当前的时间,其他详见时间戳规则"
  4712. }
  4713. },
  4714. "title": "UserRechargePaymentResponse对象",
  4715. "description": "充值返回对象",
  4716. "$$ref": "#/definitions/UserRechargePaymentResponse对象"
  4717. },
  4718. "message": {
  4719. "type": "string"
  4720. }
  4721. },
  4722. "title": "CommonResult«UserRechargePaymentResponse对象»",
  4723. "$$ref": "#/definitions/CommonResult«UserRechargePaymentResponse对象»"
  4724. }
  4725. }
  4726. }
  4727. }
  4728. },
  4729. "/api/front/recharge/routine": {
  4730. "post": {
  4731. "tags": [
  4732. "用户 -- 充值"
  4733. ],
  4734. "summary": "小程序充值",
  4735. "consumes": [
  4736. "application/json"
  4737. ],
  4738. "parameters": [
  4739. {
  4740. "name": "root",
  4741. "in": "body",
  4742. "description": "充值",
  4743. "schema": {
  4744. "type": "object",
  4745. "properties": {
  4746. "from": {
  4747. "type": "string",
  4748. "description": "来源 | public = 微信公众号, weixinh5 =微信H5支付, routine = 小程序"
  4749. },
  4750. "payType": {
  4751. "type": "string",
  4752. "description": "支付方式| weixin = 微信,alipay = 支付宝"
  4753. },
  4754. "price": {
  4755. "type": "number",
  4756. "description": "充值金额"
  4757. },
  4758. "rechar_id": {
  4759. "type": "integer",
  4760. "format": "int32",
  4761. "description": "选择金额组合数据id"
  4762. }
  4763. },
  4764. "title": "UserRechargeRequest对象",
  4765. "description": "充值",
  4766. "$$ref": "#/definitions/UserRechargeRequest对象"
  4767. }
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "successful operation",
  4773. "schema": {
  4774. "type": "object",
  4775. "properties": {
  4776. "code": {
  4777. "type": "integer",
  4778. "format": "int64"
  4779. },
  4780. "data": {
  4781. "type": "object"
  4782. },
  4783. "message": {
  4784. "type": "string"
  4785. }
  4786. },
  4787. "title": "CommonResult«Map«string,object»»",
  4788. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  4789. }
  4790. }
  4791. }
  4792. }
  4793. },
  4794. "/api/front/address/edit": {
  4795. "post": {
  4796. "tags": [
  4797. "用户 -- 地址"
  4798. ],
  4799. "summary": "保存",
  4800. "consumes": [
  4801. "application/json"
  4802. ],
  4803. "parameters": [
  4804. {
  4805. "name": "root",
  4806. "in": "body",
  4807. "description": "用户地址",
  4808. "schema": {
  4809. "type": "object",
  4810. "required": [
  4811. "address",
  4812. "detail",
  4813. "isDefault",
  4814. "phone",
  4815. "realName"
  4816. ],
  4817. "properties": {
  4818. "address": {
  4819. "type": "object",
  4820. "required": [
  4821. "city",
  4822. "district",
  4823. "province"
  4824. ],
  4825. "properties": {
  4826. "city": {
  4827. "type": "string",
  4828. "description": "收货人所在市"
  4829. },
  4830. "cityId": {
  4831. "type": "integer",
  4832. "format": "int32",
  4833. "description": "城市id"
  4834. },
  4835. "district": {
  4836. "type": "string",
  4837. "description": "收货人所在区"
  4838. },
  4839. "province": {
  4840. "type": "string",
  4841. "description": "收货人所在省"
  4842. }
  4843. },
  4844. "title": "UserAddressCityRequest对象",
  4845. "description": "用户地址城市",
  4846. "$$ref": "#/definitions/UserAddressCityRequest对象"
  4847. },
  4848. "detail": {
  4849. "type": "string",
  4850. "description": "收货人详细地址"
  4851. },
  4852. "id": {
  4853. "type": "integer",
  4854. "format": "int32",
  4855. "description": "用户地址id"
  4856. },
  4857. "isDefault": {
  4858. "type": "boolean",
  4859. "example": false,
  4860. "description": "是否默认"
  4861. },
  4862. "phone": {
  4863. "type": "string",
  4864. "description": "收货人电话"
  4865. },
  4866. "realName": {
  4867. "type": "string",
  4868. "description": "收货人姓名"
  4869. }
  4870. },
  4871. "title": "UserAddressRequest对象",
  4872. "description": "用户地址",
  4873. "$$ref": "#/definitions/UserAddressRequest对象"
  4874. }
  4875. }
  4876. ],
  4877. "responses": {
  4878. "200": {
  4879. "description": "successful operation",
  4880. "schema": {
  4881. "type": "object",
  4882. "properties": {
  4883. "code": {
  4884. "type": "integer",
  4885. "format": "int64"
  4886. },
  4887. "data": {
  4888. "type": "object",
  4889. "properties": {
  4890. "city": {
  4891. "type": "string",
  4892. "description": "收货人所在市"
  4893. },
  4894. "cityId": {
  4895. "type": "integer",
  4896. "format": "int32",
  4897. "description": "城市id"
  4898. },
  4899. "createTime": {
  4900. "type": "string",
  4901. "format": "date-time",
  4902. "description": "创建时间"
  4903. },
  4904. "detail": {
  4905. "type": "string",
  4906. "description": "收货人详细地址"
  4907. },
  4908. "district": {
  4909. "type": "string",
  4910. "description": "收货人所在区"
  4911. },
  4912. "id": {
  4913. "type": "integer",
  4914. "format": "int32",
  4915. "description": "用户地址id"
  4916. },
  4917. "isDefault": {
  4918. "type": "boolean",
  4919. "description": "是否默认"
  4920. },
  4921. "isDel": {
  4922. "type": "boolean",
  4923. "description": "是否删除"
  4924. },
  4925. "latitude": {
  4926. "type": "string",
  4927. "description": "纬度"
  4928. },
  4929. "longitude": {
  4930. "type": "string",
  4931. "description": "经度"
  4932. },
  4933. "phone": {
  4934. "type": "string",
  4935. "description": "收货人电话"
  4936. },
  4937. "postCode": {
  4938. "type": "integer",
  4939. "format": "int32",
  4940. "description": "邮编"
  4941. },
  4942. "province": {
  4943. "type": "string",
  4944. "description": "收货人所在省"
  4945. },
  4946. "realName": {
  4947. "type": "string",
  4948. "description": "收货人姓名"
  4949. },
  4950. "uid": {
  4951. "type": "integer",
  4952. "format": "int32",
  4953. "description": "用户id"
  4954. },
  4955. "updateTime": {
  4956. "type": "string",
  4957. "format": "date-time",
  4958. "description": "创建时间"
  4959. }
  4960. },
  4961. "title": "UserAddress对象",
  4962. "description": "用户地址表",
  4963. "$$ref": "#/definitions/UserAddress对象"
  4964. },
  4965. "message": {
  4966. "type": "string"
  4967. }
  4968. },
  4969. "title": "CommonResult«UserAddress对象»",
  4970. "$$ref": "#/definitions/CommonResult«UserAddress对象»"
  4971. }
  4972. }
  4973. }
  4974. }
  4975. },
  4976. "/api/front/address/list": {
  4977. "get": {
  4978. "tags": [
  4979. "用户 -- 地址"
  4980. ],
  4981. "summary": "列表",
  4982. "consumes": [
  4983. "text/plain"
  4984. ],
  4985. "parameters": [
  4986. {
  4987. "name": "limit",
  4988. "in": "query",
  4989. "required": false,
  4990. "description": "每页数量",
  4991. "type": "string"
  4992. },
  4993. {
  4994. "name": "page",
  4995. "in": "query",
  4996. "required": false,
  4997. "description": "页码",
  4998. "type": "string"
  4999. },
  5000. {
  5001. "name": "raw",
  5002. "in": "body",
  5003. "description": "raw paramter",
  5004. "schema": {
  5005. "type": "string",
  5006. "format": "binary"
  5007. }
  5008. }
  5009. ],
  5010. "responses": {
  5011. "200": {
  5012. "description": "successful operation",
  5013. "schema": {
  5014. "type": "object",
  5015. "properties": {
  5016. "code": {
  5017. "type": "integer",
  5018. "format": "int64"
  5019. },
  5020. "data": {
  5021. "type": "object",
  5022. "properties": {
  5023. "limit": {
  5024. "type": "integer",
  5025. "format": "int32"
  5026. },
  5027. "list": {
  5028. "type": "array",
  5029. "items": {
  5030. "type": "object",
  5031. "properties": {
  5032. "city": {
  5033. "type": "string",
  5034. "description": "收货人所在市"
  5035. },
  5036. "cityId": {
  5037. "type": "integer",
  5038. "format": "int32",
  5039. "description": "城市id"
  5040. },
  5041. "createTime": {
  5042. "type": "string",
  5043. "format": "date-time",
  5044. "description": "创建时间"
  5045. },
  5046. "detail": {
  5047. "type": "string",
  5048. "description": "收货人详细地址"
  5049. },
  5050. "district": {
  5051. "type": "string",
  5052. "description": "收货人所在区"
  5053. },
  5054. "id": {
  5055. "type": "integer",
  5056. "format": "int32",
  5057. "description": "用户地址id"
  5058. },
  5059. "isDefault": {
  5060. "type": "boolean",
  5061. "description": "是否默认"
  5062. },
  5063. "isDel": {
  5064. "type": "boolean",
  5065. "description": "是否删除"
  5066. },
  5067. "latitude": {
  5068. "type": "string",
  5069. "description": "纬度"
  5070. },
  5071. "longitude": {
  5072. "type": "string",
  5073. "description": "经度"
  5074. },
  5075. "phone": {
  5076. "type": "string",
  5077. "description": "收货人电话"
  5078. },
  5079. "postCode": {
  5080. "type": "integer",
  5081. "format": "int32",
  5082. "description": "邮编"
  5083. },
  5084. "province": {
  5085. "type": "string",
  5086. "description": "收货人所在省"
  5087. },
  5088. "realName": {
  5089. "type": "string",
  5090. "description": "收货人姓名"
  5091. },
  5092. "uid": {
  5093. "type": "integer",
  5094. "format": "int32",
  5095. "description": "用户id"
  5096. },
  5097. "updateTime": {
  5098. "type": "string",
  5099. "format": "date-time",
  5100. "description": "创建时间"
  5101. }
  5102. },
  5103. "title": "UserAddress对象",
  5104. "description": "用户地址表",
  5105. "$$ref": "#/definitions/UserAddress对象"
  5106. }
  5107. },
  5108. "page": {
  5109. "type": "integer",
  5110. "format": "int32"
  5111. },
  5112. "total": {
  5113. "type": "integer",
  5114. "format": "int64"
  5115. },
  5116. "totalPage": {
  5117. "type": "integer",
  5118. "format": "int32"
  5119. }
  5120. },
  5121. "title": "CommonPage«UserAddress对象»",
  5122. "$$ref": "#/definitions/CommonPage«UserAddress对象»"
  5123. },
  5124. "message": {
  5125. "type": "string"
  5126. }
  5127. },
  5128. "title": "CommonResult«CommonPage«UserAddress对象»»",
  5129. "$$ref": "#/definitions/CommonResult«CommonPage«UserAddress对象»»"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/api/front/address/del": {
  5136. "post": {
  5137. "tags": [
  5138. "用户 -- 地址"
  5139. ],
  5140. "summary": "删除",
  5141. "consumes": [
  5142. "application/json"
  5143. ],
  5144. "parameters": [
  5145. {
  5146. "name": "root",
  5147. "in": "body",
  5148. "description": "用户地址",
  5149. "schema": {
  5150. "type": "object",
  5151. "properties": {
  5152. "id": {
  5153. "type": "integer",
  5154. "format": "int32",
  5155. "description": "用户地址id"
  5156. }
  5157. },
  5158. "title": "UserAddressDelRequest对象",
  5159. "description": "用户地址",
  5160. "$$ref": "#/definitions/UserAddressDelRequest对象"
  5161. }
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "successful operation",
  5167. "schema": {
  5168. "type": "object",
  5169. "properties": {
  5170. "code": {
  5171. "type": "integer",
  5172. "format": "int64"
  5173. },
  5174. "data": {
  5175. "type": "string"
  5176. },
  5177. "message": {
  5178. "type": "string"
  5179. }
  5180. },
  5181. "title": "CommonResult«string»",
  5182. "$$ref": "#/definitions/CommonResult«string»"
  5183. }
  5184. }
  5185. }
  5186. }
  5187. },
  5188. "/api/front/address/detail/{id}": {
  5189. "get": {
  5190. "tags": [
  5191. "用户 -- 地址"
  5192. ],
  5193. "summary": "获取单个地址",
  5194. "consumes": [
  5195. "text/plain"
  5196. ],
  5197. "parameters": [
  5198. {
  5199. "name": "id",
  5200. "in": "path",
  5201. "description": "id",
  5202. "required": true,
  5203. "type": "string"
  5204. },
  5205. {
  5206. "name": "raw",
  5207. "in": "body",
  5208. "description": "raw paramter",
  5209. "schema": {
  5210. "type": "string",
  5211. "format": "binary"
  5212. }
  5213. }
  5214. ],
  5215. "responses": {
  5216. "200": {
  5217. "description": "successful operation",
  5218. "schema": {
  5219. "type": "object",
  5220. "properties": {
  5221. "code": {
  5222. "type": "integer",
  5223. "format": "int64"
  5224. },
  5225. "data": {
  5226. "type": "object",
  5227. "properties": {
  5228. "city": {
  5229. "type": "string",
  5230. "description": "收货人所在市"
  5231. },
  5232. "cityId": {
  5233. "type": "integer",
  5234. "format": "int32",
  5235. "description": "城市id"
  5236. },
  5237. "createTime": {
  5238. "type": "string",
  5239. "format": "date-time",
  5240. "description": "创建时间"
  5241. },
  5242. "detail": {
  5243. "type": "string",
  5244. "description": "收货人详细地址"
  5245. },
  5246. "district": {
  5247. "type": "string",
  5248. "description": "收货人所在区"
  5249. },
  5250. "id": {
  5251. "type": "integer",
  5252. "format": "int32",
  5253. "description": "用户地址id"
  5254. },
  5255. "isDefault": {
  5256. "type": "boolean",
  5257. "description": "是否默认"
  5258. },
  5259. "isDel": {
  5260. "type": "boolean",
  5261. "description": "是否删除"
  5262. },
  5263. "latitude": {
  5264. "type": "string",
  5265. "description": "纬度"
  5266. },
  5267. "longitude": {
  5268. "type": "string",
  5269. "description": "经度"
  5270. },
  5271. "phone": {
  5272. "type": "string",
  5273. "description": "收货人电话"
  5274. },
  5275. "postCode": {
  5276. "type": "integer",
  5277. "format": "int32",
  5278. "description": "邮编"
  5279. },
  5280. "province": {
  5281. "type": "string",
  5282. "description": "收货人所在省"
  5283. },
  5284. "realName": {
  5285. "type": "string",
  5286. "description": "收货人姓名"
  5287. },
  5288. "uid": {
  5289. "type": "integer",
  5290. "format": "int32",
  5291. "description": "用户id"
  5292. },
  5293. "updateTime": {
  5294. "type": "string",
  5295. "format": "date-time",
  5296. "description": "创建时间"
  5297. }
  5298. },
  5299. "title": "UserAddress对象",
  5300. "description": "用户地址表",
  5301. "$$ref": "#/definitions/UserAddress对象"
  5302. },
  5303. "message": {
  5304. "type": "string"
  5305. }
  5306. },
  5307. "title": "CommonResult«UserAddress对象»",
  5308. "$$ref": "#/definitions/CommonResult«UserAddress对象»"
  5309. }
  5310. }
  5311. }
  5312. }
  5313. },
  5314. "/api/front/address/default": {
  5315. "get": {
  5316. "tags": [
  5317. "用户 -- 地址"
  5318. ],
  5319. "summary": "获取默认地址",
  5320. "consumes": [
  5321. "text/plain"
  5322. ],
  5323. "parameters": [
  5324. {
  5325. "name": "raw",
  5326. "in": "body",
  5327. "description": "raw paramter",
  5328. "schema": {
  5329. "type": "string",
  5330. "format": "binary"
  5331. }
  5332. }
  5333. ],
  5334. "responses": {
  5335. "200": {
  5336. "description": "successful operation",
  5337. "schema": {
  5338. "type": "object",
  5339. "properties": {
  5340. "code": {
  5341. "type": "integer",
  5342. "format": "int64"
  5343. },
  5344. "data": {
  5345. "type": "object",
  5346. "properties": {
  5347. "city": {
  5348. "type": "string",
  5349. "description": "收货人所在市"
  5350. },
  5351. "cityId": {
  5352. "type": "integer",
  5353. "format": "int32",
  5354. "description": "城市id"
  5355. },
  5356. "createTime": {
  5357. "type": "string",
  5358. "format": "date-time",
  5359. "description": "创建时间"
  5360. },
  5361. "detail": {
  5362. "type": "string",
  5363. "description": "收货人详细地址"
  5364. },
  5365. "district": {
  5366. "type": "string",
  5367. "description": "收货人所在区"
  5368. },
  5369. "id": {
  5370. "type": "integer",
  5371. "format": "int32",
  5372. "description": "用户地址id"
  5373. },
  5374. "isDefault": {
  5375. "type": "boolean",
  5376. "description": "是否默认"
  5377. },
  5378. "isDel": {
  5379. "type": "boolean",
  5380. "description": "是否删除"
  5381. },
  5382. "latitude": {
  5383. "type": "string",
  5384. "description": "纬度"
  5385. },
  5386. "longitude": {
  5387. "type": "string",
  5388. "description": "经度"
  5389. },
  5390. "phone": {
  5391. "type": "string",
  5392. "description": "收货人电话"
  5393. },
  5394. "postCode": {
  5395. "type": "integer",
  5396. "format": "int32",
  5397. "description": "邮编"
  5398. },
  5399. "province": {
  5400. "type": "string",
  5401. "description": "收货人所在省"
  5402. },
  5403. "realName": {
  5404. "type": "string",
  5405. "description": "收货人姓名"
  5406. },
  5407. "uid": {
  5408. "type": "integer",
  5409. "format": "int32",
  5410. "description": "用户id"
  5411. },
  5412. "updateTime": {
  5413. "type": "string",
  5414. "format": "date-time",
  5415. "description": "创建时间"
  5416. }
  5417. },
  5418. "title": "UserAddress对象",
  5419. "description": "用户地址表",
  5420. "$$ref": "#/definitions/UserAddress对象"
  5421. },
  5422. "message": {
  5423. "type": "string"
  5424. }
  5425. },
  5426. "title": "CommonResult«UserAddress对象»",
  5427. "$$ref": "#/definitions/CommonResult«UserAddress对象»"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/api/front/address/default/set": {
  5434. "post": {
  5435. "tags": [
  5436. "用户 -- 地址"
  5437. ],
  5438. "summary": "设置默认地址",
  5439. "consumes": [
  5440. "application/json"
  5441. ],
  5442. "parameters": [
  5443. {
  5444. "name": "root",
  5445. "in": "body",
  5446. "description": "用户地址",
  5447. "schema": {
  5448. "type": "object",
  5449. "properties": {
  5450. "id": {
  5451. "type": "integer",
  5452. "format": "int32",
  5453. "description": "用户地址id"
  5454. }
  5455. },
  5456. "title": "UserAddressDelRequest对象",
  5457. "description": "用户地址",
  5458. "$$ref": "#/definitions/UserAddressDelRequest对象"
  5459. }
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "successful operation",
  5465. "schema": {
  5466. "type": "object",
  5467. "properties": {
  5468. "code": {
  5469. "type": "integer",
  5470. "format": "int64"
  5471. },
  5472. "data": {
  5473. "type": "object",
  5474. "properties": {
  5475. "city": {
  5476. "type": "string",
  5477. "description": "收货人所在市"
  5478. },
  5479. "cityId": {
  5480. "type": "integer",
  5481. "format": "int32",
  5482. "description": "城市id"
  5483. },
  5484. "createTime": {
  5485. "type": "string",
  5486. "format": "date-time",
  5487. "description": "创建时间"
  5488. },
  5489. "detail": {
  5490. "type": "string",
  5491. "description": "收货人详细地址"
  5492. },
  5493. "district": {
  5494. "type": "string",
  5495. "description": "收货人所在区"
  5496. },
  5497. "id": {
  5498. "type": "integer",
  5499. "format": "int32",
  5500. "description": "用户地址id"
  5501. },
  5502. "isDefault": {
  5503. "type": "boolean",
  5504. "description": "是否默认"
  5505. },
  5506. "isDel": {
  5507. "type": "boolean",
  5508. "description": "是否删除"
  5509. },
  5510. "latitude": {
  5511. "type": "string",
  5512. "description": "纬度"
  5513. },
  5514. "longitude": {
  5515. "type": "string",
  5516. "description": "经度"
  5517. },
  5518. "phone": {
  5519. "type": "string",
  5520. "description": "收货人电话"
  5521. },
  5522. "postCode": {
  5523. "type": "integer",
  5524. "format": "int32",
  5525. "description": "邮编"
  5526. },
  5527. "province": {
  5528. "type": "string",
  5529. "description": "收货人所在省"
  5530. },
  5531. "realName": {
  5532. "type": "string",
  5533. "description": "收货人姓名"
  5534. },
  5535. "uid": {
  5536. "type": "integer",
  5537. "format": "int32",
  5538. "description": "用户id"
  5539. },
  5540. "updateTime": {
  5541. "type": "string",
  5542. "format": "date-time",
  5543. "description": "创建时间"
  5544. }
  5545. },
  5546. "title": "UserAddress对象",
  5547. "description": "用户地址表",
  5548. "$$ref": "#/definitions/UserAddress对象"
  5549. },
  5550. "message": {
  5551. "type": "string"
  5552. }
  5553. },
  5554. "title": "CommonResult«UserAddress对象»",
  5555. "$$ref": "#/definitions/CommonResult«UserAddress对象»"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/api/front/collect/del": {
  5562. "post": {
  5563. "tags": [
  5564. "用户 -- 点赞/收藏"
  5565. ],
  5566. "summary": "取消收藏产品",
  5567. "consumes": [
  5568. "application/json"
  5569. ],
  5570. "parameters": [
  5571. {
  5572. "name": "root",
  5573. "in": "body",
  5574. "description": "商品点赞和收藏表",
  5575. "schema": {
  5576. "type": "object",
  5577. "properties": {
  5578. "category": {
  5579. "type": "string",
  5580. "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)"
  5581. },
  5582. "id": {
  5583. "type": "integer",
  5584. "format": "int32",
  5585. "description": "商品ID"
  5586. }
  5587. },
  5588. "title": "UserCollectRequest对象",
  5589. "description": "商品点赞和收藏表",
  5590. "$$ref": "#/definitions/UserCollectRequest对象"
  5591. }
  5592. }
  5593. ],
  5594. "responses": {
  5595. "200": {
  5596. "description": "successful operation",
  5597. "schema": {
  5598. "type": "object",
  5599. "properties": {
  5600. "code": {
  5601. "type": "integer",
  5602. "format": "int64"
  5603. },
  5604. "data": {
  5605. "type": "string"
  5606. },
  5607. "message": {
  5608. "type": "string"
  5609. }
  5610. },
  5611. "title": "CommonResult«string»",
  5612. "$$ref": "#/definitions/CommonResult«string»"
  5613. }
  5614. }
  5615. }
  5616. }
  5617. },
  5618. "/api/front/collect/all": {
  5619. "post": {
  5620. "tags": [
  5621. "用户 -- 点赞/收藏"
  5622. ],
  5623. "summary": "批量收藏",
  5624. "consumes": [
  5625. "application/json"
  5626. ],
  5627. "parameters": [
  5628. {
  5629. "name": "root",
  5630. "in": "body",
  5631. "description": "商品点赞和收藏表",
  5632. "schema": {
  5633. "type": "object",
  5634. "properties": {
  5635. "category": {
  5636. "type": "string",
  5637. "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)"
  5638. },
  5639. "id": {
  5640. "type": "array",
  5641. "description": "商品ID",
  5642. "items": {
  5643. "type": "integer",
  5644. "format": "int32"
  5645. }
  5646. }
  5647. },
  5648. "title": "StoreProductRelationRequest对象",
  5649. "description": "商品点赞和收藏表",
  5650. "$$ref": "#/definitions/StoreProductRelationRequest对象"
  5651. }
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "successful operation",
  5657. "schema": {
  5658. "type": "object",
  5659. "properties": {
  5660. "code": {
  5661. "type": "integer",
  5662. "format": "int64"
  5663. },
  5664. "data": {
  5665. "type": "string"
  5666. },
  5667. "message": {
  5668. "type": "string"
  5669. }
  5670. },
  5671. "title": "CommonResult«string»",
  5672. "$$ref": "#/definitions/CommonResult«string»"
  5673. }
  5674. }
  5675. }
  5676. }
  5677. },
  5678. "/api/front/collect/add": {
  5679. "post": {
  5680. "tags": [
  5681. "用户 -- 点赞/收藏"
  5682. ],
  5683. "summary": "添加收藏产品",
  5684. "consumes": [
  5685. "application/json"
  5686. ],
  5687. "parameters": [
  5688. {
  5689. "name": "root",
  5690. "in": "body",
  5691. "description": "商品点赞和收藏表",
  5692. "schema": {
  5693. "type": "object",
  5694. "properties": {
  5695. "category": {
  5696. "type": "string",
  5697. "description": "产品类型|store=普通产品,product_seckill=秒杀产品(默认 普通产品 store)"
  5698. },
  5699. "id": {
  5700. "type": "integer",
  5701. "format": "int32",
  5702. "description": "商品ID"
  5703. }
  5704. },
  5705. "title": "UserCollectRequest对象",
  5706. "description": "商品点赞和收藏表",
  5707. "$$ref": "#/definitions/UserCollectRequest对象"
  5708. }
  5709. }
  5710. ],
  5711. "responses": {
  5712. "200": {
  5713. "description": "successful operation",
  5714. "schema": {
  5715. "type": "object",
  5716. "properties": {
  5717. "code": {
  5718. "type": "integer",
  5719. "format": "int64"
  5720. },
  5721. "data": {
  5722. "type": "string"
  5723. },
  5724. "message": {
  5725. "type": "string"
  5726. }
  5727. },
  5728. "title": "CommonResult«string»",
  5729. "$$ref": "#/definitions/CommonResult«string»"
  5730. }
  5731. }
  5732. }
  5733. }
  5734. },
  5735. "/api/front/collect/user": {
  5736. "get": {
  5737. "tags": [
  5738. "用户 -- 点赞/收藏"
  5739. ],
  5740. "summary": "获取收藏产品",
  5741. "consumes": [
  5742. "text/plain"
  5743. ],
  5744. "parameters": [
  5745. {
  5746. "name": "limit",
  5747. "in": "query",
  5748. "required": false,
  5749. "description": "每页数量",
  5750. "type": "string"
  5751. },
  5752. {
  5753. "name": "page",
  5754. "in": "query",
  5755. "required": false,
  5756. "description": "页码",
  5757. "type": "string"
  5758. },
  5759. {
  5760. "name": "raw",
  5761. "in": "body",
  5762. "description": "raw paramter",
  5763. "schema": {
  5764. "type": "string",
  5765. "format": "binary"
  5766. }
  5767. }
  5768. ],
  5769. "responses": {
  5770. "200": {
  5771. "description": "successful operation",
  5772. "schema": {
  5773. "type": "object",
  5774. "properties": {
  5775. "code": {
  5776. "type": "integer",
  5777. "format": "int64"
  5778. },
  5779. "data": {
  5780. "type": "object",
  5781. "properties": {
  5782. "limit": {
  5783. "type": "integer",
  5784. "format": "int32"
  5785. },
  5786. "list": {
  5787. "type": "array",
  5788. "items": {
  5789. "type": "object",
  5790. "properties": {
  5791. "activity": {
  5792. "type": "string",
  5793. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  5794. },
  5795. "addTime": {
  5796. "type": "integer",
  5797. "format": "int32",
  5798. "description": "添加时间"
  5799. },
  5800. "barCode": {
  5801. "type": "string",
  5802. "description": "商品条码(一维码)"
  5803. },
  5804. "browse": {
  5805. "type": "integer",
  5806. "format": "int32",
  5807. "description": "浏览量"
  5808. },
  5809. "cateId": {
  5810. "type": "string",
  5811. "description": "分类id"
  5812. },
  5813. "codePath": {
  5814. "type": "string",
  5815. "description": "商品二维码地址(用户小程序海报)"
  5816. },
  5817. "cost": {
  5818. "type": "number",
  5819. "description": "成本价"
  5820. },
  5821. "ficti": {
  5822. "type": "integer",
  5823. "format": "int32",
  5824. "description": "虚拟销量"
  5825. },
  5826. "giveIntegral": {
  5827. "type": "number",
  5828. "description": "获得积分"
  5829. },
  5830. "id": {
  5831. "type": "integer",
  5832. "format": "int32",
  5833. "description": "商品id"
  5834. },
  5835. "image": {
  5836. "type": "string",
  5837. "description": "商品图片"
  5838. },
  5839. "isBargain": {
  5840. "type": "boolean",
  5841. "description": "砍价状态 0未开启 1开启"
  5842. },
  5843. "isBenefit": {
  5844. "type": "boolean",
  5845. "description": "是否优惠"
  5846. },
  5847. "isBest": {
  5848. "type": "boolean",
  5849. "description": "是否精品"
  5850. },
  5851. "isDel": {
  5852. "type": "boolean",
  5853. "description": "是否删除"
  5854. },
  5855. "isGood": {
  5856. "type": "boolean",
  5857. "description": "是否优品推荐"
  5858. },
  5859. "isHot": {
  5860. "type": "boolean",
  5861. "description": "是否热卖"
  5862. },
  5863. "isNew": {
  5864. "type": "boolean",
  5865. "description": "是否新品"
  5866. },
  5867. "isPostage": {
  5868. "type": "boolean",
  5869. "description": "是否包邮"
  5870. },
  5871. "isSeckill": {
  5872. "type": "boolean",
  5873. "description": "秒杀状态 0 未开启 1已开启"
  5874. },
  5875. "isShow": {
  5876. "type": "boolean",
  5877. "description": "状态(0:未上架,1:上架)"
  5878. },
  5879. "isSub": {
  5880. "type": "boolean",
  5881. "description": "是否单独分佣"
  5882. },
  5883. "keyword": {
  5884. "type": "string",
  5885. "description": "关键字"
  5886. },
  5887. "merId": {
  5888. "type": "integer",
  5889. "format": "int32",
  5890. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  5891. },
  5892. "merUse": {
  5893. "type": "boolean",
  5894. "description": "商户是否代理 0不可代理1可代理"
  5895. },
  5896. "otPrice": {
  5897. "type": "number",
  5898. "description": "市场价"
  5899. },
  5900. "postage": {
  5901. "type": "number",
  5902. "description": "邮费"
  5903. },
  5904. "price": {
  5905. "type": "number",
  5906. "description": "商品价格"
  5907. },
  5908. "sales": {
  5909. "type": "integer",
  5910. "format": "int32",
  5911. "description": "销量"
  5912. },
  5913. "sliderImage": {
  5914. "type": "string",
  5915. "description": "轮播图"
  5916. },
  5917. "sort": {
  5918. "type": "integer",
  5919. "format": "int32",
  5920. "description": "排序"
  5921. },
  5922. "soureLink": {
  5923. "type": "string",
  5924. "description": "淘宝京东1688类型"
  5925. },
  5926. "specType": {
  5927. "type": "boolean",
  5928. "description": "规格 0单 1多"
  5929. },
  5930. "stock": {
  5931. "type": "integer",
  5932. "format": "int32",
  5933. "description": "库存"
  5934. },
  5935. "storeInfo": {
  5936. "type": "string",
  5937. "description": "商品简介"
  5938. },
  5939. "storeName": {
  5940. "type": "string",
  5941. "description": "商品名称"
  5942. },
  5943. "tempId": {
  5944. "type": "integer",
  5945. "format": "int32",
  5946. "description": "运费模板ID"
  5947. },
  5948. "unitName": {
  5949. "type": "string",
  5950. "description": "单位名"
  5951. },
  5952. "videoLink": {
  5953. "type": "string",
  5954. "description": "主图视频链接"
  5955. },
  5956. "vipPrice": {
  5957. "type": "number",
  5958. "description": "会员价格"
  5959. }
  5960. },
  5961. "title": "StoreProduct对象",
  5962. "description": "商品表",
  5963. "$$ref": "#/definitions/StoreProduct对象"
  5964. }
  5965. },
  5966. "page": {
  5967. "type": "integer",
  5968. "format": "int32"
  5969. },
  5970. "total": {
  5971. "type": "integer",
  5972. "format": "int64"
  5973. },
  5974. "totalPage": {
  5975. "type": "integer",
  5976. "format": "int32"
  5977. }
  5978. },
  5979. "title": "CommonPage«StoreProduct对象»",
  5980. "$$ref": "#/definitions/CommonPage«StoreProduct对象»"
  5981. },
  5982. "message": {
  5983. "type": "string"
  5984. }
  5985. },
  5986. "title": "CommonResult«CommonPage«StoreProduct对象»»",
  5987. "$$ref": "#/definitions/CommonResult«CommonPage«StoreProduct对象»»"
  5988. }
  5989. }
  5990. }
  5991. }
  5992. },
  5993. "/api/front/user/level/grade": {
  5994. "get": {
  5995. "tags": [
  5996. "用户 -- 用户中心"
  5997. ],
  5998. "summary": "会员等级列表",
  5999. "consumes": [
  6000. "text/plain"
  6001. ],
  6002. "parameters": [
  6003. {
  6004. "name": "raw",
  6005. "in": "body",
  6006. "description": "raw paramter",
  6007. "schema": {
  6008. "type": "string",
  6009. "format": "binary"
  6010. }
  6011. }
  6012. ],
  6013. "responses": {
  6014. "200": {
  6015. "description": "successful operation",
  6016. "schema": {
  6017. "type": "object",
  6018. "properties": {
  6019. "code": {
  6020. "type": "integer",
  6021. "format": "int64"
  6022. },
  6023. "data": {
  6024. "type": "object",
  6025. "properties": {
  6026. "limit": {
  6027. "type": "integer",
  6028. "format": "int32"
  6029. },
  6030. "list": {
  6031. "type": "array",
  6032. "items": {
  6033. "type": "object",
  6034. "properties": {
  6035. "createTime": {
  6036. "type": "string",
  6037. "format": "date-time",
  6038. "description": "创建时间"
  6039. },
  6040. "discount": {
  6041. "type": "number",
  6042. "description": "享受折扣"
  6043. },
  6044. "experience": {
  6045. "type": "integer",
  6046. "format": "int32",
  6047. "description": "购买金额|经验达到"
  6048. },
  6049. "grade": {
  6050. "type": "integer",
  6051. "format": "int32",
  6052. "description": "会员等级"
  6053. },
  6054. "icon": {
  6055. "type": "string",
  6056. "description": "会员图标"
  6057. },
  6058. "id": {
  6059. "type": "integer",
  6060. "format": "int32"
  6061. },
  6062. "image": {
  6063. "type": "string",
  6064. "description": "会员卡背景"
  6065. },
  6066. "isDel": {
  6067. "type": "boolean",
  6068. "description": "是否删除.1=删除,0=未删除"
  6069. },
  6070. "isShow": {
  6071. "type": "boolean",
  6072. "description": "是否显示 1=显示,0=隐藏"
  6073. },
  6074. "memo": {
  6075. "type": "string",
  6076. "description": "说明"
  6077. },
  6078. "name": {
  6079. "type": "string",
  6080. "description": "会员名称"
  6081. },
  6082. "updateTime": {
  6083. "type": "string",
  6084. "format": "date-time",
  6085. "description": "创建时间"
  6086. }
  6087. },
  6088. "title": "SystemUserLevel对象",
  6089. "description": "设置用户等级表",
  6090. "$$ref": "#/definitions/SystemUserLevel对象"
  6091. }
  6092. },
  6093. "page": {
  6094. "type": "integer",
  6095. "format": "int32"
  6096. },
  6097. "total": {
  6098. "type": "integer",
  6099. "format": "int64"
  6100. },
  6101. "totalPage": {
  6102. "type": "integer",
  6103. "format": "int32"
  6104. }
  6105. },
  6106. "title": "CommonPage«SystemUserLevel对象»",
  6107. "$$ref": "#/definitions/CommonPage«SystemUserLevel对象»"
  6108. },
  6109. "message": {
  6110. "type": "string"
  6111. }
  6112. },
  6113. "title": "CommonResult«CommonPage«SystemUserLevel对象»»",
  6114. "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»"
  6115. }
  6116. }
  6117. }
  6118. }
  6119. },
  6120. "/api/front/brokerage_rank": {
  6121. "get": {
  6122. "tags": [
  6123. "用户 -- 用户中心"
  6124. ],
  6125. "summary": "佣金排行",
  6126. "consumes": [
  6127. "text/plain"
  6128. ],
  6129. "parameters": [
  6130. {
  6131. "name": "limit",
  6132. "in": "query",
  6133. "required": false,
  6134. "description": "每页数量",
  6135. "type": "string"
  6136. },
  6137. {
  6138. "name": "page",
  6139. "in": "query",
  6140. "required": false,
  6141. "description": "页码",
  6142. "type": "string"
  6143. },
  6144. {
  6145. "name": "type",
  6146. "in": "query",
  6147. "required": false,
  6148. "description": "type",
  6149. "type": "string"
  6150. },
  6151. {
  6152. "name": "raw",
  6153. "in": "body",
  6154. "description": "raw paramter",
  6155. "schema": {
  6156. "type": "string",
  6157. "format": "binary"
  6158. }
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "successful operation",
  6164. "schema": {
  6165. "type": "object",
  6166. "properties": {
  6167. "code": {
  6168. "type": "integer",
  6169. "format": "int64"
  6170. },
  6171. "data": {
  6172. "type": "array",
  6173. "items": {
  6174. "type": "object",
  6175. "properties": {
  6176. "account": {
  6177. "type": "string",
  6178. "description": "用户账号"
  6179. },
  6180. "addIp": {
  6181. "type": "string",
  6182. "description": "添加ip"
  6183. },
  6184. "addres": {
  6185. "type": "string",
  6186. "description": "详细地址"
  6187. },
  6188. "adminid": {
  6189. "type": "integer",
  6190. "format": "int32",
  6191. "description": "管理员编号 "
  6192. },
  6193. "avatar": {
  6194. "type": "string",
  6195. "description": "用户头像"
  6196. },
  6197. "birthday": {
  6198. "type": "string",
  6199. "description": "生日"
  6200. },
  6201. "brokeragePrice": {
  6202. "type": "number",
  6203. "description": "佣金金额"
  6204. },
  6205. "cardId": {
  6206. "type": "string",
  6207. "description": "身份证号码"
  6208. },
  6209. "cleanTime": {
  6210. "type": "string",
  6211. "format": "date-time",
  6212. "description": "最后一次登录时间"
  6213. },
  6214. "createTime": {
  6215. "type": "string",
  6216. "format": "date-time",
  6217. "description": "创建时间"
  6218. },
  6219. "experience": {
  6220. "type": "integer",
  6221. "format": "int32",
  6222. "description": "用户剩余经验"
  6223. },
  6224. "groupId": {
  6225. "type": "string",
  6226. "description": "用户分组id"
  6227. },
  6228. "integral": {
  6229. "type": "number",
  6230. "description": "用户剩余积分"
  6231. },
  6232. "isPromoter": {
  6233. "type": "boolean",
  6234. "description": "是否为推广员"
  6235. },
  6236. "lastIp": {
  6237. "type": "string",
  6238. "description": "最后一次登录ip"
  6239. },
  6240. "lastLoginTime": {
  6241. "type": "string",
  6242. "format": "date-time",
  6243. "description": "最后一次登录时间"
  6244. },
  6245. "level": {
  6246. "type": "integer",
  6247. "format": "int32",
  6248. "description": "等级"
  6249. },
  6250. "loginType": {
  6251. "type": "string",
  6252. "description": "用户登陆类型,h5,wechat,routine"
  6253. },
  6254. "mark": {
  6255. "type": "string",
  6256. "description": "用户备注"
  6257. },
  6258. "nickname": {
  6259. "type": "string",
  6260. "description": "用户昵称"
  6261. },
  6262. "nowMoney": {
  6263. "type": "number",
  6264. "description": "用户余额"
  6265. },
  6266. "partnerId": {
  6267. "type": "integer",
  6268. "format": "int32",
  6269. "description": "合伙人id"
  6270. },
  6271. "path": {
  6272. "type": "string",
  6273. "description": "用户推广等级"
  6274. },
  6275. "payCount": {
  6276. "type": "integer",
  6277. "format": "int32",
  6278. "description": "用户购买次数"
  6279. },
  6280. "phone": {
  6281. "type": "string",
  6282. "description": "手机号码"
  6283. },
  6284. "realName": {
  6285. "type": "string",
  6286. "description": "真实姓名"
  6287. },
  6288. "signNum": {
  6289. "type": "integer",
  6290. "format": "int32",
  6291. "description": "连续签到天数"
  6292. },
  6293. "spreadCount": {
  6294. "type": "integer",
  6295. "format": "int32",
  6296. "description": "下级人数"
  6297. },
  6298. "spreadTime": {
  6299. "type": "string",
  6300. "format": "date-time",
  6301. "description": "推广员关联时间"
  6302. },
  6303. "spreadUid": {
  6304. "type": "integer",
  6305. "format": "int32",
  6306. "description": "推广人id"
  6307. },
  6308. "status": {
  6309. "type": "boolean",
  6310. "description": "1为正常,0为禁止"
  6311. },
  6312. "subscribe": {
  6313. "type": "boolean",
  6314. "description": "是否关注公众号"
  6315. },
  6316. "tagId": {
  6317. "type": "string",
  6318. "description": "用户标签id"
  6319. },
  6320. "uid": {
  6321. "type": "integer",
  6322. "format": "int32",
  6323. "description": "用户id"
  6324. },
  6325. "updateTime": {
  6326. "type": "string",
  6327. "format": "date-time",
  6328. "description": "创建时间"
  6329. },
  6330. "userType": {
  6331. "type": "string",
  6332. "description": "用户类型"
  6333. }
  6334. },
  6335. "title": "User对象",
  6336. "description": "用户表",
  6337. "$$ref": "#/definitions/User对象"
  6338. }
  6339. },
  6340. "message": {
  6341. "type": "string"
  6342. }
  6343. },
  6344. "title": "CommonResult«List«User对象»»",
  6345. "$$ref": "#/definitions/CommonResult«List«User对象»»"
  6346. }
  6347. }
  6348. }
  6349. }
  6350. },
  6351. "/api/front/user/edit": {
  6352. "post": {
  6353. "tags": [
  6354. "用户 -- 用户中心"
  6355. ],
  6356. "summary": "修改个人资料",
  6357. "consumes": [
  6358. "application/json"
  6359. ],
  6360. "parameters": [
  6361. {
  6362. "name": "root",
  6363. "in": "body",
  6364. "description": "修改个人资料",
  6365. "schema": {
  6366. "type": "object",
  6367. "properties": {
  6368. "avatar": {
  6369. "type": "string",
  6370. "description": "用户头像"
  6371. },
  6372. "nickname": {
  6373. "type": "string",
  6374. "description": "用户昵称"
  6375. }
  6376. },
  6377. "title": "UserEditRequest对象",
  6378. "description": "修改个人资料",
  6379. "$$ref": "#/definitions/UserEditRequest对象"
  6380. }
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "successful operation",
  6386. "schema": {
  6387. "type": "object",
  6388. "properties": {
  6389. "code": {
  6390. "type": "integer",
  6391. "format": "int64"
  6392. },
  6393. "data": {
  6394. "type": "boolean"
  6395. },
  6396. "message": {
  6397. "type": "string"
  6398. }
  6399. },
  6400. "title": "CommonResult«boolean»",
  6401. "$$ref": "#/definitions/CommonResult«boolean»"
  6402. }
  6403. }
  6404. }
  6405. }
  6406. },
  6407. "/api/front/user/brokerageRankNumber": {
  6408. "get": {
  6409. "tags": [
  6410. "用户 -- 用户中心"
  6411. ],
  6412. "summary": "当前用户在佣金排行第几名",
  6413. "consumes": [
  6414. "text/plain"
  6415. ],
  6416. "parameters": [
  6417. {
  6418. "name": "type",
  6419. "in": "query",
  6420. "required": false,
  6421. "description": "type",
  6422. "type": "string"
  6423. },
  6424. {
  6425. "name": "raw",
  6426. "in": "body",
  6427. "description": "raw paramter",
  6428. "schema": {
  6429. "type": "string",
  6430. "format": "binary"
  6431. }
  6432. }
  6433. ],
  6434. "responses": {
  6435. "200": {
  6436. "description": "successful operation",
  6437. "schema": {
  6438. "type": "object",
  6439. "properties": {
  6440. "code": {
  6441. "type": "integer",
  6442. "format": "int64"
  6443. },
  6444. "data": {
  6445. "type": "integer",
  6446. "format": "int32"
  6447. },
  6448. "message": {
  6449. "type": "string"
  6450. }
  6451. },
  6452. "title": "CommonResult«int»",
  6453. "$$ref": "#/definitions/CommonResult«int»"
  6454. }
  6455. }
  6456. }
  6457. }
  6458. },
  6459. "/api/front/userinfo": {
  6460. "get": {
  6461. "tags": [
  6462. "用户 -- 用户中心"
  6463. ],
  6464. "summary": "当前登录用户信息",
  6465. "consumes": [
  6466. "text/plain"
  6467. ],
  6468. "parameters": [
  6469. {
  6470. "name": "raw",
  6471. "in": "body",
  6472. "description": "raw paramter",
  6473. "schema": {
  6474. "type": "string",
  6475. "format": "binary"
  6476. }
  6477. }
  6478. ],
  6479. "responses": {
  6480. "200": {
  6481. "description": "successful operation",
  6482. "schema": {
  6483. "type": "object",
  6484. "properties": {
  6485. "code": {
  6486. "type": "integer",
  6487. "format": "int64"
  6488. },
  6489. "data": {
  6490. "type": "object",
  6491. "properties": {
  6492. "account": {
  6493. "type": "string",
  6494. "description": "用户账号"
  6495. },
  6496. "addIp": {
  6497. "type": "string",
  6498. "description": "添加ip"
  6499. },
  6500. "addres": {
  6501. "type": "string",
  6502. "description": "详细地址"
  6503. },
  6504. "adminid": {
  6505. "type": "integer",
  6506. "format": "int32",
  6507. "description": "管理员编号 "
  6508. },
  6509. "avatar": {
  6510. "type": "string",
  6511. "description": "用户头像"
  6512. },
  6513. "birthday": {
  6514. "type": "string",
  6515. "description": "生日"
  6516. },
  6517. "brokeragePrice": {
  6518. "type": "number",
  6519. "description": "佣金金额"
  6520. },
  6521. "cardId": {
  6522. "type": "string",
  6523. "description": "身份证号码"
  6524. },
  6525. "cleanTime": {
  6526. "type": "string",
  6527. "format": "date-time",
  6528. "description": "最后一次登录时间"
  6529. },
  6530. "createTime": {
  6531. "type": "string",
  6532. "format": "date-time",
  6533. "description": "创建时间"
  6534. },
  6535. "experience": {
  6536. "type": "integer",
  6537. "format": "int32",
  6538. "description": "用户剩余经验"
  6539. },
  6540. "groupId": {
  6541. "type": "string",
  6542. "description": "用户分组id"
  6543. },
  6544. "integral": {
  6545. "type": "number",
  6546. "description": "用户剩余积分"
  6547. },
  6548. "isPromoter": {
  6549. "type": "boolean",
  6550. "description": "是否为推广员"
  6551. },
  6552. "lastIp": {
  6553. "type": "string",
  6554. "description": "最后一次登录ip"
  6555. },
  6556. "lastLoginTime": {
  6557. "type": "string",
  6558. "format": "date-time",
  6559. "description": "最后一次登录时间"
  6560. },
  6561. "level": {
  6562. "type": "integer",
  6563. "format": "int32",
  6564. "description": "等级"
  6565. },
  6566. "loginType": {
  6567. "type": "string",
  6568. "description": "用户登陆类型,h5,wechat,routine"
  6569. },
  6570. "mark": {
  6571. "type": "string",
  6572. "description": "用户备注"
  6573. },
  6574. "nickname": {
  6575. "type": "string",
  6576. "description": "用户昵称"
  6577. },
  6578. "nowMoney": {
  6579. "type": "number",
  6580. "description": "用户余额"
  6581. },
  6582. "partnerId": {
  6583. "type": "integer",
  6584. "format": "int32",
  6585. "description": "合伙人id"
  6586. },
  6587. "path": {
  6588. "type": "string",
  6589. "description": "用户推广等级"
  6590. },
  6591. "payCount": {
  6592. "type": "integer",
  6593. "format": "int32",
  6594. "description": "用户购买次数"
  6595. },
  6596. "phone": {
  6597. "type": "string",
  6598. "description": "手机号码"
  6599. },
  6600. "realName": {
  6601. "type": "string",
  6602. "description": "真实姓名"
  6603. },
  6604. "signNum": {
  6605. "type": "integer",
  6606. "format": "int32",
  6607. "description": "连续签到天数"
  6608. },
  6609. "spreadCount": {
  6610. "type": "integer",
  6611. "format": "int32",
  6612. "description": "下级人数"
  6613. },
  6614. "spreadTime": {
  6615. "type": "string",
  6616. "format": "date-time",
  6617. "description": "推广员关联时间"
  6618. },
  6619. "spreadUid": {
  6620. "type": "integer",
  6621. "format": "int32",
  6622. "description": "推广人id"
  6623. },
  6624. "status": {
  6625. "type": "boolean",
  6626. "description": "1为正常,0为禁止"
  6627. },
  6628. "subscribe": {
  6629. "type": "boolean",
  6630. "description": "是否关注公众号"
  6631. },
  6632. "tagId": {
  6633. "type": "string",
  6634. "description": "用户标签id"
  6635. },
  6636. "uid": {
  6637. "type": "integer",
  6638. "format": "int32",
  6639. "description": "用户id"
  6640. },
  6641. "updateTime": {
  6642. "type": "string",
  6643. "format": "date-time",
  6644. "description": "创建时间"
  6645. },
  6646. "userType": {
  6647. "type": "string",
  6648. "description": "用户类型"
  6649. }
  6650. },
  6651. "title": "User对象",
  6652. "description": "用户表",
  6653. "$$ref": "#/definitions/User对象"
  6654. },
  6655. "message": {
  6656. "type": "string"
  6657. }
  6658. },
  6659. "title": "CommonResult«User对象»",
  6660. "$$ref": "#/definitions/CommonResult«User对象»"
  6661. }
  6662. }
  6663. }
  6664. }
  6665. },
  6666. "/api/front/register/reset": {
  6667. "post": {
  6668. "tags": [
  6669. "用户 -- 用户中心"
  6670. ],
  6671. "summary": "手机号修改密码",
  6672. "consumes": [
  6673. "application/json"
  6674. ],
  6675. "parameters": [
  6676. {
  6677. "name": "root",
  6678. "in": "body",
  6679. "description": "修改密码",
  6680. "schema": {
  6681. "type": "object",
  6682. "required": [
  6683. "account",
  6684. "captcha",
  6685. "password"
  6686. ],
  6687. "properties": {
  6688. "account": {
  6689. "type": "string",
  6690. "description": "手机号"
  6691. },
  6692. "captcha": {
  6693. "type": "string",
  6694. "description": "验证码"
  6695. },
  6696. "password": {
  6697. "type": "string",
  6698. "description": "密码"
  6699. }
  6700. },
  6701. "title": "PasswordRequest对象",
  6702. "description": "修改密码",
  6703. "$$ref": "#/definitions/PasswordRequest对象"
  6704. }
  6705. }
  6706. ],
  6707. "responses": {
  6708. "200": {
  6709. "description": "successful operation",
  6710. "schema": {
  6711. "type": "object",
  6712. "properties": {
  6713. "code": {
  6714. "type": "integer",
  6715. "format": "int64"
  6716. },
  6717. "data": {
  6718. "type": "boolean"
  6719. },
  6720. "message": {
  6721. "type": "string"
  6722. }
  6723. },
  6724. "title": "CommonResult«boolean»",
  6725. "$$ref": "#/definitions/CommonResult«boolean»"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/api/front/rank": {
  6732. "get": {
  6733. "tags": [
  6734. "用户 -- 用户中心"
  6735. ],
  6736. "summary": "推广人排行",
  6737. "consumes": [
  6738. "text/plain"
  6739. ],
  6740. "parameters": [
  6741. {
  6742. "name": "limit",
  6743. "in": "query",
  6744. "required": false,
  6745. "description": "每页数量",
  6746. "type": "string"
  6747. },
  6748. {
  6749. "name": "page",
  6750. "in": "query",
  6751. "required": false,
  6752. "description": "页码",
  6753. "type": "string"
  6754. },
  6755. {
  6756. "name": "type",
  6757. "in": "query",
  6758. "required": false,
  6759. "description": "type",
  6760. "type": "string"
  6761. },
  6762. {
  6763. "name": "raw",
  6764. "in": "body",
  6765. "description": "raw paramter",
  6766. "schema": {
  6767. "type": "string",
  6768. "format": "binary"
  6769. }
  6770. }
  6771. ],
  6772. "responses": {
  6773. "200": {
  6774. "description": "successful operation",
  6775. "schema": {
  6776. "type": "object",
  6777. "properties": {
  6778. "code": {
  6779. "type": "integer",
  6780. "format": "int64"
  6781. },
  6782. "data": {
  6783. "type": "array",
  6784. "items": {
  6785. "type": "object",
  6786. "properties": {
  6787. "account": {
  6788. "type": "string",
  6789. "description": "用户账号"
  6790. },
  6791. "addIp": {
  6792. "type": "string",
  6793. "description": "添加ip"
  6794. },
  6795. "addres": {
  6796. "type": "string",
  6797. "description": "详细地址"
  6798. },
  6799. "adminid": {
  6800. "type": "integer",
  6801. "format": "int32",
  6802. "description": "管理员编号 "
  6803. },
  6804. "avatar": {
  6805. "type": "string",
  6806. "description": "用户头像"
  6807. },
  6808. "birthday": {
  6809. "type": "string",
  6810. "description": "生日"
  6811. },
  6812. "brokeragePrice": {
  6813. "type": "number",
  6814. "description": "佣金金额"
  6815. },
  6816. "cardId": {
  6817. "type": "string",
  6818. "description": "身份证号码"
  6819. },
  6820. "cleanTime": {
  6821. "type": "string",
  6822. "format": "date-time",
  6823. "description": "最后一次登录时间"
  6824. },
  6825. "createTime": {
  6826. "type": "string",
  6827. "format": "date-time",
  6828. "description": "创建时间"
  6829. },
  6830. "experience": {
  6831. "type": "integer",
  6832. "format": "int32",
  6833. "description": "用户剩余经验"
  6834. },
  6835. "groupId": {
  6836. "type": "string",
  6837. "description": "用户分组id"
  6838. },
  6839. "integral": {
  6840. "type": "number",
  6841. "description": "用户剩余积分"
  6842. },
  6843. "isPromoter": {
  6844. "type": "boolean",
  6845. "description": "是否为推广员"
  6846. },
  6847. "lastIp": {
  6848. "type": "string",
  6849. "description": "最后一次登录ip"
  6850. },
  6851. "lastLoginTime": {
  6852. "type": "string",
  6853. "format": "date-time",
  6854. "description": "最后一次登录时间"
  6855. },
  6856. "level": {
  6857. "type": "integer",
  6858. "format": "int32",
  6859. "description": "等级"
  6860. },
  6861. "loginType": {
  6862. "type": "string",
  6863. "description": "用户登陆类型,h5,wechat,routine"
  6864. },
  6865. "mark": {
  6866. "type": "string",
  6867. "description": "用户备注"
  6868. },
  6869. "nickname": {
  6870. "type": "string",
  6871. "description": "用户昵称"
  6872. },
  6873. "nowMoney": {
  6874. "type": "number",
  6875. "description": "用户余额"
  6876. },
  6877. "partnerId": {
  6878. "type": "integer",
  6879. "format": "int32",
  6880. "description": "合伙人id"
  6881. },
  6882. "path": {
  6883. "type": "string",
  6884. "description": "用户推广等级"
  6885. },
  6886. "payCount": {
  6887. "type": "integer",
  6888. "format": "int32",
  6889. "description": "用户购买次数"
  6890. },
  6891. "phone": {
  6892. "type": "string",
  6893. "description": "手机号码"
  6894. },
  6895. "realName": {
  6896. "type": "string",
  6897. "description": "真实姓名"
  6898. },
  6899. "signNum": {
  6900. "type": "integer",
  6901. "format": "int32",
  6902. "description": "连续签到天数"
  6903. },
  6904. "spreadCount": {
  6905. "type": "integer",
  6906. "format": "int32",
  6907. "description": "下级人数"
  6908. },
  6909. "spreadTime": {
  6910. "type": "string",
  6911. "format": "date-time",
  6912. "description": "推广员关联时间"
  6913. },
  6914. "spreadUid": {
  6915. "type": "integer",
  6916. "format": "int32",
  6917. "description": "推广人id"
  6918. },
  6919. "status": {
  6920. "type": "boolean",
  6921. "description": "1为正常,0为禁止"
  6922. },
  6923. "subscribe": {
  6924. "type": "boolean",
  6925. "description": "是否关注公众号"
  6926. },
  6927. "tagId": {
  6928. "type": "string",
  6929. "description": "用户标签id"
  6930. },
  6931. "uid": {
  6932. "type": "integer",
  6933. "format": "int32",
  6934. "description": "用户id"
  6935. },
  6936. "updateTime": {
  6937. "type": "string",
  6938. "format": "date-time",
  6939. "description": "创建时间"
  6940. },
  6941. "userType": {
  6942. "type": "string",
  6943. "description": "用户类型"
  6944. }
  6945. },
  6946. "title": "User对象",
  6947. "description": "用户表",
  6948. "$$ref": "#/definitions/User对象"
  6949. }
  6950. },
  6951. "message": {
  6952. "type": "string"
  6953. }
  6954. },
  6955. "title": "CommonResult«List«User对象»»",
  6956. "$$ref": "#/definitions/CommonResult«List«User对象»»"
  6957. }
  6958. }
  6959. }
  6960. }
  6961. },
  6962. "/api/front/spread/count/{type}": {
  6963. "get": {
  6964. "tags": [
  6965. "用户 -- 用户中心"
  6966. ],
  6967. "summary": "推广佣金/提现总和",
  6968. "consumes": [
  6969. "text/plain"
  6970. ],
  6971. "parameters": [
  6972. {
  6973. "name": "type",
  6974. "in": "path",
  6975. "description": "类型 佣金类型3=佣金,4=提现",
  6976. "required": true,
  6977. "type": "string"
  6978. },
  6979. {
  6980. "name": "raw",
  6981. "in": "body",
  6982. "description": "raw paramter",
  6983. "schema": {
  6984. "type": "string",
  6985. "format": "binary"
  6986. }
  6987. }
  6988. ],
  6989. "responses": {
  6990. "200": {
  6991. "description": "successful operation",
  6992. "schema": {
  6993. "type": "object",
  6994. "properties": {
  6995. "code": {
  6996. "type": "integer",
  6997. "format": "int64"
  6998. },
  6999. "data": {
  7000. "type": "object",
  7001. "additionalProperties": {
  7002. "type": "number"
  7003. }
  7004. },
  7005. "message": {
  7006. "type": "string"
  7007. }
  7008. },
  7009. "title": "CommonResult«Map«string,bigdecimal»»",
  7010. "$$ref": "#/definitions/CommonResult«Map«string,bigdecimal»»"
  7011. }
  7012. }
  7013. }
  7014. }
  7015. },
  7016. "/api/front/spread/commission/{type}": {
  7017. "get": {
  7018. "tags": [
  7019. "用户 -- 用户中心"
  7020. ],
  7021. "summary": "推广佣金明细",
  7022. "consumes": [
  7023. "text/plain"
  7024. ],
  7025. "parameters": [
  7026. {
  7027. "name": "type",
  7028. "in": "path",
  7029. "description": "类型 佣金类型|0=全部,1=消费,2=充值,3=返佣,4=提现",
  7030. "required": true,
  7031. "type": "string"
  7032. },
  7033. {
  7034. "name": "limit",
  7035. "in": "query",
  7036. "required": false,
  7037. "description": "每页数量",
  7038. "type": "string"
  7039. },
  7040. {
  7041. "name": "page",
  7042. "in": "query",
  7043. "required": false,
  7044. "description": "页码",
  7045. "type": "string"
  7046. },
  7047. {
  7048. "name": "raw",
  7049. "in": "body",
  7050. "description": "raw paramter",
  7051. "schema": {
  7052. "type": "string",
  7053. "format": "binary"
  7054. }
  7055. }
  7056. ],
  7057. "responses": {
  7058. "200": {
  7059. "description": "successful operation",
  7060. "schema": {
  7061. "type": "object",
  7062. "properties": {
  7063. "code": {
  7064. "type": "integer",
  7065. "format": "int64"
  7066. },
  7067. "data": {
  7068. "type": "object",
  7069. "properties": {
  7070. "limit": {
  7071. "type": "integer",
  7072. "format": "int32"
  7073. },
  7074. "list": {
  7075. "type": "array",
  7076. "items": {
  7077. "type": "object",
  7078. "properties": {
  7079. "date": {
  7080. "type": "string",
  7081. "description": "月份"
  7082. },
  7083. "list": {
  7084. "type": "array",
  7085. "description": "数据",
  7086. "items": {
  7087. "type": "object",
  7088. "properties": {
  7089. "add_time": {
  7090. "type": "string",
  7091. "format": "date-time",
  7092. "description": "创建时间"
  7093. },
  7094. "balance": {
  7095. "type": "number",
  7096. "description": "剩余"
  7097. },
  7098. "category": {
  7099. "type": "string",
  7100. "description": "明细种类"
  7101. },
  7102. "id": {
  7103. "type": "integer",
  7104. "format": "int32",
  7105. "description": "用户账单id"
  7106. },
  7107. "linkId": {
  7108. "type": "string",
  7109. "description": "关联id"
  7110. },
  7111. "mark": {
  7112. "type": "string",
  7113. "description": "备注"
  7114. },
  7115. "number": {
  7116. "type": "number",
  7117. "description": "明细数字"
  7118. },
  7119. "pm": {
  7120. "type": "integer",
  7121. "format": "int32",
  7122. "description": "0 = 支出 1 = 获得"
  7123. },
  7124. "status": {
  7125. "type": "integer",
  7126. "format": "int32",
  7127. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  7128. },
  7129. "title": {
  7130. "type": "string",
  7131. "description": "账单标题"
  7132. },
  7133. "type": {
  7134. "type": "string",
  7135. "description": "明细类型"
  7136. },
  7137. "uid": {
  7138. "type": "integer",
  7139. "format": "int32",
  7140. "description": "用户uid"
  7141. },
  7142. "updateTime": {
  7143. "type": "string",
  7144. "format": "date-time",
  7145. "description": "创建时间"
  7146. }
  7147. },
  7148. "title": "UserBill对象",
  7149. "description": "用户账单表",
  7150. "$$ref": "#/definitions/UserBill对象"
  7151. }
  7152. }
  7153. },
  7154. "title": "UserSpreadCommissionResponse对象",
  7155. "description": "推广佣金明细",
  7156. "$$ref": "#/definitions/UserSpreadCommissionResponse对象"
  7157. }
  7158. },
  7159. "page": {
  7160. "type": "integer",
  7161. "format": "int32"
  7162. },
  7163. "total": {
  7164. "type": "integer",
  7165. "format": "int64"
  7166. },
  7167. "totalPage": {
  7168. "type": "integer",
  7169. "format": "int32"
  7170. }
  7171. },
  7172. "title": "CommonPage«UserSpreadCommissionResponse对象»",
  7173. "$$ref": "#/definitions/CommonPage«UserSpreadCommissionResponse对象»"
  7174. },
  7175. "message": {
  7176. "type": "string"
  7177. }
  7178. },
  7179. "title": "CommonResult«CommonPage«UserSpreadCommissionResponse对象»»",
  7180. "$$ref": "#/definitions/CommonResult«CommonPage«UserSpreadCommissionResponse对象»»"
  7181. }
  7182. }
  7183. }
  7184. }
  7185. },
  7186. "/api/front/commission": {
  7187. "get": {
  7188. "tags": [
  7189. "用户 -- 用户中心"
  7190. ],
  7191. "summary": "推广数据接口(昨天的佣金 累计提现金额 当前佣金)",
  7192. "consumes": [
  7193. "text/plain"
  7194. ],
  7195. "parameters": [
  7196. {
  7197. "name": "raw",
  7198. "in": "body",
  7199. "description": "raw paramter",
  7200. "schema": {
  7201. "type": "string",
  7202. "format": "binary"
  7203. }
  7204. }
  7205. ],
  7206. "responses": {
  7207. "200": {
  7208. "description": "successful operation",
  7209. "schema": {
  7210. "type": "object",
  7211. "properties": {
  7212. "code": {
  7213. "type": "integer",
  7214. "format": "int64"
  7215. },
  7216. "data": {
  7217. "type": "object",
  7218. "properties": {
  7219. "commissionCount": {
  7220. "type": "number",
  7221. "description": "当前佣金"
  7222. },
  7223. "extractCount": {
  7224. "type": "number",
  7225. "description": "累计提现金额"
  7226. },
  7227. "lastDayCount": {
  7228. "type": "number",
  7229. "description": "昨天的佣金"
  7230. }
  7231. },
  7232. "title": "UserCommissionResponse对象",
  7233. "description": "推广佣金明细",
  7234. "$$ref": "#/definitions/UserCommissionResponse对象"
  7235. },
  7236. "message": {
  7237. "type": "string"
  7238. }
  7239. },
  7240. "title": "CommonResult«UserCommissionResponse对象»",
  7241. "$$ref": "#/definitions/CommonResult«UserCommissionResponse对象»"
  7242. }
  7243. }
  7244. }
  7245. }
  7246. },
  7247. "/api/front/user/spread/banner": {
  7248. "get": {
  7249. "tags": [
  7250. "用户 -- 用户中心"
  7251. ],
  7252. "summary": "推广海报图",
  7253. "consumes": [
  7254. "text/plain"
  7255. ],
  7256. "parameters": [
  7257. {
  7258. "name": "limit",
  7259. "in": "query",
  7260. "required": false,
  7261. "description": "每页数量",
  7262. "type": "string"
  7263. },
  7264. {
  7265. "name": "page",
  7266. "in": "query",
  7267. "required": false,
  7268. "description": "页码",
  7269. "type": "string"
  7270. },
  7271. {
  7272. "name": "raw",
  7273. "in": "body",
  7274. "description": "raw paramter",
  7275. "schema": {
  7276. "type": "string",
  7277. "format": "binary"
  7278. }
  7279. }
  7280. ],
  7281. "responses": {
  7282. "200": {
  7283. "description": "successful operation",
  7284. "schema": {
  7285. "type": "object",
  7286. "properties": {
  7287. "code": {
  7288. "type": "integer",
  7289. "format": "int64"
  7290. },
  7291. "data": {
  7292. "type": "array",
  7293. "items": {
  7294. "type": "object",
  7295. "properties": {
  7296. "id": {
  7297. "type": "integer",
  7298. "format": "int32",
  7299. "description": "id"
  7300. },
  7301. "pic": {
  7302. "type": "string",
  7303. "description": "背景图"
  7304. },
  7305. "title": {
  7306. "type": "string",
  7307. "description": "名称"
  7308. }
  7309. },
  7310. "title": "UserSpreadBannerResponse对象",
  7311. "description": "用户推广海报",
  7312. "$$ref": "#/definitions/UserSpreadBannerResponse对象"
  7313. }
  7314. },
  7315. "message": {
  7316. "type": "string"
  7317. }
  7318. },
  7319. "title": "CommonResult«List«UserSpreadBannerResponse对象»»",
  7320. "$$ref": "#/definitions/CommonResult«List«UserSpreadBannerResponse对象»»"
  7321. }
  7322. }
  7323. }
  7324. }
  7325. },
  7326. "/api/front/spread/people": {
  7327. "get": {
  7328. "tags": [
  7329. "用户 -- 用户中心"
  7330. ],
  7331. "summary": "推广用户",
  7332. "consumes": [
  7333. "text/plain"
  7334. ],
  7335. "parameters": [
  7336. {
  7337. "name": "grade",
  7338. "in": "query",
  7339. "required": false,
  7340. "description": "推荐人类型|0=一级|1=二级",
  7341. "type": "string"
  7342. },
  7343. {
  7344. "name": "isAsc",
  7345. "in": "query",
  7346. "required": false,
  7347. "description": "排序值 DESC ASC",
  7348. "type": "string"
  7349. },
  7350. {
  7351. "name": "keyword",
  7352. "in": "query",
  7353. "required": false,
  7354. "description": "搜索关键字",
  7355. "type": "string"
  7356. },
  7357. {
  7358. "name": "limit",
  7359. "in": "query",
  7360. "required": false,
  7361. "description": "每页数量",
  7362. "type": "string"
  7363. },
  7364. {
  7365. "name": "page",
  7366. "in": "query",
  7367. "required": false,
  7368. "description": "页码",
  7369. "type": "string"
  7370. },
  7371. {
  7372. "name": "sortKey",
  7373. "in": "query",
  7374. "required": false,
  7375. "description": "排序, 排序|childCount=团队排序,numberCount=金额排序,orderCount=订单排序",
  7376. "type": "string"
  7377. },
  7378. {
  7379. "name": "raw",
  7380. "in": "body",
  7381. "description": "raw paramter",
  7382. "schema": {
  7383. "type": "string",
  7384. "format": "binary"
  7385. }
  7386. }
  7387. ],
  7388. "responses": {
  7389. "200": {
  7390. "description": "successful operation",
  7391. "schema": {
  7392. "type": "object",
  7393. "properties": {
  7394. "code": {
  7395. "type": "integer",
  7396. "format": "int64"
  7397. },
  7398. "data": {
  7399. "type": "object",
  7400. "properties": {
  7401. "avatar": {
  7402. "type": "string",
  7403. "description": "用户头像"
  7404. },
  7405. "childCount": {
  7406. "type": "integer",
  7407. "format": "int32",
  7408. "description": "推广人数"
  7409. },
  7410. "nickname": {
  7411. "type": "string",
  7412. "description": "用户昵称"
  7413. },
  7414. "numberCount": {
  7415. "type": "number",
  7416. "description": "订单金额"
  7417. },
  7418. "orderCount": {
  7419. "type": "integer",
  7420. "format": "int32",
  7421. "description": "订单数量"
  7422. },
  7423. "time": {
  7424. "type": "string",
  7425. "description": "添加时间"
  7426. },
  7427. "uid": {
  7428. "type": "integer",
  7429. "format": "int32",
  7430. "description": "用户编号"
  7431. }
  7432. },
  7433. "title": "UserSpreadPeopleResponse对象",
  7434. "description": "推广人信息",
  7435. "$$ref": "#/definitions/UserSpreadPeopleResponse对象"
  7436. },
  7437. "message": {
  7438. "type": "string"
  7439. }
  7440. },
  7441. "title": "CommonResult«UserSpreadPeopleResponse对象»",
  7442. "$$ref": "#/definitions/CommonResult«UserSpreadPeopleResponse对象»"
  7443. }
  7444. }
  7445. }
  7446. }
  7447. },
  7448. "/api/front/spread/order": {
  7449. "get": {
  7450. "tags": [
  7451. "用户 -- 用户中心"
  7452. ],
  7453. "summary": "推广订单",
  7454. "consumes": [
  7455. "text/plain"
  7456. ],
  7457. "parameters": [
  7458. {
  7459. "name": "limit",
  7460. "in": "query",
  7461. "required": false,
  7462. "description": "每页数量",
  7463. "type": "string"
  7464. },
  7465. {
  7466. "name": "page",
  7467. "in": "query",
  7468. "required": false,
  7469. "description": "页码",
  7470. "type": "string"
  7471. },
  7472. {
  7473. "name": "raw",
  7474. "in": "body",
  7475. "description": "raw paramter",
  7476. "schema": {
  7477. "type": "string",
  7478. "format": "binary"
  7479. }
  7480. }
  7481. ],
  7482. "responses": {
  7483. "200": {
  7484. "description": "successful operation",
  7485. "schema": {
  7486. "type": "object",
  7487. "properties": {
  7488. "code": {
  7489. "type": "integer",
  7490. "format": "int64"
  7491. },
  7492. "data": {
  7493. "type": "object",
  7494. "properties": {
  7495. "count": {
  7496. "type": "integer",
  7497. "format": "int64",
  7498. "description": "累计推广订单"
  7499. },
  7500. "list": {
  7501. "type": "array",
  7502. "description": "推广人列表",
  7503. "items": {
  7504. "type": "object",
  7505. "properties": {
  7506. "child": {
  7507. "type": "array",
  7508. "description": "推广订单信息",
  7509. "items": {
  7510. "type": "object",
  7511. "properties": {
  7512. "avatar": {
  7513. "type": "string",
  7514. "description": "用户头像"
  7515. },
  7516. "nickname": {
  7517. "type": "string",
  7518. "description": "用户昵称"
  7519. },
  7520. "number": {
  7521. "type": "number",
  7522. "description": "返佣金额"
  7523. },
  7524. "orderId": {
  7525. "type": "string",
  7526. "description": "订单号"
  7527. },
  7528. "time": {
  7529. "type": "string",
  7530. "format": "date-time",
  7531. "description": "返佣时间"
  7532. },
  7533. "type": {
  7534. "type": "string",
  7535. "description": "订单显示类型"
  7536. }
  7537. },
  7538. "title": "UserSpreadOrderItemChildResponse对象",
  7539. "description": "推广订单信息子集",
  7540. "$$ref": "#/definitions/UserSpreadOrderItemChildResponse对象"
  7541. }
  7542. },
  7543. "count": {
  7544. "type": "integer",
  7545. "format": "int32",
  7546. "description": "推广条数"
  7547. },
  7548. "time": {
  7549. "type": "string",
  7550. "description": "推广年月"
  7551. }
  7552. },
  7553. "title": "UserSpreadOrderItemResponse对象",
  7554. "description": "推广订单信息",
  7555. "$$ref": "#/definitions/UserSpreadOrderItemResponse对象"
  7556. }
  7557. }
  7558. },
  7559. "title": "UserSpreadOrderResponse对象",
  7560. "description": "推广订单",
  7561. "$$ref": "#/definitions/UserSpreadOrderResponse对象"
  7562. },
  7563. "message": {
  7564. "type": "string"
  7565. }
  7566. },
  7567. "title": "CommonResult«UserSpreadOrderResponse对象»",
  7568. "$$ref": "#/definitions/CommonResult«UserSpreadOrderResponse对象»"
  7569. }
  7570. }
  7571. }
  7572. }
  7573. },
  7574. "/api/front/extract/cash": {
  7575. "post": {
  7576. "tags": [
  7577. "用户 -- 用户中心"
  7578. ],
  7579. "summary": "提现申请",
  7580. "consumes": [
  7581. "application/json"
  7582. ],
  7583. "parameters": [
  7584. {
  7585. "name": "root",
  7586. "in": "body",
  7587. "description": "用户提现",
  7588. "schema": {
  7589. "type": "object",
  7590. "properties": {
  7591. "alipayCode": {
  7592. "type": "string",
  7593. "description": "支付宝账号"
  7594. },
  7595. "bankname": {
  7596. "type": "string",
  7597. "description": "提现银行名称"
  7598. },
  7599. "cardum": {
  7600. "type": "string",
  7601. "description": "银行卡"
  7602. },
  7603. "extractType": {
  7604. "type": "string",
  7605. "description": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信"
  7606. },
  7607. "money": {
  7608. "type": "number",
  7609. "description": "提现金额"
  7610. },
  7611. "name": {
  7612. "type": "string",
  7613. "description": "姓名"
  7614. },
  7615. "wechat": {
  7616. "type": "string",
  7617. "description": "微信号"
  7618. }
  7619. },
  7620. "title": "UserExtractRequest对象",
  7621. "description": "用户提现",
  7622. "$$ref": "#/definitions/UserExtractRequest对象"
  7623. }
  7624. }
  7625. ],
  7626. "responses": {
  7627. "200": {
  7628. "description": "successful operation",
  7629. "schema": {
  7630. "type": "object",
  7631. "properties": {
  7632. "code": {
  7633. "type": "integer",
  7634. "format": "int64"
  7635. },
  7636. "data": {
  7637. "type": "boolean"
  7638. },
  7639. "message": {
  7640. "type": "string"
  7641. }
  7642. },
  7643. "title": "CommonResult«boolean»",
  7644. "$$ref": "#/definitions/CommonResult«boolean»"
  7645. }
  7646. }
  7647. }
  7648. }
  7649. },
  7650. "/api/front/extract/bank": {
  7651. "get": {
  7652. "tags": [
  7653. "用户 -- 用户中心"
  7654. ],
  7655. "summary": "提现银行/提现最低金额",
  7656. "consumes": [
  7657. "text/plain"
  7658. ],
  7659. "parameters": [
  7660. {
  7661. "name": "raw",
  7662. "in": "body",
  7663. "description": "raw paramter",
  7664. "schema": {
  7665. "type": "string",
  7666. "format": "binary"
  7667. }
  7668. }
  7669. ],
  7670. "responses": {
  7671. "200": {
  7672. "description": "successful operation",
  7673. "schema": {
  7674. "type": "object",
  7675. "properties": {
  7676. "code": {
  7677. "type": "integer",
  7678. "format": "int64"
  7679. },
  7680. "data": {
  7681. "type": "object",
  7682. "properties": {
  7683. "brokenCommission": {
  7684. "type": "number",
  7685. "description": "冻结佣金"
  7686. },
  7687. "brokenDay": {
  7688. "type": "string",
  7689. "description": "冻结天数"
  7690. },
  7691. "commissionCount": {
  7692. "type": "number",
  7693. "description": "可提现佣金"
  7694. },
  7695. "extractBank": {
  7696. "type": "array",
  7697. "description": "提现银行",
  7698. "items": {
  7699. "type": "string"
  7700. }
  7701. },
  7702. "minPrice": {
  7703. "type": "string",
  7704. "description": "提现最低金额"
  7705. }
  7706. },
  7707. "title": "UserExtractCashResponse对象",
  7708. "description": "提现银行/提现最低金额",
  7709. "$$ref": "#/definitions/UserExtractCashResponse对象"
  7710. },
  7711. "message": {
  7712. "type": "string"
  7713. }
  7714. },
  7715. "title": "CommonResult«UserExtractCashResponse对象»",
  7716. "$$ref": "#/definitions/CommonResult«UserExtractCashResponse对象»"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/api/front/user/balance": {
  7723. "get": {
  7724. "tags": [
  7725. "用户 -- 用户中心"
  7726. ],
  7727. "summary": "用户资金统计",
  7728. "consumes": [
  7729. "text/plain"
  7730. ],
  7731. "parameters": [
  7732. {
  7733. "name": "raw",
  7734. "in": "body",
  7735. "description": "raw paramter",
  7736. "schema": {
  7737. "type": "string",
  7738. "format": "binary"
  7739. }
  7740. }
  7741. ],
  7742. "responses": {
  7743. "200": {
  7744. "description": "successful operation",
  7745. "schema": {
  7746. "type": "object",
  7747. "properties": {
  7748. "code": {
  7749. "type": "integer",
  7750. "format": "int64"
  7751. },
  7752. "data": {
  7753. "type": "object",
  7754. "properties": {
  7755. "nowMoney": {
  7756. "type": "number",
  7757. "description": "当前总资金"
  7758. },
  7759. "orderStatusSum": {
  7760. "type": "number",
  7761. "description": "累计消费"
  7762. },
  7763. "recharge": {
  7764. "type": "number",
  7765. "description": "累计充值"
  7766. }
  7767. },
  7768. "title": "UserBalanceResponse对象",
  7769. "description": "用户资金统计",
  7770. "$$ref": "#/definitions/UserBalanceResponse对象"
  7771. },
  7772. "message": {
  7773. "type": "string"
  7774. }
  7775. },
  7776. "title": "CommonResult«UserBalanceResponse对象»",
  7777. "$$ref": "#/definitions/CommonResult«UserBalanceResponse对象»"
  7778. }
  7779. }
  7780. }
  7781. }
  7782. },
  7783. "/api/front/integral/list": {
  7784. "get": {
  7785. "tags": [
  7786. "用户 -- 用户中心"
  7787. ],
  7788. "summary": "积分记录",
  7789. "consumes": [
  7790. "text/plain"
  7791. ],
  7792. "parameters": [
  7793. {
  7794. "name": "limit",
  7795. "in": "query",
  7796. "required": false,
  7797. "description": "每页数量",
  7798. "type": "string"
  7799. },
  7800. {
  7801. "name": "page",
  7802. "in": "query",
  7803. "required": false,
  7804. "description": "页码",
  7805. "type": "string"
  7806. },
  7807. {
  7808. "name": "raw",
  7809. "in": "body",
  7810. "description": "raw paramter",
  7811. "schema": {
  7812. "type": "string",
  7813. "format": "binary"
  7814. }
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "successful operation",
  7820. "schema": {
  7821. "type": "object",
  7822. "properties": {
  7823. "code": {
  7824. "type": "integer",
  7825. "format": "int64"
  7826. },
  7827. "data": {
  7828. "type": "object",
  7829. "properties": {
  7830. "limit": {
  7831. "type": "integer",
  7832. "format": "int32"
  7833. },
  7834. "list": {
  7835. "type": "array",
  7836. "items": {
  7837. "type": "object",
  7838. "properties": {
  7839. "add_time": {
  7840. "type": "string",
  7841. "format": "date-time",
  7842. "description": "创建时间"
  7843. },
  7844. "balance": {
  7845. "type": "number",
  7846. "description": "剩余"
  7847. },
  7848. "category": {
  7849. "type": "string",
  7850. "description": "明细种类"
  7851. },
  7852. "id": {
  7853. "type": "integer",
  7854. "format": "int32",
  7855. "description": "用户账单id"
  7856. },
  7857. "linkId": {
  7858. "type": "string",
  7859. "description": "关联id"
  7860. },
  7861. "mark": {
  7862. "type": "string",
  7863. "description": "备注"
  7864. },
  7865. "number": {
  7866. "type": "number",
  7867. "description": "明细数字"
  7868. },
  7869. "pm": {
  7870. "type": "integer",
  7871. "format": "int32",
  7872. "description": "0 = 支出 1 = 获得"
  7873. },
  7874. "status": {
  7875. "type": "integer",
  7876. "format": "int32",
  7877. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  7878. },
  7879. "title": {
  7880. "type": "string",
  7881. "description": "账单标题"
  7882. },
  7883. "type": {
  7884. "type": "string",
  7885. "description": "明细类型"
  7886. },
  7887. "uid": {
  7888. "type": "integer",
  7889. "format": "int32",
  7890. "description": "用户uid"
  7891. },
  7892. "updateTime": {
  7893. "type": "string",
  7894. "format": "date-time",
  7895. "description": "创建时间"
  7896. }
  7897. },
  7898. "title": "UserBill对象",
  7899. "description": "用户账单表",
  7900. "$$ref": "#/definitions/UserBill对象"
  7901. }
  7902. },
  7903. "page": {
  7904. "type": "integer",
  7905. "format": "int32"
  7906. },
  7907. "total": {
  7908. "type": "integer",
  7909. "format": "int64"
  7910. },
  7911. "totalPage": {
  7912. "type": "integer",
  7913. "format": "int32"
  7914. }
  7915. },
  7916. "title": "CommonPage«UserBill对象»",
  7917. "$$ref": "#/definitions/CommonPage«UserBill对象»"
  7918. },
  7919. "message": {
  7920. "type": "string"
  7921. }
  7922. },
  7923. "title": "CommonResult«CommonPage«UserBill对象»»",
  7924. "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
  7925. }
  7926. }
  7927. }
  7928. }
  7929. },
  7930. "/api/front/user/expList": {
  7931. "get": {
  7932. "tags": [
  7933. "用户 -- 用户中心"
  7934. ],
  7935. "summary": "经验记录",
  7936. "consumes": [
  7937. "text/plain"
  7938. ],
  7939. "parameters": [
  7940. {
  7941. "name": "limit",
  7942. "in": "query",
  7943. "required": false,
  7944. "description": "每页数量",
  7945. "type": "string"
  7946. },
  7947. {
  7948. "name": "page",
  7949. "in": "query",
  7950. "required": false,
  7951. "description": "页码",
  7952. "type": "string"
  7953. },
  7954. {
  7955. "name": "raw",
  7956. "in": "body",
  7957. "description": "raw paramter",
  7958. "schema": {
  7959. "type": "string",
  7960. "format": "binary"
  7961. }
  7962. }
  7963. ],
  7964. "responses": {
  7965. "200": {
  7966. "description": "successful operation",
  7967. "schema": {
  7968. "type": "object",
  7969. "properties": {
  7970. "code": {
  7971. "type": "integer",
  7972. "format": "int64"
  7973. },
  7974. "data": {
  7975. "type": "object",
  7976. "properties": {
  7977. "limit": {
  7978. "type": "integer",
  7979. "format": "int32"
  7980. },
  7981. "list": {
  7982. "type": "array",
  7983. "items": {
  7984. "type": "object",
  7985. "properties": {
  7986. "add_time": {
  7987. "type": "string",
  7988. "format": "date-time",
  7989. "description": "创建时间"
  7990. },
  7991. "balance": {
  7992. "type": "number",
  7993. "description": "剩余"
  7994. },
  7995. "category": {
  7996. "type": "string",
  7997. "description": "明细种类"
  7998. },
  7999. "id": {
  8000. "type": "integer",
  8001. "format": "int32",
  8002. "description": "用户账单id"
  8003. },
  8004. "linkId": {
  8005. "type": "string",
  8006. "description": "关联id"
  8007. },
  8008. "mark": {
  8009. "type": "string",
  8010. "description": "备注"
  8011. },
  8012. "number": {
  8013. "type": "number",
  8014. "description": "明细数字"
  8015. },
  8016. "pm": {
  8017. "type": "integer",
  8018. "format": "int32",
  8019. "description": "0 = 支出 1 = 获得"
  8020. },
  8021. "status": {
  8022. "type": "integer",
  8023. "format": "int32",
  8024. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  8025. },
  8026. "title": {
  8027. "type": "string",
  8028. "description": "账单标题"
  8029. },
  8030. "type": {
  8031. "type": "string",
  8032. "description": "明细类型"
  8033. },
  8034. "uid": {
  8035. "type": "integer",
  8036. "format": "int32",
  8037. "description": "用户uid"
  8038. },
  8039. "updateTime": {
  8040. "type": "string",
  8041. "format": "date-time",
  8042. "description": "创建时间"
  8043. }
  8044. },
  8045. "title": "UserBill对象",
  8046. "description": "用户账单表",
  8047. "$$ref": "#/definitions/UserBill对象"
  8048. }
  8049. },
  8050. "page": {
  8051. "type": "integer",
  8052. "format": "int32"
  8053. },
  8054. "total": {
  8055. "type": "integer",
  8056. "format": "int64"
  8057. },
  8058. "totalPage": {
  8059. "type": "integer",
  8060. "format": "int32"
  8061. }
  8062. },
  8063. "title": "CommonPage«UserBill对象»",
  8064. "$$ref": "#/definitions/CommonPage«UserBill对象»"
  8065. },
  8066. "message": {
  8067. "type": "string"
  8068. }
  8069. },
  8070. "title": "CommonResult«CommonPage«UserBill对象»»",
  8071. "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
  8072. }
  8073. }
  8074. }
  8075. }
  8076. },
  8077. "/api/front/binding": {
  8078. "post": {
  8079. "tags": [
  8080. "用户 -- 用户中心"
  8081. ],
  8082. "summary": "绑定手机号",
  8083. "consumes": [
  8084. "application/json"
  8085. ],
  8086. "parameters": [
  8087. {
  8088. "name": "root",
  8089. "in": "body",
  8090. "description": "绑定手机号",
  8091. "schema": {
  8092. "type": "object",
  8093. "required": [
  8094. "account",
  8095. "captcha"
  8096. ],
  8097. "properties": {
  8098. "account": {
  8099. "type": "string",
  8100. "description": "手机号"
  8101. },
  8102. "captcha": {
  8103. "type": "string",
  8104. "description": "验证码"
  8105. }
  8106. },
  8107. "title": "UserBindingRequest对象",
  8108. "description": "绑定手机号",
  8109. "$$ref": "#/definitions/UserBindingRequest对象"
  8110. }
  8111. }
  8112. ],
  8113. "responses": {
  8114. "200": {
  8115. "description": "successful operation",
  8116. "schema": {
  8117. "type": "object",
  8118. "properties": {
  8119. "code": {
  8120. "type": "integer",
  8121. "format": "int64"
  8122. },
  8123. "data": {
  8124. "type": "boolean"
  8125. },
  8126. "message": {
  8127. "type": "string"
  8128. }
  8129. },
  8130. "title": "CommonResult«boolean»",
  8131. "$$ref": "#/definitions/CommonResult«boolean»"
  8132. }
  8133. }
  8134. }
  8135. }
  8136. },
  8137. "/api/front/menu/user": {
  8138. "get": {
  8139. "tags": [
  8140. "用户 -- 用户中心"
  8141. ],
  8142. "summary": "获取个人中心菜单",
  8143. "consumes": [
  8144. "text/plain"
  8145. ],
  8146. "parameters": [
  8147. {
  8148. "name": "raw",
  8149. "in": "body",
  8150. "description": "raw paramter",
  8151. "schema": {
  8152. "type": "string",
  8153. "format": "binary"
  8154. }
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "successful operation",
  8160. "schema": {
  8161. "type": "object",
  8162. "properties": {
  8163. "code": {
  8164. "type": "integer",
  8165. "format": "int64"
  8166. },
  8167. "data": {
  8168. "type": "object",
  8169. "additionalProperties": {
  8170. "type": "object"
  8171. }
  8172. },
  8173. "message": {
  8174. "type": "string"
  8175. }
  8176. },
  8177. "title": "CommonResult«HashMap«string,object»»",
  8178. "$$ref": "#/definitions/CommonResult«HashMap«string,object»»"
  8179. }
  8180. }
  8181. }
  8182. }
  8183. },
  8184. "/api/front/user": {
  8185. "get": {
  8186. "tags": [
  8187. "用户 -- 用户中心"
  8188. ],
  8189. "summary": "获取个人资料",
  8190. "consumes": [
  8191. "text/plain"
  8192. ],
  8193. "parameters": [
  8194. {
  8195. "name": "raw",
  8196. "in": "body",
  8197. "description": "raw paramter",
  8198. "schema": {
  8199. "type": "string",
  8200. "format": "binary"
  8201. }
  8202. }
  8203. ],
  8204. "responses": {
  8205. "200": {
  8206. "description": "successful operation",
  8207. "schema": {
  8208. "type": "object",
  8209. "properties": {
  8210. "code": {
  8211. "type": "integer",
  8212. "format": "int64"
  8213. },
  8214. "data": {
  8215. "type": "object",
  8216. "properties": {
  8217. "account": {
  8218. "type": "string",
  8219. "description": "用户账号"
  8220. },
  8221. "addIp": {
  8222. "type": "string",
  8223. "description": "添加ip"
  8224. },
  8225. "addres": {
  8226. "type": "string",
  8227. "description": "详细地址"
  8228. },
  8229. "adminid": {
  8230. "type": "integer",
  8231. "format": "int32",
  8232. "description": "管理员编号 "
  8233. },
  8234. "avatar": {
  8235. "type": "string",
  8236. "description": "用户头像"
  8237. },
  8238. "birthday": {
  8239. "type": "integer",
  8240. "format": "int32",
  8241. "description": "生日"
  8242. },
  8243. "brokeragePrice": {
  8244. "type": "number",
  8245. "description": "佣金金额"
  8246. },
  8247. "cardId": {
  8248. "type": "string",
  8249. "description": "身份证号码"
  8250. },
  8251. "cleanTime": {
  8252. "type": "string",
  8253. "format": "date-time",
  8254. "description": "最后一次登录时间"
  8255. },
  8256. "couponCount": {
  8257. "type": "integer",
  8258. "format": "int32",
  8259. "description": "用户优惠券数量"
  8260. },
  8261. "createTime": {
  8262. "type": "string",
  8263. "format": "date-time",
  8264. "description": "创建时间"
  8265. },
  8266. "experience": {
  8267. "type": "integer",
  8268. "format": "int32",
  8269. "description": "用户剩余经验"
  8270. },
  8271. "groupId": {
  8272. "type": "integer",
  8273. "format": "int32",
  8274. "description": "用户分组id"
  8275. },
  8276. "integral": {
  8277. "type": "number",
  8278. "description": "用户剩余积分"
  8279. },
  8280. "isPromoter": {
  8281. "type": "boolean",
  8282. "description": "是否为推广员"
  8283. },
  8284. "lastIp": {
  8285. "type": "string",
  8286. "description": "最后一次登录ip"
  8287. },
  8288. "lastLoginTime": {
  8289. "type": "string",
  8290. "format": "date-time",
  8291. "description": "最后一次登录时间"
  8292. },
  8293. "level": {
  8294. "type": "integer",
  8295. "format": "int32",
  8296. "description": "等级"
  8297. },
  8298. "loginType": {
  8299. "type": "string",
  8300. "description": "用户登陆类型,h5,wechat,routine"
  8301. },
  8302. "mark": {
  8303. "type": "string",
  8304. "description": "用户备注"
  8305. },
  8306. "nickname": {
  8307. "type": "string",
  8308. "description": "用户昵称"
  8309. },
  8310. "nowMoney": {
  8311. "type": "number",
  8312. "description": "用户余额"
  8313. },
  8314. "orderStatusNum": {
  8315. "type": "object",
  8316. "properties": {
  8317. "noBuy": {
  8318. "type": "integer",
  8319. "format": "int32",
  8320. "description": "未支付订单数量"
  8321. },
  8322. "noPink": {
  8323. "type": "integer",
  8324. "format": "int32",
  8325. "description": "拼团的订单数量"
  8326. },
  8327. "noPostage": {
  8328. "type": "integer",
  8329. "format": "int32",
  8330. "description": "未发货订单数量"
  8331. },
  8332. "noRefund": {
  8333. "type": "integer",
  8334. "format": "int32",
  8335. "description": "退款的订单数量"
  8336. },
  8337. "noReply": {
  8338. "type": "integer",
  8339. "format": "int32",
  8340. "description": "未评论订单数量"
  8341. },
  8342. "noTake": {
  8343. "type": "integer",
  8344. "format": "int32",
  8345. "description": "未收货订单数量"
  8346. }
  8347. },
  8348. "title": "UserCenterOrderStatusNumResponse对象",
  8349. "description": "个人中心 -- 订单状态数量",
  8350. "$$ref": "#/definitions/UserCenterOrderStatusNumResponse对象"
  8351. },
  8352. "partnerId": {
  8353. "type": "integer",
  8354. "format": "int32",
  8355. "description": "合伙人id"
  8356. },
  8357. "payCount": {
  8358. "type": "integer",
  8359. "format": "int32",
  8360. "description": "用户购买次数"
  8361. },
  8362. "phone": {
  8363. "type": "string",
  8364. "description": "手机号码"
  8365. },
  8366. "pwd": {
  8367. "type": "string",
  8368. "description": "用户密码"
  8369. },
  8370. "realName": {
  8371. "type": "string",
  8372. "description": "真实姓名"
  8373. },
  8374. "signNum": {
  8375. "type": "integer",
  8376. "format": "int32",
  8377. "description": "连续签到天数"
  8378. },
  8379. "spreadCount": {
  8380. "type": "integer",
  8381. "format": "int32",
  8382. "description": "下级人数"
  8383. },
  8384. "spreadTime": {
  8385. "type": "string",
  8386. "format": "date-time",
  8387. "description": "推广员关联时间"
  8388. },
  8389. "spreadUid": {
  8390. "type": "integer",
  8391. "format": "int32",
  8392. "description": "推广元id"
  8393. },
  8394. "status": {
  8395. "type": "boolean",
  8396. "description": "1为正常,0为禁止"
  8397. },
  8398. "uid": {
  8399. "type": "integer",
  8400. "format": "int32",
  8401. "description": "用户id"
  8402. },
  8403. "updateTime": {
  8404. "type": "string",
  8405. "format": "date-time",
  8406. "description": "创建时间"
  8407. },
  8408. "userType": {
  8409. "type": "string",
  8410. "description": "用户类型"
  8411. },
  8412. "vip": {
  8413. "type": "boolean",
  8414. "description": "是否会员"
  8415. },
  8416. "vipIcon": {
  8417. "type": "string",
  8418. "description": "会员图标"
  8419. },
  8420. "vipName": {
  8421. "type": "string",
  8422. "description": "会员名称"
  8423. }
  8424. },
  8425. "title": "UserCenterResponse对象",
  8426. "description": "个人中心",
  8427. "$$ref": "#/definitions/UserCenterResponse对象"
  8428. },
  8429. "message": {
  8430. "type": "string"
  8431. }
  8432. },
  8433. "title": "CommonResult«UserCenterResponse对象»",
  8434. "$$ref": "#/definitions/CommonResult«UserCenterResponse对象»"
  8435. }
  8436. }
  8437. }
  8438. }
  8439. },
  8440. "/api/front/sendCode": {
  8441. "post": {
  8442. "tags": [
  8443. "用户 -- 登录注册"
  8444. ],
  8445. "summary": " 发送短信",
  8446. "consumes": [
  8447. "application/json"
  8448. ],
  8449. "parameters": [
  8450. {
  8451. "name": "phone",
  8452. "in": "query",
  8453. "required": false,
  8454. "description": "手机号码",
  8455. "type": "string"
  8456. }
  8457. ],
  8458. "responses": {
  8459. "200": {
  8460. "description": "successful operation",
  8461. "schema": {
  8462. "type": "object",
  8463. "properties": {
  8464. "code": {
  8465. "type": "integer",
  8466. "format": "int64"
  8467. },
  8468. "data": {
  8469. "type": "object"
  8470. },
  8471. "message": {
  8472. "type": "string"
  8473. }
  8474. },
  8475. "title": "CommonResult«object»",
  8476. "$$ref": "#/definitions/CommonResult«object»"
  8477. }
  8478. }
  8479. }
  8480. }
  8481. },
  8482. "/api/front/login/mobile": {
  8483. "post": {
  8484. "tags": [
  8485. "用户 -- 登录注册"
  8486. ],
  8487. "summary": "手机号登录接口",
  8488. "consumes": [
  8489. "application/json"
  8490. ],
  8491. "parameters": [
  8492. {
  8493. "name": "root",
  8494. "in": "body",
  8495. "description": "手机号注册",
  8496. "schema": {
  8497. "type": "object",
  8498. "required": [
  8499. "account",
  8500. "captcha"
  8501. ],
  8502. "properties": {
  8503. "account": {
  8504. "type": "string",
  8505. "description": "手机号"
  8506. },
  8507. "captcha": {
  8508. "type": "string",
  8509. "description": "验证码"
  8510. },
  8511. "spread": {
  8512. "type": "integer",
  8513. "format": "int32",
  8514. "description": "推广人id"
  8515. }
  8516. },
  8517. "title": "LoginMobileRequest对象",
  8518. "description": "手机号注册",
  8519. "$$ref": "#/definitions/LoginMobileRequest对象"
  8520. }
  8521. }
  8522. ],
  8523. "responses": {
  8524. "200": {
  8525. "description": "successful operation",
  8526. "schema": {
  8527. "type": "object",
  8528. "properties": {
  8529. "code": {
  8530. "type": "integer",
  8531. "format": "int64"
  8532. },
  8533. "data": {
  8534. "type": "object",
  8535. "properties": {
  8536. "expiresTime": {
  8537. "type": "string",
  8538. "format": "date-time",
  8539. "description": "用户登录密钥到期时间"
  8540. },
  8541. "token": {
  8542. "type": "string",
  8543. "description": "用户登录密钥"
  8544. },
  8545. "user": {
  8546. "type": "object",
  8547. "properties": {
  8548. "account": {
  8549. "type": "string",
  8550. "description": "用户账号"
  8551. },
  8552. "addIp": {
  8553. "type": "string",
  8554. "description": "添加ip"
  8555. },
  8556. "addres": {
  8557. "type": "string",
  8558. "description": "详细地址"
  8559. },
  8560. "adminid": {
  8561. "type": "integer",
  8562. "format": "int32",
  8563. "description": "管理员编号 "
  8564. },
  8565. "avatar": {
  8566. "type": "string",
  8567. "description": "用户头像"
  8568. },
  8569. "birthday": {
  8570. "type": "string",
  8571. "description": "生日"
  8572. },
  8573. "brokeragePrice": {
  8574. "type": "number",
  8575. "description": "佣金金额"
  8576. },
  8577. "cardId": {
  8578. "type": "string",
  8579. "description": "身份证号码"
  8580. },
  8581. "cleanTime": {
  8582. "type": "string",
  8583. "format": "date-time",
  8584. "description": "最后一次登录时间"
  8585. },
  8586. "createTime": {
  8587. "type": "string",
  8588. "format": "date-time",
  8589. "description": "创建时间"
  8590. },
  8591. "experience": {
  8592. "type": "integer",
  8593. "format": "int32",
  8594. "description": "用户剩余经验"
  8595. },
  8596. "groupId": {
  8597. "type": "string",
  8598. "description": "用户分组id"
  8599. },
  8600. "integral": {
  8601. "type": "number",
  8602. "description": "用户剩余积分"
  8603. },
  8604. "isPromoter": {
  8605. "type": "boolean",
  8606. "description": "是否为推广员"
  8607. },
  8608. "lastIp": {
  8609. "type": "string",
  8610. "description": "最后一次登录ip"
  8611. },
  8612. "lastLoginTime": {
  8613. "type": "string",
  8614. "format": "date-time",
  8615. "description": "最后一次登录时间"
  8616. },
  8617. "level": {
  8618. "type": "integer",
  8619. "format": "int32",
  8620. "description": "等级"
  8621. },
  8622. "loginType": {
  8623. "type": "string",
  8624. "description": "用户登陆类型,h5,wechat,routine"
  8625. },
  8626. "mark": {
  8627. "type": "string",
  8628. "description": "用户备注"
  8629. },
  8630. "nickname": {
  8631. "type": "string",
  8632. "description": "用户昵称"
  8633. },
  8634. "nowMoney": {
  8635. "type": "number",
  8636. "description": "用户余额"
  8637. },
  8638. "partnerId": {
  8639. "type": "integer",
  8640. "format": "int32",
  8641. "description": "合伙人id"
  8642. },
  8643. "path": {
  8644. "type": "string",
  8645. "description": "用户推广等级"
  8646. },
  8647. "payCount": {
  8648. "type": "integer",
  8649. "format": "int32",
  8650. "description": "用户购买次数"
  8651. },
  8652. "phone": {
  8653. "type": "string",
  8654. "description": "手机号码"
  8655. },
  8656. "realName": {
  8657. "type": "string",
  8658. "description": "真实姓名"
  8659. },
  8660. "signNum": {
  8661. "type": "integer",
  8662. "format": "int32",
  8663. "description": "连续签到天数"
  8664. },
  8665. "spreadCount": {
  8666. "type": "integer",
  8667. "format": "int32",
  8668. "description": "下级人数"
  8669. },
  8670. "spreadTime": {
  8671. "type": "string",
  8672. "format": "date-time",
  8673. "description": "推广员关联时间"
  8674. },
  8675. "spreadUid": {
  8676. "type": "integer",
  8677. "format": "int32",
  8678. "description": "推广人id"
  8679. },
  8680. "status": {
  8681. "type": "boolean",
  8682. "description": "1为正常,0为禁止"
  8683. },
  8684. "subscribe": {
  8685. "type": "boolean",
  8686. "description": "是否关注公众号"
  8687. },
  8688. "tagId": {
  8689. "type": "string",
  8690. "description": "用户标签id"
  8691. },
  8692. "uid": {
  8693. "type": "integer",
  8694. "format": "int32",
  8695. "description": "用户id"
  8696. },
  8697. "updateTime": {
  8698. "type": "string",
  8699. "format": "date-time",
  8700. "description": "创建时间"
  8701. },
  8702. "userType": {
  8703. "type": "string",
  8704. "description": "用户类型"
  8705. }
  8706. },
  8707. "title": "User对象",
  8708. "description": "用户表",
  8709. "$$ref": "#/definitions/User对象"
  8710. }
  8711. },
  8712. "title": "LoginResponse",
  8713. "description": "用户登录返回数据",
  8714. "$$ref": "#/definitions/LoginResponse"
  8715. },
  8716. "message": {
  8717. "type": "string"
  8718. }
  8719. },
  8720. "title": "CommonResult«LoginResponse»",
  8721. "$$ref": "#/definitions/CommonResult«LoginResponse»"
  8722. }
  8723. }
  8724. }
  8725. }
  8726. },
  8727. "/api/front/login": {
  8728. "post": {
  8729. "tags": [
  8730. "用户 -- 登录注册"
  8731. ],
  8732. "summary": "账号密码登录",
  8733. "consumes": [
  8734. "application/json"
  8735. ],
  8736. "parameters": [
  8737. {
  8738. "name": "root",
  8739. "in": "body",
  8740. "description": "手机快速登录",
  8741. "schema": {
  8742. "type": "object",
  8743. "required": [
  8744. "account",
  8745. "password"
  8746. ],
  8747. "properties": {
  8748. "account": {
  8749. "type": "string",
  8750. "example": 18991352728,
  8751. "description": "手机号"
  8752. },
  8753. "password": {
  8754. "type": "string",
  8755. "example": "Abc123",
  8756. "description": "密码"
  8757. }
  8758. },
  8759. "title": "LoginRequest对象",
  8760. "description": "手机快速登录",
  8761. "$$ref": "#/definitions/LoginRequest对象"
  8762. }
  8763. }
  8764. ],
  8765. "responses": {
  8766. "200": {
  8767. "description": "successful operation",
  8768. "schema": {
  8769. "type": "object",
  8770. "properties": {
  8771. "code": {
  8772. "type": "integer",
  8773. "format": "int64"
  8774. },
  8775. "data": {
  8776. "type": "object",
  8777. "properties": {
  8778. "expiresTime": {
  8779. "type": "string",
  8780. "format": "date-time",
  8781. "description": "用户登录密钥到期时间"
  8782. },
  8783. "token": {
  8784. "type": "string",
  8785. "description": "用户登录密钥"
  8786. },
  8787. "user": {
  8788. "type": "object",
  8789. "properties": {
  8790. "account": {
  8791. "type": "string",
  8792. "description": "用户账号"
  8793. },
  8794. "addIp": {
  8795. "type": "string",
  8796. "description": "添加ip"
  8797. },
  8798. "addres": {
  8799. "type": "string",
  8800. "description": "详细地址"
  8801. },
  8802. "adminid": {
  8803. "type": "integer",
  8804. "format": "int32",
  8805. "description": "管理员编号 "
  8806. },
  8807. "avatar": {
  8808. "type": "string",
  8809. "description": "用户头像"
  8810. },
  8811. "birthday": {
  8812. "type": "string",
  8813. "description": "生日"
  8814. },
  8815. "brokeragePrice": {
  8816. "type": "number",
  8817. "description": "佣金金额"
  8818. },
  8819. "cardId": {
  8820. "type": "string",
  8821. "description": "身份证号码"
  8822. },
  8823. "cleanTime": {
  8824. "type": "string",
  8825. "format": "date-time",
  8826. "description": "最后一次登录时间"
  8827. },
  8828. "createTime": {
  8829. "type": "string",
  8830. "format": "date-time",
  8831. "description": "创建时间"
  8832. },
  8833. "experience": {
  8834. "type": "integer",
  8835. "format": "int32",
  8836. "description": "用户剩余经验"
  8837. },
  8838. "groupId": {
  8839. "type": "string",
  8840. "description": "用户分组id"
  8841. },
  8842. "integral": {
  8843. "type": "number",
  8844. "description": "用户剩余积分"
  8845. },
  8846. "isPromoter": {
  8847. "type": "boolean",
  8848. "description": "是否为推广员"
  8849. },
  8850. "lastIp": {
  8851. "type": "string",
  8852. "description": "最后一次登录ip"
  8853. },
  8854. "lastLoginTime": {
  8855. "type": "string",
  8856. "format": "date-time",
  8857. "description": "最后一次登录时间"
  8858. },
  8859. "level": {
  8860. "type": "integer",
  8861. "format": "int32",
  8862. "description": "等级"
  8863. },
  8864. "loginType": {
  8865. "type": "string",
  8866. "description": "用户登陆类型,h5,wechat,routine"
  8867. },
  8868. "mark": {
  8869. "type": "string",
  8870. "description": "用户备注"
  8871. },
  8872. "nickname": {
  8873. "type": "string",
  8874. "description": "用户昵称"
  8875. },
  8876. "nowMoney": {
  8877. "type": "number",
  8878. "description": "用户余额"
  8879. },
  8880. "partnerId": {
  8881. "type": "integer",
  8882. "format": "int32",
  8883. "description": "合伙人id"
  8884. },
  8885. "path": {
  8886. "type": "string",
  8887. "description": "用户推广等级"
  8888. },
  8889. "payCount": {
  8890. "type": "integer",
  8891. "format": "int32",
  8892. "description": "用户购买次数"
  8893. },
  8894. "phone": {
  8895. "type": "string",
  8896. "description": "手机号码"
  8897. },
  8898. "realName": {
  8899. "type": "string",
  8900. "description": "真实姓名"
  8901. },
  8902. "signNum": {
  8903. "type": "integer",
  8904. "format": "int32",
  8905. "description": "连续签到天数"
  8906. },
  8907. "spreadCount": {
  8908. "type": "integer",
  8909. "format": "int32",
  8910. "description": "下级人数"
  8911. },
  8912. "spreadTime": {
  8913. "type": "string",
  8914. "format": "date-time",
  8915. "description": "推广员关联时间"
  8916. },
  8917. "spreadUid": {
  8918. "type": "integer",
  8919. "format": "int32",
  8920. "description": "推广人id"
  8921. },
  8922. "status": {
  8923. "type": "boolean",
  8924. "description": "1为正常,0为禁止"
  8925. },
  8926. "subscribe": {
  8927. "type": "boolean",
  8928. "description": "是否关注公众号"
  8929. },
  8930. "tagId": {
  8931. "type": "string",
  8932. "description": "用户标签id"
  8933. },
  8934. "uid": {
  8935. "type": "integer",
  8936. "format": "int32",
  8937. "description": "用户id"
  8938. },
  8939. "updateTime": {
  8940. "type": "string",
  8941. "format": "date-time",
  8942. "description": "创建时间"
  8943. },
  8944. "userType": {
  8945. "type": "string",
  8946. "description": "用户类型"
  8947. }
  8948. },
  8949. "title": "User对象",
  8950. "description": "用户表",
  8951. "$$ref": "#/definitions/User对象"
  8952. }
  8953. },
  8954. "title": "LoginResponse",
  8955. "description": "用户登录返回数据",
  8956. "$$ref": "#/definitions/LoginResponse"
  8957. },
  8958. "message": {
  8959. "type": "string"
  8960. }
  8961. },
  8962. "title": "CommonResult«LoginResponse»",
  8963. "$$ref": "#/definitions/CommonResult«LoginResponse»"
  8964. }
  8965. }
  8966. }
  8967. }
  8968. },
  8969. "/api/front/logout": {
  8970. "get": {
  8971. "tags": [
  8972. "用户 -- 登录注册"
  8973. ],
  8974. "summary": "退出",
  8975. "consumes": [
  8976. "text/plain"
  8977. ],
  8978. "parameters": [
  8979. {
  8980. "name": "raw",
  8981. "in": "body",
  8982. "description": "raw paramter",
  8983. "schema": {
  8984. "type": "string",
  8985. "format": "binary"
  8986. }
  8987. }
  8988. ],
  8989. "responses": {
  8990. "200": {
  8991. "description": "successful operation",
  8992. "schema": {
  8993. "type": "object",
  8994. "properties": {
  8995. "code": {
  8996. "type": "integer",
  8997. "format": "int64"
  8998. },
  8999. "data": {
  9000. "type": "string"
  9001. },
  9002. "message": {
  9003. "type": "string"
  9004. }
  9005. },
  9006. "title": "CommonResult«string»",
  9007. "$$ref": "#/definitions/CommonResult«string»"
  9008. }
  9009. }
  9010. }
  9011. }
  9012. },
  9013. "/api/front/user/sign/list": {
  9014. "get": {
  9015. "tags": [
  9016. "用户 -- 签到"
  9017. ],
  9018. "summary": "分页列表",
  9019. "consumes": [
  9020. "text/plain"
  9021. ],
  9022. "parameters": [
  9023. {
  9024. "name": "limit",
  9025. "in": "query",
  9026. "required": false,
  9027. "description": "每页数量",
  9028. "type": "string"
  9029. },
  9030. {
  9031. "name": "page",
  9032. "in": "query",
  9033. "required": false,
  9034. "description": "页码",
  9035. "type": "string"
  9036. },
  9037. {
  9038. "name": "raw",
  9039. "in": "body",
  9040. "description": "raw paramter",
  9041. "schema": {
  9042. "type": "string",
  9043. "format": "binary"
  9044. }
  9045. }
  9046. ],
  9047. "responses": {
  9048. "200": {
  9049. "description": "successful operation",
  9050. "schema": {
  9051. "type": "object",
  9052. "properties": {
  9053. "code": {
  9054. "type": "integer",
  9055. "format": "int64"
  9056. },
  9057. "data": {
  9058. "type": "object",
  9059. "properties": {
  9060. "limit": {
  9061. "type": "integer",
  9062. "format": "int32"
  9063. },
  9064. "list": {
  9065. "type": "array",
  9066. "items": {
  9067. "type": "object",
  9068. "properties": {
  9069. "createDay": {
  9070. "type": "string",
  9071. "format": "date-time",
  9072. "description": "签到日期"
  9073. },
  9074. "number": {
  9075. "type": "integer",
  9076. "format": "int32",
  9077. "description": "获得积分"
  9078. },
  9079. "title": {
  9080. "type": "string",
  9081. "description": "签到说明"
  9082. }
  9083. },
  9084. "title": "UserSign对象",
  9085. "description": "签到记录表",
  9086. "$$ref": "#/definitions/UserSign对象"
  9087. }
  9088. },
  9089. "page": {
  9090. "type": "integer",
  9091. "format": "int32"
  9092. },
  9093. "total": {
  9094. "type": "integer",
  9095. "format": "int64"
  9096. },
  9097. "totalPage": {
  9098. "type": "integer",
  9099. "format": "int32"
  9100. }
  9101. },
  9102. "title": "CommonPage«UserSign对象»",
  9103. "$$ref": "#/definitions/CommonPage«UserSign对象»"
  9104. },
  9105. "message": {
  9106. "type": "string"
  9107. }
  9108. },
  9109. "title": "CommonResult«CommonPage«UserSign对象»»",
  9110. "$$ref": "#/definitions/CommonResult«CommonPage«UserSign对象»»"
  9111. }
  9112. }
  9113. }
  9114. }
  9115. },
  9116. "/api/front/user/sign/month": {
  9117. "get": {
  9118. "tags": [
  9119. "用户 -- 签到"
  9120. ],
  9121. "summary": "分页列表",
  9122. "consumes": [
  9123. "text/plain"
  9124. ],
  9125. "parameters": [
  9126. {
  9127. "name": "limit",
  9128. "in": "query",
  9129. "required": false,
  9130. "description": "每页数量",
  9131. "type": "string"
  9132. },
  9133. {
  9134. "name": "page",
  9135. "in": "query",
  9136. "required": false,
  9137. "description": "页码",
  9138. "type": "string"
  9139. },
  9140. {
  9141. "name": "raw",
  9142. "in": "body",
  9143. "description": "raw paramter",
  9144. "schema": {
  9145. "type": "string",
  9146. "format": "binary"
  9147. }
  9148. }
  9149. ],
  9150. "responses": {
  9151. "200": {
  9152. "description": "successful operation",
  9153. "schema": {
  9154. "type": "object",
  9155. "properties": {
  9156. "code": {
  9157. "type": "integer",
  9158. "format": "int64"
  9159. },
  9160. "data": {
  9161. "type": "object",
  9162. "properties": {
  9163. "limit": {
  9164. "type": "integer",
  9165. "format": "int32"
  9166. },
  9167. "list": {
  9168. "type": "array",
  9169. "items": {
  9170. "type": "object",
  9171. "properties": {
  9172. "createDay": {
  9173. "type": "string",
  9174. "format": "date-time",
  9175. "description": "签到日期"
  9176. },
  9177. "number": {
  9178. "type": "integer",
  9179. "format": "int32",
  9180. "description": "获得积分"
  9181. },
  9182. "title": {
  9183. "type": "string",
  9184. "description": "签到说明"
  9185. }
  9186. },
  9187. "title": "UserSign对象",
  9188. "description": "签到记录表",
  9189. "$$ref": "#/definitions/UserSign对象"
  9190. }
  9191. },
  9192. "page": {
  9193. "type": "integer",
  9194. "format": "int32"
  9195. },
  9196. "total": {
  9197. "type": "integer",
  9198. "format": "int64"
  9199. },
  9200. "totalPage": {
  9201. "type": "integer",
  9202. "format": "int32"
  9203. }
  9204. },
  9205. "title": "CommonPage«UserSign对象»",
  9206. "$$ref": "#/definitions/CommonPage«UserSign对象»"
  9207. },
  9208. "message": {
  9209. "type": "string"
  9210. }
  9211. },
  9212. "title": "CommonResult«CommonPage«UserSign对象»»",
  9213. "$$ref": "#/definitions/CommonResult«CommonPage«UserSign对象»»"
  9214. }
  9215. }
  9216. }
  9217. }
  9218. },
  9219. "/api/front/user/sign/integral": {
  9220. "get": {
  9221. "tags": [
  9222. "用户 -- 签到"
  9223. ],
  9224. "summary": "签到",
  9225. "consumes": [
  9226. "text/plain"
  9227. ],
  9228. "parameters": [
  9229. {
  9230. "name": "raw",
  9231. "in": "body",
  9232. "description": "raw paramter",
  9233. "schema": {
  9234. "type": "string",
  9235. "format": "binary"
  9236. }
  9237. }
  9238. ],
  9239. "responses": {
  9240. "200": {
  9241. "description": "successful operation",
  9242. "schema": {
  9243. "type": "object",
  9244. "properties": {
  9245. "code": {
  9246. "type": "integer",
  9247. "format": "int64"
  9248. },
  9249. "data": {
  9250. "type": "object",
  9251. "properties": {
  9252. "day": {
  9253. "type": "integer",
  9254. "format": "int32",
  9255. "description": "第几天"
  9256. },
  9257. "experience": {
  9258. "type": "integer",
  9259. "format": "int32",
  9260. "description": "经验"
  9261. },
  9262. "id": {
  9263. "type": "integer",
  9264. "format": "int32"
  9265. },
  9266. "integral": {
  9267. "type": "integer",
  9268. "format": "int32",
  9269. "description": "积分"
  9270. },
  9271. "title": {
  9272. "type": "string",
  9273. "description": "显示文字"
  9274. }
  9275. },
  9276. "title": "SystemGroupDataSignConfigVo对象",
  9277. "description": "签到记录",
  9278. "$$ref": "#/definitions/SystemGroupDataSignConfigVo对象"
  9279. },
  9280. "message": {
  9281. "type": "string"
  9282. }
  9283. },
  9284. "title": "CommonResult«SystemGroupDataSignConfigVo对象»",
  9285. "$$ref": "#/definitions/CommonResult«SystemGroupDataSignConfigVo对象»"
  9286. }
  9287. }
  9288. }
  9289. }
  9290. },
  9291. "/api/front/user/sign/user": {
  9292. "post": {
  9293. "tags": [
  9294. "用户 -- 签到"
  9295. ],
  9296. "summary": "签到用户信息",
  9297. "consumes": [
  9298. "application/json"
  9299. ],
  9300. "parameters": [
  9301. {
  9302. "name": "root",
  9303. "in": "body",
  9304. "description": "个人签到信息",
  9305. "schema": {
  9306. "type": "object",
  9307. "properties": {
  9308. "all": {
  9309. "type": "boolean",
  9310. "description": "是否统计签到和统计积分使用情况|1=是,0=否"
  9311. },
  9312. "integral": {
  9313. "type": "boolean",
  9314. "description": "是否统计积分使用情况|1=是,0=否"
  9315. },
  9316. "sign": {
  9317. "type": "boolean",
  9318. "description": "是否统计签到|1=是,0=否"
  9319. }
  9320. },
  9321. "title": "UserSignInfoRequest对象",
  9322. "description": "个人签到信息",
  9323. "$$ref": "#/definitions/UserSignInfoRequest对象"
  9324. }
  9325. }
  9326. ],
  9327. "responses": {
  9328. "200": {
  9329. "description": "successful operation",
  9330. "schema": {
  9331. "type": "object",
  9332. "properties": {
  9333. "code": {
  9334. "type": "integer",
  9335. "format": "int64"
  9336. },
  9337. "data": {
  9338. "type": "object",
  9339. "properties": {
  9340. "avatar": {
  9341. "type": "string",
  9342. "description": "用户头像"
  9343. },
  9344. "deductionIntegral": {
  9345. "type": "integer",
  9346. "format": "int32",
  9347. "description": "累计抵扣积分"
  9348. },
  9349. "integral": {
  9350. "type": "number",
  9351. "description": "用户剩余积分"
  9352. },
  9353. "isDaySign": {
  9354. "type": "boolean",
  9355. "description": "今天是否签到"
  9356. },
  9357. "isPromoter": {
  9358. "type": "boolean",
  9359. "description": "是否为推广员"
  9360. },
  9361. "isYesterdaySign": {
  9362. "type": "boolean",
  9363. "description": "昨天是否签到"
  9364. },
  9365. "nickname": {
  9366. "type": "string",
  9367. "description": "用户昵称"
  9368. },
  9369. "nowMoney": {
  9370. "type": "number",
  9371. "description": "用户余额"
  9372. },
  9373. "payCount": {
  9374. "type": "integer",
  9375. "format": "int32",
  9376. "description": "用户购买次数"
  9377. },
  9378. "signNum": {
  9379. "type": "integer",
  9380. "format": "int32",
  9381. "description": "连续签到天数"
  9382. },
  9383. "spreadCount": {
  9384. "type": "integer",
  9385. "format": "int32",
  9386. "description": "下级人数"
  9387. },
  9388. "sumIntegral": {
  9389. "type": "integer",
  9390. "format": "int32",
  9391. "description": "累计总积分"
  9392. },
  9393. "sumSignDay": {
  9394. "type": "integer",
  9395. "format": "int32",
  9396. "description": "累计签到次数"
  9397. },
  9398. "uid": {
  9399. "type": "integer",
  9400. "format": "int32",
  9401. "description": "用户id"
  9402. },
  9403. "yesterdayIntegral": {
  9404. "type": "integer",
  9405. "format": "int32",
  9406. "description": "昨天累计积分"
  9407. }
  9408. },
  9409. "title": "UserSignInfoResponse对象",
  9410. "description": "修改个人资料",
  9411. "$$ref": "#/definitions/UserSignInfoResponse对象"
  9412. },
  9413. "message": {
  9414. "type": "string"
  9415. }
  9416. },
  9417. "title": "CommonResult«UserSignInfoResponse对象»",
  9418. "$$ref": "#/definitions/CommonResult«UserSignInfoResponse对象»"
  9419. }
  9420. }
  9421. }
  9422. }
  9423. },
  9424. "/api/front/user/sign/get": {
  9425. "get": {
  9426. "tags": [
  9427. "用户 -- 签到"
  9428. ],
  9429. "summary": "详情",
  9430. "consumes": [
  9431. "text/plain"
  9432. ],
  9433. "parameters": [
  9434. {
  9435. "name": "raw",
  9436. "in": "body",
  9437. "description": "raw paramter",
  9438. "schema": {
  9439. "type": "string",
  9440. "format": "binary"
  9441. }
  9442. }
  9443. ],
  9444. "responses": {
  9445. "200": {
  9446. "description": "successful operation",
  9447. "schema": {
  9448. "type": "object",
  9449. "properties": {
  9450. "code": {
  9451. "type": "integer",
  9452. "format": "int64"
  9453. },
  9454. "data": {
  9455. "type": "object",
  9456. "additionalProperties": {
  9457. "type": "object"
  9458. }
  9459. },
  9460. "message": {
  9461. "type": "string"
  9462. }
  9463. },
  9464. "title": "CommonResult«HashMap«string,object»»",
  9465. "$$ref": "#/definitions/CommonResult«HashMap«string,object»»"
  9466. }
  9467. }
  9468. }
  9469. }
  9470. },
  9471. "/api/front/user/sign/config": {
  9472. "get": {
  9473. "tags": [
  9474. "用户 -- 签到"
  9475. ],
  9476. "summary": "配置",
  9477. "consumes": [
  9478. "text/plain"
  9479. ],
  9480. "parameters": [
  9481. {
  9482. "name": "raw",
  9483. "in": "body",
  9484. "description": "raw paramter",
  9485. "schema": {
  9486. "type": "string",
  9487. "format": "binary"
  9488. }
  9489. }
  9490. ],
  9491. "responses": {
  9492. "200": {
  9493. "description": "successful operation",
  9494. "schema": {
  9495. "type": "object",
  9496. "properties": {
  9497. "code": {
  9498. "type": "integer",
  9499. "format": "int64"
  9500. },
  9501. "data": {
  9502. "type": "object",
  9503. "properties": {
  9504. "limit": {
  9505. "type": "integer",
  9506. "format": "int32"
  9507. },
  9508. "list": {
  9509. "type": "array",
  9510. "items": {
  9511. "type": "object",
  9512. "properties": {
  9513. "day": {
  9514. "type": "integer",
  9515. "format": "int32",
  9516. "description": "第几天"
  9517. },
  9518. "experience": {
  9519. "type": "integer",
  9520. "format": "int32",
  9521. "description": "经验"
  9522. },
  9523. "id": {
  9524. "type": "integer",
  9525. "format": "int32"
  9526. },
  9527. "integral": {
  9528. "type": "integer",
  9529. "format": "int32",
  9530. "description": "积分"
  9531. },
  9532. "title": {
  9533. "type": "string",
  9534. "description": "显示文字"
  9535. }
  9536. },
  9537. "title": "SystemGroupDataSignConfigVo对象",
  9538. "description": "签到记录",
  9539. "$$ref": "#/definitions/SystemGroupDataSignConfigVo对象"
  9540. }
  9541. },
  9542. "page": {
  9543. "type": "integer",
  9544. "format": "int32"
  9545. },
  9546. "total": {
  9547. "type": "integer",
  9548. "format": "int64"
  9549. },
  9550. "totalPage": {
  9551. "type": "integer",
  9552. "format": "int32"
  9553. }
  9554. },
  9555. "title": "CommonPage«SystemGroupDataSignConfigVo对象»",
  9556. "$$ref": "#/definitions/CommonPage«SystemGroupDataSignConfigVo对象»"
  9557. },
  9558. "message": {
  9559. "type": "string"
  9560. }
  9561. },
  9562. "title": "CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»",
  9563. "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroupDataSignConfigVo对象»»"
  9564. }
  9565. }
  9566. }
  9567. }
  9568. },
  9569. "/api/front/coupon/list": {
  9570. "get": {
  9571. "tags": [
  9572. "营销 -- 优惠券"
  9573. ],
  9574. "summary": "我的优惠券",
  9575. "consumes": [
  9576. "text/plain"
  9577. ],
  9578. "parameters": [
  9579. {
  9580. "name": "raw",
  9581. "in": "body",
  9582. "description": "raw paramter",
  9583. "schema": {
  9584. "type": "string",
  9585. "format": "binary"
  9586. }
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "successful operation",
  9592. "schema": {
  9593. "type": "object",
  9594. "properties": {
  9595. "code": {
  9596. "type": "integer",
  9597. "format": "int64"
  9598. },
  9599. "data": {
  9600. "type": "array",
  9601. "items": {
  9602. "type": "object",
  9603. "required": [
  9604. "primaryKey"
  9605. ],
  9606. "properties": {
  9607. "avatar": {
  9608. "type": "string",
  9609. "description": "用户头像"
  9610. },
  9611. "cid": {
  9612. "type": "integer",
  9613. "format": "int32",
  9614. "description": "兑换的项目id"
  9615. },
  9616. "couponId": {
  9617. "type": "integer",
  9618. "format": "int32",
  9619. "description": "优惠券发布id"
  9620. },
  9621. "createTime": {
  9622. "type": "string",
  9623. "format": "date-time",
  9624. "description": "创建时间"
  9625. },
  9626. "endTime": {
  9627. "type": "string",
  9628. "format": "date-time",
  9629. "description": "过期时间"
  9630. },
  9631. "id": {
  9632. "type": "integer",
  9633. "format": "int32",
  9634. "description": "id"
  9635. },
  9636. "isValid": {
  9637. "type": "boolean",
  9638. "description": "用户头像"
  9639. },
  9640. "minPrice": {
  9641. "type": "number",
  9642. "description": "最低消费多少金额可用优惠券"
  9643. },
  9644. "money": {
  9645. "type": "number",
  9646. "description": "优惠券的面值"
  9647. },
  9648. "name": {
  9649. "type": "string",
  9650. "description": "优惠券名称"
  9651. },
  9652. "nickname": {
  9653. "type": "string",
  9654. "description": "用户昵称"
  9655. },
  9656. "primaryKey": {
  9657. "type": "string",
  9658. "description": "主键id 商品id/分类id"
  9659. },
  9660. "startTime": {
  9661. "type": "string",
  9662. "format": "date-time",
  9663. "description": "开始使用时间"
  9664. },
  9665. "status": {
  9666. "type": "integer",
  9667. "format": "int32",
  9668. "description": "状态(0:未使用,1:已使用, 2:已失效)"
  9669. },
  9670. "type": {
  9671. "type": "string",
  9672. "description": "获取方式"
  9673. },
  9674. "uid": {
  9675. "type": "integer",
  9676. "format": "int32",
  9677. "description": "领取人id"
  9678. },
  9679. "updateTime": {
  9680. "type": "string",
  9681. "format": "date-time",
  9682. "description": "更新时间"
  9683. },
  9684. "useTime": {
  9685. "type": "string",
  9686. "format": "date-time",
  9687. "description": "使用时间"
  9688. },
  9689. "useType": {
  9690. "type": "integer",
  9691. "format": "int32",
  9692. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  9693. }
  9694. },
  9695. "title": "StoreCouponUserResponse对象",
  9696. "description": "优惠券记录表",
  9697. "$$ref": "#/definitions/StoreCouponUserResponse对象"
  9698. }
  9699. },
  9700. "message": {
  9701. "type": "string"
  9702. }
  9703. },
  9704. "title": "CommonResult«List«StoreCouponUserResponse对象»»",
  9705. "$$ref": "#/definitions/CommonResult«List«StoreCouponUserResponse对象»»"
  9706. }
  9707. }
  9708. }
  9709. }
  9710. },
  9711. "/api/front/coupon/receive/batch": {
  9712. "post": {
  9713. "tags": [
  9714. "营销 -- 优惠券"
  9715. ],
  9716. "summary": "批量领券",
  9717. "consumes": [
  9718. "application/json"
  9719. ],
  9720. "parameters": [
  9721. {
  9722. "name": "root",
  9723. "in": "body",
  9724. "description": "用户领券",
  9725. "schema": {
  9726. "type": "object",
  9727. "properties": {
  9728. "couponId": {
  9729. "type": "array",
  9730. "description": "优惠券id",
  9731. "items": {
  9732. "type": "integer",
  9733. "format": "int32"
  9734. }
  9735. }
  9736. },
  9737. "title": "UserCouponReceiveRequest对象",
  9738. "description": "用户领券",
  9739. "$$ref": "#/definitions/UserCouponReceiveRequest对象"
  9740. }
  9741. }
  9742. ],
  9743. "responses": {
  9744. "200": {
  9745. "description": "successful operation",
  9746. "schema": {
  9747. "type": "object",
  9748. "properties": {
  9749. "code": {
  9750. "type": "integer",
  9751. "format": "int64"
  9752. },
  9753. "data": {
  9754. "type": "string"
  9755. },
  9756. "message": {
  9757. "type": "string"
  9758. }
  9759. },
  9760. "title": "CommonResult«string»",
  9761. "$$ref": "#/definitions/CommonResult«string»"
  9762. }
  9763. }
  9764. }
  9765. }
  9766. },
  9767. "/api/front/coupon/receive": {
  9768. "post": {
  9769. "tags": [
  9770. "营销 -- 优惠券"
  9771. ],
  9772. "summary": "领券",
  9773. "consumes": [
  9774. "application/json"
  9775. ],
  9776. "parameters": [
  9777. {
  9778. "name": "root",
  9779. "in": "body",
  9780. "description": "用户领券",
  9781. "schema": {
  9782. "type": "object",
  9783. "properties": {
  9784. "couponId": {
  9785. "type": "array",
  9786. "description": "优惠券id",
  9787. "items": {
  9788. "type": "integer",
  9789. "format": "int32"
  9790. }
  9791. }
  9792. },
  9793. "title": "UserCouponReceiveRequest对象",
  9794. "description": "用户领券",
  9795. "$$ref": "#/definitions/UserCouponReceiveRequest对象"
  9796. }
  9797. }
  9798. ],
  9799. "responses": {
  9800. "200": {
  9801. "description": "successful operation",
  9802. "schema": {
  9803. "type": "object",
  9804. "properties": {
  9805. "code": {
  9806. "type": "integer",
  9807. "format": "int64"
  9808. },
  9809. "data": {
  9810. "type": "string"
  9811. },
  9812. "message": {
  9813. "type": "string"
  9814. }
  9815. },
  9816. "title": "CommonResult«string»",
  9817. "$$ref": "#/definitions/CommonResult«string»"
  9818. }
  9819. }
  9820. }
  9821. }
  9822. },
  9823. "/api/front/order/again": {
  9824. "post": {
  9825. "tags": [
  9826. "订单"
  9827. ],
  9828. "summary": "再次下单",
  9829. "consumes": [
  9830. "application/json"
  9831. ],
  9832. "parameters": [
  9833. {
  9834. "name": "root",
  9835. "in": "body",
  9836. "schema": {
  9837. "type": "object",
  9838. "properties": {
  9839. "nui": {
  9840. "type": "string",
  9841. "description": "订单id"
  9842. }
  9843. },
  9844. "title": "OrderAgainRequest",
  9845. "$$ref": "#/definitions/OrderAgainRequest"
  9846. }
  9847. }
  9848. ],
  9849. "responses": {
  9850. "200": {
  9851. "description": "successful operation",
  9852. "schema": {
  9853. "type": "object",
  9854. "properties": {
  9855. "code": {
  9856. "type": "integer",
  9857. "format": "int64"
  9858. },
  9859. "data": {
  9860. "type": "object"
  9861. },
  9862. "message": {
  9863. "type": "string"
  9864. }
  9865. },
  9866. "title": "CommonResult«object»",
  9867. "$$ref": "#/definitions/CommonResult«object»"
  9868. }
  9869. }
  9870. }
  9871. }
  9872. },
  9873. "/api/front/order/del": {
  9874. "post": {
  9875. "tags": [
  9876. "订单"
  9877. ],
  9878. "summary": "删除订单",
  9879. "consumes": [
  9880. "application/json"
  9881. ],
  9882. "parameters": [
  9883. {
  9884. "name": "id",
  9885. "in": "query",
  9886. "required": false,
  9887. "description": "id",
  9888. "type": "string"
  9889. }
  9890. ],
  9891. "responses": {
  9892. "200": {
  9893. "description": "successful operation",
  9894. "schema": {
  9895. "type": "object",
  9896. "properties": {
  9897. "code": {
  9898. "type": "integer",
  9899. "format": "int64"
  9900. },
  9901. "data": {
  9902. "type": "boolean"
  9903. },
  9904. "message": {
  9905. "type": "string"
  9906. }
  9907. },
  9908. "title": "CommonResult«boolean»",
  9909. "$$ref": "#/definitions/CommonResult«boolean»"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/api/front/order/product": {
  9916. "post": {
  9917. "tags": [
  9918. "订单"
  9919. ],
  9920. "summary": "待评价商品信息查询",
  9921. "consumes": [
  9922. "application/json"
  9923. ],
  9924. "parameters": [
  9925. {
  9926. "name": "root",
  9927. "in": "body",
  9928. "schema": {
  9929. "type": "object",
  9930. "properties": {
  9931. "orderId": {
  9932. "type": "integer",
  9933. "format": "int32",
  9934. "description": "订单id"
  9935. },
  9936. "uni": {
  9937. "type": "string",
  9938. "description": "商品attrid"
  9939. }
  9940. },
  9941. "title": "GetProductReply",
  9942. "$$ref": "#/definitions/GetProductReply"
  9943. }
  9944. }
  9945. ],
  9946. "responses": {
  9947. "200": {
  9948. "description": "successful operation",
  9949. "schema": {
  9950. "type": "object",
  9951. "properties": {
  9952. "code": {
  9953. "type": "integer",
  9954. "format": "int64"
  9955. },
  9956. "data": {
  9957. "type": "object"
  9958. },
  9959. "message": {
  9960. "type": "string"
  9961. }
  9962. },
  9963. "title": "CommonResult«object»",
  9964. "$$ref": "#/definitions/CommonResult«object»"
  9965. }
  9966. }
  9967. }
  9968. }
  9969. },
  9970. "/api/front/order/pay": {
  9971. "post": {
  9972. "tags": [
  9973. "订单"
  9974. ],
  9975. "summary": "支付",
  9976. "consumes": [
  9977. "application/json"
  9978. ],
  9979. "parameters": [
  9980. {
  9981. "name": "root",
  9982. "in": "body",
  9983. "description": "订单支付",
  9984. "schema": {
  9985. "type": "object",
  9986. "properties": {
  9987. "from": {
  9988. "type": "string",
  9989. "description": "支付平台"
  9990. },
  9991. "paytype": {
  9992. "type": "string",
  9993. "description": "支付类型"
  9994. },
  9995. "uni": {
  9996. "type": "string",
  9997. "description": "订单id"
  9998. }
  9999. },
  10000. "title": "OrderPayRequest对象",
  10001. "description": "订单支付",
  10002. "$$ref": "#/definitions/OrderPayRequest对象"
  10003. }
  10004. }
  10005. ],
  10006. "responses": {
  10007. "200": {
  10008. "description": "successful operation",
  10009. "schema": {
  10010. "type": "object",
  10011. "properties": {
  10012. "code": {
  10013. "type": "integer",
  10014. "format": "int64"
  10015. },
  10016. "data": {
  10017. "type": "object"
  10018. },
  10019. "message": {
  10020. "type": "string"
  10021. }
  10022. },
  10023. "title": "CommonResult«object»",
  10024. "$$ref": "#/definitions/CommonResult«object»"
  10025. }
  10026. }
  10027. }
  10028. }
  10029. },
  10030. "/api/front/order/express/{orderId}": {
  10031. "get": {
  10032. "tags": [
  10033. "订单"
  10034. ],
  10035. "summary": "物流信息查询",
  10036. "consumes": [
  10037. "text/plain"
  10038. ],
  10039. "parameters": [
  10040. {
  10041. "name": "orderId",
  10042. "in": "path",
  10043. "description": "orderId",
  10044. "required": true,
  10045. "type": "string"
  10046. },
  10047. {
  10048. "name": "raw",
  10049. "in": "body",
  10050. "description": "raw paramter",
  10051. "schema": {
  10052. "type": "string",
  10053. "format": "binary"
  10054. }
  10055. }
  10056. ],
  10057. "responses": {
  10058. "200": {
  10059. "description": "successful operation",
  10060. "schema": {
  10061. "type": "object",
  10062. "properties": {
  10063. "code": {
  10064. "type": "integer",
  10065. "format": "int64"
  10066. },
  10067. "data": {
  10068. "type": "object"
  10069. },
  10070. "message": {
  10071. "type": "string"
  10072. }
  10073. },
  10074. "title": "CommonResult«object»",
  10075. "$$ref": "#/definitions/CommonResult«object»"
  10076. }
  10077. }
  10078. }
  10079. }
  10080. },
  10081. "/api/front/order/create/{key}": {
  10082. "post": {
  10083. "tags": [
  10084. "订单"
  10085. ],
  10086. "summary": "生成订单",
  10087. "consumes": [
  10088. "application/json"
  10089. ],
  10090. "parameters": [
  10091. {
  10092. "name": "key",
  10093. "in": "path",
  10094. "description": "key",
  10095. "required": true,
  10096. "type": "string"
  10097. },
  10098. {
  10099. "name": "root",
  10100. "in": "body",
  10101. "description": "创建订单参数",
  10102. "schema": {
  10103. "type": "object",
  10104. "required": [
  10105. "isNew"
  10106. ],
  10107. "properties": {
  10108. "addressId": {
  10109. "type": "integer",
  10110. "format": "int32",
  10111. "description": "收货地址id"
  10112. },
  10113. "bargainId": {
  10114. "type": "integer",
  10115. "format": "int32"
  10116. },
  10117. "combinationId": {
  10118. "type": "integer",
  10119. "format": "int32"
  10120. },
  10121. "couponId": {
  10122. "type": "integer",
  10123. "format": "int32"
  10124. },
  10125. "formId": {
  10126. "type": "integer",
  10127. "format": "int32"
  10128. },
  10129. "from": {
  10130. "type": "string"
  10131. },
  10132. "isNew": {
  10133. "type": "boolean",
  10134. "description": "是否为立即购买"
  10135. },
  10136. "mark": {
  10137. "type": "string"
  10138. },
  10139. "payType": {
  10140. "type": "string"
  10141. },
  10142. "phone": {
  10143. "type": "string",
  10144. "description": "手机号码"
  10145. },
  10146. "pinkId": {
  10147. "type": "integer",
  10148. "format": "int32"
  10149. },
  10150. "realName": {
  10151. "type": "string",
  10152. "description": "真实名称"
  10153. },
  10154. "seckillId": {
  10155. "type": "integer",
  10156. "format": "int32"
  10157. },
  10158. "shippingType": {
  10159. "type": "integer",
  10160. "format": "int32",
  10161. "description": "快递类型"
  10162. },
  10163. "storeId": {
  10164. "type": "integer",
  10165. "format": "int32"
  10166. },
  10167. "useIntegral": {
  10168. "type": "boolean"
  10169. }
  10170. },
  10171. "title": "OrderCreateRequest对象",
  10172. "description": "创建订单参数",
  10173. "$$ref": "#/definitions/OrderCreateRequest对象"
  10174. }
  10175. }
  10176. ],
  10177. "responses": {
  10178. "200": {
  10179. "description": "successful operation",
  10180. "schema": {
  10181. "type": "object",
  10182. "properties": {
  10183. "code": {
  10184. "type": "integer",
  10185. "format": "int64"
  10186. },
  10187. "data": {
  10188. "type": "object"
  10189. },
  10190. "message": {
  10191. "type": "string"
  10192. }
  10193. },
  10194. "title": "CommonResult«object»",
  10195. "$$ref": "#/definitions/CommonResult«object»"
  10196. }
  10197. }
  10198. }
  10199. }
  10200. },
  10201. "/api/front/order/confirm": {
  10202. "post": {
  10203. "tags": [
  10204. "订单"
  10205. ],
  10206. "summary": "确认订单",
  10207. "consumes": [
  10208. "application/json"
  10209. ],
  10210. "parameters": [
  10211. {
  10212. "name": "cartIds",
  10213. "in": "query",
  10214. "required": false,
  10215. "description": "cartIds",
  10216. "type": "string"
  10217. },
  10218. {
  10219. "name": "isNew",
  10220. "in": "query",
  10221. "required": false,
  10222. "description": "isNew",
  10223. "type": "string"
  10224. }
  10225. ],
  10226. "responses": {
  10227. "200": {
  10228. "description": "successful operation",
  10229. "schema": {
  10230. "type": "object",
  10231. "properties": {
  10232. "code": {
  10233. "type": "integer",
  10234. "format": "int64"
  10235. },
  10236. "data": {
  10237. "type": "object",
  10238. "properties": {
  10239. "addressInfo": {
  10240. "type": "object",
  10241. "properties": {
  10242. "city": {
  10243. "type": "string",
  10244. "description": "收货人所在市"
  10245. },
  10246. "cityId": {
  10247. "type": "integer",
  10248. "format": "int32",
  10249. "description": "城市id"
  10250. },
  10251. "createTime": {
  10252. "type": "string",
  10253. "format": "date-time",
  10254. "description": "创建时间"
  10255. },
  10256. "detail": {
  10257. "type": "string",
  10258. "description": "收货人详细地址"
  10259. },
  10260. "district": {
  10261. "type": "string",
  10262. "description": "收货人所在区"
  10263. },
  10264. "id": {
  10265. "type": "integer",
  10266. "format": "int32",
  10267. "description": "用户地址id"
  10268. },
  10269. "isDefault": {
  10270. "type": "boolean",
  10271. "description": "是否默认"
  10272. },
  10273. "isDel": {
  10274. "type": "boolean",
  10275. "description": "是否删除"
  10276. },
  10277. "latitude": {
  10278. "type": "string",
  10279. "description": "纬度"
  10280. },
  10281. "longitude": {
  10282. "type": "string",
  10283. "description": "经度"
  10284. },
  10285. "phone": {
  10286. "type": "string",
  10287. "description": "收货人电话"
  10288. },
  10289. "postCode": {
  10290. "type": "integer",
  10291. "format": "int32",
  10292. "description": "邮编"
  10293. },
  10294. "province": {
  10295. "type": "string",
  10296. "description": "收货人所在省"
  10297. },
  10298. "realName": {
  10299. "type": "string",
  10300. "description": "收货人姓名"
  10301. },
  10302. "uid": {
  10303. "type": "integer",
  10304. "format": "int32",
  10305. "description": "用户id"
  10306. },
  10307. "updateTime": {
  10308. "type": "string",
  10309. "format": "date-time",
  10310. "description": "创建时间"
  10311. }
  10312. },
  10313. "title": "UserAddress对象",
  10314. "description": "用户地址表",
  10315. "$$ref": "#/definitions/UserAddress对象"
  10316. },
  10317. "cartInfo": {
  10318. "type": "array",
  10319. "items": {
  10320. "type": "object",
  10321. "properties": {
  10322. "addTime": {
  10323. "type": "string"
  10324. },
  10325. "attrStatus": {
  10326. "type": "boolean",
  10327. "description": "商品是否有效"
  10328. },
  10329. "bargainId": {
  10330. "type": "integer",
  10331. "format": "int32",
  10332. "description": "砍价id"
  10333. },
  10334. "brokerage": {
  10335. "type": "number",
  10336. "description": "一级分佣"
  10337. },
  10338. "brokerageTwo": {
  10339. "type": "number",
  10340. "description": "二级分佣"
  10341. },
  10342. "cartNum": {
  10343. "type": "integer",
  10344. "format": "int32",
  10345. "description": "商品数量"
  10346. },
  10347. "combinationId": {
  10348. "type": "integer",
  10349. "format": "int32",
  10350. "description": "拼团id"
  10351. },
  10352. "costPrice": {
  10353. "type": "number"
  10354. },
  10355. "id": {
  10356. "type": "integer",
  10357. "format": "int64",
  10358. "description": "购物车表ID"
  10359. },
  10360. "isNew": {
  10361. "type": "boolean",
  10362. "description": "是否为立即购买"
  10363. },
  10364. "isReply": {
  10365. "type": "integer",
  10366. "format": "int32"
  10367. },
  10368. "productAttrUnique": {
  10369. "type": "string",
  10370. "description": "商品属性"
  10371. },
  10372. "productId": {
  10373. "type": "integer",
  10374. "format": "int32",
  10375. "description": "商品ID"
  10376. },
  10377. "productInfo": {
  10378. "type": "object",
  10379. "properties": {
  10380. "attrInfo": {
  10381. "type": "object",
  10382. "properties": {
  10383. "attrValue": {
  10384. "type": "string",
  10385. "description": "产品属性值和属性名对应关系"
  10386. },
  10387. "barCode": {
  10388. "type": "string",
  10389. "description": "商品条码"
  10390. },
  10391. "brokerage": {
  10392. "type": "number",
  10393. "description": "一级返佣"
  10394. },
  10395. "brokerageTwo": {
  10396. "type": "number",
  10397. "description": "二级返佣"
  10398. },
  10399. "cost": {
  10400. "type": "number",
  10401. "description": "成本价"
  10402. },
  10403. "id": {
  10404. "type": "integer",
  10405. "format": "int32",
  10406. "description": "attrId"
  10407. },
  10408. "image": {
  10409. "type": "string",
  10410. "description": "图片"
  10411. },
  10412. "otPrice": {
  10413. "type": "number",
  10414. "description": "原价"
  10415. },
  10416. "price": {
  10417. "type": "number",
  10418. "description": "属性金额"
  10419. },
  10420. "productId": {
  10421. "type": "integer",
  10422. "format": "int32",
  10423. "description": "商品ID"
  10424. },
  10425. "quota": {
  10426. "type": "integer",
  10427. "format": "int32",
  10428. "description": "活动限购数量"
  10429. },
  10430. "quotaShow": {
  10431. "type": "integer",
  10432. "format": "int32",
  10433. "description": "活动限购数量显示"
  10434. },
  10435. "sales": {
  10436. "type": "integer",
  10437. "format": "int32",
  10438. "description": "销量"
  10439. },
  10440. "stock": {
  10441. "type": "integer",
  10442. "format": "int32",
  10443. "description": "属性对应的库存"
  10444. },
  10445. "suk": {
  10446. "type": "string",
  10447. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  10448. },
  10449. "type": {
  10450. "type": "integer",
  10451. "format": "int32",
  10452. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  10453. },
  10454. "unique": {
  10455. "type": "string",
  10456. "description": "唯一值"
  10457. },
  10458. "volume": {
  10459. "type": "number",
  10460. "description": "体积"
  10461. },
  10462. "weight": {
  10463. "type": "number",
  10464. "description": "重量"
  10465. }
  10466. },
  10467. "title": "StoreProductAttrValue对象",
  10468. "description": "商品属性值表",
  10469. "$$ref": "#/definitions/StoreProductAttrValue对象"
  10470. },
  10471. "barCode": {
  10472. "type": "string",
  10473. "description": "商品条码(一维码)"
  10474. },
  10475. "cateId": {
  10476. "type": "string",
  10477. "description": "分类id"
  10478. },
  10479. "cost": {
  10480. "type": "number",
  10481. "description": "成本价"
  10482. },
  10483. "giveIntegral": {
  10484. "type": "number",
  10485. "description": "获得积分"
  10486. },
  10487. "id": {
  10488. "type": "integer",
  10489. "format": "int32",
  10490. "description": "商品id"
  10491. },
  10492. "image": {
  10493. "type": "string",
  10494. "description": "商品图片"
  10495. },
  10496. "isPostage": {
  10497. "type": "boolean",
  10498. "description": "是否包邮"
  10499. },
  10500. "isSub": {
  10501. "type": "boolean",
  10502. "description": "是否单独分佣"
  10503. },
  10504. "keyword": {
  10505. "type": "string",
  10506. "description": "关键字"
  10507. },
  10508. "merId": {
  10509. "type": "integer",
  10510. "format": "int32",
  10511. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  10512. },
  10513. "otPrice": {
  10514. "type": "number",
  10515. "description": "市场价"
  10516. },
  10517. "postage": {
  10518. "type": "number",
  10519. "description": "邮费"
  10520. },
  10521. "price": {
  10522. "type": "number",
  10523. "description": "商品价格"
  10524. },
  10525. "sales": {
  10526. "type": "integer",
  10527. "format": "int32",
  10528. "description": "销量"
  10529. },
  10530. "sliderImage": {
  10531. "type": "string",
  10532. "description": "轮播图"
  10533. },
  10534. "sort": {
  10535. "type": "integer",
  10536. "format": "int32",
  10537. "description": "排序"
  10538. },
  10539. "stock": {
  10540. "type": "integer",
  10541. "format": "int32",
  10542. "description": "库存"
  10543. },
  10544. "storeInfo": {
  10545. "type": "string",
  10546. "description": "商品简介"
  10547. },
  10548. "storeName": {
  10549. "type": "string",
  10550. "description": "商品名称"
  10551. },
  10552. "tempId": {
  10553. "type": "integer",
  10554. "format": "int32",
  10555. "description": "运费模板ID"
  10556. },
  10557. "unitName": {
  10558. "type": "string",
  10559. "description": "单位名"
  10560. },
  10561. "vipPrice": {
  10562. "type": "number",
  10563. "description": "会员价格"
  10564. }
  10565. },
  10566. "title": "StoreProductCartProductInfoResponse对象",
  10567. "description": "商品信息,购物车列表使用",
  10568. "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
  10569. },
  10570. "seckillId": {
  10571. "type": "integer",
  10572. "format": "int32",
  10573. "description": "秒杀商品ID"
  10574. },
  10575. "truePrice": {
  10576. "type": "number"
  10577. },
  10578. "trueStock": {
  10579. "type": "integer",
  10580. "format": "int32"
  10581. },
  10582. "type": {
  10583. "type": "string",
  10584. "description": "类型"
  10585. },
  10586. "uid": {
  10587. "type": "integer",
  10588. "format": "int32",
  10589. "description": "用户ID"
  10590. },
  10591. "vipTruePrice": {
  10592. "type": "number"
  10593. }
  10594. },
  10595. "title": "StoreCartResponse",
  10596. "description": "购物车ListResponse",
  10597. "$$ref": "#/definitions/StoreCartResponse"
  10598. }
  10599. },
  10600. "deduction": {
  10601. "type": "boolean"
  10602. },
  10603. "integralRatio": {
  10604. "type": "string"
  10605. },
  10606. "offlinePayStatus": {
  10607. "type": "string"
  10608. },
  10609. "offlinePostage": {
  10610. "type": "string"
  10611. },
  10612. "orderKey": {
  10613. "type": "string"
  10614. },
  10615. "other": {
  10616. "type": "object",
  10617. "additionalProperties": {
  10618. "type": "object"
  10619. }
  10620. },
  10621. "payWeixinOpen": {
  10622. "type": "string"
  10623. },
  10624. "priceGroup": {
  10625. "type": "object",
  10626. "properties": {
  10627. "costPrice": {
  10628. "type": "number"
  10629. },
  10630. "couponPrice": {
  10631. "type": "number"
  10632. },
  10633. "deductionPrice": {
  10634. "type": "number"
  10635. },
  10636. "payPostage": {
  10637. "type": "number"
  10638. },
  10639. "payPrice": {
  10640. "type": "number"
  10641. },
  10642. "storeFreePostage": {
  10643. "type": "number"
  10644. },
  10645. "storePostage": {
  10646. "type": "number"
  10647. },
  10648. "totalPrice": {
  10649. "type": "number"
  10650. },
  10651. "usedIntegral": {
  10652. "type": "number"
  10653. },
  10654. "vipPrice": {
  10655. "type": "number"
  10656. }
  10657. },
  10658. "title": "PriceGroupResponse",
  10659. "$$ref": "#/definitions/PriceGroupResponse"
  10660. },
  10661. "storeSelfMention": {
  10662. "type": "string"
  10663. },
  10664. "systemStore": {
  10665. "type": "string"
  10666. },
  10667. "usableCoupon": {
  10668. "type": "object",
  10669. "required": [
  10670. "primaryKey"
  10671. ],
  10672. "properties": {
  10673. "avatar": {
  10674. "type": "string",
  10675. "description": "用户头像"
  10676. },
  10677. "cid": {
  10678. "type": "integer",
  10679. "format": "int32",
  10680. "description": "兑换的项目id"
  10681. },
  10682. "couponId": {
  10683. "type": "integer",
  10684. "format": "int32",
  10685. "description": "优惠券发布id"
  10686. },
  10687. "createTime": {
  10688. "type": "string",
  10689. "format": "date-time",
  10690. "description": "创建时间"
  10691. },
  10692. "endTime": {
  10693. "type": "string",
  10694. "format": "date-time",
  10695. "description": "过期时间"
  10696. },
  10697. "id": {
  10698. "type": "integer",
  10699. "format": "int32",
  10700. "description": "id"
  10701. },
  10702. "isValid": {
  10703. "type": "boolean",
  10704. "description": "用户头像"
  10705. },
  10706. "minPrice": {
  10707. "type": "number",
  10708. "description": "最低消费多少金额可用优惠券"
  10709. },
  10710. "money": {
  10711. "type": "number",
  10712. "description": "优惠券的面值"
  10713. },
  10714. "name": {
  10715. "type": "string",
  10716. "description": "优惠券名称"
  10717. },
  10718. "nickname": {
  10719. "type": "string",
  10720. "description": "用户昵称"
  10721. },
  10722. "primaryKey": {
  10723. "type": "string",
  10724. "description": "主键id 商品id/分类id"
  10725. },
  10726. "startTime": {
  10727. "type": "string",
  10728. "format": "date-time",
  10729. "description": "开始使用时间"
  10730. },
  10731. "status": {
  10732. "type": "integer",
  10733. "format": "int32",
  10734. "description": "状态(0:未使用,1:已使用, 2:已失效)"
  10735. },
  10736. "type": {
  10737. "type": "string",
  10738. "description": "获取方式"
  10739. },
  10740. "uid": {
  10741. "type": "integer",
  10742. "format": "int32",
  10743. "description": "领取人id"
  10744. },
  10745. "updateTime": {
  10746. "type": "string",
  10747. "format": "date-time",
  10748. "description": "更新时间"
  10749. },
  10750. "useTime": {
  10751. "type": "string",
  10752. "format": "date-time",
  10753. "description": "使用时间"
  10754. },
  10755. "useType": {
  10756. "type": "integer",
  10757. "format": "int32",
  10758. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  10759. }
  10760. },
  10761. "title": "StoreCouponUserResponse对象",
  10762. "description": "优惠券记录表",
  10763. "$$ref": "#/definitions/StoreCouponUserResponse对象"
  10764. },
  10765. "userInfo": {
  10766. "type": "object",
  10767. "properties": {
  10768. "account": {
  10769. "type": "string",
  10770. "description": "用户账号"
  10771. },
  10772. "addIp": {
  10773. "type": "string",
  10774. "description": "添加ip"
  10775. },
  10776. "addres": {
  10777. "type": "string",
  10778. "description": "详细地址"
  10779. },
  10780. "adminid": {
  10781. "type": "integer",
  10782. "format": "int32",
  10783. "description": "管理员编号 "
  10784. },
  10785. "avatar": {
  10786. "type": "string",
  10787. "description": "用户头像"
  10788. },
  10789. "birthday": {
  10790. "type": "string",
  10791. "description": "生日"
  10792. },
  10793. "brokeragePrice": {
  10794. "type": "number",
  10795. "description": "佣金金额"
  10796. },
  10797. "cardId": {
  10798. "type": "string",
  10799. "description": "身份证号码"
  10800. },
  10801. "cleanTime": {
  10802. "type": "string",
  10803. "format": "date-time",
  10804. "description": "最后一次登录时间"
  10805. },
  10806. "createTime": {
  10807. "type": "string",
  10808. "format": "date-time",
  10809. "description": "创建时间"
  10810. },
  10811. "experience": {
  10812. "type": "integer",
  10813. "format": "int32",
  10814. "description": "用户剩余经验"
  10815. },
  10816. "groupId": {
  10817. "type": "string",
  10818. "description": "用户分组id"
  10819. },
  10820. "integral": {
  10821. "type": "number",
  10822. "description": "用户剩余积分"
  10823. },
  10824. "isPromoter": {
  10825. "type": "boolean",
  10826. "description": "是否为推广员"
  10827. },
  10828. "lastIp": {
  10829. "type": "string",
  10830. "description": "最后一次登录ip"
  10831. },
  10832. "lastLoginTime": {
  10833. "type": "string",
  10834. "format": "date-time",
  10835. "description": "最后一次登录时间"
  10836. },
  10837. "level": {
  10838. "type": "integer",
  10839. "format": "int32",
  10840. "description": "等级"
  10841. },
  10842. "loginType": {
  10843. "type": "string",
  10844. "description": "用户登陆类型,h5,wechat,routine"
  10845. },
  10846. "mark": {
  10847. "type": "string",
  10848. "description": "用户备注"
  10849. },
  10850. "nickname": {
  10851. "type": "string",
  10852. "description": "用户昵称"
  10853. },
  10854. "nowMoney": {
  10855. "type": "number",
  10856. "description": "用户余额"
  10857. },
  10858. "partnerId": {
  10859. "type": "integer",
  10860. "format": "int32",
  10861. "description": "合伙人id"
  10862. },
  10863. "path": {
  10864. "type": "string",
  10865. "description": "用户推广等级"
  10866. },
  10867. "payCount": {
  10868. "type": "integer",
  10869. "format": "int32",
  10870. "description": "用户购买次数"
  10871. },
  10872. "phone": {
  10873. "type": "string",
  10874. "description": "手机号码"
  10875. },
  10876. "realName": {
  10877. "type": "string",
  10878. "description": "真实姓名"
  10879. },
  10880. "signNum": {
  10881. "type": "integer",
  10882. "format": "int32",
  10883. "description": "连续签到天数"
  10884. },
  10885. "spreadCount": {
  10886. "type": "integer",
  10887. "format": "int32",
  10888. "description": "下级人数"
  10889. },
  10890. "spreadTime": {
  10891. "type": "string",
  10892. "format": "date-time",
  10893. "description": "推广员关联时间"
  10894. },
  10895. "spreadUid": {
  10896. "type": "integer",
  10897. "format": "int32",
  10898. "description": "推广人id"
  10899. },
  10900. "status": {
  10901. "type": "boolean",
  10902. "description": "1为正常,0为禁止"
  10903. },
  10904. "subscribe": {
  10905. "type": "boolean",
  10906. "description": "是否关注公众号"
  10907. },
  10908. "tagId": {
  10909. "type": "string",
  10910. "description": "用户标签id"
  10911. },
  10912. "uid": {
  10913. "type": "integer",
  10914. "format": "int32",
  10915. "description": "用户id"
  10916. },
  10917. "updateTime": {
  10918. "type": "string",
  10919. "format": "date-time",
  10920. "description": "创建时间"
  10921. },
  10922. "userType": {
  10923. "type": "string",
  10924. "description": "用户类型"
  10925. }
  10926. },
  10927. "title": "User对象",
  10928. "description": "用户表",
  10929. "$$ref": "#/definitions/User对象"
  10930. },
  10931. "yuePayStatus": {
  10932. "type": "string"
  10933. }
  10934. },
  10935. "title": "ConfirmOrderResponse",
  10936. "$$ref": "#/definitions/ConfirmOrderResponse"
  10937. },
  10938. "message": {
  10939. "type": "string"
  10940. }
  10941. },
  10942. "title": "CommonResult«ConfirmOrderResponse»",
  10943. "$$ref": "#/definitions/CommonResult«ConfirmOrderResponse»"
  10944. }
  10945. }
  10946. }
  10947. }
  10948. },
  10949. "/api/front/order/computed/{key}": {
  10950. "post": {
  10951. "tags": [
  10952. "订单"
  10953. ],
  10954. "summary": "计算价格",
  10955. "consumes": [
  10956. "application/json"
  10957. ],
  10958. "parameters": [
  10959. {
  10960. "name": "key",
  10961. "in": "path",
  10962. "description": "key",
  10963. "required": true,
  10964. "type": "string"
  10965. },
  10966. {
  10967. "name": "root",
  10968. "in": "body",
  10969. "schema": {
  10970. "type": "object",
  10971. "properties": {
  10972. "addressId": {
  10973. "type": "integer",
  10974. "format": "int32",
  10975. "description": "地址id"
  10976. },
  10977. "couponId": {
  10978. "type": "integer",
  10979. "format": "int32",
  10980. "description": "优惠券id"
  10981. },
  10982. "payType": {
  10983. "type": "string",
  10984. "description": "支付类型"
  10985. },
  10986. "shippingType": {
  10987. "type": "integer",
  10988. "format": "int32",
  10989. "description": "快递类型"
  10990. },
  10991. "useIntegral": {
  10992. "type": "boolean",
  10993. "description": "抵扣积分"
  10994. }
  10995. },
  10996. "title": "OrderComputedRequest",
  10997. "$$ref": "#/definitions/OrderComputedRequest"
  10998. }
  10999. }
  11000. ],
  11001. "responses": {
  11002. "200": {
  11003. "description": "successful operation",
  11004. "schema": {
  11005. "type": "object",
  11006. "properties": {
  11007. "code": {
  11008. "type": "integer",
  11009. "format": "int64"
  11010. },
  11011. "data": {
  11012. "type": "object"
  11013. },
  11014. "message": {
  11015. "type": "string"
  11016. }
  11017. },
  11018. "title": "CommonResult«object»",
  11019. "$$ref": "#/definitions/CommonResult«object»"
  11020. }
  11021. }
  11022. }
  11023. }
  11024. },
  11025. "/api/front/order/list": {
  11026. "get": {
  11027. "tags": [
  11028. "订单"
  11029. ],
  11030. "summary": "订单列表",
  11031. "consumes": [
  11032. "text/plain"
  11033. ],
  11034. "parameters": [
  11035. {
  11036. "name": "limit",
  11037. "in": "query",
  11038. "required": false,
  11039. "description": "每页数量",
  11040. "type": "string"
  11041. },
  11042. {
  11043. "name": "page",
  11044. "in": "query",
  11045. "required": false,
  11046. "description": "页码",
  11047. "type": "string"
  11048. },
  11049. {
  11050. "name": "type",
  11051. "in": "query",
  11052. "required": false,
  11053. "description": "评价等级|0=未支付,1=待发货,2=待收货,3=待评价,4=已完成",
  11054. "type": "string"
  11055. },
  11056. {
  11057. "name": "raw",
  11058. "in": "body",
  11059. "description": "raw paramter",
  11060. "schema": {
  11061. "type": "string",
  11062. "format": "binary"
  11063. }
  11064. }
  11065. ],
  11066. "responses": {
  11067. "200": {
  11068. "description": "successful operation",
  11069. "schema": {
  11070. "type": "object",
  11071. "properties": {
  11072. "code": {
  11073. "type": "integer",
  11074. "format": "int64"
  11075. },
  11076. "data": {
  11077. "type": "array",
  11078. "items": {
  11079. "type": "object",
  11080. "properties": {
  11081. "addTime": {
  11082. "type": "string"
  11083. },
  11084. "cartInfo": {
  11085. "type": "array",
  11086. "items": {
  11087. "type": "object",
  11088. "properties": {
  11089. "info": {
  11090. "type": "object",
  11091. "properties": {
  11092. "addTime": {
  11093. "type": "string"
  11094. },
  11095. "attrStatus": {
  11096. "type": "boolean",
  11097. "description": "商品是否有效"
  11098. },
  11099. "bargainId": {
  11100. "type": "integer",
  11101. "format": "int32",
  11102. "description": "砍价id"
  11103. },
  11104. "brokerage": {
  11105. "type": "number",
  11106. "description": "一级分佣"
  11107. },
  11108. "brokerageTwo": {
  11109. "type": "number",
  11110. "description": "二级分佣"
  11111. },
  11112. "cartNum": {
  11113. "type": "integer",
  11114. "format": "int32",
  11115. "description": "商品数量"
  11116. },
  11117. "combinationId": {
  11118. "type": "integer",
  11119. "format": "int32",
  11120. "description": "拼团id"
  11121. },
  11122. "costPrice": {
  11123. "type": "number"
  11124. },
  11125. "id": {
  11126. "type": "integer",
  11127. "format": "int64",
  11128. "description": "购物车表ID"
  11129. },
  11130. "isNew": {
  11131. "type": "boolean",
  11132. "description": "是否为立即购买"
  11133. },
  11134. "isReply": {
  11135. "type": "integer",
  11136. "format": "int32"
  11137. },
  11138. "productAttrUnique": {
  11139. "type": "string",
  11140. "description": "商品属性"
  11141. },
  11142. "productId": {
  11143. "type": "integer",
  11144. "format": "int32",
  11145. "description": "商品ID"
  11146. },
  11147. "productInfo": {
  11148. "type": "object",
  11149. "properties": {
  11150. "attrInfo": {
  11151. "type": "object",
  11152. "properties": {
  11153. "attrValue": {
  11154. "type": "string",
  11155. "description": "产品属性值和属性名对应关系"
  11156. },
  11157. "barCode": {
  11158. "type": "string",
  11159. "description": "商品条码"
  11160. },
  11161. "brokerage": {
  11162. "type": "number",
  11163. "description": "一级返佣"
  11164. },
  11165. "brokerageTwo": {
  11166. "type": "number",
  11167. "description": "二级返佣"
  11168. },
  11169. "cost": {
  11170. "type": "number",
  11171. "description": "成本价"
  11172. },
  11173. "id": {
  11174. "type": "integer",
  11175. "format": "int32",
  11176. "description": "attrId"
  11177. },
  11178. "image": {
  11179. "type": "string",
  11180. "description": "图片"
  11181. },
  11182. "otPrice": {
  11183. "type": "number",
  11184. "description": "原价"
  11185. },
  11186. "price": {
  11187. "type": "number",
  11188. "description": "属性金额"
  11189. },
  11190. "productId": {
  11191. "type": "integer",
  11192. "format": "int32",
  11193. "description": "商品ID"
  11194. },
  11195. "quota": {
  11196. "type": "integer",
  11197. "format": "int32",
  11198. "description": "活动限购数量"
  11199. },
  11200. "quotaShow": {
  11201. "type": "integer",
  11202. "format": "int32",
  11203. "description": "活动限购数量显示"
  11204. },
  11205. "sales": {
  11206. "type": "integer",
  11207. "format": "int32",
  11208. "description": "销量"
  11209. },
  11210. "stock": {
  11211. "type": "integer",
  11212. "format": "int32",
  11213. "description": "属性对应的库存"
  11214. },
  11215. "suk": {
  11216. "type": "string",
  11217. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  11218. },
  11219. "type": {
  11220. "type": "integer",
  11221. "format": "int32",
  11222. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  11223. },
  11224. "unique": {
  11225. "type": "string",
  11226. "description": "唯一值"
  11227. },
  11228. "volume": {
  11229. "type": "number",
  11230. "description": "体积"
  11231. },
  11232. "weight": {
  11233. "type": "number",
  11234. "description": "重量"
  11235. }
  11236. },
  11237. "title": "StoreProductAttrValue对象",
  11238. "description": "商品属性值表",
  11239. "$$ref": "#/definitions/StoreProductAttrValue对象"
  11240. },
  11241. "barCode": {
  11242. "type": "string",
  11243. "description": "商品条码(一维码)"
  11244. },
  11245. "cateId": {
  11246. "type": "string",
  11247. "description": "分类id"
  11248. },
  11249. "cost": {
  11250. "type": "number",
  11251. "description": "成本价"
  11252. },
  11253. "giveIntegral": {
  11254. "type": "number",
  11255. "description": "获得积分"
  11256. },
  11257. "id": {
  11258. "type": "integer",
  11259. "format": "int32",
  11260. "description": "商品id"
  11261. },
  11262. "image": {
  11263. "type": "string",
  11264. "description": "商品图片"
  11265. },
  11266. "isPostage": {
  11267. "type": "boolean",
  11268. "description": "是否包邮"
  11269. },
  11270. "isSub": {
  11271. "type": "boolean",
  11272. "description": "是否单独分佣"
  11273. },
  11274. "keyword": {
  11275. "type": "string",
  11276. "description": "关键字"
  11277. },
  11278. "merId": {
  11279. "type": "integer",
  11280. "format": "int32",
  11281. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  11282. },
  11283. "otPrice": {
  11284. "type": "number",
  11285. "description": "市场价"
  11286. },
  11287. "postage": {
  11288. "type": "number",
  11289. "description": "邮费"
  11290. },
  11291. "price": {
  11292. "type": "number",
  11293. "description": "商品价格"
  11294. },
  11295. "sales": {
  11296. "type": "integer",
  11297. "format": "int32",
  11298. "description": "销量"
  11299. },
  11300. "sliderImage": {
  11301. "type": "string",
  11302. "description": "轮播图"
  11303. },
  11304. "sort": {
  11305. "type": "integer",
  11306. "format": "int32",
  11307. "description": "排序"
  11308. },
  11309. "stock": {
  11310. "type": "integer",
  11311. "format": "int32",
  11312. "description": "库存"
  11313. },
  11314. "storeInfo": {
  11315. "type": "string",
  11316. "description": "商品简介"
  11317. },
  11318. "storeName": {
  11319. "type": "string",
  11320. "description": "商品名称"
  11321. },
  11322. "tempId": {
  11323. "type": "integer",
  11324. "format": "int32",
  11325. "description": "运费模板ID"
  11326. },
  11327. "unitName": {
  11328. "type": "string",
  11329. "description": "单位名"
  11330. },
  11331. "vipPrice": {
  11332. "type": "number",
  11333. "description": "会员价格"
  11334. }
  11335. },
  11336. "title": "StoreProductCartProductInfoResponse对象",
  11337. "description": "商品信息,购物车列表使用",
  11338. "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
  11339. },
  11340. "seckillId": {
  11341. "type": "integer",
  11342. "format": "int32",
  11343. "description": "秒杀商品ID"
  11344. },
  11345. "truePrice": {
  11346. "type": "number"
  11347. },
  11348. "trueStock": {
  11349. "type": "integer",
  11350. "format": "int32"
  11351. },
  11352. "type": {
  11353. "type": "string",
  11354. "description": "类型"
  11355. },
  11356. "uid": {
  11357. "type": "integer",
  11358. "format": "int32",
  11359. "description": "用户ID"
  11360. },
  11361. "vipTruePrice": {
  11362. "type": "number"
  11363. }
  11364. },
  11365. "title": "StoreCartResponse",
  11366. "description": "购物车ListResponse",
  11367. "$$ref": "#/definitions/StoreCartResponse"
  11368. },
  11369. "orderId": {
  11370. "type": "integer",
  11371. "format": "int32",
  11372. "description": "订单id"
  11373. },
  11374. "productId": {
  11375. "type": "integer",
  11376. "format": "int32",
  11377. "description": "商品ID"
  11378. },
  11379. "unique": {
  11380. "type": "string",
  11381. "description": "唯一id"
  11382. }
  11383. },
  11384. "title": "StoreOrderInfoVo对象",
  11385. "description": "订单购物详情表",
  11386. "$$ref": "#/definitions/StoreOrderInfoVo对象"
  11387. }
  11388. },
  11389. "offlinePayStatus": {
  11390. "type": "integer",
  11391. "format": "int32"
  11392. },
  11393. "payTime": {
  11394. "type": "string"
  11395. },
  11396. "status": {
  11397. "type": "object",
  11398. "properties": {
  11399. "deliveryType": {
  11400. "type": "string"
  11401. },
  11402. "msg": {
  11403. "type": "string"
  11404. },
  11405. "payType": {
  11406. "type": "string"
  11407. },
  11408. "title": {
  11409. "type": "string"
  11410. },
  11411. "type": {
  11412. "type": "integer",
  11413. "format": "int32"
  11414. }
  11415. },
  11416. "title": "OrderAgainItemVo",
  11417. "$$ref": "#/definitions/OrderAgainItemVo"
  11418. },
  11419. "statusPic": {
  11420. "type": "string"
  11421. },
  11422. "storeOrder": {
  11423. "type": "object",
  11424. "properties": {
  11425. "backIntegral": {
  11426. "type": "number",
  11427. "description": "给用户退了多少积分"
  11428. },
  11429. "bargainId": {
  11430. "type": "integer",
  11431. "format": "int32",
  11432. "description": "砍价id"
  11433. },
  11434. "clerkId": {
  11435. "type": "integer",
  11436. "format": "int32",
  11437. "description": "店员id"
  11438. },
  11439. "combinationId": {
  11440. "type": "integer",
  11441. "format": "int32",
  11442. "description": "拼团商品id0一般商品"
  11443. },
  11444. "cost": {
  11445. "type": "number",
  11446. "description": "成本价"
  11447. },
  11448. "couponId": {
  11449. "type": "integer",
  11450. "format": "int32",
  11451. "description": "优惠券id"
  11452. },
  11453. "couponPrice": {
  11454. "type": "number",
  11455. "description": "优惠券金额"
  11456. },
  11457. "createTime": {
  11458. "type": "string",
  11459. "format": "date-time",
  11460. "description": "创建时间"
  11461. },
  11462. "deductionPrice": {
  11463. "type": "number",
  11464. "description": "抵扣金额"
  11465. },
  11466. "deliveryId": {
  11467. "type": "string",
  11468. "description": "快递单号/手机号"
  11469. },
  11470. "deliveryName": {
  11471. "type": "string",
  11472. "description": "快递名称/送货人姓名"
  11473. },
  11474. "deliveryType": {
  11475. "type": "string",
  11476. "description": "发货类型"
  11477. },
  11478. "freightPrice": {
  11479. "type": "number",
  11480. "description": "运费金额"
  11481. },
  11482. "gainIntegral": {
  11483. "type": "number",
  11484. "description": "消费赚取积分"
  11485. },
  11486. "id": {
  11487. "type": "integer",
  11488. "format": "int32",
  11489. "description": "订单ID"
  11490. },
  11491. "isChannel": {
  11492. "type": "integer",
  11493. "format": "int32",
  11494. "description": "支付渠道(0微信公众号1微信小程序)"
  11495. },
  11496. "isDel": {
  11497. "type": "boolean",
  11498. "description": "是否删除"
  11499. },
  11500. "isMerCheck": {
  11501. "type": "integer",
  11502. "format": "int32"
  11503. },
  11504. "isRemind": {
  11505. "type": "boolean",
  11506. "description": "消息提醒"
  11507. },
  11508. "isSystemDel": {
  11509. "type": "boolean",
  11510. "description": "后台是否删除"
  11511. },
  11512. "mark": {
  11513. "type": "string",
  11514. "description": "备注"
  11515. },
  11516. "merId": {
  11517. "type": "integer",
  11518. "format": "int32",
  11519. "description": "商户ID"
  11520. },
  11521. "orderId": {
  11522. "type": "string",
  11523. "description": "订单号"
  11524. },
  11525. "paid": {
  11526. "type": "boolean",
  11527. "description": "支付状态"
  11528. },
  11529. "payPostage": {
  11530. "type": "number",
  11531. "description": "支付邮费"
  11532. },
  11533. "payPrice": {
  11534. "type": "number",
  11535. "description": "实际支付金额"
  11536. },
  11537. "payTime": {
  11538. "type": "string",
  11539. "format": "date-time",
  11540. "description": "支付时间"
  11541. },
  11542. "payType": {
  11543. "type": "string",
  11544. "description": "支付方式"
  11545. },
  11546. "pinkId": {
  11547. "type": "integer",
  11548. "format": "int32",
  11549. "description": "拼团id 0没有拼团"
  11550. },
  11551. "realName": {
  11552. "type": "string",
  11553. "description": "用户姓名"
  11554. },
  11555. "refundPrice": {
  11556. "type": "number",
  11557. "description": "退款金额"
  11558. },
  11559. "refundReason": {
  11560. "type": "string",
  11561. "description": "不退款的理由"
  11562. },
  11563. "refundReasonTime": {
  11564. "type": "string",
  11565. "format": "date-time",
  11566. "description": "退款时间"
  11567. },
  11568. "refundReasonWap": {
  11569. "type": "string",
  11570. "description": "前台退款原因"
  11571. },
  11572. "refundReasonWapExplain": {
  11573. "type": "string",
  11574. "description": "退款用户说明"
  11575. },
  11576. "refundReasonWapImg": {
  11577. "type": "string",
  11578. "description": "退款图片"
  11579. },
  11580. "refundStatus": {
  11581. "type": "integer",
  11582. "format": "int32",
  11583. "description": "0 未退款 1 申请中 2 已退款"
  11584. },
  11585. "remark": {
  11586. "type": "string",
  11587. "description": "管理员备注"
  11588. },
  11589. "seckillId": {
  11590. "type": "integer",
  11591. "format": "int32",
  11592. "description": "秒杀商品ID"
  11593. },
  11594. "shippingType": {
  11595. "type": "integer",
  11596. "format": "int32",
  11597. "description": "配送方式 1=快递 ,2=门店自提"
  11598. },
  11599. "status": {
  11600. "type": "integer",
  11601. "format": "int32",
  11602. "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)"
  11603. },
  11604. "storeId": {
  11605. "type": "integer",
  11606. "format": "int32",
  11607. "description": "门店id"
  11608. },
  11609. "totalNum": {
  11610. "type": "integer",
  11611. "format": "int32",
  11612. "description": "订单商品总数"
  11613. },
  11614. "totalPostage": {
  11615. "type": "number",
  11616. "description": "邮费"
  11617. },
  11618. "totalPrice": {
  11619. "type": "number",
  11620. "description": "订单总价"
  11621. },
  11622. "uid": {
  11623. "type": "integer",
  11624. "format": "int32",
  11625. "description": "用户id"
  11626. },
  11627. "unique": {
  11628. "type": "string",
  11629. "description": "唯一id(md5加密)类似id"
  11630. },
  11631. "useIntegral": {
  11632. "type": "number",
  11633. "description": "使用积分"
  11634. },
  11635. "userAddress": {
  11636. "type": "string",
  11637. "description": "详细地址"
  11638. },
  11639. "userPhone": {
  11640. "type": "string",
  11641. "description": "用户电话"
  11642. },
  11643. "verifyCode": {
  11644. "type": "string",
  11645. "description": "核销码"
  11646. }
  11647. },
  11648. "title": "StoreOrder对象",
  11649. "description": "订单表",
  11650. "$$ref": "#/definitions/StoreOrder对象"
  11651. }
  11652. },
  11653. "title": "OrderAgainVo",
  11654. "$$ref": "#/definitions/OrderAgainVo"
  11655. }
  11656. },
  11657. "message": {
  11658. "type": "string"
  11659. }
  11660. },
  11661. "title": "CommonResult«List«OrderAgainVo»»",
  11662. "$$ref": "#/definitions/CommonResult«List«OrderAgainVo»»"
  11663. }
  11664. }
  11665. }
  11666. }
  11667. },
  11668. "/api/front/order/cancel": {
  11669. "post": {
  11670. "tags": [
  11671. "订单"
  11672. ],
  11673. "summary": "订单取消",
  11674. "consumes": [
  11675. "application/json"
  11676. ],
  11677. "parameters": [
  11678. {
  11679. "name": "id",
  11680. "in": "query",
  11681. "required": false,
  11682. "description": "id",
  11683. "type": "string"
  11684. }
  11685. ],
  11686. "responses": {
  11687. "200": {
  11688. "description": "successful operation",
  11689. "schema": {
  11690. "type": "object",
  11691. "properties": {
  11692. "code": {
  11693. "type": "integer",
  11694. "format": "int64"
  11695. },
  11696. "data": {
  11697. "type": "boolean"
  11698. },
  11699. "message": {
  11700. "type": "string"
  11701. }
  11702. },
  11703. "title": "CommonResult«boolean»",
  11704. "$$ref": "#/definitions/CommonResult«boolean»"
  11705. }
  11706. }
  11707. }
  11708. }
  11709. },
  11710. "/api/front/order/data": {
  11711. "get": {
  11712. "tags": [
  11713. "订单"
  11714. ],
  11715. "summary": "订单头部数量",
  11716. "consumes": [
  11717. "text/plain"
  11718. ],
  11719. "parameters": [
  11720. {
  11721. "name": "raw",
  11722. "in": "body",
  11723. "description": "raw paramter",
  11724. "schema": {
  11725. "type": "string",
  11726. "format": "binary"
  11727. }
  11728. }
  11729. ],
  11730. "responses": {
  11731. "200": {
  11732. "description": "successful operation",
  11733. "schema": {
  11734. "type": "object",
  11735. "properties": {
  11736. "code": {
  11737. "type": "integer",
  11738. "format": "int64"
  11739. },
  11740. "data": {
  11741. "type": "object"
  11742. },
  11743. "message": {
  11744. "type": "string"
  11745. }
  11746. },
  11747. "title": "CommonResult«object»",
  11748. "$$ref": "#/definitions/CommonResult«object»"
  11749. }
  11750. }
  11751. }
  11752. }
  11753. },
  11754. "/api/front/order/take": {
  11755. "post": {
  11756. "tags": [
  11757. "订单"
  11758. ],
  11759. "summary": "订单收货",
  11760. "consumes": [
  11761. "application/json"
  11762. ],
  11763. "parameters": [
  11764. {
  11765. "name": "id",
  11766. "in": "query",
  11767. "required": false,
  11768. "description": "id",
  11769. "type": "string"
  11770. }
  11771. ],
  11772. "responses": {
  11773. "200": {
  11774. "description": "successful operation",
  11775. "schema": {
  11776. "type": "object",
  11777. "properties": {
  11778. "code": {
  11779. "type": "integer",
  11780. "format": "int64"
  11781. },
  11782. "data": {
  11783. "type": "boolean"
  11784. },
  11785. "message": {
  11786. "type": "string"
  11787. }
  11788. },
  11789. "title": "CommonResult«boolean»",
  11790. "$$ref": "#/definitions/CommonResult«boolean»"
  11791. }
  11792. }
  11793. }
  11794. }
  11795. },
  11796. "/api/front/order/detail/{orderId}": {
  11797. "get": {
  11798. "tags": [
  11799. "订单"
  11800. ],
  11801. "summary": "订单详情",
  11802. "consumes": [
  11803. "text/plain"
  11804. ],
  11805. "parameters": [
  11806. {
  11807. "name": "orderId",
  11808. "in": "path",
  11809. "description": "orderId",
  11810. "required": true,
  11811. "type": "string"
  11812. },
  11813. {
  11814. "name": "raw",
  11815. "in": "body",
  11816. "description": "raw paramter",
  11817. "schema": {
  11818. "type": "string",
  11819. "format": "binary"
  11820. }
  11821. }
  11822. ],
  11823. "responses": {
  11824. "200": {
  11825. "description": "successful operation",
  11826. "schema": {
  11827. "type": "object",
  11828. "properties": {
  11829. "code": {
  11830. "type": "integer",
  11831. "format": "int64"
  11832. },
  11833. "data": {
  11834. "type": "object"
  11835. },
  11836. "message": {
  11837. "type": "string"
  11838. }
  11839. },
  11840. "title": "CommonResult«object»",
  11841. "$$ref": "#/definitions/CommonResult«object»"
  11842. }
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "/api/front/order/refund/reason": {
  11848. "get": {
  11849. "tags": [
  11850. "订单"
  11851. ],
  11852. "summary": "订单退款理由",
  11853. "consumes": [
  11854. "text/plain"
  11855. ],
  11856. "parameters": [
  11857. {
  11858. "name": "raw",
  11859. "in": "body",
  11860. "description": "raw paramter",
  11861. "schema": {
  11862. "type": "string",
  11863. "format": "binary"
  11864. }
  11865. }
  11866. ],
  11867. "responses": {
  11868. "200": {
  11869. "description": "successful operation",
  11870. "schema": {
  11871. "type": "object",
  11872. "properties": {
  11873. "code": {
  11874. "type": "integer",
  11875. "format": "int64"
  11876. },
  11877. "data": {
  11878. "type": "object"
  11879. },
  11880. "message": {
  11881. "type": "string"
  11882. }
  11883. },
  11884. "title": "CommonResult«object»",
  11885. "$$ref": "#/definitions/CommonResult«object»"
  11886. }
  11887. }
  11888. }
  11889. }
  11890. },
  11891. "/api/front/order/refund": {
  11892. "post": {
  11893. "tags": [
  11894. "订单"
  11895. ],
  11896. "summary": "订单退款申请",
  11897. "consumes": [
  11898. "application/json"
  11899. ],
  11900. "parameters": [
  11901. {
  11902. "name": "root",
  11903. "in": "body",
  11904. "description": "订单申请退款",
  11905. "schema": {
  11906. "type": "object",
  11907. "required": [
  11908. "id",
  11909. "text"
  11910. ],
  11911. "properties": {
  11912. "id": {
  11913. "type": "integer",
  11914. "format": "int32",
  11915. "description": "订单id"
  11916. },
  11917. "refund_reason_wap_explain": {
  11918. "type": "string",
  11919. "description": "备注说明"
  11920. },
  11921. "refund_reason_wap_img": {
  11922. "type": "string",
  11923. "description": "退款凭证(多个图片请用,(英文逗号)隔开)"
  11924. },
  11925. "text": {
  11926. "type": "string",
  11927. "description": "退款原因"
  11928. }
  11929. },
  11930. "title": "OrderRefundApplyRequest对象",
  11931. "description": "订单申请退款",
  11932. "$$ref": "#/definitions/OrderRefundApplyRequest对象"
  11933. }
  11934. }
  11935. ],
  11936. "responses": {
  11937. "200": {
  11938. "description": "successful operation",
  11939. "schema": {
  11940. "type": "object",
  11941. "properties": {
  11942. "code": {
  11943. "type": "integer",
  11944. "format": "int64"
  11945. },
  11946. "data": {
  11947. "type": "boolean"
  11948. },
  11949. "message": {
  11950. "type": "string"
  11951. }
  11952. },
  11953. "title": "CommonResult«boolean»",
  11954. "$$ref": "#/definitions/CommonResult«boolean»"
  11955. }
  11956. }
  11957. }
  11958. }
  11959. },
  11960. "/api/front/order/comment": {
  11961. "post": {
  11962. "tags": [
  11963. "订单"
  11964. ],
  11965. "summary": "评价订单",
  11966. "consumes": [
  11967. "application/json"
  11968. ],
  11969. "parameters": [
  11970. {
  11971. "name": "root",
  11972. "in": "body",
  11973. "description": "评论表",
  11974. "schema": {
  11975. "type": "object",
  11976. "required": [
  11977. "comment",
  11978. "pics",
  11979. "productId",
  11980. "productScore",
  11981. "serviceScore"
  11982. ],
  11983. "properties": {
  11984. "comment": {
  11985. "type": "string",
  11986. "description": "评论内容"
  11987. },
  11988. "oid": {
  11989. "type": "integer",
  11990. "format": "int32",
  11991. "description": "订单ID, 移动端必须传递此参数"
  11992. },
  11993. "pics": {
  11994. "type": "string",
  11995. "description": "评论图片"
  11996. },
  11997. "productId": {
  11998. "type": "integer",
  11999. "format": "int32",
  12000. "description": "商品id"
  12001. },
  12002. "productScore": {
  12003. "type": "integer",
  12004. "format": "int32",
  12005. "example": 5,
  12006. "description": "商品分数"
  12007. },
  12008. "serviceScore": {
  12009. "type": "integer",
  12010. "format": "int32",
  12011. "example": 5,
  12012. "description": "服务分数"
  12013. },
  12014. "unique": {
  12015. "type": "string",
  12016. "description": "商品 属性id"
  12017. },
  12018. "userId": {
  12019. "type": "integer",
  12020. "format": "int32",
  12021. "description": "用户id, 后端必须传递此参数"
  12022. }
  12023. },
  12024. "title": "StoreProductReplyAddRequest对象",
  12025. "description": "评论表",
  12026. "$$ref": "#/definitions/StoreProductReplyAddRequest对象"
  12027. }
  12028. }
  12029. ],
  12030. "responses": {
  12031. "200": {
  12032. "description": "successful operation",
  12033. "schema": {
  12034. "type": "object",
  12035. "properties": {
  12036. "code": {
  12037. "type": "integer",
  12038. "format": "int64"
  12039. },
  12040. "data": {
  12041. "type": "boolean"
  12042. },
  12043. "message": {
  12044. "type": "string"
  12045. }
  12046. },
  12047. "title": "CommonResult«boolean»",
  12048. "$$ref": "#/definitions/CommonResult«boolean»"
  12049. }
  12050. }
  12051. }
  12052. }
  12053. },
  12054. "/api/front/order/refund/verify": {
  12055. "post": {
  12056. "tags": [
  12057. "订单"
  12058. ],
  12059. "summary": "退款订单验证",
  12060. "consumes": [
  12061. "application/json"
  12062. ],
  12063. "parameters": [
  12064. {
  12065. "name": "root",
  12066. "in": "body",
  12067. "schema": {
  12068. "type": "object",
  12069. "properties": {
  12070. "refund_reason_wap_explain": {
  12071. "type": "string",
  12072. "description": "退款备注说明"
  12073. },
  12074. "refund_reason_wap_img": {
  12075. "type": "string",
  12076. "description": "退款凭证图片"
  12077. },
  12078. "text": {
  12079. "type": "string",
  12080. "description": "退款原因"
  12081. },
  12082. "uni": {
  12083. "type": "string",
  12084. "description": "待退款订单"
  12085. }
  12086. },
  12087. "title": "OrderRefundVerifyRequest",
  12088. "$$ref": "#/definitions/OrderRefundVerifyRequest"
  12089. }
  12090. }
  12091. ],
  12092. "responses": {
  12093. "200": {
  12094. "description": "successful operation",
  12095. "schema": {
  12096. "type": "object",
  12097. "properties": {
  12098. "code": {
  12099. "type": "integer",
  12100. "format": "int64"
  12101. },
  12102. "data": {
  12103. "type": "object"
  12104. },
  12105. "message": {
  12106. "type": "string"
  12107. }
  12108. },
  12109. "title": "CommonResult«object»",
  12110. "$$ref": "#/definitions/CommonResult«object»"
  12111. }
  12112. }
  12113. }
  12114. }
  12115. },
  12116. "/api/front/share": {
  12117. "get": {
  12118. "tags": [
  12119. "首页"
  12120. ],
  12121. "summary": "分享配置",
  12122. "consumes": [
  12123. "text/plain"
  12124. ],
  12125. "parameters": [
  12126. {
  12127. "name": "raw",
  12128. "in": "body",
  12129. "description": "raw paramter",
  12130. "schema": {
  12131. "type": "string",
  12132. "format": "binary"
  12133. }
  12134. }
  12135. ],
  12136. "responses": {
  12137. "200": {
  12138. "description": "successful operation",
  12139. "schema": {
  12140. "type": "object",
  12141. "properties": {
  12142. "code": {
  12143. "type": "integer",
  12144. "format": "int64"
  12145. },
  12146. "data": {
  12147. "type": "object",
  12148. "additionalProperties": {
  12149. "type": "string"
  12150. }
  12151. },
  12152. "message": {
  12153. "type": "string"
  12154. }
  12155. },
  12156. "title": "CommonResult«HashMap«string,string»»",
  12157. "$$ref": "#/definitions/CommonResult«HashMap«string,string»»"
  12158. }
  12159. }
  12160. }
  12161. }
  12162. },
  12163. "/api/front/search/keyword": {
  12164. "get": {
  12165. "tags": [
  12166. "首页"
  12167. ],
  12168. "summary": "热门搜索",
  12169. "consumes": [
  12170. "text/plain"
  12171. ],
  12172. "parameters": [
  12173. {
  12174. "name": "raw",
  12175. "in": "body",
  12176. "description": "raw paramter",
  12177. "schema": {
  12178. "type": "string",
  12179. "format": "binary"
  12180. }
  12181. }
  12182. ],
  12183. "responses": {
  12184. "200": {
  12185. "description": "successful operation",
  12186. "schema": {
  12187. "type": "object",
  12188. "properties": {
  12189. "code": {
  12190. "type": "integer",
  12191. "format": "int64"
  12192. },
  12193. "data": {
  12194. "type": "array",
  12195. "items": {
  12196. "type": "object",
  12197. "title": "HashMap«string,object»",
  12198. "additionalProperties": {
  12199. "type": "object"
  12200. },
  12201. "$$ref": "#/definitions/HashMap«string,object»"
  12202. }
  12203. },
  12204. "message": {
  12205. "type": "string"
  12206. }
  12207. },
  12208. "title": "CommonResult«List«HashMap«string,object»»»",
  12209. "$$ref": "#/definitions/CommonResult«List«HashMap«string,object»»»"
  12210. }
  12211. }
  12212. }
  12213. }
  12214. },
  12215. "/api/front/groom/list/{type}": {
  12216. "get": {
  12217. "tags": [
  12218. "首页"
  12219. ],
  12220. "summary": "首页产品的轮播图和产品信息",
  12221. "consumes": [
  12222. "text/plain"
  12223. ],
  12224. "parameters": [
  12225. {
  12226. "name": "type",
  12227. "in": "path",
  12228. "description": "类型 【1 精品推荐 2 热门榜单 3首发新品 4促销单品】",
  12229. "required": true,
  12230. "type": "string"
  12231. },
  12232. {
  12233. "name": "limit",
  12234. "in": "query",
  12235. "required": false,
  12236. "description": "每页数量",
  12237. "type": "string"
  12238. },
  12239. {
  12240. "name": "page",
  12241. "in": "query",
  12242. "required": false,
  12243. "description": "页码",
  12244. "type": "string"
  12245. },
  12246. {
  12247. "name": "raw",
  12248. "in": "body",
  12249. "description": "raw paramter",
  12250. "schema": {
  12251. "type": "string",
  12252. "format": "binary"
  12253. }
  12254. }
  12255. ],
  12256. "responses": {
  12257. "200": {
  12258. "description": "successful operation",
  12259. "schema": {
  12260. "type": "object",
  12261. "properties": {
  12262. "code": {
  12263. "type": "integer",
  12264. "format": "int64"
  12265. },
  12266. "data": {
  12267. "type": "object",
  12268. "properties": {
  12269. "activity": {
  12270. "type": "array",
  12271. "description": "活动区域图片",
  12272. "items": {
  12273. "type": "object",
  12274. "title": "HashMap«string,object»",
  12275. "additionalProperties": {
  12276. "type": "object"
  12277. },
  12278. "$$ref": "#/definitions/HashMap«string,object»"
  12279. }
  12280. },
  12281. "banner": {
  12282. "type": "array",
  12283. "description": "首页banner滚动图",
  12284. "items": {
  12285. "type": "object",
  12286. "title": "HashMap«string,object»",
  12287. "additionalProperties": {
  12288. "type": "object"
  12289. },
  12290. "$$ref": "#/definitions/HashMap«string,object»"
  12291. }
  12292. },
  12293. "benefit": {
  12294. "type": "array",
  12295. "description": "首页促销单品",
  12296. "items": {
  12297. "type": "object",
  12298. "properties": {
  12299. "cateId": {
  12300. "type": "array",
  12301. "description": "分类id",
  12302. "items": {
  12303. "type": "integer",
  12304. "format": "int32"
  12305. }
  12306. },
  12307. "id": {
  12308. "type": "integer",
  12309. "format": "int32",
  12310. "description": "商品id"
  12311. },
  12312. "image": {
  12313. "type": "string",
  12314. "description": "商品图片"
  12315. },
  12316. "otPrice": {
  12317. "type": "number",
  12318. "description": "市场价"
  12319. },
  12320. "price": {
  12321. "type": "number",
  12322. "description": "商品价格"
  12323. },
  12324. "sales": {
  12325. "type": "integer",
  12326. "format": "int32",
  12327. "description": "销量"
  12328. },
  12329. "sort": {
  12330. "type": "integer",
  12331. "format": "int32",
  12332. "description": "排序"
  12333. },
  12334. "stock": {
  12335. "type": "integer",
  12336. "format": "int32",
  12337. "description": "库存"
  12338. },
  12339. "storeName": {
  12340. "type": "string",
  12341. "description": "商品名称"
  12342. },
  12343. "unitName": {
  12344. "type": "string",
  12345. "description": "单位名"
  12346. }
  12347. },
  12348. "title": "ProductResponse对象",
  12349. "description": "商品表",
  12350. "$$ref": "#/definitions/ProductResponse对象"
  12351. }
  12352. },
  12353. "couponList": {
  12354. "type": "array",
  12355. "description": "优惠券",
  12356. "items": {
  12357. "type": "object",
  12358. "title": "HashMap«string,object»",
  12359. "additionalProperties": {
  12360. "type": "object"
  12361. },
  12362. "$$ref": "#/definitions/HashMap«string,object»"
  12363. }
  12364. },
  12365. "explosiveMoney": {
  12366. "type": "array",
  12367. "description": "首页超值爆款",
  12368. "items": {
  12369. "type": "object",
  12370. "title": "HashMap«string,object»",
  12371. "additionalProperties": {
  12372. "type": "object"
  12373. },
  12374. "$$ref": "#/definitions/HashMap«string,object»"
  12375. }
  12376. },
  12377. "info": {
  12378. "type": "object",
  12379. "properties": {
  12380. "bastBanner": {
  12381. "type": "array",
  12382. "description": "首页精品推荐图片",
  12383. "items": {
  12384. "type": "object",
  12385. "title": "HashMap«string,object»",
  12386. "additionalProperties": {
  12387. "type": "object"
  12388. },
  12389. "$$ref": "#/definitions/HashMap«string,object»"
  12390. }
  12391. },
  12392. "bastInfo": {
  12393. "type": "string",
  12394. "description": "精品推荐简介"
  12395. },
  12396. "bastList": {
  12397. "type": "array",
  12398. "description": "精品推荐",
  12399. "items": {
  12400. "type": "object",
  12401. "properties": {
  12402. "cateId": {
  12403. "type": "array",
  12404. "description": "分类id",
  12405. "items": {
  12406. "type": "integer",
  12407. "format": "int32"
  12408. }
  12409. },
  12410. "id": {
  12411. "type": "integer",
  12412. "format": "int32",
  12413. "description": "商品id"
  12414. },
  12415. "image": {
  12416. "type": "string",
  12417. "description": "商品图片"
  12418. },
  12419. "otPrice": {
  12420. "type": "number",
  12421. "description": "市场价"
  12422. },
  12423. "price": {
  12424. "type": "number",
  12425. "description": "商品价格"
  12426. },
  12427. "sales": {
  12428. "type": "integer",
  12429. "format": "int32",
  12430. "description": "销量"
  12431. },
  12432. "sort": {
  12433. "type": "integer",
  12434. "format": "int32",
  12435. "description": "排序"
  12436. },
  12437. "stock": {
  12438. "type": "integer",
  12439. "format": "int32",
  12440. "description": "库存"
  12441. },
  12442. "storeName": {
  12443. "type": "string",
  12444. "description": "商品名称"
  12445. },
  12446. "unitName": {
  12447. "type": "string",
  12448. "description": "单位名"
  12449. }
  12450. },
  12451. "title": "ProductResponse对象",
  12452. "description": "商品表",
  12453. "$$ref": "#/definitions/ProductResponse对象"
  12454. }
  12455. },
  12456. "bastNumber": {
  12457. "type": "string",
  12458. "description": "精品推荐个数"
  12459. },
  12460. "fastInfo": {
  12461. "type": "string",
  12462. "description": "快速选择简介"
  12463. },
  12464. "fastList": {
  12465. "type": "array",
  12466. "description": "分类",
  12467. "items": {
  12468. "type": "object",
  12469. "properties": {
  12470. "extra": {
  12471. "type": "string",
  12472. "description": "扩展字段"
  12473. },
  12474. "id": {
  12475. "type": "integer",
  12476. "format": "int32"
  12477. },
  12478. "name": {
  12479. "type": "string",
  12480. "description": "分类名称"
  12481. },
  12482. "path": {
  12483. "type": "string",
  12484. "description": "路径"
  12485. },
  12486. "pid": {
  12487. "type": "integer",
  12488. "format": "int32",
  12489. "description": "父级ID"
  12490. },
  12491. "sort": {
  12492. "type": "integer",
  12493. "format": "int32",
  12494. "description": "排序"
  12495. },
  12496. "status": {
  12497. "type": "boolean",
  12498. "description": "状态, 0正常,1失效"
  12499. },
  12500. "type": {
  12501. "type": "integer",
  12502. "format": "int32",
  12503. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  12504. },
  12505. "url": {
  12506. "type": "string",
  12507. "description": "地址"
  12508. }
  12509. },
  12510. "title": "Category对象",
  12511. "description": "分类表",
  12512. "$$ref": "#/definitions/Category对象"
  12513. }
  12514. },
  12515. "fastNumber": {
  12516. "type": "string",
  12517. "description": "快速选择分类个数"
  12518. },
  12519. "firstInfo": {
  12520. "type": "string",
  12521. "description": "首发新品简介"
  12522. },
  12523. "firstList": {
  12524. "type": "array",
  12525. "description": "首发新品",
  12526. "items": {
  12527. "type": "object",
  12528. "properties": {
  12529. "cateId": {
  12530. "type": "array",
  12531. "description": "分类id",
  12532. "items": {
  12533. "type": "integer",
  12534. "format": "int32"
  12535. }
  12536. },
  12537. "id": {
  12538. "type": "integer",
  12539. "format": "int32",
  12540. "description": "商品id"
  12541. },
  12542. "image": {
  12543. "type": "string",
  12544. "description": "商品图片"
  12545. },
  12546. "otPrice": {
  12547. "type": "number",
  12548. "description": "市场价"
  12549. },
  12550. "price": {
  12551. "type": "number",
  12552. "description": "商品价格"
  12553. },
  12554. "sales": {
  12555. "type": "integer",
  12556. "format": "int32",
  12557. "description": "销量"
  12558. },
  12559. "sort": {
  12560. "type": "integer",
  12561. "format": "int32",
  12562. "description": "排序"
  12563. },
  12564. "stock": {
  12565. "type": "integer",
  12566. "format": "int32",
  12567. "description": "库存"
  12568. },
  12569. "storeName": {
  12570. "type": "string",
  12571. "description": "商品名称"
  12572. },
  12573. "unitName": {
  12574. "type": "string",
  12575. "description": "单位名"
  12576. }
  12577. },
  12578. "title": "ProductResponse对象",
  12579. "description": "商品表",
  12580. "$$ref": "#/definitions/ProductResponse对象"
  12581. }
  12582. },
  12583. "firstNumber": {
  12584. "type": "string",
  12585. "description": "首发新品个数"
  12586. },
  12587. "promotionNumber": {
  12588. "type": "string",
  12589. "description": "首页促销单品"
  12590. },
  12591. "salesInfo": {
  12592. "type": "string",
  12593. "description": "促销单品简介"
  12594. }
  12595. },
  12596. "title": "IndexInfoItemResponse对象",
  12597. "description": "用户登录返回数据",
  12598. "$$ref": "#/definitions/IndexInfoItemResponse对象"
  12599. },
  12600. "likeInfo": {
  12601. "type": "array",
  12602. "description": "热门榜单",
  12603. "items": {
  12604. "type": "object",
  12605. "properties": {
  12606. "cateId": {
  12607. "type": "array",
  12608. "description": "分类id",
  12609. "items": {
  12610. "type": "integer",
  12611. "format": "int32"
  12612. }
  12613. },
  12614. "id": {
  12615. "type": "integer",
  12616. "format": "int32",
  12617. "description": "商品id"
  12618. },
  12619. "image": {
  12620. "type": "string",
  12621. "description": "商品图片"
  12622. },
  12623. "otPrice": {
  12624. "type": "number",
  12625. "description": "市场价"
  12626. },
  12627. "price": {
  12628. "type": "number",
  12629. "description": "商品价格"
  12630. },
  12631. "sales": {
  12632. "type": "integer",
  12633. "format": "int32",
  12634. "description": "销量"
  12635. },
  12636. "sort": {
  12637. "type": "integer",
  12638. "format": "int32",
  12639. "description": "排序"
  12640. },
  12641. "stock": {
  12642. "type": "integer",
  12643. "format": "int32",
  12644. "description": "库存"
  12645. },
  12646. "storeName": {
  12647. "type": "string",
  12648. "description": "商品名称"
  12649. },
  12650. "unitName": {
  12651. "type": "string",
  12652. "description": "单位名"
  12653. }
  12654. },
  12655. "title": "ProductResponse对象",
  12656. "description": "商品表",
  12657. "$$ref": "#/definitions/ProductResponse对象"
  12658. }
  12659. },
  12660. "list": {
  12661. "type": "array",
  12662. "description": "商品",
  12663. "items": {
  12664. "type": "object",
  12665. "properties": {
  12666. "cateId": {
  12667. "type": "array",
  12668. "description": "分类id",
  12669. "items": {
  12670. "type": "integer",
  12671. "format": "int32"
  12672. }
  12673. },
  12674. "id": {
  12675. "type": "integer",
  12676. "format": "int32",
  12677. "description": "商品id"
  12678. },
  12679. "image": {
  12680. "type": "string",
  12681. "description": "商品图片"
  12682. },
  12683. "otPrice": {
  12684. "type": "number",
  12685. "description": "市场价"
  12686. },
  12687. "price": {
  12688. "type": "number",
  12689. "description": "商品价格"
  12690. },
  12691. "sales": {
  12692. "type": "integer",
  12693. "format": "int32",
  12694. "description": "销量"
  12695. },
  12696. "sort": {
  12697. "type": "integer",
  12698. "format": "int32",
  12699. "description": "排序"
  12700. },
  12701. "stock": {
  12702. "type": "integer",
  12703. "format": "int32",
  12704. "description": "库存"
  12705. },
  12706. "storeName": {
  12707. "type": "string",
  12708. "description": "商品名称"
  12709. },
  12710. "unitName": {
  12711. "type": "string",
  12712. "description": "单位名"
  12713. }
  12714. },
  12715. "title": "ProductResponse对象",
  12716. "description": "商品表",
  12717. "$$ref": "#/definitions/ProductResponse对象"
  12718. }
  12719. },
  12720. "logoUrl": {
  12721. "type": "string",
  12722. "description": "企业logo"
  12723. },
  12724. "lovely": {
  12725. "type": "object",
  12726. "description": "首发新品广告图",
  12727. "additionalProperties": {
  12728. "type": "object"
  12729. }
  12730. },
  12731. "menus": {
  12732. "type": "array",
  12733. "description": "导航模块",
  12734. "items": {
  12735. "type": "object",
  12736. "title": "HashMap«string,object»",
  12737. "additionalProperties": {
  12738. "type": "object"
  12739. },
  12740. "$$ref": "#/definitions/HashMap«string,object»"
  12741. }
  12742. },
  12743. "roll": {
  12744. "type": "array",
  12745. "description": "新闻简报消息滚动",
  12746. "items": {
  12747. "type": "object",
  12748. "title": "HashMap«string,object»",
  12749. "additionalProperties": {
  12750. "type": "object"
  12751. },
  12752. "$$ref": "#/definitions/HashMap«string,object»"
  12753. }
  12754. },
  12755. "subscribe": {
  12756. "type": "boolean",
  12757. "description": "是否关注"
  12758. }
  12759. },
  12760. "title": "IndexInfoResponse对象",
  12761. "description": "用户登录返回数据",
  12762. "$$ref": "#/definitions/IndexInfoResponse对象"
  12763. },
  12764. "message": {
  12765. "type": "string"
  12766. }
  12767. },
  12768. "title": "CommonResult«IndexInfoResponse对象»",
  12769. "$$ref": "#/definitions/CommonResult«IndexInfoResponse对象»"
  12770. }
  12771. }
  12772. }
  12773. }
  12774. },
  12775. "/api/front/index": {
  12776. "get": {
  12777. "tags": [
  12778. "首页"
  12779. ],
  12780. "summary": "首页数据",
  12781. "consumes": [
  12782. "text/plain"
  12783. ],
  12784. "parameters": [
  12785. {
  12786. "name": "raw",
  12787. "in": "body",
  12788. "description": "raw paramter",
  12789. "schema": {
  12790. "type": "string",
  12791. "format": "binary"
  12792. }
  12793. }
  12794. ],
  12795. "responses": {
  12796. "200": {
  12797. "description": "successful operation",
  12798. "schema": {
  12799. "type": "object",
  12800. "properties": {
  12801. "code": {
  12802. "type": "integer",
  12803. "format": "int64"
  12804. },
  12805. "data": {
  12806. "type": "object",
  12807. "properties": {
  12808. "activity": {
  12809. "type": "array",
  12810. "description": "活动区域图片",
  12811. "items": {
  12812. "type": "object",
  12813. "title": "HashMap«string,object»",
  12814. "additionalProperties": {
  12815. "type": "object"
  12816. },
  12817. "$$ref": "#/definitions/HashMap«string,object»"
  12818. }
  12819. },
  12820. "banner": {
  12821. "type": "array",
  12822. "description": "首页banner滚动图",
  12823. "items": {
  12824. "type": "object",
  12825. "title": "HashMap«string,object»",
  12826. "additionalProperties": {
  12827. "type": "object"
  12828. },
  12829. "$$ref": "#/definitions/HashMap«string,object»"
  12830. }
  12831. },
  12832. "benefit": {
  12833. "type": "array",
  12834. "description": "首页促销单品",
  12835. "items": {
  12836. "type": "object",
  12837. "properties": {
  12838. "cateId": {
  12839. "type": "array",
  12840. "description": "分类id",
  12841. "items": {
  12842. "type": "integer",
  12843. "format": "int32"
  12844. }
  12845. },
  12846. "id": {
  12847. "type": "integer",
  12848. "format": "int32",
  12849. "description": "商品id"
  12850. },
  12851. "image": {
  12852. "type": "string",
  12853. "description": "商品图片"
  12854. },
  12855. "otPrice": {
  12856. "type": "number",
  12857. "description": "市场价"
  12858. },
  12859. "price": {
  12860. "type": "number",
  12861. "description": "商品价格"
  12862. },
  12863. "sales": {
  12864. "type": "integer",
  12865. "format": "int32",
  12866. "description": "销量"
  12867. },
  12868. "sort": {
  12869. "type": "integer",
  12870. "format": "int32",
  12871. "description": "排序"
  12872. },
  12873. "stock": {
  12874. "type": "integer",
  12875. "format": "int32",
  12876. "description": "库存"
  12877. },
  12878. "storeName": {
  12879. "type": "string",
  12880. "description": "商品名称"
  12881. },
  12882. "unitName": {
  12883. "type": "string",
  12884. "description": "单位名"
  12885. }
  12886. },
  12887. "title": "ProductResponse对象",
  12888. "description": "商品表",
  12889. "$$ref": "#/definitions/ProductResponse对象"
  12890. }
  12891. },
  12892. "couponList": {
  12893. "type": "array",
  12894. "description": "优惠券",
  12895. "items": {
  12896. "type": "object",
  12897. "title": "HashMap«string,object»",
  12898. "additionalProperties": {
  12899. "type": "object"
  12900. },
  12901. "$$ref": "#/definitions/HashMap«string,object»"
  12902. }
  12903. },
  12904. "explosiveMoney": {
  12905. "type": "array",
  12906. "description": "首页超值爆款",
  12907. "items": {
  12908. "type": "object",
  12909. "title": "HashMap«string,object»",
  12910. "additionalProperties": {
  12911. "type": "object"
  12912. },
  12913. "$$ref": "#/definitions/HashMap«string,object»"
  12914. }
  12915. },
  12916. "info": {
  12917. "type": "object",
  12918. "properties": {
  12919. "bastBanner": {
  12920. "type": "array",
  12921. "description": "首页精品推荐图片",
  12922. "items": {
  12923. "type": "object",
  12924. "title": "HashMap«string,object»",
  12925. "additionalProperties": {
  12926. "type": "object"
  12927. },
  12928. "$$ref": "#/definitions/HashMap«string,object»"
  12929. }
  12930. },
  12931. "bastInfo": {
  12932. "type": "string",
  12933. "description": "精品推荐简介"
  12934. },
  12935. "bastList": {
  12936. "type": "array",
  12937. "description": "精品推荐",
  12938. "items": {
  12939. "type": "object",
  12940. "properties": {
  12941. "cateId": {
  12942. "type": "array",
  12943. "description": "分类id",
  12944. "items": {
  12945. "type": "integer",
  12946. "format": "int32"
  12947. }
  12948. },
  12949. "id": {
  12950. "type": "integer",
  12951. "format": "int32",
  12952. "description": "商品id"
  12953. },
  12954. "image": {
  12955. "type": "string",
  12956. "description": "商品图片"
  12957. },
  12958. "otPrice": {
  12959. "type": "number",
  12960. "description": "市场价"
  12961. },
  12962. "price": {
  12963. "type": "number",
  12964. "description": "商品价格"
  12965. },
  12966. "sales": {
  12967. "type": "integer",
  12968. "format": "int32",
  12969. "description": "销量"
  12970. },
  12971. "sort": {
  12972. "type": "integer",
  12973. "format": "int32",
  12974. "description": "排序"
  12975. },
  12976. "stock": {
  12977. "type": "integer",
  12978. "format": "int32",
  12979. "description": "库存"
  12980. },
  12981. "storeName": {
  12982. "type": "string",
  12983. "description": "商品名称"
  12984. },
  12985. "unitName": {
  12986. "type": "string",
  12987. "description": "单位名"
  12988. }
  12989. },
  12990. "title": "ProductResponse对象",
  12991. "description": "商品表",
  12992. "$$ref": "#/definitions/ProductResponse对象"
  12993. }
  12994. },
  12995. "bastNumber": {
  12996. "type": "string",
  12997. "description": "精品推荐个数"
  12998. },
  12999. "fastInfo": {
  13000. "type": "string",
  13001. "description": "快速选择简介"
  13002. },
  13003. "fastList": {
  13004. "type": "array",
  13005. "description": "分类",
  13006. "items": {
  13007. "type": "object",
  13008. "properties": {
  13009. "extra": {
  13010. "type": "string",
  13011. "description": "扩展字段"
  13012. },
  13013. "id": {
  13014. "type": "integer",
  13015. "format": "int32"
  13016. },
  13017. "name": {
  13018. "type": "string",
  13019. "description": "分类名称"
  13020. },
  13021. "path": {
  13022. "type": "string",
  13023. "description": "路径"
  13024. },
  13025. "pid": {
  13026. "type": "integer",
  13027. "format": "int32",
  13028. "description": "父级ID"
  13029. },
  13030. "sort": {
  13031. "type": "integer",
  13032. "format": "int32",
  13033. "description": "排序"
  13034. },
  13035. "status": {
  13036. "type": "boolean",
  13037. "description": "状态, 0正常,1失效"
  13038. },
  13039. "type": {
  13040. "type": "integer",
  13041. "format": "int32",
  13042. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  13043. },
  13044. "url": {
  13045. "type": "string",
  13046. "description": "地址"
  13047. }
  13048. },
  13049. "title": "Category对象",
  13050. "description": "分类表",
  13051. "$$ref": "#/definitions/Category对象"
  13052. }
  13053. },
  13054. "fastNumber": {
  13055. "type": "string",
  13056. "description": "快速选择分类个数"
  13057. },
  13058. "firstInfo": {
  13059. "type": "string",
  13060. "description": "首发新品简介"
  13061. },
  13062. "firstList": {
  13063. "type": "array",
  13064. "description": "首发新品",
  13065. "items": {
  13066. "type": "object",
  13067. "properties": {
  13068. "cateId": {
  13069. "type": "array",
  13070. "description": "分类id",
  13071. "items": {
  13072. "type": "integer",
  13073. "format": "int32"
  13074. }
  13075. },
  13076. "id": {
  13077. "type": "integer",
  13078. "format": "int32",
  13079. "description": "商品id"
  13080. },
  13081. "image": {
  13082. "type": "string",
  13083. "description": "商品图片"
  13084. },
  13085. "otPrice": {
  13086. "type": "number",
  13087. "description": "市场价"
  13088. },
  13089. "price": {
  13090. "type": "number",
  13091. "description": "商品价格"
  13092. },
  13093. "sales": {
  13094. "type": "integer",
  13095. "format": "int32",
  13096. "description": "销量"
  13097. },
  13098. "sort": {
  13099. "type": "integer",
  13100. "format": "int32",
  13101. "description": "排序"
  13102. },
  13103. "stock": {
  13104. "type": "integer",
  13105. "format": "int32",
  13106. "description": "库存"
  13107. },
  13108. "storeName": {
  13109. "type": "string",
  13110. "description": "商品名称"
  13111. },
  13112. "unitName": {
  13113. "type": "string",
  13114. "description": "单位名"
  13115. }
  13116. },
  13117. "title": "ProductResponse对象",
  13118. "description": "商品表",
  13119. "$$ref": "#/definitions/ProductResponse对象"
  13120. }
  13121. },
  13122. "firstNumber": {
  13123. "type": "string",
  13124. "description": "首发新品个数"
  13125. },
  13126. "promotionNumber": {
  13127. "type": "string",
  13128. "description": "首页促销单品"
  13129. },
  13130. "salesInfo": {
  13131. "type": "string",
  13132. "description": "促销单品简介"
  13133. }
  13134. },
  13135. "title": "IndexInfoItemResponse对象",
  13136. "description": "用户登录返回数据",
  13137. "$$ref": "#/definitions/IndexInfoItemResponse对象"
  13138. },
  13139. "likeInfo": {
  13140. "type": "array",
  13141. "description": "热门榜单",
  13142. "items": {
  13143. "type": "object",
  13144. "properties": {
  13145. "cateId": {
  13146. "type": "array",
  13147. "description": "分类id",
  13148. "items": {
  13149. "type": "integer",
  13150. "format": "int32"
  13151. }
  13152. },
  13153. "id": {
  13154. "type": "integer",
  13155. "format": "int32",
  13156. "description": "商品id"
  13157. },
  13158. "image": {
  13159. "type": "string",
  13160. "description": "商品图片"
  13161. },
  13162. "otPrice": {
  13163. "type": "number",
  13164. "description": "市场价"
  13165. },
  13166. "price": {
  13167. "type": "number",
  13168. "description": "商品价格"
  13169. },
  13170. "sales": {
  13171. "type": "integer",
  13172. "format": "int32",
  13173. "description": "销量"
  13174. },
  13175. "sort": {
  13176. "type": "integer",
  13177. "format": "int32",
  13178. "description": "排序"
  13179. },
  13180. "stock": {
  13181. "type": "integer",
  13182. "format": "int32",
  13183. "description": "库存"
  13184. },
  13185. "storeName": {
  13186. "type": "string",
  13187. "description": "商品名称"
  13188. },
  13189. "unitName": {
  13190. "type": "string",
  13191. "description": "单位名"
  13192. }
  13193. },
  13194. "title": "ProductResponse对象",
  13195. "description": "商品表",
  13196. "$$ref": "#/definitions/ProductResponse对象"
  13197. }
  13198. },
  13199. "list": {
  13200. "type": "array",
  13201. "description": "商品",
  13202. "items": {
  13203. "type": "object",
  13204. "properties": {
  13205. "cateId": {
  13206. "type": "array",
  13207. "description": "分类id",
  13208. "items": {
  13209. "type": "integer",
  13210. "format": "int32"
  13211. }
  13212. },
  13213. "id": {
  13214. "type": "integer",
  13215. "format": "int32",
  13216. "description": "商品id"
  13217. },
  13218. "image": {
  13219. "type": "string",
  13220. "description": "商品图片"
  13221. },
  13222. "otPrice": {
  13223. "type": "number",
  13224. "description": "市场价"
  13225. },
  13226. "price": {
  13227. "type": "number",
  13228. "description": "商品价格"
  13229. },
  13230. "sales": {
  13231. "type": "integer",
  13232. "format": "int32",
  13233. "description": "销量"
  13234. },
  13235. "sort": {
  13236. "type": "integer",
  13237. "format": "int32",
  13238. "description": "排序"
  13239. },
  13240. "stock": {
  13241. "type": "integer",
  13242. "format": "int32",
  13243. "description": "库存"
  13244. },
  13245. "storeName": {
  13246. "type": "string",
  13247. "description": "商品名称"
  13248. },
  13249. "unitName": {
  13250. "type": "string",
  13251. "description": "单位名"
  13252. }
  13253. },
  13254. "title": "ProductResponse对象",
  13255. "description": "商品表",
  13256. "$$ref": "#/definitions/ProductResponse对象"
  13257. }
  13258. },
  13259. "logoUrl": {
  13260. "type": "string",
  13261. "description": "企业logo"
  13262. },
  13263. "lovely": {
  13264. "type": "object",
  13265. "description": "首发新品广告图",
  13266. "additionalProperties": {
  13267. "type": "object"
  13268. }
  13269. },
  13270. "menus": {
  13271. "type": "array",
  13272. "description": "导航模块",
  13273. "items": {
  13274. "type": "object",
  13275. "title": "HashMap«string,object»",
  13276. "additionalProperties": {
  13277. "type": "object"
  13278. },
  13279. "$$ref": "#/definitions/HashMap«string,object»"
  13280. }
  13281. },
  13282. "roll": {
  13283. "type": "array",
  13284. "description": "新闻简报消息滚动",
  13285. "items": {
  13286. "type": "object",
  13287. "title": "HashMap«string,object»",
  13288. "additionalProperties": {
  13289. "type": "object"
  13290. },
  13291. "$$ref": "#/definitions/HashMap«string,object»"
  13292. }
  13293. },
  13294. "subscribe": {
  13295. "type": "boolean",
  13296. "description": "是否关注"
  13297. }
  13298. },
  13299. "title": "IndexInfoResponse对象",
  13300. "description": "用户登录返回数据",
  13301. "$$ref": "#/definitions/IndexInfoResponse对象"
  13302. },
  13303. "message": {
  13304. "type": "string"
  13305. }
  13306. },
  13307. "title": "CommonResult«IndexInfoResponse对象»",
  13308. "$$ref": "#/definitions/CommonResult«IndexInfoResponse对象»"
  13309. }
  13310. }
  13311. }
  13312. }
  13313. }
  13314. }
  13315. }