admin_swaggerApi.json 915 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "crmeb_java_admin",
  5. "version": "last",
  6. "description": "crmeb_java_admin"
  7. },
  8. "basePath": "/",
  9. "tags": [
  10. {
  11. "name": "Admin 平台用户",
  12. "description": "admin User"
  13. },
  14. {
  15. "name": "上传文件",
  16. "description": "Upload Controller"
  17. },
  18. {
  19. "name": "会员 -- 分组",
  20. "description": "User Group Controller"
  21. },
  22. {
  23. "name": "会员 -- 标签",
  24. "description": "User Tag Controller"
  25. },
  26. {
  27. "name": "会员 -- 等级",
  28. "description": "User Level Controller"
  29. },
  30. {
  31. "name": "会员管理",
  32. "description": "User Controller"
  33. },
  34. {
  35. "name": "会员管理 -- 用户账单",
  36. "description": "User Bill Controller"
  37. },
  38. {
  39. "name": "分类服务",
  40. "description": "Category Controller"
  41. },
  42. {
  43. "name": "分销",
  44. "description": "Retail Shop Controller"
  45. },
  46. {
  47. "name": "后台用户服务",
  48. "description": "System Admin Controller"
  49. },
  50. {
  51. "name": "商品",
  52. "description": "Store Product Controller"
  53. },
  54. {
  55. "name": "商品 -- 规则值(规格)",
  56. "description": "Store Product Rule Controller"
  57. },
  58. {
  59. "name": "商品 -- 评论",
  60. "description": "Store Product Reply Controller"
  61. },
  62. {
  63. "name": "城市管理",
  64. "description": "System City Controller"
  65. },
  66. {
  67. "name": "客服用户对话记录表",
  68. "description": "Store Service Log Controller"
  69. },
  70. {
  71. "name": "客服表",
  72. "description": "Store Service Controller"
  73. },
  74. {
  75. "name": "导出 -- Excel",
  76. "description": "Excel Controller"
  77. },
  78. {
  79. "name": "微信 -- 消息模版",
  80. "description": "Template Message Controller"
  81. },
  82. {
  83. "name": "微信开放平台 -- 小程序access_token",
  84. "description": "Routine Access Token Controller"
  85. },
  86. {
  87. "name": "微信开放平台 -- 小程序二维码管理",
  88. "description": "Routine Qrcode Controller"
  89. },
  90. {
  91. "name": "微信开放平台 -- 微信二维码管理",
  92. "description": "Wechat Qrcode Controller"
  93. },
  94. {
  95. "name": "微信开放平台 -- 微信关键字回复",
  96. "description": "Wechat Reply Controller"
  97. },
  98. {
  99. "name": "微信开放平台 -- 微信用户",
  100. "description": "Wechat User Controller"
  101. },
  102. {
  103. "name": "微信开放平台 -- 微信用户标签",
  104. "description": "We Chat User Tags Controller"
  105. },
  106. {
  107. "name": "微信开放平台 -- 用户行为记录",
  108. "description": "Wechat Message Controller"
  109. },
  110. {
  111. "name": "微信开放平台 -- 素材",
  112. "description": "Wechat Media Controller"
  113. },
  114. {
  115. "name": "微信开放平台 -- 菜单管理",
  116. "description": "We Chat Controller"
  117. },
  118. {
  119. "name": "微信开放平台 -- 表单id表记录",
  120. "description": "Routine Form Id Controller"
  121. },
  122. {
  123. "name": "支付回调",
  124. "description": "Callback Controller"
  125. },
  126. {
  127. "name": "文章管理",
  128. "description": "Article Controller"
  129. },
  130. {
  131. "name": "短信服务",
  132. "description": "Sms Record Controller"
  133. },
  134. {
  135. "name": "统计 -- 主页",
  136. "description": "Home Controller"
  137. },
  138. {
  139. "name": "营销 -- 优惠券",
  140. "description": "Store Coupon Controller"
  141. },
  142. {
  143. "name": "营销 -- 优惠券 -- 领取记录",
  144. "description": "Store Coupon User Controller"
  145. },
  146. {
  147. "name": "订单",
  148. "description": "Store Order Controller"
  149. },
  150. {
  151. "name": "订单 -- 操作记录",
  152. "description": "Store Order Status Controller"
  153. },
  154. {
  155. "name": "设置 -- Config",
  156. "description": "System Config Controller"
  157. },
  158. {
  159. "name": "设置 -- 会员等级",
  160. "description": "System User Level Controller"
  161. },
  162. {
  163. "name": "设置 -- 会员等级 -- 等级任务",
  164. "description": "System User Task Controller"
  165. },
  166. {
  167. "name": "设置 -- 提货点 -- 提货点",
  168. "description": "System Store Controller"
  169. },
  170. {
  171. "name": "设置 -- 提货点 -- 核销员",
  172. "description": "System Store Staff Controller"
  173. },
  174. {
  175. "name": "设置 -- 提货点 -- 核销订单",
  176. "description": "System Write Off Order Controller"
  177. },
  178. {
  179. "name": "设置 -- 权限管理 -- 身份管理",
  180. "description": "System Role Controller"
  181. },
  182. {
  183. "name": "设置 -- 物流 -- 付费",
  184. "description": "Shipping Templates Region Controller"
  185. },
  186. {
  187. "name": "设置 -- 物流 -- 免费",
  188. "description": "Shipping Templates Free Controller"
  189. },
  190. {
  191. "name": "设置 -- 物流 -- 公司",
  192. "description": "Express Controller"
  193. },
  194. {
  195. "name": "设置 -- 物流 -- 模板",
  196. "description": "Shipping Templates Controller"
  197. },
  198. {
  199. "name": "设置 -- 管理员操作记录",
  200. "description": "System Log Controller"
  201. },
  202. {
  203. "name": "设置 -- 组合数据",
  204. "description": "System Group Controller"
  205. },
  206. {
  207. "name": "设置 -- 组合数据 -- 详情",
  208. "description": "System Group Data Controller"
  209. },
  210. {
  211. "name": "设置 -- 表单模板",
  212. "description": "System Form Temp Controller"
  213. },
  214. {
  215. "name": "设置 -- 通知记录 -- 通知模板",
  216. "description": "System Notice Controller"
  217. },
  218. {
  219. "name": "财务 -- 充值",
  220. "description": "User Recharge Controller"
  221. },
  222. {
  223. "name": "财务 -- 提现申请",
  224. "description": "User Extract Controller"
  225. },
  226. {
  227. "name": "财务 -- 资金监控",
  228. "description": "Funds Monitor Controller"
  229. },
  230. {
  231. "name": "附件管理",
  232. "description": "System Attachment Controller"
  233. },
  234. {
  235. "name": "验证码服务",
  236. "description": "Validate Code Controller"
  237. }
  238. ],
  239. "schemes": [
  240. "http"
  241. ],
  242. "paths": {
  243. "/api/admin/login": {
  244. "post": {
  245. "tags": [
  246. "Admin 平台用户"
  247. ],
  248. "summary": "AdminUserLogin",
  249. "consumes": [
  250. "application/json"
  251. ],
  252. "parameters": [
  253. {
  254. "name": "root",
  255. "in": "body",
  256. "schema": {
  257. "type": "object",
  258. "required": [
  259. "code",
  260. "key"
  261. ],
  262. "properties": {
  263. "account": {
  264. "type": "string",
  265. "example": "admin",
  266. "description": "后台管理员账号"
  267. },
  268. "code": {
  269. "type": "string",
  270. "description": "code"
  271. },
  272. "key": {
  273. "type": "string",
  274. "description": "key"
  275. },
  276. "pwd": {
  277. "type": "string",
  278. "example": 123456,
  279. "description": "后台管理员密码"
  280. }
  281. },
  282. "title": "SystemAdminLoginRequest",
  283. "$$ref": "#/definitions/SystemAdminLoginRequest"
  284. }
  285. }
  286. ],
  287. "responses": {
  288. "200": {
  289. "description": "successful operation",
  290. "schema": {
  291. "type": "object",
  292. "properties": {
  293. "code": {
  294. "type": "integer",
  295. "format": "int64"
  296. },
  297. "data": {
  298. "type": "object",
  299. "properties": {
  300. "account": {
  301. "type": "string"
  302. },
  303. "addTime": {
  304. "type": "integer",
  305. "format": "int32"
  306. },
  307. "id": {
  308. "type": "integer",
  309. "format": "int32"
  310. },
  311. "lastIp": {
  312. "type": "string"
  313. },
  314. "lastTime": {
  315. "type": "integer",
  316. "format": "int32"
  317. },
  318. "level": {
  319. "type": "integer",
  320. "format": "int32"
  321. },
  322. "loginCount": {
  323. "type": "integer",
  324. "format": "int32"
  325. },
  326. "realName": {
  327. "type": "string"
  328. },
  329. "roles": {
  330. "type": "string"
  331. },
  332. "status": {
  333. "type": "boolean"
  334. },
  335. "token": {
  336. "type": "string"
  337. }
  338. },
  339. "title": "SystemAdminResponse",
  340. "$$ref": "#/definitions/SystemAdminResponse"
  341. },
  342. "message": {
  343. "type": "string"
  344. }
  345. },
  346. "title": "CommonResult«SystemAdminResponse»",
  347. "$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
  348. }
  349. }
  350. }
  351. }
  352. },
  353. "/api/admin/logout": {
  354. "get": {
  355. "tags": [
  356. "Admin 平台用户"
  357. ],
  358. "summary": "AdminUserLogout",
  359. "consumes": [
  360. "text/plain"
  361. ],
  362. "parameters": [
  363. {
  364. "name": "raw",
  365. "in": "body",
  366. "description": "raw paramter",
  367. "schema": {
  368. "type": "string",
  369. "format": "binary"
  370. }
  371. }
  372. ],
  373. "responses": {
  374. "200": {
  375. "description": "successful operation",
  376. "schema": {
  377. "type": "object",
  378. "properties": {
  379. "code": {
  380. "type": "integer",
  381. "format": "int64"
  382. },
  383. "data": {
  384. "type": "object",
  385. "properties": {
  386. "account": {
  387. "type": "string"
  388. },
  389. "addTime": {
  390. "type": "integer",
  391. "format": "int32"
  392. },
  393. "id": {
  394. "type": "integer",
  395. "format": "int32"
  396. },
  397. "lastIp": {
  398. "type": "string"
  399. },
  400. "lastTime": {
  401. "type": "integer",
  402. "format": "int32"
  403. },
  404. "level": {
  405. "type": "integer",
  406. "format": "int32"
  407. },
  408. "loginCount": {
  409. "type": "integer",
  410. "format": "int32"
  411. },
  412. "realName": {
  413. "type": "string"
  414. },
  415. "roles": {
  416. "type": "string"
  417. },
  418. "status": {
  419. "type": "boolean"
  420. },
  421. "token": {
  422. "type": "string"
  423. }
  424. },
  425. "title": "SystemAdminResponse",
  426. "$$ref": "#/definitions/SystemAdminResponse"
  427. },
  428. "message": {
  429. "type": "string"
  430. }
  431. },
  432. "title": "CommonResult«SystemAdminResponse»",
  433. "$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
  434. }
  435. }
  436. }
  437. }
  438. },
  439. "/api/admin/getAdminInfoByToken": {
  440. "get": {
  441. "tags": [
  442. "Admin 平台用户"
  443. ],
  444. "summary": "GetAdminUserByToken",
  445. "consumes": [
  446. "text/plain"
  447. ],
  448. "parameters": [
  449. {
  450. "name": "raw",
  451. "in": "body",
  452. "description": "raw paramter",
  453. "schema": {
  454. "type": "string",
  455. "format": "binary"
  456. }
  457. }
  458. ],
  459. "responses": {
  460. "200": {
  461. "description": "successful operation",
  462. "schema": {
  463. "type": "object",
  464. "properties": {
  465. "code": {
  466. "type": "integer",
  467. "format": "int64"
  468. },
  469. "data": {
  470. "type": "object",
  471. "properties": {
  472. "account": {
  473. "type": "string"
  474. },
  475. "addTime": {
  476. "type": "integer",
  477. "format": "int32"
  478. },
  479. "id": {
  480. "type": "integer",
  481. "format": "int32"
  482. },
  483. "lastIp": {
  484. "type": "string"
  485. },
  486. "lastTime": {
  487. "type": "integer",
  488. "format": "int32"
  489. },
  490. "level": {
  491. "type": "integer",
  492. "format": "int32"
  493. },
  494. "loginCount": {
  495. "type": "integer",
  496. "format": "int32"
  497. },
  498. "realName": {
  499. "type": "string"
  500. },
  501. "roles": {
  502. "type": "string"
  503. },
  504. "status": {
  505. "type": "boolean"
  506. },
  507. "token": {
  508. "type": "string"
  509. }
  510. },
  511. "title": "SystemAdminResponse",
  512. "$$ref": "#/definitions/SystemAdminResponse"
  513. },
  514. "message": {
  515. "type": "string"
  516. }
  517. },
  518. "title": "CommonResult«SystemAdminResponse»",
  519. "$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
  520. }
  521. }
  522. }
  523. }
  524. },
  525. "/api/admin/getLoginPic": {
  526. "get": {
  527. "tags": [
  528. "Admin 平台用户"
  529. ],
  530. "summary": "获取登录页图片",
  531. "consumes": [
  532. "text/plain"
  533. ],
  534. "parameters": [
  535. {
  536. "name": "raw",
  537. "in": "body",
  538. "description": "raw paramter",
  539. "schema": {
  540. "type": "string",
  541. "format": "binary"
  542. }
  543. }
  544. ],
  545. "responses": {
  546. "200": {
  547. "description": "successful operation",
  548. "schema": {
  549. "type": "object",
  550. "properties": {
  551. "code": {
  552. "type": "integer",
  553. "format": "int64"
  554. },
  555. "data": {
  556. "type": "object"
  557. },
  558. "message": {
  559. "type": "string"
  560. }
  561. },
  562. "title": "CommonResult«Map«string,object»»",
  563. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  564. }
  565. }
  566. }
  567. }
  568. },
  569. "/api/admin/upload/async": {
  570. "post": {
  571. "tags": [
  572. "上传文件"
  573. ],
  574. "summary": "同步到云服务",
  575. "consumes": [
  576. "application/json"
  577. ],
  578. "parameters": [],
  579. "responses": {
  580. "200": {
  581. "description": "successful operation",
  582. "schema": {
  583. "type": "object",
  584. "properties": {
  585. "code": {
  586. "type": "integer",
  587. "format": "int64"
  588. },
  589. "data": {
  590. "type": "object",
  591. "properties": {
  592. "extName": {
  593. "type": "string"
  594. },
  595. "fileName": {
  596. "type": "string"
  597. },
  598. "fileSize": {
  599. "type": "integer",
  600. "format": "int64"
  601. },
  602. "serverPath": {
  603. "type": "string"
  604. },
  605. "type": {
  606. "type": "string"
  607. },
  608. "url": {
  609. "type": "string"
  610. }
  611. },
  612. "title": "FileResultVo",
  613. "$$ref": "#/definitions/FileResultVo"
  614. },
  615. "message": {
  616. "type": "string"
  617. }
  618. },
  619. "title": "CommonResult«FileResultVo»",
  620. "$$ref": "#/definitions/CommonResult«FileResultVo»"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/api/admin/upload/image": {
  627. "post": {
  628. "tags": [
  629. "上传文件"
  630. ],
  631. "summary": "图片上传",
  632. "consumes": [
  633. "multipart/form-data"
  634. ],
  635. "parameters": [
  636. {
  637. "name": "model",
  638. "in": "query",
  639. "required": false,
  640. "description": "模块 用户user,商品product,微信wechat,news文章",
  641. "type": "string"
  642. },
  643. {
  644. "name": "pid",
  645. "in": "query",
  646. "required": false,
  647. "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ",
  648. "type": "string"
  649. },
  650. {
  651. "name": "multipart",
  652. "in": "formData",
  653. "required": false,
  654. "description": "multipart",
  655. "type": "file"
  656. }
  657. ],
  658. "responses": {
  659. "200": {
  660. "description": "successful operation",
  661. "schema": {
  662. "type": "object",
  663. "properties": {
  664. "code": {
  665. "type": "integer",
  666. "format": "int64"
  667. },
  668. "data": {
  669. "type": "object",
  670. "properties": {
  671. "extName": {
  672. "type": "string"
  673. },
  674. "fileName": {
  675. "type": "string"
  676. },
  677. "fileSize": {
  678. "type": "integer",
  679. "format": "int64"
  680. },
  681. "serverPath": {
  682. "type": "string"
  683. },
  684. "type": {
  685. "type": "string"
  686. },
  687. "url": {
  688. "type": "string"
  689. }
  690. },
  691. "title": "FileResultVo",
  692. "$$ref": "#/definitions/FileResultVo"
  693. },
  694. "message": {
  695. "type": "string"
  696. }
  697. },
  698. "title": "CommonResult«FileResultVo»",
  699. "$$ref": "#/definitions/CommonResult«FileResultVo»"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/api/admin/upload/file": {
  706. "post": {
  707. "tags": [
  708. "上传文件"
  709. ],
  710. "summary": "文件上传",
  711. "consumes": [
  712. "multipart/form-data"
  713. ],
  714. "parameters": [
  715. {
  716. "name": "model",
  717. "in": "query",
  718. "required": false,
  719. "description": "模块 用户user,商品product,微信wechat,news文章",
  720. "type": "string"
  721. },
  722. {
  723. "name": "pid",
  724. "in": "query",
  725. "required": false,
  726. "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ",
  727. "type": "string"
  728. },
  729. {
  730. "name": "multipart",
  731. "in": "formData",
  732. "required": false,
  733. "description": "multipart",
  734. "type": "file"
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "successful operation",
  740. "schema": {
  741. "type": "object",
  742. "properties": {
  743. "code": {
  744. "type": "integer",
  745. "format": "int64"
  746. },
  747. "data": {
  748. "type": "object",
  749. "properties": {
  750. "extName": {
  751. "type": "string"
  752. },
  753. "fileName": {
  754. "type": "string"
  755. },
  756. "fileSize": {
  757. "type": "integer",
  758. "format": "int64"
  759. },
  760. "serverPath": {
  761. "type": "string"
  762. },
  763. "type": {
  764. "type": "string"
  765. },
  766. "url": {
  767. "type": "string"
  768. }
  769. },
  770. "title": "FileResultVo",
  771. "$$ref": "#/definitions/FileResultVo"
  772. },
  773. "message": {
  774. "type": "string"
  775. }
  776. },
  777. "title": "CommonResult«FileResultVo»",
  778. "$$ref": "#/definitions/CommonResult«FileResultVo»"
  779. }
  780. }
  781. }
  782. }
  783. },
  784. "/api/admin/user/group/update": {
  785. "post": {
  786. "tags": [
  787. "会员 -- 分组"
  788. ],
  789. "summary": "修改",
  790. "consumes": [
  791. "application/json"
  792. ],
  793. "parameters": [
  794. {
  795. "name": "id",
  796. "in": "query",
  797. "required": false,
  798. "description": "id",
  799. "type": "string"
  800. },
  801. {
  802. "name": "root",
  803. "in": "body",
  804. "description": "用户分组表",
  805. "schema": {
  806. "type": "object",
  807. "properties": {
  808. "groupName": {
  809. "type": "string",
  810. "description": "用户分组名称"
  811. },
  812. "id": {
  813. "type": "integer",
  814. "format": "int32"
  815. }
  816. },
  817. "title": "UserGroup对象",
  818. "description": "用户分组表",
  819. "$$ref": "#/definitions/UserGroup对象"
  820. }
  821. }
  822. ],
  823. "responses": {
  824. "200": {
  825. "description": "successful operation",
  826. "schema": {
  827. "type": "object",
  828. "properties": {
  829. "code": {
  830. "type": "integer",
  831. "format": "int64"
  832. },
  833. "data": {
  834. "type": "string"
  835. },
  836. "message": {
  837. "type": "string"
  838. }
  839. },
  840. "title": "CommonResult«string»",
  841. "$$ref": "#/definitions/CommonResult«string»"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/api/admin/user/group/list": {
  848. "get": {
  849. "tags": [
  850. "会员 -- 分组"
  851. ],
  852. "summary": "分页列表",
  853. "consumes": [
  854. "text/plain"
  855. ],
  856. "parameters": [
  857. {
  858. "name": "limit",
  859. "in": "query",
  860. "required": false,
  861. "description": "每页数量",
  862. "type": "string"
  863. },
  864. {
  865. "name": "page",
  866. "in": "query",
  867. "required": false,
  868. "description": "页码",
  869. "type": "string"
  870. },
  871. {
  872. "name": "raw",
  873. "in": "body",
  874. "description": "raw paramter",
  875. "schema": {
  876. "type": "string",
  877. "format": "binary"
  878. }
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "successful operation",
  884. "schema": {
  885. "type": "object",
  886. "properties": {
  887. "code": {
  888. "type": "integer",
  889. "format": "int64"
  890. },
  891. "data": {
  892. "type": "object",
  893. "properties": {
  894. "limit": {
  895. "type": "integer",
  896. "format": "int32"
  897. },
  898. "list": {
  899. "type": "array",
  900. "items": {
  901. "type": "object",
  902. "properties": {
  903. "groupName": {
  904. "type": "string",
  905. "description": "用户分组名称"
  906. },
  907. "id": {
  908. "type": "integer",
  909. "format": "int32"
  910. }
  911. },
  912. "title": "UserGroup对象",
  913. "description": "用户分组表",
  914. "$$ref": "#/definitions/UserGroup对象"
  915. }
  916. },
  917. "page": {
  918. "type": "integer",
  919. "format": "int32"
  920. },
  921. "total": {
  922. "type": "integer",
  923. "format": "int64"
  924. },
  925. "totalPage": {
  926. "type": "integer",
  927. "format": "int32"
  928. }
  929. },
  930. "title": "CommonPage«UserGroup对象»",
  931. "$$ref": "#/definitions/CommonPage«UserGroup对象»"
  932. },
  933. "message": {
  934. "type": "string"
  935. }
  936. },
  937. "title": "CommonResult«CommonPage«UserGroup对象»»",
  938. "$$ref": "#/definitions/CommonResult«CommonPage«UserGroup对象»»"
  939. }
  940. }
  941. }
  942. }
  943. },
  944. "/api/admin/user/group/delete": {
  945. "get": {
  946. "tags": [
  947. "会员 -- 分组"
  948. ],
  949. "summary": "删除",
  950. "consumes": [
  951. "text/plain"
  952. ],
  953. "parameters": [
  954. {
  955. "name": "id",
  956. "in": "query",
  957. "required": false,
  958. "description": "id",
  959. "type": "string"
  960. },
  961. {
  962. "name": "raw",
  963. "in": "body",
  964. "description": "raw paramter",
  965. "schema": {
  966. "type": "string",
  967. "format": "binary"
  968. }
  969. }
  970. ],
  971. "responses": {
  972. "200": {
  973. "description": "successful operation",
  974. "schema": {
  975. "type": "object",
  976. "properties": {
  977. "code": {
  978. "type": "integer",
  979. "format": "int64"
  980. },
  981. "data": {
  982. "type": "string"
  983. },
  984. "message": {
  985. "type": "string"
  986. }
  987. },
  988. "title": "CommonResult«string»",
  989. "$$ref": "#/definitions/CommonResult«string»"
  990. }
  991. }
  992. }
  993. }
  994. },
  995. "/api/admin/user/group/save": {
  996. "post": {
  997. "tags": [
  998. "会员 -- 分组"
  999. ],
  1000. "summary": "新增",
  1001. "consumes": [
  1002. "application/json"
  1003. ],
  1004. "parameters": [
  1005. {
  1006. "name": "root",
  1007. "in": "body",
  1008. "description": "用户分组表",
  1009. "schema": {
  1010. "type": "object",
  1011. "properties": {
  1012. "groupName": {
  1013. "type": "string",
  1014. "description": "用户分组名称"
  1015. },
  1016. "id": {
  1017. "type": "integer",
  1018. "format": "int32"
  1019. }
  1020. },
  1021. "title": "UserGroup对象",
  1022. "description": "用户分组表",
  1023. "$$ref": "#/definitions/UserGroup对象"
  1024. }
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "successful operation",
  1030. "schema": {
  1031. "type": "object",
  1032. "properties": {
  1033. "code": {
  1034. "type": "integer",
  1035. "format": "int64"
  1036. },
  1037. "data": {
  1038. "type": "string"
  1039. },
  1040. "message": {
  1041. "type": "string"
  1042. }
  1043. },
  1044. "title": "CommonResult«string»",
  1045. "$$ref": "#/definitions/CommonResult«string»"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/api/admin/user/group/info": {
  1052. "get": {
  1053. "tags": [
  1054. "会员 -- 分组"
  1055. ],
  1056. "summary": "详情",
  1057. "consumes": [
  1058. "text/plain"
  1059. ],
  1060. "parameters": [
  1061. {
  1062. "name": "id",
  1063. "in": "query",
  1064. "required": false,
  1065. "description": "id",
  1066. "type": "string"
  1067. },
  1068. {
  1069. "name": "raw",
  1070. "in": "body",
  1071. "description": "raw paramter",
  1072. "schema": {
  1073. "type": "string",
  1074. "format": "binary"
  1075. }
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "successful operation",
  1081. "schema": {
  1082. "type": "object",
  1083. "properties": {
  1084. "code": {
  1085. "type": "integer",
  1086. "format": "int64"
  1087. },
  1088. "data": {
  1089. "type": "object",
  1090. "properties": {
  1091. "groupName": {
  1092. "type": "string",
  1093. "description": "用户分组名称"
  1094. },
  1095. "id": {
  1096. "type": "integer",
  1097. "format": "int32"
  1098. }
  1099. },
  1100. "title": "UserGroup对象",
  1101. "description": "用户分组表",
  1102. "$$ref": "#/definitions/UserGroup对象"
  1103. },
  1104. "message": {
  1105. "type": "string"
  1106. }
  1107. },
  1108. "title": "CommonResult«UserGroup对象»",
  1109. "$$ref": "#/definitions/CommonResult«UserGroup对象»"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/api/admin/user/tag/update": {
  1116. "post": {
  1117. "tags": [
  1118. "会员 -- 标签"
  1119. ],
  1120. "summary": "修改",
  1121. "consumes": [
  1122. "application/json"
  1123. ],
  1124. "parameters": [
  1125. {
  1126. "name": "id",
  1127. "in": "query",
  1128. "required": false,
  1129. "description": "id",
  1130. "type": "string"
  1131. },
  1132. {
  1133. "name": "root",
  1134. "in": "body",
  1135. "description": "会员标签",
  1136. "schema": {
  1137. "type": "object",
  1138. "properties": {
  1139. "name": {
  1140. "type": "string",
  1141. "description": "标签名称"
  1142. }
  1143. },
  1144. "title": "UserTagRequest对象",
  1145. "description": "会员标签",
  1146. "$$ref": "#/definitions/UserTagRequest对象"
  1147. }
  1148. }
  1149. ],
  1150. "responses": {
  1151. "200": {
  1152. "description": "successful operation",
  1153. "schema": {
  1154. "type": "object",
  1155. "properties": {
  1156. "code": {
  1157. "type": "integer",
  1158. "format": "int64"
  1159. },
  1160. "data": {
  1161. "type": "string"
  1162. },
  1163. "message": {
  1164. "type": "string"
  1165. }
  1166. },
  1167. "title": "CommonResult«string»",
  1168. "$$ref": "#/definitions/CommonResult«string»"
  1169. }
  1170. }
  1171. }
  1172. }
  1173. },
  1174. "/api/admin/user/tag/list": {
  1175. "get": {
  1176. "tags": [
  1177. "会员 -- 标签"
  1178. ],
  1179. "summary": "分页列表",
  1180. "consumes": [
  1181. "text/plain"
  1182. ],
  1183. "parameters": [
  1184. {
  1185. "name": "limit",
  1186. "in": "query",
  1187. "required": false,
  1188. "description": "每页数量",
  1189. "type": "string"
  1190. },
  1191. {
  1192. "name": "page",
  1193. "in": "query",
  1194. "required": false,
  1195. "description": "页码",
  1196. "type": "string"
  1197. },
  1198. {
  1199. "name": "raw",
  1200. "in": "body",
  1201. "description": "raw paramter",
  1202. "schema": {
  1203. "type": "string",
  1204. "format": "binary"
  1205. }
  1206. }
  1207. ],
  1208. "responses": {
  1209. "200": {
  1210. "description": "successful operation",
  1211. "schema": {
  1212. "type": "object",
  1213. "properties": {
  1214. "code": {
  1215. "type": "integer",
  1216. "format": "int64"
  1217. },
  1218. "data": {
  1219. "type": "object",
  1220. "properties": {
  1221. "limit": {
  1222. "type": "integer",
  1223. "format": "int32"
  1224. },
  1225. "list": {
  1226. "type": "array",
  1227. "items": {
  1228. "type": "object",
  1229. "properties": {
  1230. "id": {
  1231. "type": "integer",
  1232. "format": "int32"
  1233. },
  1234. "name": {
  1235. "type": "string",
  1236. "description": "标签名称"
  1237. }
  1238. },
  1239. "title": "UserTag对象",
  1240. "description": "用户标签表",
  1241. "$$ref": "#/definitions/UserTag对象"
  1242. }
  1243. },
  1244. "page": {
  1245. "type": "integer",
  1246. "format": "int32"
  1247. },
  1248. "total": {
  1249. "type": "integer",
  1250. "format": "int64"
  1251. },
  1252. "totalPage": {
  1253. "type": "integer",
  1254. "format": "int32"
  1255. }
  1256. },
  1257. "title": "CommonPage«UserTag对象»",
  1258. "$$ref": "#/definitions/CommonPage«UserTag对象»"
  1259. },
  1260. "message": {
  1261. "type": "string"
  1262. }
  1263. },
  1264. "title": "CommonResult«CommonPage«UserTag对象»»",
  1265. "$$ref": "#/definitions/CommonResult«CommonPage«UserTag对象»»"
  1266. }
  1267. }
  1268. }
  1269. }
  1270. },
  1271. "/api/admin/user/tag/delete": {
  1272. "get": {
  1273. "tags": [
  1274. "会员 -- 标签"
  1275. ],
  1276. "summary": "删除",
  1277. "consumes": [
  1278. "text/plain"
  1279. ],
  1280. "parameters": [
  1281. {
  1282. "name": "id",
  1283. "in": "query",
  1284. "required": false,
  1285. "description": "id",
  1286. "type": "string"
  1287. },
  1288. {
  1289. "name": "raw",
  1290. "in": "body",
  1291. "description": "raw paramter",
  1292. "schema": {
  1293. "type": "string",
  1294. "format": "binary"
  1295. }
  1296. }
  1297. ],
  1298. "responses": {
  1299. "200": {
  1300. "description": "successful operation",
  1301. "schema": {
  1302. "type": "object",
  1303. "properties": {
  1304. "code": {
  1305. "type": "integer",
  1306. "format": "int64"
  1307. },
  1308. "data": {
  1309. "type": "string"
  1310. },
  1311. "message": {
  1312. "type": "string"
  1313. }
  1314. },
  1315. "title": "CommonResult«string»",
  1316. "$$ref": "#/definitions/CommonResult«string»"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/api/admin/user/tag/save": {
  1323. "post": {
  1324. "tags": [
  1325. "会员 -- 标签"
  1326. ],
  1327. "summary": "新增",
  1328. "consumes": [
  1329. "application/json"
  1330. ],
  1331. "parameters": [
  1332. {
  1333. "name": "root",
  1334. "in": "body",
  1335. "description": "会员标签",
  1336. "schema": {
  1337. "type": "object",
  1338. "properties": {
  1339. "name": {
  1340. "type": "string",
  1341. "description": "标签名称"
  1342. }
  1343. },
  1344. "title": "UserTagRequest对象",
  1345. "description": "会员标签",
  1346. "$$ref": "#/definitions/UserTagRequest对象"
  1347. }
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "successful operation",
  1353. "schema": {
  1354. "type": "object",
  1355. "properties": {
  1356. "code": {
  1357. "type": "integer",
  1358. "format": "int64"
  1359. },
  1360. "data": {
  1361. "type": "string"
  1362. },
  1363. "message": {
  1364. "type": "string"
  1365. }
  1366. },
  1367. "title": "CommonResult«string»",
  1368. "$$ref": "#/definitions/CommonResult«string»"
  1369. }
  1370. }
  1371. }
  1372. }
  1373. },
  1374. "/api/admin/user/tag/info": {
  1375. "get": {
  1376. "tags": [
  1377. "会员 -- 标签"
  1378. ],
  1379. "summary": "详情",
  1380. "consumes": [
  1381. "text/plain"
  1382. ],
  1383. "parameters": [
  1384. {
  1385. "name": "id",
  1386. "in": "query",
  1387. "required": false,
  1388. "description": "id",
  1389. "type": "string"
  1390. },
  1391. {
  1392. "name": "raw",
  1393. "in": "body",
  1394. "description": "raw paramter",
  1395. "schema": {
  1396. "type": "string",
  1397. "format": "binary"
  1398. }
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "successful operation",
  1404. "schema": {
  1405. "type": "object",
  1406. "properties": {
  1407. "code": {
  1408. "type": "integer",
  1409. "format": "int64"
  1410. },
  1411. "data": {
  1412. "type": "object",
  1413. "properties": {
  1414. "id": {
  1415. "type": "integer",
  1416. "format": "int32"
  1417. },
  1418. "name": {
  1419. "type": "string",
  1420. "description": "标签名称"
  1421. }
  1422. },
  1423. "title": "UserTag对象",
  1424. "description": "用户标签表",
  1425. "$$ref": "#/definitions/UserTag对象"
  1426. },
  1427. "message": {
  1428. "type": "string"
  1429. }
  1430. },
  1431. "title": "CommonResult«UserTag对象»",
  1432. "$$ref": "#/definitions/CommonResult«UserTag对象»"
  1433. }
  1434. }
  1435. }
  1436. }
  1437. },
  1438. "/api/admin/user/level/level": {
  1439. "post": {
  1440. "tags": [
  1441. "会员 -- 等级"
  1442. ],
  1443. "summary": "修改",
  1444. "consumes": [
  1445. "application/json"
  1446. ],
  1447. "parameters": [
  1448. {
  1449. "name": "levelId",
  1450. "in": "query",
  1451. "required": false,
  1452. "description": "等级ID",
  1453. "type": "string"
  1454. },
  1455. {
  1456. "name": "userId",
  1457. "in": "query",
  1458. "required": false,
  1459. "description": "会员ID",
  1460. "type": "string"
  1461. }
  1462. ],
  1463. "responses": {
  1464. "200": {
  1465. "description": "successful operation",
  1466. "schema": {
  1467. "type": "object",
  1468. "properties": {
  1469. "code": {
  1470. "type": "integer",
  1471. "format": "int64"
  1472. },
  1473. "data": {
  1474. "type": "string"
  1475. },
  1476. "message": {
  1477. "type": "string"
  1478. }
  1479. },
  1480. "title": "CommonResult«string»",
  1481. "$$ref": "#/definitions/CommonResult«string»"
  1482. }
  1483. }
  1484. }
  1485. }
  1486. },
  1487. "/api/admin/user/level/list": {
  1488. "get": {
  1489. "tags": [
  1490. "会员 -- 等级"
  1491. ],
  1492. "summary": "分页列表",
  1493. "consumes": [
  1494. "text/plain"
  1495. ],
  1496. "parameters": [
  1497. {
  1498. "name": "addTime",
  1499. "in": "query",
  1500. "required": false,
  1501. "description": "添加时间",
  1502. "type": "string"
  1503. },
  1504. {
  1505. "name": "discount",
  1506. "in": "query",
  1507. "required": false,
  1508. "description": "享受折扣",
  1509. "type": "string"
  1510. },
  1511. {
  1512. "name": "grade",
  1513. "in": "query",
  1514. "required": false,
  1515. "description": "会员等级",
  1516. "type": "string"
  1517. },
  1518. {
  1519. "name": "isDel",
  1520. "in": "query",
  1521. "required": false,
  1522. "description": "是否删除,0=未删除,1=删除",
  1523. "type": "string"
  1524. },
  1525. {
  1526. "name": "isForever",
  1527. "in": "query",
  1528. "required": false,
  1529. "description": "是否永久",
  1530. "type": "string"
  1531. },
  1532. {
  1533. "name": "levelId",
  1534. "in": "query",
  1535. "required": false,
  1536. "description": "等级vip",
  1537. "type": "string"
  1538. },
  1539. {
  1540. "name": "limit",
  1541. "in": "query",
  1542. "required": false,
  1543. "description": "每页数量",
  1544. "type": "string"
  1545. },
  1546. {
  1547. "name": "mark",
  1548. "in": "query",
  1549. "required": false,
  1550. "description": "备注",
  1551. "type": "string"
  1552. },
  1553. {
  1554. "name": "merId",
  1555. "in": "query",
  1556. "required": false,
  1557. "description": "商户id",
  1558. "type": "string"
  1559. },
  1560. {
  1561. "name": "page",
  1562. "in": "query",
  1563. "required": false,
  1564. "description": "页码",
  1565. "type": "string"
  1566. },
  1567. {
  1568. "name": "remind",
  1569. "in": "query",
  1570. "required": false,
  1571. "description": "是否已通知",
  1572. "type": "string"
  1573. },
  1574. {
  1575. "name": "status",
  1576. "in": "query",
  1577. "required": false,
  1578. "description": "0:禁止,1:正常",
  1579. "type": "string"
  1580. },
  1581. {
  1582. "name": "uid",
  1583. "in": "query",
  1584. "required": false,
  1585. "description": "用户uid",
  1586. "type": "string"
  1587. },
  1588. {
  1589. "name": "validTime",
  1590. "in": "query",
  1591. "required": false,
  1592. "description": "过期时间",
  1593. "type": "string"
  1594. },
  1595. {
  1596. "name": "raw",
  1597. "in": "body",
  1598. "description": "raw paramter",
  1599. "schema": {
  1600. "type": "string",
  1601. "format": "binary"
  1602. }
  1603. }
  1604. ],
  1605. "responses": {
  1606. "200": {
  1607. "description": "successful operation",
  1608. "schema": {
  1609. "type": "object",
  1610. "properties": {
  1611. "code": {
  1612. "type": "integer",
  1613. "format": "int64"
  1614. },
  1615. "data": {
  1616. "type": "object",
  1617. "properties": {
  1618. "limit": {
  1619. "type": "integer",
  1620. "format": "int32"
  1621. },
  1622. "list": {
  1623. "type": "array",
  1624. "items": {
  1625. "type": "object",
  1626. "properties": {
  1627. "createTime": {
  1628. "type": "string",
  1629. "format": "date-time",
  1630. "description": "创建时间"
  1631. },
  1632. "discount": {
  1633. "type": "number",
  1634. "description": "享受折扣"
  1635. },
  1636. "grade": {
  1637. "type": "integer",
  1638. "format": "int32",
  1639. "description": "会员等级"
  1640. },
  1641. "id": {
  1642. "type": "integer",
  1643. "format": "int32"
  1644. },
  1645. "isDel": {
  1646. "type": "boolean",
  1647. "description": "是否删除,0=未删除,1=删除"
  1648. },
  1649. "levelId": {
  1650. "type": "integer",
  1651. "format": "int32",
  1652. "description": "等级vip"
  1653. },
  1654. "mark": {
  1655. "type": "string",
  1656. "description": "备注"
  1657. },
  1658. "remind": {
  1659. "type": "boolean",
  1660. "description": "是否已通知"
  1661. },
  1662. "status": {
  1663. "type": "boolean",
  1664. "description": "0:禁止,1:正常"
  1665. },
  1666. "uid": {
  1667. "type": "integer",
  1668. "format": "int32",
  1669. "description": "用户uid"
  1670. },
  1671. "updateTime": {
  1672. "type": "string",
  1673. "format": "date-time",
  1674. "description": "创建时间"
  1675. }
  1676. },
  1677. "title": "UserLevel对象",
  1678. "description": "用户等级记录表",
  1679. "$$ref": "#/definitions/UserLevel对象"
  1680. }
  1681. },
  1682. "page": {
  1683. "type": "integer",
  1684. "format": "int32"
  1685. },
  1686. "total": {
  1687. "type": "integer",
  1688. "format": "int64"
  1689. },
  1690. "totalPage": {
  1691. "type": "integer",
  1692. "format": "int32"
  1693. }
  1694. },
  1695. "title": "CommonPage«UserLevel对象»",
  1696. "$$ref": "#/definitions/CommonPage«UserLevel对象»"
  1697. },
  1698. "message": {
  1699. "type": "string"
  1700. }
  1701. },
  1702. "title": "CommonResult«CommonPage«UserLevel对象»»",
  1703. "$$ref": "#/definitions/CommonResult«CommonPage«UserLevel对象»»"
  1704. }
  1705. }
  1706. }
  1707. }
  1708. },
  1709. "/api/admin/user/level/clean": {
  1710. "post": {
  1711. "tags": [
  1712. "会员 -- 等级"
  1713. ],
  1714. "summary": "清除会员等级",
  1715. "consumes": [
  1716. "application/json"
  1717. ],
  1718. "parameters": [
  1719. {
  1720. "name": "userId",
  1721. "in": "query",
  1722. "required": false,
  1723. "description": "会员ID",
  1724. "type": "string"
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "successful operation",
  1730. "schema": {
  1731. "type": "object",
  1732. "properties": {
  1733. "code": {
  1734. "type": "integer",
  1735. "format": "int64"
  1736. },
  1737. "data": {
  1738. "type": "string"
  1739. },
  1740. "message": {
  1741. "type": "string"
  1742. }
  1743. },
  1744. "title": "CommonResult«string»",
  1745. "$$ref": "#/definitions/CommonResult«string»"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/api/admin/user/infobycondition": {
  1752. "get": {
  1753. "tags": [
  1754. "会员管理"
  1755. ],
  1756. "summary": "会员详情",
  1757. "consumes": [
  1758. "text/plain"
  1759. ],
  1760. "parameters": [
  1761. {
  1762. "name": "limit",
  1763. "in": "query",
  1764. "required": false,
  1765. "description": "每页数量",
  1766. "type": "string"
  1767. },
  1768. {
  1769. "name": "page",
  1770. "in": "query",
  1771. "required": false,
  1772. "description": "页码",
  1773. "type": "string"
  1774. },
  1775. {
  1776. "name": "type",
  1777. "in": "query",
  1778. "required": false,
  1779. "description": "0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系",
  1780. "type": "string"
  1781. },
  1782. {
  1783. "name": "userId",
  1784. "in": "query",
  1785. "required": false,
  1786. "type": "string"
  1787. },
  1788. {
  1789. "name": "raw",
  1790. "in": "body",
  1791. "description": "raw paramter",
  1792. "schema": {
  1793. "type": "string",
  1794. "format": "binary"
  1795. }
  1796. }
  1797. ],
  1798. "responses": {
  1799. "200": {
  1800. "description": "successful operation",
  1801. "schema": {
  1802. "type": "object",
  1803. "properties": {
  1804. "code": {
  1805. "type": "integer",
  1806. "format": "int64"
  1807. },
  1808. "data": {
  1809. "type": "object",
  1810. "properties": {
  1811. "limit": {
  1812. "type": "integer",
  1813. "format": "int32"
  1814. },
  1815. "list": {
  1816. "type": "array",
  1817. "items": {
  1818. "type": "object",
  1819. "title": "T",
  1820. "$$ref": "#/definitions/T"
  1821. }
  1822. },
  1823. "page": {
  1824. "type": "integer",
  1825. "format": "int32"
  1826. },
  1827. "total": {
  1828. "type": "integer",
  1829. "format": "int64"
  1830. },
  1831. "totalPage": {
  1832. "type": "integer",
  1833. "format": "int32"
  1834. }
  1835. },
  1836. "title": "CommonPage«T»",
  1837. "$$ref": "#/definitions/CommonPage«T»"
  1838. },
  1839. "message": {
  1840. "type": "string"
  1841. }
  1842. },
  1843. "title": "CommonResult«CommonPage«T»»",
  1844. "$$ref": "#/definitions/CommonResult«CommonPage«T»»"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/api/admin/user/topdetail": {
  1851. "get": {
  1852. "tags": [
  1853. "会员管理"
  1854. ],
  1855. "summary": "会员详情页Top数据",
  1856. "consumes": [
  1857. "text/plain"
  1858. ],
  1859. "parameters": [
  1860. {
  1861. "name": "userId",
  1862. "in": "query",
  1863. "required": false,
  1864. "description": "userId",
  1865. "type": "string"
  1866. },
  1867. {
  1868. "name": "raw",
  1869. "in": "body",
  1870. "description": "raw paramter",
  1871. "schema": {
  1872. "type": "string",
  1873. "format": "binary"
  1874. }
  1875. }
  1876. ],
  1877. "responses": {
  1878. "200": {
  1879. "description": "successful operation",
  1880. "schema": {
  1881. "type": "object",
  1882. "properties": {
  1883. "code": {
  1884. "type": "integer",
  1885. "format": "int64"
  1886. },
  1887. "data": {
  1888. "type": "object",
  1889. "properties": {
  1890. "allConsumeCount": {
  1891. "type": "number"
  1892. },
  1893. "allOrderCount": {
  1894. "type": "integer",
  1895. "format": "int32"
  1896. },
  1897. "balance": {
  1898. "type": "number"
  1899. },
  1900. "integralCount": {
  1901. "type": "number"
  1902. },
  1903. "mothConsumeCount": {
  1904. "type": "number"
  1905. },
  1906. "mothOrderCount": {
  1907. "type": "integer",
  1908. "format": "int32"
  1909. },
  1910. "user": {
  1911. "type": "object",
  1912. "properties": {
  1913. "account": {
  1914. "type": "string",
  1915. "description": "用户账号"
  1916. },
  1917. "addIp": {
  1918. "type": "string",
  1919. "description": "添加ip"
  1920. },
  1921. "addres": {
  1922. "type": "string",
  1923. "description": "详细地址"
  1924. },
  1925. "adminid": {
  1926. "type": "integer",
  1927. "format": "int32",
  1928. "description": "管理员编号 "
  1929. },
  1930. "avatar": {
  1931. "type": "string",
  1932. "description": "用户头像"
  1933. },
  1934. "birthday": {
  1935. "type": "string",
  1936. "description": "生日"
  1937. },
  1938. "brokeragePrice": {
  1939. "type": "number",
  1940. "description": "佣金金额"
  1941. },
  1942. "cardId": {
  1943. "type": "string",
  1944. "description": "身份证号码"
  1945. },
  1946. "cleanTime": {
  1947. "type": "string",
  1948. "format": "date-time",
  1949. "description": "最后一次登录时间"
  1950. },
  1951. "createTime": {
  1952. "type": "string",
  1953. "format": "date-time",
  1954. "description": "创建时间"
  1955. },
  1956. "experience": {
  1957. "type": "integer",
  1958. "format": "int32",
  1959. "description": "用户剩余经验"
  1960. },
  1961. "groupId": {
  1962. "type": "string",
  1963. "description": "用户分组id"
  1964. },
  1965. "integral": {
  1966. "type": "number",
  1967. "description": "用户剩余积分"
  1968. },
  1969. "isPromoter": {
  1970. "type": "boolean",
  1971. "description": "是否为推广员"
  1972. },
  1973. "lastIp": {
  1974. "type": "string",
  1975. "description": "最后一次登录ip"
  1976. },
  1977. "lastLoginTime": {
  1978. "type": "string",
  1979. "format": "date-time",
  1980. "description": "最后一次登录时间"
  1981. },
  1982. "level": {
  1983. "type": "integer",
  1984. "format": "int32",
  1985. "description": "等级"
  1986. },
  1987. "loginType": {
  1988. "type": "string",
  1989. "description": "用户登陆类型,h5,wechat,routine"
  1990. },
  1991. "mark": {
  1992. "type": "string",
  1993. "description": "用户备注"
  1994. },
  1995. "nickname": {
  1996. "type": "string",
  1997. "description": "用户昵称"
  1998. },
  1999. "nowMoney": {
  2000. "type": "number",
  2001. "description": "用户余额"
  2002. },
  2003. "partnerId": {
  2004. "type": "integer",
  2005. "format": "int32",
  2006. "description": "合伙人id"
  2007. },
  2008. "path": {
  2009. "type": "string",
  2010. "description": "用户推广等级"
  2011. },
  2012. "payCount": {
  2013. "type": "integer",
  2014. "format": "int32",
  2015. "description": "用户购买次数"
  2016. },
  2017. "phone": {
  2018. "type": "string",
  2019. "description": "手机号码"
  2020. },
  2021. "realName": {
  2022. "type": "string",
  2023. "description": "真实姓名"
  2024. },
  2025. "signNum": {
  2026. "type": "integer",
  2027. "format": "int32",
  2028. "description": "连续签到天数"
  2029. },
  2030. "spreadCount": {
  2031. "type": "integer",
  2032. "format": "int32",
  2033. "description": "下级人数"
  2034. },
  2035. "spreadTime": {
  2036. "type": "string",
  2037. "format": "date-time",
  2038. "description": "推广员关联时间"
  2039. },
  2040. "spreadUid": {
  2041. "type": "integer",
  2042. "format": "int32",
  2043. "description": "推广人id"
  2044. },
  2045. "status": {
  2046. "type": "boolean",
  2047. "description": "1为正常,0为禁止"
  2048. },
  2049. "subscribe": {
  2050. "type": "boolean",
  2051. "description": "是否关注公众号"
  2052. },
  2053. "tagId": {
  2054. "type": "string",
  2055. "description": "用户标签id"
  2056. },
  2057. "uid": {
  2058. "type": "integer",
  2059. "format": "int32",
  2060. "description": "用户id"
  2061. },
  2062. "updateTime": {
  2063. "type": "string",
  2064. "format": "date-time",
  2065. "description": "创建时间"
  2066. },
  2067. "userType": {
  2068. "type": "string",
  2069. "description": "用户类型"
  2070. }
  2071. },
  2072. "title": "User对象",
  2073. "description": "用户表",
  2074. "$$ref": "#/definitions/User对象"
  2075. }
  2076. },
  2077. "title": "TopDetail",
  2078. "$$ref": "#/definitions/TopDetail"
  2079. },
  2080. "message": {
  2081. "type": "string"
  2082. }
  2083. },
  2084. "title": "CommonResult«TopDetail»",
  2085. "$$ref": "#/definitions/CommonResult«TopDetail»"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/api/admin/user/update": {
  2092. "post": {
  2093. "tags": [
  2094. "会员管理"
  2095. ],
  2096. "summary": "修改",
  2097. "consumes": [
  2098. "application/json"
  2099. ],
  2100. "parameters": [
  2101. {
  2102. "name": "id",
  2103. "in": "query",
  2104. "required": false,
  2105. "description": "id",
  2106. "type": "string"
  2107. },
  2108. {
  2109. "name": "root",
  2110. "in": "body",
  2111. "description": "用户表",
  2112. "schema": {
  2113. "type": "object",
  2114. "properties": {
  2115. "addres": {
  2116. "type": "string",
  2117. "description": "详细地址"
  2118. },
  2119. "birthday": {
  2120. "type": "string",
  2121. "description": "生日"
  2122. },
  2123. "cardId": {
  2124. "type": "string",
  2125. "description": "身份证号码"
  2126. },
  2127. "groupId": {
  2128. "type": "string",
  2129. "description": "用户分组id"
  2130. },
  2131. "isPromoter": {
  2132. "type": "boolean",
  2133. "description": "是否为推广员"
  2134. },
  2135. "level": {
  2136. "type": "integer",
  2137. "format": "int32",
  2138. "description": "等级"
  2139. },
  2140. "mark": {
  2141. "type": "string",
  2142. "description": "用户备注"
  2143. },
  2144. "phone": {
  2145. "type": "string",
  2146. "description": "手机号码"
  2147. },
  2148. "realName": {
  2149. "type": "string",
  2150. "description": "真实姓名"
  2151. },
  2152. "status": {
  2153. "type": "boolean",
  2154. "description": "状态是否正常, 0 = 禁止, 1 = 正常"
  2155. },
  2156. "tagId": {
  2157. "type": "string",
  2158. "description": "用户标签id"
  2159. }
  2160. },
  2161. "title": "UserRequest对象",
  2162. "description": "用户表",
  2163. "$$ref": "#/definitions/UserRequest对象"
  2164. }
  2165. }
  2166. ],
  2167. "responses": {
  2168. "200": {
  2169. "description": "successful operation",
  2170. "schema": {
  2171. "type": "object",
  2172. "properties": {
  2173. "code": {
  2174. "type": "integer",
  2175. "format": "int64"
  2176. },
  2177. "data": {
  2178. "type": "string"
  2179. },
  2180. "message": {
  2181. "type": "string"
  2182. }
  2183. },
  2184. "title": "CommonResult«string»",
  2185. "$$ref": "#/definitions/CommonResult«string»"
  2186. }
  2187. }
  2188. }
  2189. }
  2190. },
  2191. "/api/admin/user/group": {
  2192. "post": {
  2193. "tags": [
  2194. "会员管理"
  2195. ],
  2196. "summary": "分组",
  2197. "consumes": [
  2198. "application/json"
  2199. ],
  2200. "parameters": [
  2201. {
  2202. "name": "groupId",
  2203. "in": "query",
  2204. "required": false,
  2205. "description": "groupId",
  2206. "type": "string"
  2207. },
  2208. {
  2209. "name": "id",
  2210. "in": "query",
  2211. "required": false,
  2212. "description": "id",
  2213. "type": "string"
  2214. }
  2215. ],
  2216. "responses": {
  2217. "200": {
  2218. "description": "successful operation",
  2219. "schema": {
  2220. "type": "object",
  2221. "properties": {
  2222. "code": {
  2223. "type": "integer",
  2224. "format": "int64"
  2225. },
  2226. "data": {
  2227. "type": "string"
  2228. },
  2229. "message": {
  2230. "type": "string"
  2231. }
  2232. },
  2233. "title": "CommonResult«string»",
  2234. "$$ref": "#/definitions/CommonResult«string»"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/api/admin/user/list": {
  2241. "get": {
  2242. "tags": [
  2243. "会员管理"
  2244. ],
  2245. "summary": "分页列表",
  2246. "consumes": [
  2247. "text/plain"
  2248. ],
  2249. "parameters": [
  2250. {
  2251. "name": "accessType",
  2252. "in": "query",
  2253. "required": false,
  2254. "description": "访问情况, 0 = 全部, 1 = 首次, 2 = 访问过, 3 = 未访问",
  2255. "type": "string"
  2256. },
  2257. {
  2258. "name": "city",
  2259. "in": "query",
  2260. "required": false,
  2261. "description": "城市",
  2262. "type": "string"
  2263. },
  2264. {
  2265. "name": "country",
  2266. "in": "query",
  2267. "required": false,
  2268. "description": "国家",
  2269. "type": "string"
  2270. },
  2271. {
  2272. "name": "data",
  2273. "in": "query",
  2274. "required": false,
  2275. "description": "时间",
  2276. "type": "string"
  2277. },
  2278. {
  2279. "name": "groupId",
  2280. "in": "query",
  2281. "required": false,
  2282. "description": "用户分组",
  2283. "type": "string"
  2284. },
  2285. {
  2286. "name": "isPromoter",
  2287. "in": "query",
  2288. "required": false,
  2289. "description": "是否为推广员, 0 = 禁止, 1 = 正常",
  2290. "type": "string"
  2291. },
  2292. {
  2293. "name": "keywords",
  2294. "in": "query",
  2295. "required": false,
  2296. "description": "关键字",
  2297. "type": "string"
  2298. },
  2299. {
  2300. "name": "labelId",
  2301. "in": "query",
  2302. "required": false,
  2303. "description": "用户标签",
  2304. "type": "string"
  2305. },
  2306. {
  2307. "name": "level",
  2308. "in": "query",
  2309. "required": false,
  2310. "description": "等级",
  2311. "type": "string"
  2312. },
  2313. {
  2314. "name": "limit",
  2315. "in": "query",
  2316. "required": false,
  2317. "description": "每页数量",
  2318. "type": "string"
  2319. },
  2320. {
  2321. "name": "loginType",
  2322. "in": "query",
  2323. "required": false,
  2324. "description": "用户登陆类型,h5 = h5, wechat = wechat,routine = routine",
  2325. "type": "string"
  2326. },
  2327. {
  2328. "name": "page",
  2329. "in": "query",
  2330. "required": false,
  2331. "description": "页码",
  2332. "type": "string"
  2333. },
  2334. {
  2335. "name": "payCount",
  2336. "in": "query",
  2337. "required": false,
  2338. "description": "消费情况",
  2339. "type": "string"
  2340. },
  2341. {
  2342. "name": "province",
  2343. "in": "query",
  2344. "required": false,
  2345. "description": "省份",
  2346. "type": "string"
  2347. },
  2348. {
  2349. "name": "sex",
  2350. "in": "query",
  2351. "required": false,
  2352. "description": "性别",
  2353. "type": "string"
  2354. },
  2355. {
  2356. "name": "status",
  2357. "in": "query",
  2358. "required": false,
  2359. "description": "状态是否正常, 0 = 禁止, 1 = 正常",
  2360. "type": "string"
  2361. },
  2362. {
  2363. "name": "raw",
  2364. "in": "body",
  2365. "description": "raw paramter",
  2366. "schema": {
  2367. "type": "string",
  2368. "format": "binary"
  2369. }
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "successful operation",
  2375. "schema": {
  2376. "type": "object",
  2377. "properties": {
  2378. "code": {
  2379. "type": "integer",
  2380. "format": "int64"
  2381. },
  2382. "data": {
  2383. "type": "object",
  2384. "properties": {
  2385. "limit": {
  2386. "type": "integer",
  2387. "format": "int32"
  2388. },
  2389. "list": {
  2390. "type": "array",
  2391. "items": {
  2392. "type": "object",
  2393. "properties": {
  2394. "account": {
  2395. "type": "string",
  2396. "description": "用户账号"
  2397. },
  2398. "addIp": {
  2399. "type": "string",
  2400. "description": "添加ip"
  2401. },
  2402. "addres": {
  2403. "type": "string",
  2404. "description": "详细地址"
  2405. },
  2406. "adminid": {
  2407. "type": "integer",
  2408. "format": "int32",
  2409. "description": "管理员编号 "
  2410. },
  2411. "avatar": {
  2412. "type": "string",
  2413. "description": "用户头像"
  2414. },
  2415. "birthday": {
  2416. "type": "string",
  2417. "description": "生日"
  2418. },
  2419. "brokeragePrice": {
  2420. "type": "number",
  2421. "description": "佣金金额"
  2422. },
  2423. "cardId": {
  2424. "type": "string",
  2425. "description": "身份证号码"
  2426. },
  2427. "cleanTime": {
  2428. "type": "string",
  2429. "format": "date-time",
  2430. "description": "清除时间"
  2431. },
  2432. "createTime": {
  2433. "type": "string",
  2434. "format": "date-time",
  2435. "description": "创建时间"
  2436. },
  2437. "experience": {
  2438. "type": "integer",
  2439. "format": "int32",
  2440. "description": "用户剩余经验"
  2441. },
  2442. "groupId": {
  2443. "type": "integer",
  2444. "format": "int32",
  2445. "description": "用户分组id"
  2446. },
  2447. "groupName": {
  2448. "type": "string",
  2449. "description": "分组名称"
  2450. },
  2451. "integral": {
  2452. "type": "number",
  2453. "description": "用户剩余积分"
  2454. },
  2455. "isPromoter": {
  2456. "type": "boolean",
  2457. "description": "是否为推广员"
  2458. },
  2459. "lastIp": {
  2460. "type": "string",
  2461. "description": "最后一次登录ip"
  2462. },
  2463. "lastLoginTime": {
  2464. "type": "string",
  2465. "format": "date-time",
  2466. "description": "最后一次登录时间"
  2467. },
  2468. "level": {
  2469. "type": "integer",
  2470. "format": "int32",
  2471. "description": "等级"
  2472. },
  2473. "loginType": {
  2474. "type": "string",
  2475. "description": "用户登陆类型,h5,wechat,routine"
  2476. },
  2477. "mark": {
  2478. "type": "string",
  2479. "description": "用户备注"
  2480. },
  2481. "nickname": {
  2482. "type": "string",
  2483. "description": "用户昵称"
  2484. },
  2485. "nowMoney": {
  2486. "type": "number",
  2487. "description": "用户余额"
  2488. },
  2489. "partnerId": {
  2490. "type": "integer",
  2491. "format": "int32",
  2492. "description": "合伙人id"
  2493. },
  2494. "payCount": {
  2495. "type": "integer",
  2496. "format": "int32",
  2497. "description": "用户购买次数"
  2498. },
  2499. "phone": {
  2500. "type": "string",
  2501. "description": "手机号码"
  2502. },
  2503. "realName": {
  2504. "type": "string",
  2505. "description": "真实姓名"
  2506. },
  2507. "signNum": {
  2508. "type": "integer",
  2509. "format": "int32",
  2510. "description": "连续签到天数"
  2511. },
  2512. "spreadCount": {
  2513. "type": "integer",
  2514. "format": "int32",
  2515. "description": "下级人数"
  2516. },
  2517. "spreadNickname": {
  2518. "type": "string",
  2519. "description": "推广员名称"
  2520. },
  2521. "spreadTime": {
  2522. "type": "string",
  2523. "format": "date-time",
  2524. "description": "推广员关联时间"
  2525. },
  2526. "spreadUid": {
  2527. "type": "integer",
  2528. "format": "int32",
  2529. "description": "推广人id"
  2530. },
  2531. "status": {
  2532. "type": "boolean",
  2533. "description": "1为正常,0为禁止"
  2534. },
  2535. "tagName": {
  2536. "type": "string",
  2537. "description": "标签名称"
  2538. },
  2539. "uid": {
  2540. "type": "integer",
  2541. "format": "int32",
  2542. "description": "用户id"
  2543. },
  2544. "updateTime": {
  2545. "type": "string",
  2546. "format": "date-time",
  2547. "description": "创建时间"
  2548. },
  2549. "userType": {
  2550. "type": "string",
  2551. "description": "用户类型"
  2552. }
  2553. },
  2554. "title": "UserResponse",
  2555. "$$ref": "#/definitions/UserResponse"
  2556. }
  2557. },
  2558. "page": {
  2559. "type": "integer",
  2560. "format": "int32"
  2561. },
  2562. "total": {
  2563. "type": "integer",
  2564. "format": "int64"
  2565. },
  2566. "totalPage": {
  2567. "type": "integer",
  2568. "format": "int32"
  2569. }
  2570. },
  2571. "title": "CommonPage«UserResponse»",
  2572. "$$ref": "#/definitions/CommonPage«UserResponse»"
  2573. },
  2574. "message": {
  2575. "type": "string"
  2576. }
  2577. },
  2578. "title": "CommonResult«CommonPage«UserResponse»»",
  2579. "$$ref": "#/definitions/CommonResult«CommonPage«UserResponse»»"
  2580. }
  2581. }
  2582. }
  2583. }
  2584. },
  2585. "/api/admin/user/delete": {
  2586. "get": {
  2587. "tags": [
  2588. "会员管理"
  2589. ],
  2590. "summary": "删除",
  2591. "consumes": [
  2592. "text/plain"
  2593. ],
  2594. "parameters": [
  2595. {
  2596. "name": "id",
  2597. "in": "query",
  2598. "required": false,
  2599. "description": "id",
  2600. "type": "string"
  2601. },
  2602. {
  2603. "name": "raw",
  2604. "in": "body",
  2605. "description": "raw paramter",
  2606. "schema": {
  2607. "type": "string",
  2608. "format": "binary"
  2609. }
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "successful operation",
  2615. "schema": {
  2616. "type": "object",
  2617. "properties": {
  2618. "code": {
  2619. "type": "integer",
  2620. "format": "int64"
  2621. },
  2622. "data": {
  2623. "type": "string"
  2624. },
  2625. "message": {
  2626. "type": "string"
  2627. }
  2628. },
  2629. "title": "CommonResult«string»",
  2630. "$$ref": "#/definitions/CommonResult«string»"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/api/admin/user/tag": {
  2637. "post": {
  2638. "tags": [
  2639. "会员管理"
  2640. ],
  2641. "summary": "标签",
  2642. "consumes": [
  2643. "application/json"
  2644. ],
  2645. "parameters": [
  2646. {
  2647. "name": "id",
  2648. "in": "query",
  2649. "required": false,
  2650. "description": "id",
  2651. "type": "string"
  2652. },
  2653. {
  2654. "name": "tagId",
  2655. "in": "query",
  2656. "required": false,
  2657. "description": "tagId",
  2658. "type": "string"
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "successful operation",
  2664. "schema": {
  2665. "type": "object",
  2666. "properties": {
  2667. "code": {
  2668. "type": "integer",
  2669. "format": "int64"
  2670. },
  2671. "data": {
  2672. "type": "string"
  2673. },
  2674. "message": {
  2675. "type": "string"
  2676. }
  2677. },
  2678. "title": "CommonResult«string»",
  2679. "$$ref": "#/definitions/CommonResult«string»"
  2680. }
  2681. }
  2682. }
  2683. }
  2684. },
  2685. "/api/admin/user/operate/founds": {
  2686. "get": {
  2687. "tags": [
  2688. "会员管理"
  2689. ],
  2690. "summary": "积分余额",
  2691. "consumes": [
  2692. "text/plain"
  2693. ],
  2694. "parameters": [
  2695. {
  2696. "name": "integralType",
  2697. "in": "query",
  2698. "required": false,
  2699. "description": "积分类型, 1 = 增加, 2 = 减少",
  2700. "type": "string"
  2701. },
  2702. {
  2703. "name": "integralValue",
  2704. "in": "query",
  2705. "required": false,
  2706. "description": "积分",
  2707. "type": "string"
  2708. },
  2709. {
  2710. "name": "moneyType",
  2711. "in": "query",
  2712. "required": false,
  2713. "description": "余额类型, 1 = 增加, 2 = 减少",
  2714. "type": "string"
  2715. },
  2716. {
  2717. "name": "moneyValue",
  2718. "in": "query",
  2719. "required": false,
  2720. "description": "余额",
  2721. "type": "string"
  2722. },
  2723. {
  2724. "name": "uid",
  2725. "in": "query",
  2726. "required": false,
  2727. "description": "uid",
  2728. "type": "string"
  2729. },
  2730. {
  2731. "name": "raw",
  2732. "in": "body",
  2733. "description": "raw paramter",
  2734. "schema": {
  2735. "type": "string",
  2736. "format": "binary"
  2737. }
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "successful operation",
  2743. "schema": {
  2744. "type": "object",
  2745. "properties": {
  2746. "code": {
  2747. "type": "integer",
  2748. "format": "int64"
  2749. },
  2750. "data": {
  2751. "type": "object"
  2752. },
  2753. "message": {
  2754. "type": "string"
  2755. }
  2756. },
  2757. "title": "CommonResult«object»",
  2758. "$$ref": "#/definitions/CommonResult«object»"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/api/admin/user/info": {
  2765. "get": {
  2766. "tags": [
  2767. "会员管理"
  2768. ],
  2769. "summary": "详情",
  2770. "consumes": [
  2771. "text/plain"
  2772. ],
  2773. "parameters": [
  2774. {
  2775. "name": "id",
  2776. "in": "query",
  2777. "required": false,
  2778. "description": "id",
  2779. "type": "string"
  2780. },
  2781. {
  2782. "name": "raw",
  2783. "in": "body",
  2784. "description": "raw paramter",
  2785. "schema": {
  2786. "type": "string",
  2787. "format": "binary"
  2788. }
  2789. }
  2790. ],
  2791. "responses": {
  2792. "200": {
  2793. "description": "successful operation",
  2794. "schema": {
  2795. "type": "object",
  2796. "properties": {
  2797. "code": {
  2798. "type": "integer",
  2799. "format": "int64"
  2800. },
  2801. "data": {
  2802. "type": "object",
  2803. "properties": {
  2804. "account": {
  2805. "type": "string",
  2806. "description": "用户账号"
  2807. },
  2808. "addIp": {
  2809. "type": "string",
  2810. "description": "添加ip"
  2811. },
  2812. "addres": {
  2813. "type": "string",
  2814. "description": "详细地址"
  2815. },
  2816. "adminid": {
  2817. "type": "integer",
  2818. "format": "int32",
  2819. "description": "管理员编号 "
  2820. },
  2821. "avatar": {
  2822. "type": "string",
  2823. "description": "用户头像"
  2824. },
  2825. "birthday": {
  2826. "type": "string",
  2827. "description": "生日"
  2828. },
  2829. "brokeragePrice": {
  2830. "type": "number",
  2831. "description": "佣金金额"
  2832. },
  2833. "cardId": {
  2834. "type": "string",
  2835. "description": "身份证号码"
  2836. },
  2837. "cleanTime": {
  2838. "type": "string",
  2839. "format": "date-time",
  2840. "description": "最后一次登录时间"
  2841. },
  2842. "createTime": {
  2843. "type": "string",
  2844. "format": "date-time",
  2845. "description": "创建时间"
  2846. },
  2847. "experience": {
  2848. "type": "integer",
  2849. "format": "int32",
  2850. "description": "用户剩余经验"
  2851. },
  2852. "groupId": {
  2853. "type": "string",
  2854. "description": "用户分组id"
  2855. },
  2856. "integral": {
  2857. "type": "number",
  2858. "description": "用户剩余积分"
  2859. },
  2860. "isPromoter": {
  2861. "type": "boolean",
  2862. "description": "是否为推广员"
  2863. },
  2864. "lastIp": {
  2865. "type": "string",
  2866. "description": "最后一次登录ip"
  2867. },
  2868. "lastLoginTime": {
  2869. "type": "string",
  2870. "format": "date-time",
  2871. "description": "最后一次登录时间"
  2872. },
  2873. "level": {
  2874. "type": "integer",
  2875. "format": "int32",
  2876. "description": "等级"
  2877. },
  2878. "loginType": {
  2879. "type": "string",
  2880. "description": "用户登陆类型,h5,wechat,routine"
  2881. },
  2882. "mark": {
  2883. "type": "string",
  2884. "description": "用户备注"
  2885. },
  2886. "nickname": {
  2887. "type": "string",
  2888. "description": "用户昵称"
  2889. },
  2890. "nowMoney": {
  2891. "type": "number",
  2892. "description": "用户余额"
  2893. },
  2894. "partnerId": {
  2895. "type": "integer",
  2896. "format": "int32",
  2897. "description": "合伙人id"
  2898. },
  2899. "path": {
  2900. "type": "string",
  2901. "description": "用户推广等级"
  2902. },
  2903. "payCount": {
  2904. "type": "integer",
  2905. "format": "int32",
  2906. "description": "用户购买次数"
  2907. },
  2908. "phone": {
  2909. "type": "string",
  2910. "description": "手机号码"
  2911. },
  2912. "realName": {
  2913. "type": "string",
  2914. "description": "真实姓名"
  2915. },
  2916. "signNum": {
  2917. "type": "integer",
  2918. "format": "int32",
  2919. "description": "连续签到天数"
  2920. },
  2921. "spreadCount": {
  2922. "type": "integer",
  2923. "format": "int32",
  2924. "description": "下级人数"
  2925. },
  2926. "spreadTime": {
  2927. "type": "string",
  2928. "format": "date-time",
  2929. "description": "推广员关联时间"
  2930. },
  2931. "spreadUid": {
  2932. "type": "integer",
  2933. "format": "int32",
  2934. "description": "推广人id"
  2935. },
  2936. "status": {
  2937. "type": "boolean",
  2938. "description": "1为正常,0为禁止"
  2939. },
  2940. "subscribe": {
  2941. "type": "boolean",
  2942. "description": "是否关注公众号"
  2943. },
  2944. "tagId": {
  2945. "type": "string",
  2946. "description": "用户标签id"
  2947. },
  2948. "uid": {
  2949. "type": "integer",
  2950. "format": "int32",
  2951. "description": "用户id"
  2952. },
  2953. "updateTime": {
  2954. "type": "string",
  2955. "format": "date-time",
  2956. "description": "创建时间"
  2957. },
  2958. "userType": {
  2959. "type": "string",
  2960. "description": "用户类型"
  2961. }
  2962. },
  2963. "title": "User对象",
  2964. "description": "用户表",
  2965. "$$ref": "#/definitions/User对象"
  2966. },
  2967. "message": {
  2968. "type": "string"
  2969. }
  2970. },
  2971. "title": "CommonResult«User对象»",
  2972. "$$ref": "#/definitions/CommonResult«User对象»"
  2973. }
  2974. }
  2975. }
  2976. }
  2977. },
  2978. "/api/admin/user/bill/update": {
  2979. "post": {
  2980. "tags": [
  2981. "会员管理 -- 用户账单"
  2982. ],
  2983. "summary": "修改",
  2984. "consumes": [
  2985. "application/json"
  2986. ],
  2987. "parameters": [
  2988. {
  2989. "name": "balance",
  2990. "in": "query",
  2991. "required": false,
  2992. "description": "剩余",
  2993. "type": "string"
  2994. },
  2995. {
  2996. "name": "category",
  2997. "in": "query",
  2998. "required": false,
  2999. "description": "明细种类",
  3000. "type": "string"
  3001. },
  3002. {
  3003. "name": "id",
  3004. "in": "query",
  3005. "required": false,
  3006. "description": "id",
  3007. "type": "string"
  3008. },
  3009. {
  3010. "name": "linkId",
  3011. "in": "query",
  3012. "required": false,
  3013. "description": "关联id",
  3014. "type": "string"
  3015. },
  3016. {
  3017. "name": "mark",
  3018. "in": "query",
  3019. "required": false,
  3020. "description": "备注",
  3021. "type": "string"
  3022. },
  3023. {
  3024. "name": "number",
  3025. "in": "query",
  3026. "required": false,
  3027. "description": "明细数字",
  3028. "type": "string"
  3029. },
  3030. {
  3031. "name": "pm",
  3032. "in": "query",
  3033. "required": false,
  3034. "description": "0 = 支出 1 = 获得",
  3035. "type": "string"
  3036. },
  3037. {
  3038. "name": "status",
  3039. "in": "query",
  3040. "required": false,
  3041. "description": "0 = 带确定 1 = 有效 -1 = 无效",
  3042. "type": "string"
  3043. },
  3044. {
  3045. "name": "title",
  3046. "in": "query",
  3047. "required": false,
  3048. "description": "账单标题",
  3049. "type": "string"
  3050. },
  3051. {
  3052. "name": "type",
  3053. "in": "query",
  3054. "required": false,
  3055. "description": "明细类型",
  3056. "type": "string"
  3057. },
  3058. {
  3059. "name": "uid",
  3060. "in": "query",
  3061. "required": false,
  3062. "description": "用户uid",
  3063. "type": "string"
  3064. }
  3065. ],
  3066. "responses": {
  3067. "200": {
  3068. "description": "successful operation",
  3069. "schema": {
  3070. "type": "object",
  3071. "properties": {
  3072. "code": {
  3073. "type": "integer",
  3074. "format": "int64"
  3075. },
  3076. "data": {
  3077. "type": "string"
  3078. },
  3079. "message": {
  3080. "type": "string"
  3081. }
  3082. },
  3083. "title": "CommonResult«string»",
  3084. "$$ref": "#/definitions/CommonResult«string»"
  3085. }
  3086. }
  3087. }
  3088. }
  3089. },
  3090. "/api/admin/user/bill/list": {
  3091. "post": {
  3092. "tags": [
  3093. "会员管理 -- 用户账单"
  3094. ],
  3095. "summary": "分页列表",
  3096. "consumes": [
  3097. "application/json"
  3098. ],
  3099. "parameters": [
  3100. {
  3101. "name": "limit",
  3102. "in": "query",
  3103. "required": false,
  3104. "description": "每页数量",
  3105. "type": "string"
  3106. },
  3107. {
  3108. "name": "page",
  3109. "in": "query",
  3110. "required": false,
  3111. "description": "页码",
  3112. "type": "string"
  3113. },
  3114. {
  3115. "name": "root",
  3116. "in": "body",
  3117. "description": "资金监控",
  3118. "schema": {
  3119. "type": "object",
  3120. "properties": {
  3121. "category": {
  3122. "type": "string",
  3123. "description": "类型"
  3124. },
  3125. "dateLimit": {
  3126. "type": "string",
  3127. "description": "添加时间"
  3128. },
  3129. "keywords": {
  3130. "type": "string",
  3131. "description": "搜索关键字"
  3132. },
  3133. "max": {
  3134. "type": "number",
  3135. "description": "最大佣金"
  3136. },
  3137. "min": {
  3138. "type": "number",
  3139. "description": "最小佣金"
  3140. },
  3141. "sort": {
  3142. "type": "string",
  3143. "description": "排序 asc/desc"
  3144. },
  3145. "type": {
  3146. "type": "string",
  3147. "description": "类型"
  3148. },
  3149. "uid": {
  3150. "type": "integer",
  3151. "format": "int32",
  3152. "description": "用户id list"
  3153. },
  3154. "userIdList": {
  3155. "type": "array",
  3156. "description": "用户id list",
  3157. "items": {
  3158. "type": "integer",
  3159. "format": "int32"
  3160. }
  3161. }
  3162. },
  3163. "title": "FundsMonitorSearchRequest对象",
  3164. "description": "资金监控",
  3165. "$$ref": "#/definitions/FundsMonitorSearchRequest对象"
  3166. }
  3167. }
  3168. ],
  3169. "responses": {
  3170. "200": {
  3171. "description": "successful operation",
  3172. "schema": {
  3173. "type": "object",
  3174. "properties": {
  3175. "code": {
  3176. "type": "integer",
  3177. "format": "int64"
  3178. },
  3179. "data": {
  3180. "type": "object",
  3181. "properties": {
  3182. "limit": {
  3183. "type": "integer",
  3184. "format": "int32"
  3185. },
  3186. "list": {
  3187. "type": "array",
  3188. "items": {
  3189. "type": "object",
  3190. "properties": {
  3191. "add_time": {
  3192. "type": "string",
  3193. "format": "date-time",
  3194. "description": "创建时间"
  3195. },
  3196. "balance": {
  3197. "type": "number",
  3198. "description": "剩余"
  3199. },
  3200. "category": {
  3201. "type": "string",
  3202. "description": "明细种类"
  3203. },
  3204. "createTime": {
  3205. "type": "string",
  3206. "format": "date-time",
  3207. "description": "创建时间"
  3208. },
  3209. "id": {
  3210. "type": "integer",
  3211. "format": "int32",
  3212. "description": "用户账单id"
  3213. },
  3214. "linkId": {
  3215. "type": "string",
  3216. "description": "关联id"
  3217. },
  3218. "mark": {
  3219. "type": "string",
  3220. "description": "备注"
  3221. },
  3222. "nickName": {
  3223. "type": "string",
  3224. "description": "用户呢成"
  3225. },
  3226. "number": {
  3227. "type": "number",
  3228. "description": "明细数字"
  3229. },
  3230. "pm": {
  3231. "type": "integer",
  3232. "format": "int32",
  3233. "description": "0 = 支出 1 = 获得"
  3234. },
  3235. "status": {
  3236. "type": "integer",
  3237. "format": "int32",
  3238. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  3239. },
  3240. "title": {
  3241. "type": "string",
  3242. "description": "账单标题"
  3243. },
  3244. "type": {
  3245. "type": "string",
  3246. "description": "明细类型"
  3247. },
  3248. "uid": {
  3249. "type": "integer",
  3250. "format": "int32",
  3251. "description": "用户uid"
  3252. },
  3253. "updateTime": {
  3254. "type": "string",
  3255. "format": "date-time",
  3256. "description": "创建时间"
  3257. }
  3258. },
  3259. "title": "UserBill对象",
  3260. "description": "用户账单表",
  3261. "$$ref": "#/definitions/UserBill对象"
  3262. }
  3263. },
  3264. "page": {
  3265. "type": "integer",
  3266. "format": "int32"
  3267. },
  3268. "total": {
  3269. "type": "integer",
  3270. "format": "int64"
  3271. },
  3272. "totalPage": {
  3273. "type": "integer",
  3274. "format": "int32"
  3275. }
  3276. },
  3277. "title": "CommonPage«UserBill对象»",
  3278. "$$ref": "#/definitions/CommonPage«UserBill对象»"
  3279. },
  3280. "message": {
  3281. "type": "string"
  3282. }
  3283. },
  3284. "title": "CommonResult«CommonPage«UserBill对象»»",
  3285. "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
  3286. }
  3287. }
  3288. }
  3289. }
  3290. },
  3291. "/api/admin/user/bill/delete": {
  3292. "get": {
  3293. "tags": [
  3294. "会员管理 -- 用户账单"
  3295. ],
  3296. "summary": "删除",
  3297. "consumes": [
  3298. "text/plain"
  3299. ],
  3300. "parameters": [
  3301. {
  3302. "name": "id",
  3303. "in": "query",
  3304. "required": false,
  3305. "description": "id",
  3306. "type": "string"
  3307. },
  3308. {
  3309. "name": "raw",
  3310. "in": "body",
  3311. "description": "raw paramter",
  3312. "schema": {
  3313. "type": "string",
  3314. "format": "binary"
  3315. }
  3316. }
  3317. ],
  3318. "responses": {
  3319. "200": {
  3320. "description": "successful operation",
  3321. "schema": {
  3322. "type": "object",
  3323. "properties": {
  3324. "code": {
  3325. "type": "integer",
  3326. "format": "int64"
  3327. },
  3328. "data": {
  3329. "type": "string"
  3330. },
  3331. "message": {
  3332. "type": "string"
  3333. }
  3334. },
  3335. "title": "CommonResult«string»",
  3336. "$$ref": "#/definitions/CommonResult«string»"
  3337. }
  3338. }
  3339. }
  3340. }
  3341. },
  3342. "/api/admin/user/bill/save": {
  3343. "post": {
  3344. "tags": [
  3345. "会员管理 -- 用户账单"
  3346. ],
  3347. "summary": "新增",
  3348. "consumes": [
  3349. "application/json"
  3350. ],
  3351. "parameters": [
  3352. {
  3353. "name": "balance",
  3354. "in": "query",
  3355. "required": false,
  3356. "description": "剩余",
  3357. "type": "string"
  3358. },
  3359. {
  3360. "name": "category",
  3361. "in": "query",
  3362. "required": false,
  3363. "description": "明细种类",
  3364. "type": "string"
  3365. },
  3366. {
  3367. "name": "linkId",
  3368. "in": "query",
  3369. "required": false,
  3370. "description": "关联id",
  3371. "type": "string"
  3372. },
  3373. {
  3374. "name": "mark",
  3375. "in": "query",
  3376. "required": false,
  3377. "description": "备注",
  3378. "type": "string"
  3379. },
  3380. {
  3381. "name": "number",
  3382. "in": "query",
  3383. "required": false,
  3384. "description": "明细数字",
  3385. "type": "string"
  3386. },
  3387. {
  3388. "name": "pm",
  3389. "in": "query",
  3390. "required": false,
  3391. "description": "0 = 支出 1 = 获得",
  3392. "type": "string"
  3393. },
  3394. {
  3395. "name": "status",
  3396. "in": "query",
  3397. "required": false,
  3398. "description": "0 = 带确定 1 = 有效 -1 = 无效",
  3399. "type": "string"
  3400. },
  3401. {
  3402. "name": "title",
  3403. "in": "query",
  3404. "required": false,
  3405. "description": "账单标题",
  3406. "type": "string"
  3407. },
  3408. {
  3409. "name": "type",
  3410. "in": "query",
  3411. "required": false,
  3412. "description": "明细类型",
  3413. "type": "string"
  3414. },
  3415. {
  3416. "name": "uid",
  3417. "in": "query",
  3418. "required": false,
  3419. "description": "用户uid",
  3420. "type": "string"
  3421. }
  3422. ],
  3423. "responses": {
  3424. "200": {
  3425. "description": "successful operation",
  3426. "schema": {
  3427. "type": "object",
  3428. "properties": {
  3429. "code": {
  3430. "type": "integer",
  3431. "format": "int64"
  3432. },
  3433. "data": {
  3434. "type": "string"
  3435. },
  3436. "message": {
  3437. "type": "string"
  3438. }
  3439. },
  3440. "title": "CommonResult«string»",
  3441. "$$ref": "#/definitions/CommonResult«string»"
  3442. }
  3443. }
  3444. }
  3445. }
  3446. },
  3447. "/api/admin/user/bill/info": {
  3448. "get": {
  3449. "tags": [
  3450. "会员管理 -- 用户账单"
  3451. ],
  3452. "summary": "详情",
  3453. "consumes": [
  3454. "text/plain"
  3455. ],
  3456. "parameters": [
  3457. {
  3458. "name": "id",
  3459. "in": "query",
  3460. "required": false,
  3461. "description": "id",
  3462. "type": "string"
  3463. },
  3464. {
  3465. "name": "raw",
  3466. "in": "body",
  3467. "description": "raw paramter",
  3468. "schema": {
  3469. "type": "string",
  3470. "format": "binary"
  3471. }
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "successful operation",
  3477. "schema": {
  3478. "type": "object",
  3479. "properties": {
  3480. "code": {
  3481. "type": "integer",
  3482. "format": "int64"
  3483. },
  3484. "data": {
  3485. "type": "object",
  3486. "properties": {
  3487. "add_time": {
  3488. "type": "string",
  3489. "format": "date-time",
  3490. "description": "创建时间"
  3491. },
  3492. "balance": {
  3493. "type": "number",
  3494. "description": "剩余"
  3495. },
  3496. "category": {
  3497. "type": "string",
  3498. "description": "明细种类"
  3499. },
  3500. "createTime": {
  3501. "type": "string",
  3502. "format": "date-time",
  3503. "description": "创建时间"
  3504. },
  3505. "id": {
  3506. "type": "integer",
  3507. "format": "int32",
  3508. "description": "用户账单id"
  3509. },
  3510. "linkId": {
  3511. "type": "string",
  3512. "description": "关联id"
  3513. },
  3514. "mark": {
  3515. "type": "string",
  3516. "description": "备注"
  3517. },
  3518. "nickName": {
  3519. "type": "string",
  3520. "description": "用户呢成"
  3521. },
  3522. "number": {
  3523. "type": "number",
  3524. "description": "明细数字"
  3525. },
  3526. "pm": {
  3527. "type": "integer",
  3528. "format": "int32",
  3529. "description": "0 = 支出 1 = 获得"
  3530. },
  3531. "status": {
  3532. "type": "integer",
  3533. "format": "int32",
  3534. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  3535. },
  3536. "title": {
  3537. "type": "string",
  3538. "description": "账单标题"
  3539. },
  3540. "type": {
  3541. "type": "string",
  3542. "description": "明细类型"
  3543. },
  3544. "uid": {
  3545. "type": "integer",
  3546. "format": "int32",
  3547. "description": "用户uid"
  3548. },
  3549. "updateTime": {
  3550. "type": "string",
  3551. "format": "date-time",
  3552. "description": "创建时间"
  3553. }
  3554. },
  3555. "title": "UserBill对象",
  3556. "description": "用户账单表",
  3557. "$$ref": "#/definitions/UserBill对象"
  3558. },
  3559. "message": {
  3560. "type": "string"
  3561. }
  3562. },
  3563. "title": "CommonResult«UserBill对象»",
  3564. "$$ref": "#/definitions/CommonResult«UserBill对象»"
  3565. }
  3566. }
  3567. }
  3568. }
  3569. },
  3570. "/api/admin/category/update": {
  3571. "post": {
  3572. "tags": [
  3573. "分类服务"
  3574. ],
  3575. "summary": "修改",
  3576. "consumes": [
  3577. "application/json"
  3578. ],
  3579. "parameters": [
  3580. {
  3581. "name": "extra",
  3582. "in": "query",
  3583. "required": false,
  3584. "description": "扩展字段",
  3585. "type": "string"
  3586. },
  3587. {
  3588. "name": "id",
  3589. "in": "query",
  3590. "required": false,
  3591. "description": "分类ID",
  3592. "type": "string"
  3593. },
  3594. {
  3595. "name": "name",
  3596. "in": "query",
  3597. "required": false,
  3598. "description": "分类名称",
  3599. "type": "string"
  3600. },
  3601. {
  3602. "name": "pid",
  3603. "in": "query",
  3604. "required": false,
  3605. "description": "父级ID",
  3606. "type": "string"
  3607. },
  3608. {
  3609. "name": "sort",
  3610. "in": "query",
  3611. "required": false,
  3612. "description": "排序",
  3613. "type": "string"
  3614. },
  3615. {
  3616. "name": "status",
  3617. "in": "query",
  3618. "required": false,
  3619. "description": "状态, 0正常,1失效",
  3620. "type": "string"
  3621. },
  3622. {
  3623. "name": "type",
  3624. "in": "query",
  3625. "required": false,
  3626. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
  3627. "type": "string"
  3628. },
  3629. {
  3630. "name": "url",
  3631. "in": "query",
  3632. "required": false,
  3633. "description": "地址",
  3634. "type": "string"
  3635. }
  3636. ],
  3637. "responses": {
  3638. "200": {
  3639. "description": "successful operation",
  3640. "schema": {
  3641. "type": "object",
  3642. "properties": {
  3643. "code": {
  3644. "type": "integer",
  3645. "format": "int64"
  3646. },
  3647. "data": {
  3648. "type": "string"
  3649. },
  3650. "message": {
  3651. "type": "string"
  3652. }
  3653. },
  3654. "title": "CommonResult«string»",
  3655. "$$ref": "#/definitions/CommonResult«string»"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/api/admin/category/list": {
  3662. "get": {
  3663. "tags": [
  3664. "分类服务"
  3665. ],
  3666. "summary": "分页列表",
  3667. "consumes": [
  3668. "text/plain"
  3669. ],
  3670. "parameters": [
  3671. {
  3672. "name": "limit",
  3673. "in": "query",
  3674. "required": false,
  3675. "description": "每页数量",
  3676. "type": "string"
  3677. },
  3678. {
  3679. "name": "name",
  3680. "in": "query",
  3681. "required": false,
  3682. "description": "分类名称",
  3683. "type": "string"
  3684. },
  3685. {
  3686. "name": "page",
  3687. "in": "query",
  3688. "required": false,
  3689. "description": "页码",
  3690. "type": "string"
  3691. },
  3692. {
  3693. "name": "pid",
  3694. "in": "query",
  3695. "required": false,
  3696. "description": "父级ID",
  3697. "type": "string"
  3698. },
  3699. {
  3700. "name": "status",
  3701. "in": "query",
  3702. "required": false,
  3703. "description": "状态, 0正常,1失效",
  3704. "type": "string"
  3705. },
  3706. {
  3707. "name": "type",
  3708. "in": "query",
  3709. "required": false,
  3710. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
  3711. "type": "string"
  3712. },
  3713. {
  3714. "name": "raw",
  3715. "in": "body",
  3716. "description": "raw paramter",
  3717. "schema": {
  3718. "type": "string",
  3719. "format": "binary"
  3720. }
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "successful operation",
  3726. "schema": {
  3727. "type": "object",
  3728. "properties": {
  3729. "code": {
  3730. "type": "integer",
  3731. "format": "int64"
  3732. },
  3733. "data": {
  3734. "type": "object",
  3735. "properties": {
  3736. "limit": {
  3737. "type": "integer",
  3738. "format": "int32"
  3739. },
  3740. "list": {
  3741. "type": "array",
  3742. "items": {
  3743. "type": "object",
  3744. "properties": {
  3745. "extra": {
  3746. "type": "string",
  3747. "description": "扩展字段"
  3748. },
  3749. "id": {
  3750. "type": "integer",
  3751. "format": "int32"
  3752. },
  3753. "name": {
  3754. "type": "string",
  3755. "description": "分类名称"
  3756. },
  3757. "path": {
  3758. "type": "string",
  3759. "description": "路径"
  3760. },
  3761. "pid": {
  3762. "type": "integer",
  3763. "format": "int32",
  3764. "description": "父级ID"
  3765. },
  3766. "sort": {
  3767. "type": "integer",
  3768. "format": "int32",
  3769. "description": "排序"
  3770. },
  3771. "status": {
  3772. "type": "boolean",
  3773. "description": "状态, 0正常,1失效"
  3774. },
  3775. "type": {
  3776. "type": "integer",
  3777. "format": "int32",
  3778. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  3779. },
  3780. "url": {
  3781. "type": "string",
  3782. "description": "地址"
  3783. }
  3784. },
  3785. "title": "Category对象",
  3786. "description": "分类表",
  3787. "$$ref": "#/definitions/Category对象"
  3788. }
  3789. },
  3790. "page": {
  3791. "type": "integer",
  3792. "format": "int32"
  3793. },
  3794. "total": {
  3795. "type": "integer",
  3796. "format": "int64"
  3797. },
  3798. "totalPage": {
  3799. "type": "integer",
  3800. "format": "int32"
  3801. }
  3802. },
  3803. "title": "CommonPage«Category对象»",
  3804. "$$ref": "#/definitions/CommonPage«Category对象»"
  3805. },
  3806. "message": {
  3807. "type": "string"
  3808. }
  3809. },
  3810. "title": "CommonResult«CommonPage«Category对象»»",
  3811. "$$ref": "#/definitions/CommonResult«CommonPage«Category对象»»"
  3812. }
  3813. }
  3814. }
  3815. }
  3816. },
  3817. "/api/admin/category/delete": {
  3818. "get": {
  3819. "tags": [
  3820. "分类服务"
  3821. ],
  3822. "summary": "删除",
  3823. "consumes": [
  3824. "text/plain"
  3825. ],
  3826. "parameters": [
  3827. {
  3828. "name": "id",
  3829. "in": "query",
  3830. "required": false,
  3831. "description": "分类ID",
  3832. "type": "string"
  3833. },
  3834. {
  3835. "name": "raw",
  3836. "in": "body",
  3837. "description": "raw paramter",
  3838. "schema": {
  3839. "type": "string",
  3840. "format": "binary"
  3841. }
  3842. }
  3843. ],
  3844. "responses": {
  3845. "200": {
  3846. "description": "successful operation",
  3847. "schema": {
  3848. "type": "object",
  3849. "properties": {
  3850. "code": {
  3851. "type": "integer",
  3852. "format": "int64"
  3853. },
  3854. "data": {
  3855. "type": "string"
  3856. },
  3857. "message": {
  3858. "type": "string"
  3859. }
  3860. },
  3861. "title": "CommonResult«string»",
  3862. "$$ref": "#/definitions/CommonResult«string»"
  3863. }
  3864. }
  3865. }
  3866. }
  3867. },
  3868. "/api/admin/category/save": {
  3869. "post": {
  3870. "tags": [
  3871. "分类服务"
  3872. ],
  3873. "summary": "新增",
  3874. "consumes": [
  3875. "application/json"
  3876. ],
  3877. "parameters": [
  3878. {
  3879. "name": "extra",
  3880. "in": "query",
  3881. "required": false,
  3882. "description": "扩展字段",
  3883. "type": "string"
  3884. },
  3885. {
  3886. "name": "name",
  3887. "in": "query",
  3888. "required": false,
  3889. "description": "分类名称",
  3890. "type": "string"
  3891. },
  3892. {
  3893. "name": "pid",
  3894. "in": "query",
  3895. "required": false,
  3896. "description": "父级ID",
  3897. "type": "string"
  3898. },
  3899. {
  3900. "name": "sort",
  3901. "in": "query",
  3902. "required": false,
  3903. "description": "排序",
  3904. "type": "string"
  3905. },
  3906. {
  3907. "name": "status",
  3908. "in": "query",
  3909. "required": false,
  3910. "description": "状态, 0正常,1失效",
  3911. "type": "string"
  3912. },
  3913. {
  3914. "name": "type",
  3915. "in": "query",
  3916. "required": false,
  3917. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
  3918. "type": "string"
  3919. },
  3920. {
  3921. "name": "url",
  3922. "in": "query",
  3923. "required": false,
  3924. "description": "地址",
  3925. "type": "string"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "successful operation",
  3931. "schema": {
  3932. "type": "object",
  3933. "properties": {
  3934. "code": {
  3935. "type": "integer",
  3936. "format": "int64"
  3937. },
  3938. "data": {
  3939. "type": "string"
  3940. },
  3941. "message": {
  3942. "type": "string"
  3943. }
  3944. },
  3945. "title": "CommonResult«string»",
  3946. "$$ref": "#/definitions/CommonResult«string»"
  3947. }
  3948. }
  3949. }
  3950. }
  3951. },
  3952. "/api/admin/category/list/ids": {
  3953. "get": {
  3954. "tags": [
  3955. "分类服务"
  3956. ],
  3957. "summary": "根据id集合获取分类列表",
  3958. "consumes": [
  3959. "text/plain"
  3960. ],
  3961. "parameters": [
  3962. {
  3963. "name": "ids",
  3964. "in": "query",
  3965. "required": false,
  3966. "description": "分类id集合",
  3967. "type": "string"
  3968. },
  3969. {
  3970. "name": "raw",
  3971. "in": "body",
  3972. "description": "raw paramter",
  3973. "schema": {
  3974. "type": "string",
  3975. "format": "binary"
  3976. }
  3977. }
  3978. ],
  3979. "responses": {
  3980. "200": {
  3981. "description": "successful operation",
  3982. "schema": {
  3983. "type": "object",
  3984. "properties": {
  3985. "code": {
  3986. "type": "integer",
  3987. "format": "int64"
  3988. },
  3989. "data": {
  3990. "type": "array",
  3991. "items": {
  3992. "type": "object",
  3993. "properties": {
  3994. "extra": {
  3995. "type": "string",
  3996. "description": "扩展字段"
  3997. },
  3998. "id": {
  3999. "type": "integer",
  4000. "format": "int32"
  4001. },
  4002. "name": {
  4003. "type": "string",
  4004. "description": "分类名称"
  4005. },
  4006. "path": {
  4007. "type": "string",
  4008. "description": "路径"
  4009. },
  4010. "pid": {
  4011. "type": "integer",
  4012. "format": "int32",
  4013. "description": "父级ID"
  4014. },
  4015. "sort": {
  4016. "type": "integer",
  4017. "format": "int32",
  4018. "description": "排序"
  4019. },
  4020. "status": {
  4021. "type": "boolean",
  4022. "description": "状态, 0正常,1失效"
  4023. },
  4024. "type": {
  4025. "type": "integer",
  4026. "format": "int32",
  4027. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  4028. },
  4029. "url": {
  4030. "type": "string",
  4031. "description": "地址"
  4032. }
  4033. },
  4034. "title": "Category对象",
  4035. "description": "分类表",
  4036. "$$ref": "#/definitions/Category对象"
  4037. }
  4038. },
  4039. "message": {
  4040. "type": "string"
  4041. }
  4042. },
  4043. "title": "CommonResult«List«Category对象»»",
  4044. "$$ref": "#/definitions/CommonResult«List«Category对象»»"
  4045. }
  4046. }
  4047. }
  4048. }
  4049. },
  4050. "/api/admin/category/list/tree": {
  4051. "get": {
  4052. "tags": [
  4053. "分类服务"
  4054. ],
  4055. "summary": "获取tree结构的列表",
  4056. "consumes": [
  4057. "text/plain"
  4058. ],
  4059. "parameters": [
  4060. {
  4061. "name": "status",
  4062. "in": "query",
  4063. "required": false,
  4064. "description": "-1=全部,0=未生效,1=已生效",
  4065. "type": "string"
  4066. },
  4067. {
  4068. "name": "type",
  4069. "in": "query",
  4070. "required": false,
  4071. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
  4072. "type": "string"
  4073. },
  4074. {
  4075. "name": "raw",
  4076. "in": "body",
  4077. "description": "raw paramter",
  4078. "schema": {
  4079. "type": "string",
  4080. "format": "binary"
  4081. }
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "successful operation",
  4087. "schema": {
  4088. "type": "object",
  4089. "properties": {
  4090. "code": {
  4091. "type": "integer",
  4092. "format": "int64"
  4093. },
  4094. "data": {
  4095. "type": "array",
  4096. "items": {
  4097. "type": "object",
  4098. "properties": {
  4099. "child": {
  4100. "type": "array",
  4101. "items": {
  4102. "originalRef": "CategoryTreeVo",
  4103. "$ref": "#/definitions/CategoryTreeVo"
  4104. }
  4105. },
  4106. "extra": {
  4107. "type": "string",
  4108. "description": "扩展字段"
  4109. },
  4110. "id": {
  4111. "type": "integer",
  4112. "format": "int32"
  4113. },
  4114. "name": {
  4115. "type": "string",
  4116. "description": "分类名称"
  4117. },
  4118. "path": {
  4119. "type": "string",
  4120. "description": "路径"
  4121. },
  4122. "pid": {
  4123. "type": "integer",
  4124. "format": "int32",
  4125. "description": "父级ID"
  4126. },
  4127. "sort": {
  4128. "type": "integer",
  4129. "format": "int32",
  4130. "description": "排序"
  4131. },
  4132. "status": {
  4133. "type": "boolean",
  4134. "description": "状态, 0正常,1失效"
  4135. },
  4136. "type": {
  4137. "type": "integer",
  4138. "format": "int32",
  4139. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
  4140. },
  4141. "url": {
  4142. "type": "string",
  4143. "description": "地址"
  4144. }
  4145. },
  4146. "title": "CategoryTreeVo",
  4147. "$$ref": "#/definitions/CategoryTreeVo"
  4148. }
  4149. },
  4150. "message": {
  4151. "type": "string"
  4152. }
  4153. },
  4154. "title": "CommonResult«List«CategoryTreeVo»»",
  4155. "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»"
  4156. }
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "/api/admin/category/info": {
  4162. "get": {
  4163. "tags": [
  4164. "分类服务"
  4165. ],
  4166. "summary": "详情",
  4167. "consumes": [
  4168. "text/plain"
  4169. ],
  4170. "parameters": [
  4171. {
  4172. "name": "id",
  4173. "in": "query",
  4174. "required": false,
  4175. "description": "分类ID",
  4176. "type": "string"
  4177. },
  4178. {
  4179. "name": "raw",
  4180. "in": "body",
  4181. "description": "raw paramter",
  4182. "schema": {
  4183. "type": "string",
  4184. "format": "binary"
  4185. }
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "successful operation",
  4191. "schema": {
  4192. "type": "object",
  4193. "properties": {
  4194. "code": {
  4195. "type": "integer",
  4196. "format": "int64"
  4197. },
  4198. "data": {
  4199. "type": "object",
  4200. "properties": {
  4201. "extra": {
  4202. "type": "string",
  4203. "description": "扩展字段"
  4204. },
  4205. "id": {
  4206. "type": "integer",
  4207. "format": "int32"
  4208. },
  4209. "name": {
  4210. "type": "string",
  4211. "description": "分类名称"
  4212. },
  4213. "path": {
  4214. "type": "string",
  4215. "description": "路径"
  4216. },
  4217. "pid": {
  4218. "type": "integer",
  4219. "format": "int32",
  4220. "description": "父级ID"
  4221. },
  4222. "sort": {
  4223. "type": "integer",
  4224. "format": "int32",
  4225. "description": "排序"
  4226. },
  4227. "status": {
  4228. "type": "boolean",
  4229. "description": "状态, 0正常,1失效"
  4230. },
  4231. "type": {
  4232. "type": "integer",
  4233. "format": "int32",
  4234. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  4235. },
  4236. "url": {
  4237. "type": "string",
  4238. "description": "地址"
  4239. }
  4240. },
  4241. "title": "Category对象",
  4242. "description": "分类表",
  4243. "$$ref": "#/definitions/Category对象"
  4244. },
  4245. "message": {
  4246. "type": "string"
  4247. }
  4248. },
  4249. "title": "CommonResult«Category对象»",
  4250. "$$ref": "#/definitions/CommonResult«Category对象»"
  4251. }
  4252. }
  4253. }
  4254. }
  4255. },
  4256. "/api/admin/store/retail/list": {
  4257. "get": {
  4258. "tags": [
  4259. "分销"
  4260. ],
  4261. "summary": "分销列表",
  4262. "consumes": [
  4263. "text/plain"
  4264. ],
  4265. "parameters": [
  4266. {
  4267. "name": "dateLimit",
  4268. "in": "query",
  4269. "required": false,
  4270. "description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/",
  4271. "type": "string"
  4272. },
  4273. {
  4274. "name": "keywords",
  4275. "in": "query",
  4276. "required": false,
  4277. "description": "搜索关键字[身份证,手机,昵称,备注等]",
  4278. "type": "string"
  4279. },
  4280. {
  4281. "name": "limit",
  4282. "in": "query",
  4283. "required": false,
  4284. "description": "每页数量",
  4285. "type": "string"
  4286. },
  4287. {
  4288. "name": "page",
  4289. "in": "query",
  4290. "required": false,
  4291. "description": "页码",
  4292. "type": "string"
  4293. },
  4294. {
  4295. "name": "raw",
  4296. "in": "body",
  4297. "description": "raw paramter",
  4298. "schema": {
  4299. "type": "string",
  4300. "format": "binary"
  4301. }
  4302. }
  4303. ],
  4304. "responses": {
  4305. "200": {
  4306. "description": "successful operation",
  4307. "schema": {
  4308. "type": "object",
  4309. "properties": {
  4310. "code": {
  4311. "type": "integer",
  4312. "format": "int64"
  4313. },
  4314. "data": {
  4315. "type": "object",
  4316. "properties": {
  4317. "limit": {
  4318. "type": "integer",
  4319. "format": "int32"
  4320. },
  4321. "list": {
  4322. "type": "array",
  4323. "items": {
  4324. "type": "object",
  4325. "properties": {
  4326. "account": {
  4327. "type": "string",
  4328. "description": "用户账号"
  4329. },
  4330. "addIp": {
  4331. "type": "string",
  4332. "description": "添加ip"
  4333. },
  4334. "addres": {
  4335. "type": "string",
  4336. "description": "详细地址"
  4337. },
  4338. "adminid": {
  4339. "type": "integer",
  4340. "format": "int32",
  4341. "description": "管理员编号 "
  4342. },
  4343. "avatar": {
  4344. "type": "string",
  4345. "description": "用户头像"
  4346. },
  4347. "birthday": {
  4348. "type": "string",
  4349. "description": "生日"
  4350. },
  4351. "brokerageMoney": {
  4352. "type": "number",
  4353. "description": "佣金数据"
  4354. },
  4355. "brokeragePrice": {
  4356. "type": "number",
  4357. "description": "佣金金额"
  4358. },
  4359. "cardId": {
  4360. "type": "string",
  4361. "description": "身份证号码"
  4362. },
  4363. "cleanTime": {
  4364. "type": "string",
  4365. "format": "date-time",
  4366. "description": "清除时间"
  4367. },
  4368. "createTime": {
  4369. "type": "string",
  4370. "format": "date-time",
  4371. "description": "创建时间"
  4372. },
  4373. "experience": {
  4374. "type": "integer",
  4375. "format": "int32",
  4376. "description": "用户剩余经验"
  4377. },
  4378. "groupId": {
  4379. "type": "integer",
  4380. "format": "int32",
  4381. "description": "用户分组id"
  4382. },
  4383. "groupName": {
  4384. "type": "string",
  4385. "description": "分组名称"
  4386. },
  4387. "integral": {
  4388. "type": "number",
  4389. "description": "用户剩余积分"
  4390. },
  4391. "isPromoter": {
  4392. "type": "boolean",
  4393. "description": "是否为推广员"
  4394. },
  4395. "lastIp": {
  4396. "type": "string",
  4397. "description": "最后一次登录ip"
  4398. },
  4399. "lastLoginTime": {
  4400. "type": "string",
  4401. "format": "date-time",
  4402. "description": "最后一次登录时间"
  4403. },
  4404. "level": {
  4405. "type": "integer",
  4406. "format": "int32",
  4407. "description": "等级"
  4408. },
  4409. "loginType": {
  4410. "type": "string",
  4411. "description": "用户登陆类型,h5,wechat,routine"
  4412. },
  4413. "mark": {
  4414. "type": "string",
  4415. "description": "用户备注"
  4416. },
  4417. "nickname": {
  4418. "type": "string",
  4419. "description": "用户昵称"
  4420. },
  4421. "nowMoney": {
  4422. "type": "number",
  4423. "description": "用户余额"
  4424. },
  4425. "partnerId": {
  4426. "type": "integer",
  4427. "format": "int32",
  4428. "description": "合伙人id"
  4429. },
  4430. "payCount": {
  4431. "type": "integer",
  4432. "format": "int32",
  4433. "description": "用户购买次数"
  4434. },
  4435. "phone": {
  4436. "type": "string",
  4437. "description": "手机号码"
  4438. },
  4439. "realName": {
  4440. "type": "string",
  4441. "description": "真实姓名"
  4442. },
  4443. "retailShopOrderDataResponse": {
  4444. "type": "object",
  4445. "properties": {
  4446. "orderCount": {
  4447. "type": "integer",
  4448. "format": "int32",
  4449. "description": "订单数量"
  4450. },
  4451. "orderPrice": {
  4452. "type": "number",
  4453. "description": "订单总价"
  4454. }
  4455. },
  4456. "title": "RetailShopOrderDataResponse",
  4457. "$$ref": "#/definitions/RetailShopOrderDataResponse"
  4458. },
  4459. "signNum": {
  4460. "type": "integer",
  4461. "format": "int32",
  4462. "description": "连续签到天数"
  4463. },
  4464. "spreadCount": {
  4465. "type": "integer",
  4466. "format": "int32",
  4467. "description": "下级人数"
  4468. },
  4469. "spreadNickname": {
  4470. "type": "string",
  4471. "description": "推广员名称"
  4472. },
  4473. "spreadPeopleCount": {
  4474. "type": "integer",
  4475. "format": "int32",
  4476. "description": "推广用户数量"
  4477. },
  4478. "spreadTime": {
  4479. "type": "string",
  4480. "format": "date-time",
  4481. "description": "推广员关联时间"
  4482. },
  4483. "spreadUid": {
  4484. "type": "integer",
  4485. "format": "int32",
  4486. "description": "推广人id"
  4487. },
  4488. "status": {
  4489. "type": "boolean",
  4490. "description": "1为正常,0为禁止"
  4491. },
  4492. "tagName": {
  4493. "type": "string",
  4494. "description": "标签名称"
  4495. },
  4496. "uid": {
  4497. "type": "integer",
  4498. "format": "int32",
  4499. "description": "用户id"
  4500. },
  4501. "updateTime": {
  4502. "type": "string",
  4503. "format": "date-time",
  4504. "description": "创建时间"
  4505. },
  4506. "userExtractResponse": {
  4507. "type": "object",
  4508. "properties": {
  4509. "extractCountNum": {
  4510. "type": "integer",
  4511. "format": "int32",
  4512. "description": "提现次数"
  4513. },
  4514. "extractCountPrice": {
  4515. "type": "number",
  4516. "description": "体现数据总额"
  4517. }
  4518. },
  4519. "title": "UserExtractResponse",
  4520. "$$ref": "#/definitions/UserExtractResponse"
  4521. },
  4522. "userType": {
  4523. "type": "string",
  4524. "description": "用户类型"
  4525. }
  4526. },
  4527. "title": "RetailShopUserResponse",
  4528. "$$ref": "#/definitions/RetailShopUserResponse"
  4529. }
  4530. },
  4531. "page": {
  4532. "type": "integer",
  4533. "format": "int32"
  4534. },
  4535. "total": {
  4536. "type": "integer",
  4537. "format": "int64"
  4538. },
  4539. "totalPage": {
  4540. "type": "integer",
  4541. "format": "int32"
  4542. }
  4543. },
  4544. "title": "CommonPage«RetailShopUserResponse»",
  4545. "$$ref": "#/definitions/CommonPage«RetailShopUserResponse»"
  4546. },
  4547. "message": {
  4548. "type": "string"
  4549. }
  4550. },
  4551. "title": "CommonResult«CommonPage«RetailShopUserResponse»»",
  4552. "$$ref": "#/definitions/CommonResult«CommonPage«RetailShopUserResponse»»"
  4553. }
  4554. }
  4555. }
  4556. }
  4557. },
  4558. "/api/admin/store/retail/statistics": {
  4559. "get": {
  4560. "tags": [
  4561. "分销"
  4562. ],
  4563. "summary": "分销头部数据",
  4564. "consumes": [
  4565. "text/plain"
  4566. ],
  4567. "parameters": [
  4568. {
  4569. "name": "dateLimit",
  4570. "in": "query",
  4571. "required": false,
  4572. "description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/",
  4573. "type": "string"
  4574. },
  4575. {
  4576. "name": "nickName",
  4577. "in": "query",
  4578. "required": false,
  4579. "description": "昵称",
  4580. "type": "string"
  4581. },
  4582. {
  4583. "name": "raw",
  4584. "in": "body",
  4585. "description": "raw paramter",
  4586. "schema": {
  4587. "type": "string",
  4588. "format": "binary"
  4589. }
  4590. }
  4591. ],
  4592. "responses": {
  4593. "200": {
  4594. "description": "successful operation",
  4595. "schema": {
  4596. "type": "object",
  4597. "properties": {
  4598. "code": {
  4599. "type": "integer",
  4600. "format": "int64"
  4601. },
  4602. "data": {
  4603. "type": "object"
  4604. },
  4605. "message": {
  4606. "type": "string"
  4607. }
  4608. },
  4609. "title": "CommonResult«object»",
  4610. "$$ref": "#/definitions/CommonResult«object»"
  4611. }
  4612. }
  4613. }
  4614. }
  4615. },
  4616. "/api/admin/store/retail/spread/manage/set": {
  4617. "post": {
  4618. "tags": [
  4619. "分销"
  4620. ],
  4621. "summary": "分销管理信息保存",
  4622. "consumes": [
  4623. "application/json"
  4624. ],
  4625. "parameters": [
  4626. {
  4627. "name": "root",
  4628. "in": "body",
  4629. "schema": {
  4630. "type": "object",
  4631. "properties": {
  4632. "brokerageBindind": {
  4633. "type": "string",
  4634. "description": "分销关系绑定"
  4635. },
  4636. "brokerageFuncStatus": {
  4637. "type": "string",
  4638. "description": "是否启用分销"
  4639. },
  4640. "extractTime": {
  4641. "type": "string",
  4642. "description": "冻结时间"
  4643. },
  4644. "storeBrokeragePrice": {
  4645. "type": "string",
  4646. "description": "人人分销满足金额"
  4647. },
  4648. "storeBrokerageRatio": {
  4649. "type": "string",
  4650. "description": "一级返佣比例"
  4651. },
  4652. "storeBrokerageStatus": {
  4653. "type": "string",
  4654. "description": "分销模式"
  4655. },
  4656. "storeBrokerageTwo": {
  4657. "type": "string",
  4658. "description": "二级返佣比例"
  4659. },
  4660. "userExtractBank": {
  4661. "type": "string",
  4662. "description": "提现银行"
  4663. },
  4664. "userExtractMinPrice": {
  4665. "type": "string",
  4666. "description": "用户提现最低金额"
  4667. }
  4668. },
  4669. "title": "RetailShopRequest",
  4670. "$$ref": "#/definitions/RetailShopRequest"
  4671. }
  4672. }
  4673. ],
  4674. "responses": {
  4675. "200": {
  4676. "description": "successful operation",
  4677. "schema": {
  4678. "type": "object",
  4679. "properties": {
  4680. "code": {
  4681. "type": "integer",
  4682. "format": "int64"
  4683. },
  4684. "data": {
  4685. "type": "object"
  4686. },
  4687. "message": {
  4688. "type": "string"
  4689. }
  4690. },
  4691. "title": "CommonResult«object»",
  4692. "$$ref": "#/definitions/CommonResult«object»"
  4693. }
  4694. }
  4695. }
  4696. }
  4697. },
  4698. "/api/admin/store/retail/spread/manage/get": {
  4699. "get": {
  4700. "tags": [
  4701. "分销"
  4702. ],
  4703. "summary": "分销配置信息获取",
  4704. "consumes": [
  4705. "text/plain"
  4706. ],
  4707. "parameters": [
  4708. {
  4709. "name": "raw",
  4710. "in": "body",
  4711. "description": "raw paramter",
  4712. "schema": {
  4713. "type": "string",
  4714. "format": "binary"
  4715. }
  4716. }
  4717. ],
  4718. "responses": {
  4719. "200": {
  4720. "description": "successful operation",
  4721. "schema": {
  4722. "type": "object",
  4723. "properties": {
  4724. "code": {
  4725. "type": "integer",
  4726. "format": "int64"
  4727. },
  4728. "data": {
  4729. "type": "object"
  4730. },
  4731. "message": {
  4732. "type": "string"
  4733. }
  4734. },
  4735. "title": "CommonResult«object»",
  4736. "$$ref": "#/definitions/CommonResult«object»"
  4737. }
  4738. }
  4739. }
  4740. }
  4741. },
  4742. "/api/admin/store/retail/spread/userlist": {
  4743. "post": {
  4744. "tags": [
  4745. "分销"
  4746. ],
  4747. "summary": "根据条件获取推广人列表",
  4748. "consumes": [
  4749. "application/json"
  4750. ],
  4751. "parameters": [
  4752. {
  4753. "name": "limit",
  4754. "in": "query",
  4755. "required": false,
  4756. "description": "每页数量",
  4757. "type": "string"
  4758. },
  4759. {
  4760. "name": "page",
  4761. "in": "query",
  4762. "required": false,
  4763. "description": "页码",
  4764. "type": "string"
  4765. },
  4766. {
  4767. "name": "root",
  4768. "in": "body",
  4769. "description": "推广等级参数",
  4770. "schema": {
  4771. "type": "object",
  4772. "properties": {
  4773. "dateLimit": {
  4774. "type": "string",
  4775. "description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/"
  4776. },
  4777. "nickName": {
  4778. "type": "string",
  4779. "description": "搜索关键字"
  4780. },
  4781. "orderPriceId": {
  4782. "type": "string"
  4783. },
  4784. "type": {
  4785. "type": "integer",
  4786. "format": "int32",
  4787. "description": "类型 null = 全部 1=一级推广人 2=二级推广人"
  4788. },
  4789. "uid": {
  4790. "type": "integer",
  4791. "format": "int32",
  4792. "description": "用户id"
  4793. }
  4794. },
  4795. "title": "RetailShopStairUserRequest对象",
  4796. "description": "推广等级参数",
  4797. "$$ref": "#/definitions/RetailShopStairUserRequest对象"
  4798. }
  4799. }
  4800. ],
  4801. "responses": {
  4802. "200": {
  4803. "description": "successful operation",
  4804. "schema": {
  4805. "type": "object",
  4806. "properties": {
  4807. "code": {
  4808. "type": "integer",
  4809. "format": "int64"
  4810. },
  4811. "data": {
  4812. "type": "object",
  4813. "properties": {
  4814. "limit": {
  4815. "type": "integer",
  4816. "format": "int32"
  4817. },
  4818. "list": {
  4819. "type": "array",
  4820. "items": {
  4821. "type": "object",
  4822. "properties": {
  4823. "account": {
  4824. "type": "string",
  4825. "description": "用户账号"
  4826. },
  4827. "addIp": {
  4828. "type": "string",
  4829. "description": "添加ip"
  4830. },
  4831. "addres": {
  4832. "type": "string",
  4833. "description": "详细地址"
  4834. },
  4835. "adminid": {
  4836. "type": "integer",
  4837. "format": "int32",
  4838. "description": "管理员编号 "
  4839. },
  4840. "avatar": {
  4841. "type": "string",
  4842. "description": "用户头像"
  4843. },
  4844. "birthday": {
  4845. "type": "string",
  4846. "description": "生日"
  4847. },
  4848. "brokeragePrice": {
  4849. "type": "number",
  4850. "description": "佣金金额"
  4851. },
  4852. "cardId": {
  4853. "type": "string",
  4854. "description": "身份证号码"
  4855. },
  4856. "cleanTime": {
  4857. "type": "string",
  4858. "format": "date-time",
  4859. "description": "最后一次登录时间"
  4860. },
  4861. "createTime": {
  4862. "type": "string",
  4863. "format": "date-time",
  4864. "description": "创建时间"
  4865. },
  4866. "experience": {
  4867. "type": "integer",
  4868. "format": "int32",
  4869. "description": "用户剩余经验"
  4870. },
  4871. "groupId": {
  4872. "type": "string",
  4873. "description": "用户分组id"
  4874. },
  4875. "integral": {
  4876. "type": "number",
  4877. "description": "用户剩余积分"
  4878. },
  4879. "isPromoter": {
  4880. "type": "boolean",
  4881. "description": "是否为推广员"
  4882. },
  4883. "lastIp": {
  4884. "type": "string",
  4885. "description": "最后一次登录ip"
  4886. },
  4887. "lastLoginTime": {
  4888. "type": "string",
  4889. "format": "date-time",
  4890. "description": "最后一次登录时间"
  4891. },
  4892. "level": {
  4893. "type": "integer",
  4894. "format": "int32",
  4895. "description": "等级"
  4896. },
  4897. "loginType": {
  4898. "type": "string",
  4899. "description": "用户登陆类型,h5,wechat,routine"
  4900. },
  4901. "mark": {
  4902. "type": "string",
  4903. "description": "用户备注"
  4904. },
  4905. "nickname": {
  4906. "type": "string",
  4907. "description": "用户昵称"
  4908. },
  4909. "nowMoney": {
  4910. "type": "number",
  4911. "description": "用户余额"
  4912. },
  4913. "partnerId": {
  4914. "type": "integer",
  4915. "format": "int32",
  4916. "description": "合伙人id"
  4917. },
  4918. "path": {
  4919. "type": "string",
  4920. "description": "用户推广等级"
  4921. },
  4922. "payCount": {
  4923. "type": "integer",
  4924. "format": "int32",
  4925. "description": "用户购买次数"
  4926. },
  4927. "phone": {
  4928. "type": "string",
  4929. "description": "手机号码"
  4930. },
  4931. "realName": {
  4932. "type": "string",
  4933. "description": "真实姓名"
  4934. },
  4935. "signNum": {
  4936. "type": "integer",
  4937. "format": "int32",
  4938. "description": "连续签到天数"
  4939. },
  4940. "spreadCount": {
  4941. "type": "integer",
  4942. "format": "int32",
  4943. "description": "下级人数"
  4944. },
  4945. "spreadTime": {
  4946. "type": "string",
  4947. "format": "date-time",
  4948. "description": "推广员关联时间"
  4949. },
  4950. "spreadUid": {
  4951. "type": "integer",
  4952. "format": "int32",
  4953. "description": "推广人id"
  4954. },
  4955. "status": {
  4956. "type": "boolean",
  4957. "description": "1为正常,0为禁止"
  4958. },
  4959. "subscribe": {
  4960. "type": "boolean",
  4961. "description": "是否关注公众号"
  4962. },
  4963. "tagId": {
  4964. "type": "string",
  4965. "description": "用户标签id"
  4966. },
  4967. "uid": {
  4968. "type": "integer",
  4969. "format": "int32",
  4970. "description": "用户id"
  4971. },
  4972. "updateTime": {
  4973. "type": "string",
  4974. "format": "date-time",
  4975. "description": "创建时间"
  4976. },
  4977. "userType": {
  4978. "type": "string",
  4979. "description": "用户类型"
  4980. }
  4981. },
  4982. "title": "User对象",
  4983. "description": "用户表",
  4984. "$$ref": "#/definitions/User对象"
  4985. }
  4986. },
  4987. "page": {
  4988. "type": "integer",
  4989. "format": "int32"
  4990. },
  4991. "total": {
  4992. "type": "integer",
  4993. "format": "int64"
  4994. },
  4995. "totalPage": {
  4996. "type": "integer",
  4997. "format": "int32"
  4998. }
  4999. },
  5000. "title": "CommonPage«User对象»",
  5001. "$$ref": "#/definitions/CommonPage«User对象»"
  5002. },
  5003. "message": {
  5004. "type": "string"
  5005. }
  5006. },
  5007. "title": "CommonResult«CommonPage«User对象»»",
  5008. "$$ref": "#/definitions/CommonResult«CommonPage«User对象»»"
  5009. }
  5010. }
  5011. }
  5012. }
  5013. },
  5014. "/api/admin/store/retail/spread/orderlist": {
  5015. "post": {
  5016. "tags": [
  5017. "分销"
  5018. ],
  5019. "summary": "根据条件获取推广人订单",
  5020. "consumes": [
  5021. "application/json"
  5022. ],
  5023. "parameters": [
  5024. {
  5025. "name": "limit",
  5026. "in": "query",
  5027. "required": false,
  5028. "description": "每页数量",
  5029. "type": "string"
  5030. },
  5031. {
  5032. "name": "page",
  5033. "in": "query",
  5034. "required": false,
  5035. "description": "页码",
  5036. "type": "string"
  5037. },
  5038. {
  5039. "name": "root",
  5040. "in": "body",
  5041. "description": "推广等级参数",
  5042. "schema": {
  5043. "type": "object",
  5044. "properties": {
  5045. "dateLimit": {
  5046. "type": "string",
  5047. "description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/"
  5048. },
  5049. "nickName": {
  5050. "type": "string",
  5051. "description": "搜索关键字"
  5052. },
  5053. "orderPriceId": {
  5054. "type": "string"
  5055. },
  5056. "type": {
  5057. "type": "integer",
  5058. "format": "int32",
  5059. "description": "类型 null = 全部 1=一级推广人 2=二级推广人"
  5060. },
  5061. "uid": {
  5062. "type": "integer",
  5063. "format": "int32",
  5064. "description": "用户id"
  5065. }
  5066. },
  5067. "title": "RetailShopStairUserRequest对象",
  5068. "description": "推广等级参数",
  5069. "$$ref": "#/definitions/RetailShopStairUserRequest对象"
  5070. }
  5071. }
  5072. ],
  5073. "responses": {
  5074. "200": {
  5075. "description": "successful operation",
  5076. "schema": {
  5077. "type": "object",
  5078. "properties": {
  5079. "code": {
  5080. "type": "integer",
  5081. "format": "int64"
  5082. },
  5083. "data": {
  5084. "type": "object",
  5085. "properties": {
  5086. "limit": {
  5087. "type": "integer",
  5088. "format": "int32"
  5089. },
  5090. "list": {
  5091. "type": "array",
  5092. "items": {
  5093. "type": "object",
  5094. "properties": {
  5095. "backIntegral": {
  5096. "type": "number",
  5097. "description": "给用户退了多少积分"
  5098. },
  5099. "bargainId": {
  5100. "type": "integer",
  5101. "format": "int32",
  5102. "description": "砍价id"
  5103. },
  5104. "clerkId": {
  5105. "type": "integer",
  5106. "format": "int32",
  5107. "description": "店员id"
  5108. },
  5109. "combinationId": {
  5110. "type": "integer",
  5111. "format": "int32",
  5112. "description": "拼团商品id0一般商品"
  5113. },
  5114. "cost": {
  5115. "type": "number",
  5116. "description": "成本价"
  5117. },
  5118. "couponId": {
  5119. "type": "integer",
  5120. "format": "int32",
  5121. "description": "优惠券id"
  5122. },
  5123. "couponPrice": {
  5124. "type": "number",
  5125. "description": "优惠券金额"
  5126. },
  5127. "createTime": {
  5128. "type": "string",
  5129. "format": "date-time",
  5130. "description": "创建时间"
  5131. },
  5132. "deductionPrice": {
  5133. "type": "number",
  5134. "description": "抵扣金额"
  5135. },
  5136. "deliveryId": {
  5137. "type": "string",
  5138. "description": "快递单号/手机号"
  5139. },
  5140. "deliveryName": {
  5141. "type": "string",
  5142. "description": "快递名称/送货人姓名"
  5143. },
  5144. "deliveryType": {
  5145. "type": "string",
  5146. "description": "发货类型"
  5147. },
  5148. "freightPrice": {
  5149. "type": "number",
  5150. "description": "运费金额"
  5151. },
  5152. "gainIntegral": {
  5153. "type": "number",
  5154. "description": "消费赚取积分"
  5155. },
  5156. "id": {
  5157. "type": "integer",
  5158. "format": "int32",
  5159. "description": "订单ID"
  5160. },
  5161. "isChannel": {
  5162. "type": "integer",
  5163. "format": "int32",
  5164. "description": "支付渠道(0微信公众号1微信小程序)"
  5165. },
  5166. "isDel": {
  5167. "type": "boolean",
  5168. "description": "是否删除"
  5169. },
  5170. "isMerCheck": {
  5171. "type": "integer",
  5172. "format": "int32"
  5173. },
  5174. "isRemind": {
  5175. "type": "boolean",
  5176. "description": "消息提醒"
  5177. },
  5178. "isSystemDel": {
  5179. "type": "boolean",
  5180. "description": "后台是否删除"
  5181. },
  5182. "mark": {
  5183. "type": "string",
  5184. "description": "备注"
  5185. },
  5186. "merId": {
  5187. "type": "integer",
  5188. "format": "int32",
  5189. "description": "商户ID"
  5190. },
  5191. "orderId": {
  5192. "type": "string",
  5193. "description": "订单号"
  5194. },
  5195. "paid": {
  5196. "type": "boolean",
  5197. "description": "支付状态"
  5198. },
  5199. "payPostage": {
  5200. "type": "number",
  5201. "description": "支付邮费"
  5202. },
  5203. "payPrice": {
  5204. "type": "number",
  5205. "description": "实际支付金额"
  5206. },
  5207. "payTime": {
  5208. "type": "string",
  5209. "format": "date-time",
  5210. "description": "支付时间"
  5211. },
  5212. "payType": {
  5213. "type": "string",
  5214. "description": "支付方式"
  5215. },
  5216. "pinkId": {
  5217. "type": "integer",
  5218. "format": "int32",
  5219. "description": "拼团id 0没有拼团"
  5220. },
  5221. "realName": {
  5222. "type": "string",
  5223. "description": "用户姓名"
  5224. },
  5225. "refundPrice": {
  5226. "type": "number",
  5227. "description": "退款金额"
  5228. },
  5229. "refundReason": {
  5230. "type": "string",
  5231. "description": "不退款的理由"
  5232. },
  5233. "refundReasonTime": {
  5234. "type": "string",
  5235. "format": "date-time",
  5236. "description": "退款时间"
  5237. },
  5238. "refundReasonWap": {
  5239. "type": "string",
  5240. "description": "前台退款原因"
  5241. },
  5242. "refundReasonWapExplain": {
  5243. "type": "string",
  5244. "description": "退款用户说明"
  5245. },
  5246. "refundReasonWapImg": {
  5247. "type": "string",
  5248. "description": "退款图片"
  5249. },
  5250. "refundStatus": {
  5251. "type": "integer",
  5252. "format": "int32",
  5253. "description": "0 未退款 1 申请中 2 已退款"
  5254. },
  5255. "remark": {
  5256. "type": "string",
  5257. "description": "管理员备注"
  5258. },
  5259. "seckillId": {
  5260. "type": "integer",
  5261. "format": "int32",
  5262. "description": "秒杀商品ID"
  5263. },
  5264. "shippingType": {
  5265. "type": "integer",
  5266. "format": "int32",
  5267. "description": "配送方式 1=快递 ,2=门店自提"
  5268. },
  5269. "status": {
  5270. "type": "integer",
  5271. "format": "int32",
  5272. "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)"
  5273. },
  5274. "storeId": {
  5275. "type": "integer",
  5276. "format": "int32",
  5277. "description": "门店id"
  5278. },
  5279. "totalNum": {
  5280. "type": "integer",
  5281. "format": "int32",
  5282. "description": "订单商品总数"
  5283. },
  5284. "totalPostage": {
  5285. "type": "number",
  5286. "description": "邮费"
  5287. },
  5288. "totalPrice": {
  5289. "type": "number",
  5290. "description": "订单总价"
  5291. },
  5292. "uid": {
  5293. "type": "integer",
  5294. "format": "int32",
  5295. "description": "用户id"
  5296. },
  5297. "unique": {
  5298. "type": "string",
  5299. "description": "唯一id(md5加密)类似id"
  5300. },
  5301. "useIntegral": {
  5302. "type": "number",
  5303. "description": "使用积分"
  5304. },
  5305. "userAddress": {
  5306. "type": "string",
  5307. "description": "详细地址"
  5308. },
  5309. "userPhone": {
  5310. "type": "string",
  5311. "description": "用户电话"
  5312. },
  5313. "verifyCode": {
  5314. "type": "string",
  5315. "description": "核销码"
  5316. }
  5317. },
  5318. "title": "StoreOrder对象",
  5319. "description": "订单表",
  5320. "$$ref": "#/definitions/StoreOrder对象"
  5321. }
  5322. },
  5323. "page": {
  5324. "type": "integer",
  5325. "format": "int32"
  5326. },
  5327. "total": {
  5328. "type": "integer",
  5329. "format": "int64"
  5330. },
  5331. "totalPage": {
  5332. "type": "integer",
  5333. "format": "int32"
  5334. }
  5335. },
  5336. "title": "CommonPage«StoreOrder对象»",
  5337. "$$ref": "#/definitions/CommonPage«StoreOrder对象»"
  5338. },
  5339. "message": {
  5340. "type": "string"
  5341. }
  5342. },
  5343. "title": "CommonResult«CommonPage«StoreOrder对象»»",
  5344. "$$ref": "#/definitions/CommonResult«CommonPage«StoreOrder对象»»"
  5345. }
  5346. }
  5347. }
  5348. }
  5349. },
  5350. "/api/admin/store/retail/spread/save": {
  5351. "get": {
  5352. "tags": [
  5353. "分销"
  5354. ],
  5355. "summary": "添加推广关系",
  5356. "consumes": [
  5357. "text/plain"
  5358. ],
  5359. "parameters": [
  5360. {
  5361. "name": "currentUserId",
  5362. "in": "query",
  5363. "required": false,
  5364. "description": "当前用户id",
  5365. "type": "string"
  5366. },
  5367. {
  5368. "name": "spreadUserId",
  5369. "in": "query",
  5370. "required": false,
  5371. "description": "推广人id",
  5372. "type": "string"
  5373. },
  5374. {
  5375. "name": "raw",
  5376. "in": "body",
  5377. "description": "raw paramter",
  5378. "schema": {
  5379. "type": "string",
  5380. "format": "binary"
  5381. }
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "successful operation",
  5387. "schema": {
  5388. "type": "object",
  5389. "properties": {
  5390. "code": {
  5391. "type": "integer",
  5392. "format": "int64"
  5393. },
  5394. "data": {
  5395. "type": "object"
  5396. },
  5397. "message": {
  5398. "type": "string"
  5399. }
  5400. },
  5401. "title": "CommonResult«object»",
  5402. "$$ref": "#/definitions/CommonResult«object»"
  5403. }
  5404. }
  5405. }
  5406. }
  5407. },
  5408. "/api/admin/store/retail/spread/clean/{id}": {
  5409. "get": {
  5410. "tags": [
  5411. "分销"
  5412. ],
  5413. "summary": "清除上级推广人",
  5414. "consumes": [
  5415. "text/plain"
  5416. ],
  5417. "parameters": [
  5418. {
  5419. "name": "id",
  5420. "in": "path",
  5421. "description": "id",
  5422. "required": true,
  5423. "type": "string"
  5424. },
  5425. {
  5426. "name": "raw",
  5427. "in": "body",
  5428. "description": "raw paramter",
  5429. "schema": {
  5430. "type": "string",
  5431. "format": "binary"
  5432. }
  5433. }
  5434. ],
  5435. "responses": {
  5436. "200": {
  5437. "description": "successful operation",
  5438. "schema": {
  5439. "type": "object",
  5440. "properties": {
  5441. "code": {
  5442. "type": "integer",
  5443. "format": "int64"
  5444. },
  5445. "data": {
  5446. "type": "object"
  5447. },
  5448. "message": {
  5449. "type": "string"
  5450. }
  5451. },
  5452. "title": "CommonResult«object»",
  5453. "$$ref": "#/definitions/CommonResult«object»"
  5454. }
  5455. }
  5456. }
  5457. }
  5458. },
  5459. "/api/admin/system/admin/update": {
  5460. "post": {
  5461. "tags": [
  5462. "后台用户服务"
  5463. ],
  5464. "summary": "修改",
  5465. "consumes": [
  5466. "application/json"
  5467. ],
  5468. "parameters": [
  5469. {
  5470. "name": "account",
  5471. "in": "query",
  5472. "required": false,
  5473. "description": "后台管理员账号",
  5474. "type": "string"
  5475. },
  5476. {
  5477. "name": "addTime",
  5478. "in": "query",
  5479. "required": false,
  5480. "description": "后台管理员添加时间",
  5481. "type": "string"
  5482. },
  5483. {
  5484. "name": "id",
  5485. "in": "query",
  5486. "required": false,
  5487. "description": "id",
  5488. "type": "string"
  5489. },
  5490. {
  5491. "name": "id",
  5492. "in": "query",
  5493. "required": false,
  5494. "description": "后台管理员表ID",
  5495. "type": "string"
  5496. },
  5497. {
  5498. "name": "isDel",
  5499. "in": "query",
  5500. "required": false,
  5501. "description": "是否删除 1删除 0未删除",
  5502. "type": "string"
  5503. },
  5504. {
  5505. "name": "lastIp",
  5506. "in": "query",
  5507. "required": false,
  5508. "description": "后台管理员最后一次登录ip",
  5509. "type": "string"
  5510. },
  5511. {
  5512. "name": "lastTime",
  5513. "in": "query",
  5514. "required": false,
  5515. "description": "后台管理员最后一次登录时间",
  5516. "type": "string"
  5517. },
  5518. {
  5519. "name": "level",
  5520. "in": "query",
  5521. "required": false,
  5522. "description": "后台管理员级别",
  5523. "type": "string"
  5524. },
  5525. {
  5526. "name": "loginCount",
  5527. "in": "query",
  5528. "required": false,
  5529. "description": "登录次数",
  5530. "type": "string"
  5531. },
  5532. {
  5533. "name": "pwd",
  5534. "in": "query",
  5535. "required": false,
  5536. "description": "后台管理员密码",
  5537. "type": "string"
  5538. },
  5539. {
  5540. "name": "realName",
  5541. "in": "query",
  5542. "required": false,
  5543. "description": "后台管理员姓名",
  5544. "type": "string"
  5545. },
  5546. {
  5547. "name": "roles",
  5548. "in": "query",
  5549. "required": false,
  5550. "description": "后台管理员权限(menus_id)",
  5551. "type": "string"
  5552. },
  5553. {
  5554. "name": "status",
  5555. "in": "query",
  5556. "required": false,
  5557. "description": "后台管理员状态 1有效0无效",
  5558. "type": "string"
  5559. }
  5560. ],
  5561. "responses": {
  5562. "200": {
  5563. "description": "successful operation",
  5564. "schema": {
  5565. "type": "object",
  5566. "properties": {
  5567. "code": {
  5568. "type": "integer",
  5569. "format": "int64"
  5570. },
  5571. "data": {
  5572. "type": "string"
  5573. },
  5574. "message": {
  5575. "type": "string"
  5576. }
  5577. },
  5578. "title": "CommonResult«string»",
  5579. "$$ref": "#/definitions/CommonResult«string»"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/api/admin/system/admin/list": {
  5586. "get": {
  5587. "tags": [
  5588. "后台用户服务"
  5589. ],
  5590. "summary": "分页列表",
  5591. "consumes": [
  5592. "text/plain"
  5593. ],
  5594. "parameters": [
  5595. {
  5596. "name": "account",
  5597. "in": "query",
  5598. "required": false,
  5599. "description": "后台管理员账号",
  5600. "type": "string"
  5601. },
  5602. {
  5603. "name": "addTime",
  5604. "in": "query",
  5605. "required": false,
  5606. "description": "后台管理员添加时间",
  5607. "type": "string"
  5608. },
  5609. {
  5610. "name": "id",
  5611. "in": "query",
  5612. "required": false,
  5613. "description": "后台管理员表ID",
  5614. "type": "string"
  5615. },
  5616. {
  5617. "name": "isDel",
  5618. "in": "query",
  5619. "required": false,
  5620. "description": "是否删除 1删除 0未删除",
  5621. "type": "string"
  5622. },
  5623. {
  5624. "name": "lastIp",
  5625. "in": "query",
  5626. "required": false,
  5627. "description": "后台管理员最后一次登录ip",
  5628. "type": "string"
  5629. },
  5630. {
  5631. "name": "lastTime",
  5632. "in": "query",
  5633. "required": false,
  5634. "description": "后台管理员最后一次登录时间",
  5635. "type": "string"
  5636. },
  5637. {
  5638. "name": "level",
  5639. "in": "query",
  5640. "required": false,
  5641. "description": "后台管理员级别",
  5642. "type": "string"
  5643. },
  5644. {
  5645. "name": "limit",
  5646. "in": "query",
  5647. "required": false,
  5648. "description": "每页数量",
  5649. "type": "string"
  5650. },
  5651. {
  5652. "name": "loginCount",
  5653. "in": "query",
  5654. "required": false,
  5655. "description": "登录次数",
  5656. "type": "string"
  5657. },
  5658. {
  5659. "name": "page",
  5660. "in": "query",
  5661. "required": false,
  5662. "description": "页码",
  5663. "type": "string"
  5664. },
  5665. {
  5666. "name": "pwd",
  5667. "in": "query",
  5668. "required": false,
  5669. "description": "后台管理员密码",
  5670. "type": "string"
  5671. },
  5672. {
  5673. "name": "realName",
  5674. "in": "query",
  5675. "required": false,
  5676. "description": "后台管理员姓名",
  5677. "type": "string"
  5678. },
  5679. {
  5680. "name": "roles",
  5681. "in": "query",
  5682. "required": false,
  5683. "description": "后台管理员权限(menus_id)",
  5684. "type": "string"
  5685. },
  5686. {
  5687. "name": "status",
  5688. "in": "query",
  5689. "required": false,
  5690. "description": "后台管理员状态 1有效0无效",
  5691. "type": "string"
  5692. },
  5693. {
  5694. "name": "raw",
  5695. "in": "body",
  5696. "description": "raw paramter",
  5697. "schema": {
  5698. "type": "string",
  5699. "format": "binary"
  5700. }
  5701. }
  5702. ],
  5703. "responses": {
  5704. "200": {
  5705. "description": "successful operation",
  5706. "schema": {
  5707. "type": "object",
  5708. "properties": {
  5709. "code": {
  5710. "type": "integer",
  5711. "format": "int64"
  5712. },
  5713. "data": {
  5714. "type": "object",
  5715. "properties": {
  5716. "limit": {
  5717. "type": "integer",
  5718. "format": "int32"
  5719. },
  5720. "list": {
  5721. "type": "array",
  5722. "items": {
  5723. "type": "object",
  5724. "properties": {
  5725. "account": {
  5726. "type": "string",
  5727. "description": "后台管理员账号"
  5728. },
  5729. "addTime": {
  5730. "type": "integer",
  5731. "format": "int32",
  5732. "description": "后台管理员添加时间"
  5733. },
  5734. "id": {
  5735. "type": "integer",
  5736. "format": "int32",
  5737. "description": "后台管理员表ID"
  5738. },
  5739. "isDel": {
  5740. "type": "boolean"
  5741. },
  5742. "lastIp": {
  5743. "type": "string",
  5744. "description": "后台管理员最后一次登录ip"
  5745. },
  5746. "lastTime": {
  5747. "type": "integer",
  5748. "format": "int32",
  5749. "description": "后台管理员最后一次登录时间"
  5750. },
  5751. "level": {
  5752. "type": "integer",
  5753. "format": "int32",
  5754. "description": "后台管理员级别"
  5755. },
  5756. "loginCount": {
  5757. "type": "integer",
  5758. "format": "int32",
  5759. "description": "登录次数"
  5760. },
  5761. "pwd": {
  5762. "type": "string",
  5763. "description": "后台管理员密码"
  5764. },
  5765. "realName": {
  5766. "type": "string",
  5767. "description": "后台管理员姓名"
  5768. },
  5769. "roles": {
  5770. "type": "string",
  5771. "description": "后台管理员权限(menus_id)"
  5772. },
  5773. "status": {
  5774. "type": "boolean",
  5775. "description": "后台管理员状态 1有效0无效"
  5776. }
  5777. },
  5778. "title": "SystemAdmin对象",
  5779. "description": "后台管理员表",
  5780. "$$ref": "#/definitions/SystemAdmin对象"
  5781. }
  5782. },
  5783. "page": {
  5784. "type": "integer",
  5785. "format": "int32"
  5786. },
  5787. "total": {
  5788. "type": "integer",
  5789. "format": "int64"
  5790. },
  5791. "totalPage": {
  5792. "type": "integer",
  5793. "format": "int32"
  5794. }
  5795. },
  5796. "title": "CommonPage«SystemAdmin对象»",
  5797. "$$ref": "#/definitions/CommonPage«SystemAdmin对象»"
  5798. },
  5799. "message": {
  5800. "type": "string"
  5801. }
  5802. },
  5803. "title": "CommonResult«CommonPage«SystemAdmin对象»»",
  5804. "$$ref": "#/definitions/CommonResult«CommonPage«SystemAdmin对象»»"
  5805. }
  5806. }
  5807. }
  5808. }
  5809. },
  5810. "/api/admin/system/admin/delete": {
  5811. "get": {
  5812. "tags": [
  5813. "后台用户服务"
  5814. ],
  5815. "summary": "删除",
  5816. "consumes": [
  5817. "text/plain"
  5818. ],
  5819. "parameters": [
  5820. {
  5821. "name": "id",
  5822. "in": "query",
  5823. "required": false,
  5824. "description": "id",
  5825. "type": "string"
  5826. },
  5827. {
  5828. "name": "raw",
  5829. "in": "body",
  5830. "description": "raw paramter",
  5831. "schema": {
  5832. "type": "string",
  5833. "format": "binary"
  5834. }
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "successful operation",
  5840. "schema": {
  5841. "type": "object",
  5842. "properties": {
  5843. "code": {
  5844. "type": "integer",
  5845. "format": "int64"
  5846. },
  5847. "data": {
  5848. "type": "string"
  5849. },
  5850. "message": {
  5851. "type": "string"
  5852. }
  5853. },
  5854. "title": "CommonResult«string»",
  5855. "$$ref": "#/definitions/CommonResult«string»"
  5856. }
  5857. }
  5858. }
  5859. }
  5860. },
  5861. "/api/admin/system/admin/save": {
  5862. "post": {
  5863. "tags": [
  5864. "后台用户服务"
  5865. ],
  5866. "summary": "新增",
  5867. "consumes": [
  5868. "application/json"
  5869. ],
  5870. "parameters": [
  5871. {
  5872. "name": "account",
  5873. "in": "query",
  5874. "required": false,
  5875. "description": "后台管理员账号",
  5876. "type": "string"
  5877. },
  5878. {
  5879. "name": "level",
  5880. "in": "query",
  5881. "required": false,
  5882. "description": "后台管理员级别",
  5883. "type": "string"
  5884. },
  5885. {
  5886. "name": "pwd",
  5887. "in": "query",
  5888. "required": false,
  5889. "description": "后台管理员密码",
  5890. "type": "string"
  5891. },
  5892. {
  5893. "name": "realName",
  5894. "in": "query",
  5895. "required": false,
  5896. "description": "后台管理员姓名",
  5897. "type": "string"
  5898. },
  5899. {
  5900. "name": "roles",
  5901. "in": "query",
  5902. "required": false,
  5903. "description": "后台管理员权限(menus_id)",
  5904. "type": "string"
  5905. },
  5906. {
  5907. "name": "status",
  5908. "in": "query",
  5909. "required": false,
  5910. "description": "后台管理员状态 1有效0无效",
  5911. "type": "string"
  5912. }
  5913. ],
  5914. "responses": {
  5915. "200": {
  5916. "description": "successful operation",
  5917. "schema": {
  5918. "type": "object",
  5919. "properties": {
  5920. "code": {
  5921. "type": "integer",
  5922. "format": "int64"
  5923. },
  5924. "data": {
  5925. "type": "object",
  5926. "properties": {
  5927. "account": {
  5928. "type": "string"
  5929. },
  5930. "addTime": {
  5931. "type": "integer",
  5932. "format": "int32"
  5933. },
  5934. "id": {
  5935. "type": "integer",
  5936. "format": "int32"
  5937. },
  5938. "lastIp": {
  5939. "type": "string"
  5940. },
  5941. "lastTime": {
  5942. "type": "integer",
  5943. "format": "int32"
  5944. },
  5945. "level": {
  5946. "type": "integer",
  5947. "format": "int32"
  5948. },
  5949. "loginCount": {
  5950. "type": "integer",
  5951. "format": "int32"
  5952. },
  5953. "realName": {
  5954. "type": "string"
  5955. },
  5956. "roles": {
  5957. "type": "string"
  5958. },
  5959. "status": {
  5960. "type": "boolean"
  5961. },
  5962. "token": {
  5963. "type": "string"
  5964. }
  5965. },
  5966. "title": "SystemAdminResponse",
  5967. "$$ref": "#/definitions/SystemAdminResponse"
  5968. },
  5969. "message": {
  5970. "type": "string"
  5971. }
  5972. },
  5973. "title": "CommonResult«SystemAdminResponse»",
  5974. "$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
  5975. }
  5976. }
  5977. }
  5978. }
  5979. },
  5980. "/api/admin/system/admin/info": {
  5981. "get": {
  5982. "tags": [
  5983. "后台用户服务"
  5984. ],
  5985. "summary": "详情",
  5986. "consumes": [
  5987. "text/plain"
  5988. ],
  5989. "parameters": [
  5990. {
  5991. "name": "id",
  5992. "in": "query",
  5993. "required": false,
  5994. "description": "id",
  5995. "type": "string"
  5996. },
  5997. {
  5998. "name": "raw",
  5999. "in": "body",
  6000. "description": "raw paramter",
  6001. "schema": {
  6002. "type": "string",
  6003. "format": "binary"
  6004. }
  6005. }
  6006. ],
  6007. "responses": {
  6008. "200": {
  6009. "description": "successful operation",
  6010. "schema": {
  6011. "type": "object",
  6012. "properties": {
  6013. "code": {
  6014. "type": "integer",
  6015. "format": "int64"
  6016. },
  6017. "data": {
  6018. "type": "object",
  6019. "properties": {
  6020. "account": {
  6021. "type": "string",
  6022. "description": "后台管理员账号"
  6023. },
  6024. "addTime": {
  6025. "type": "integer",
  6026. "format": "int32",
  6027. "description": "后台管理员添加时间"
  6028. },
  6029. "id": {
  6030. "type": "integer",
  6031. "format": "int32",
  6032. "description": "后台管理员表ID"
  6033. },
  6034. "isDel": {
  6035. "type": "boolean"
  6036. },
  6037. "lastIp": {
  6038. "type": "string",
  6039. "description": "后台管理员最后一次登录ip"
  6040. },
  6041. "lastTime": {
  6042. "type": "integer",
  6043. "format": "int32",
  6044. "description": "后台管理员最后一次登录时间"
  6045. },
  6046. "level": {
  6047. "type": "integer",
  6048. "format": "int32",
  6049. "description": "后台管理员级别"
  6050. },
  6051. "loginCount": {
  6052. "type": "integer",
  6053. "format": "int32",
  6054. "description": "登录次数"
  6055. },
  6056. "pwd": {
  6057. "type": "string",
  6058. "description": "后台管理员密码"
  6059. },
  6060. "realName": {
  6061. "type": "string",
  6062. "description": "后台管理员姓名"
  6063. },
  6064. "roles": {
  6065. "type": "string",
  6066. "description": "后台管理员权限(menus_id)"
  6067. },
  6068. "status": {
  6069. "type": "boolean",
  6070. "description": "后台管理员状态 1有效0无效"
  6071. }
  6072. },
  6073. "title": "SystemAdmin对象",
  6074. "description": "后台管理员表",
  6075. "$$ref": "#/definitions/SystemAdmin对象"
  6076. },
  6077. "message": {
  6078. "type": "string"
  6079. }
  6080. },
  6081. "title": "CommonResult«SystemAdmin对象»",
  6082. "$$ref": "#/definitions/CommonResult«SystemAdmin对象»"
  6083. }
  6084. }
  6085. }
  6086. }
  6087. },
  6088. "/api/admin/store/product/putOnShell/{id}": {
  6089. "get": {
  6090. "tags": [
  6091. "商品"
  6092. ],
  6093. "summary": "上架",
  6094. "consumes": [
  6095. "text/plain"
  6096. ],
  6097. "parameters": [
  6098. {
  6099. "name": "id",
  6100. "in": "path",
  6101. "description": "id",
  6102. "required": true,
  6103. "type": "string"
  6104. },
  6105. {
  6106. "name": "raw",
  6107. "in": "body",
  6108. "description": "raw paramter",
  6109. "schema": {
  6110. "type": "string",
  6111. "format": "binary"
  6112. }
  6113. }
  6114. ],
  6115. "responses": {
  6116. "200": {
  6117. "description": "successful operation",
  6118. "schema": {
  6119. "type": "object",
  6120. "properties": {
  6121. "code": {
  6122. "type": "integer",
  6123. "format": "int64"
  6124. },
  6125. "data": {
  6126. "type": "string"
  6127. },
  6128. "message": {
  6129. "type": "string"
  6130. }
  6131. },
  6132. "title": "CommonResult«string»",
  6133. "$$ref": "#/definitions/CommonResult«string»"
  6134. }
  6135. }
  6136. }
  6137. }
  6138. },
  6139. "/api/admin/store/product/offShell/{id}": {
  6140. "get": {
  6141. "tags": [
  6142. "商品"
  6143. ],
  6144. "summary": "下架",
  6145. "consumes": [
  6146. "text/plain"
  6147. ],
  6148. "parameters": [
  6149. {
  6150. "name": "id",
  6151. "in": "path",
  6152. "description": "id",
  6153. "required": true,
  6154. "type": "string"
  6155. },
  6156. {
  6157. "name": "raw",
  6158. "in": "body",
  6159. "description": "raw paramter",
  6160. "schema": {
  6161. "type": "string",
  6162. "format": "binary"
  6163. }
  6164. }
  6165. ],
  6166. "responses": {
  6167. "200": {
  6168. "description": "successful operation",
  6169. "schema": {
  6170. "type": "object",
  6171. "properties": {
  6172. "code": {
  6173. "type": "integer",
  6174. "format": "int64"
  6175. },
  6176. "data": {
  6177. "type": "string"
  6178. },
  6179. "message": {
  6180. "type": "string"
  6181. }
  6182. },
  6183. "title": "CommonResult«string»",
  6184. "$$ref": "#/definitions/CommonResult«string»"
  6185. }
  6186. }
  6187. }
  6188. }
  6189. },
  6190. "/api/admin/store/product/update": {
  6191. "post": {
  6192. "tags": [
  6193. "商品"
  6194. ],
  6195. "summary": "修改",
  6196. "consumes": [
  6197. "application/json"
  6198. ],
  6199. "parameters": [
  6200. {
  6201. "name": "root",
  6202. "in": "body",
  6203. "description": "商品表",
  6204. "schema": {
  6205. "type": "object",
  6206. "properties": {
  6207. "activity": {
  6208. "type": "string",
  6209. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  6210. },
  6211. "addTime": {
  6212. "type": "integer",
  6213. "format": "int32",
  6214. "description": "添加时间"
  6215. },
  6216. "attr": {
  6217. "type": "array",
  6218. "description": "商品属性",
  6219. "items": {
  6220. "type": "object",
  6221. "properties": {
  6222. "attrName": {
  6223. "type": "string",
  6224. "description": "属性名"
  6225. },
  6226. "attrValues": {
  6227. "type": "string",
  6228. "description": "属性值"
  6229. },
  6230. "id": {
  6231. "type": "integer",
  6232. "format": "int32",
  6233. "description": "attrId"
  6234. },
  6235. "productId": {
  6236. "type": "integer",
  6237. "format": "int32",
  6238. "description": "商品ID"
  6239. },
  6240. "type": {
  6241. "type": "integer",
  6242. "format": "int32",
  6243. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  6244. }
  6245. },
  6246. "title": "StoreProductAttr对象",
  6247. "description": "商品属性表",
  6248. "$$ref": "#/definitions/StoreProductAttr对象"
  6249. }
  6250. },
  6251. "attrValue": {
  6252. "type": "array",
  6253. "description": "商品属性详情",
  6254. "items": {
  6255. "type": "object",
  6256. "properties": {
  6257. "attrValue": {
  6258. "type": "object",
  6259. "description": "attrValue字段,前端传递后用作sku字段",
  6260. "additionalProperties": {
  6261. "type": "string"
  6262. }
  6263. },
  6264. "barCode": {
  6265. "type": "string",
  6266. "description": "商品条码"
  6267. },
  6268. "brokerage": {
  6269. "type": "number",
  6270. "description": "一级返佣"
  6271. },
  6272. "brokerageTwo": {
  6273. "type": "number",
  6274. "description": "二级返佣"
  6275. },
  6276. "cost": {
  6277. "type": "number",
  6278. "description": "成本价"
  6279. },
  6280. "createTime": {
  6281. "type": "string",
  6282. "format": "date-time",
  6283. "description": "创建时间"
  6284. },
  6285. "id": {
  6286. "type": "integer",
  6287. "format": "int32",
  6288. "description": "ID"
  6289. },
  6290. "image": {
  6291. "type": "string",
  6292. "description": "图片"
  6293. },
  6294. "otPrice": {
  6295. "type": "number",
  6296. "description": "原价"
  6297. },
  6298. "price": {
  6299. "type": "number",
  6300. "description": "属性金额"
  6301. },
  6302. "productId": {
  6303. "type": "integer",
  6304. "format": "int32",
  6305. "example": 0,
  6306. "description": "商品ID"
  6307. },
  6308. "quota": {
  6309. "type": "integer",
  6310. "format": "int32",
  6311. "description": "活动限购数量"
  6312. },
  6313. "quotaShow": {
  6314. "type": "integer",
  6315. "format": "int32",
  6316. "description": "活动限购数量显示"
  6317. },
  6318. "sales": {
  6319. "type": "integer",
  6320. "format": "int32",
  6321. "description": "销量"
  6322. },
  6323. "stock": {
  6324. "type": "integer",
  6325. "format": "int32",
  6326. "description": "属性对应的库存"
  6327. },
  6328. "suk": {
  6329. "type": "string",
  6330. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  6331. },
  6332. "type": {
  6333. "type": "boolean",
  6334. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  6335. },
  6336. "unique": {
  6337. "type": "string",
  6338. "description": "唯一值"
  6339. },
  6340. "updateTime": {
  6341. "type": "string",
  6342. "format": "date-time",
  6343. "description": "更新时间"
  6344. },
  6345. "volume": {
  6346. "type": "number",
  6347. "description": "体积"
  6348. },
  6349. "weight": {
  6350. "type": "number",
  6351. "description": "重量"
  6352. }
  6353. },
  6354. "title": "StoreProductAttrValueRequest对象",
  6355. "description": "商品属性值表",
  6356. "$$ref": "#/definitions/StoreProductAttrValueRequest对象"
  6357. }
  6358. },
  6359. "barCode": {
  6360. "type": "string",
  6361. "description": "商品条码(一维码)"
  6362. },
  6363. "browse": {
  6364. "type": "integer",
  6365. "format": "int32",
  6366. "description": "浏览量"
  6367. },
  6368. "cateId": {
  6369. "type": "string",
  6370. "description": "分类id"
  6371. },
  6372. "cateIds": {
  6373. "type": "array",
  6374. "description": "商品分类",
  6375. "items": {
  6376. "type": "integer",
  6377. "format": "int32"
  6378. }
  6379. },
  6380. "codePath": {
  6381. "type": "string",
  6382. "description": "商品二维码地址(用户小程序海报)"
  6383. },
  6384. "content": {
  6385. "type": "string",
  6386. "description": "商品描述"
  6387. },
  6388. "cost": {
  6389. "type": "number",
  6390. "description": "成本价"
  6391. },
  6392. "couponIds": {
  6393. "type": "array",
  6394. "description": "优惠券id集合",
  6395. "items": {
  6396. "type": "integer",
  6397. "format": "int32"
  6398. }
  6399. },
  6400. "ficti": {
  6401. "type": "integer",
  6402. "format": "int32",
  6403. "description": "虚拟销量"
  6404. },
  6405. "giveIntegral": {
  6406. "type": "number",
  6407. "description": "获得积分"
  6408. },
  6409. "id": {
  6410. "type": "integer",
  6411. "format": "int32",
  6412. "description": "商品id"
  6413. },
  6414. "image": {
  6415. "type": "string",
  6416. "description": "商品图片"
  6417. },
  6418. "isBargain": {
  6419. "type": "boolean",
  6420. "description": "砍价状态 0未开启 1开启"
  6421. },
  6422. "isBenefit": {
  6423. "type": "boolean",
  6424. "description": "是否优惠"
  6425. },
  6426. "isBest": {
  6427. "type": "boolean",
  6428. "description": "是否精品"
  6429. },
  6430. "isDel": {
  6431. "type": "boolean",
  6432. "description": "是否删除"
  6433. },
  6434. "isGood": {
  6435. "type": "boolean",
  6436. "description": "是否优品推荐"
  6437. },
  6438. "isHot": {
  6439. "type": "boolean",
  6440. "description": "是否热卖"
  6441. },
  6442. "isNew": {
  6443. "type": "boolean",
  6444. "description": "是否新品"
  6445. },
  6446. "isPostage": {
  6447. "type": "boolean",
  6448. "description": "是否包邮"
  6449. },
  6450. "isSeckill": {
  6451. "type": "boolean",
  6452. "description": "秒杀状态 0 未开启 1已开启"
  6453. },
  6454. "isShow": {
  6455. "type": "boolean",
  6456. "description": "状态(0:未上架,1:上架)"
  6457. },
  6458. "isSub": {
  6459. "type": "boolean",
  6460. "description": "是否单独分佣"
  6461. },
  6462. "keyword": {
  6463. "type": "string",
  6464. "description": "关键字"
  6465. },
  6466. "merId": {
  6467. "type": "integer",
  6468. "format": "int32",
  6469. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  6470. },
  6471. "merUse": {
  6472. "type": "boolean",
  6473. "description": "商户是否代理 0不可代理1可代理"
  6474. },
  6475. "otPrice": {
  6476. "type": "number",
  6477. "description": "市场价"
  6478. },
  6479. "postage": {
  6480. "type": "number",
  6481. "description": "邮费"
  6482. },
  6483. "price": {
  6484. "type": "number",
  6485. "description": "商品价格"
  6486. },
  6487. "sales": {
  6488. "type": "integer",
  6489. "format": "int32",
  6490. "description": "销量"
  6491. },
  6492. "sliderImage": {
  6493. "type": "string",
  6494. "description": "轮播图"
  6495. },
  6496. "sort": {
  6497. "type": "integer",
  6498. "format": "int32",
  6499. "description": "排序"
  6500. },
  6501. "soureLink": {
  6502. "type": "string",
  6503. "description": "淘宝京东1688类型"
  6504. },
  6505. "specType": {
  6506. "type": "boolean",
  6507. "description": "规格 0单 1多"
  6508. },
  6509. "stock": {
  6510. "type": "integer",
  6511. "format": "int32",
  6512. "description": "库存"
  6513. },
  6514. "storeInfo": {
  6515. "type": "string",
  6516. "description": "商品简介"
  6517. },
  6518. "storeName": {
  6519. "type": "string",
  6520. "description": "商品名称"
  6521. },
  6522. "tempId": {
  6523. "type": "integer",
  6524. "format": "int32",
  6525. "description": "运费模板ID"
  6526. },
  6527. "unitName": {
  6528. "type": "string",
  6529. "description": "单位名"
  6530. },
  6531. "videoLink": {
  6532. "type": "string",
  6533. "description": "主图视频链接"
  6534. },
  6535. "vipPrice": {
  6536. "type": "number",
  6537. "description": "会员价格"
  6538. }
  6539. },
  6540. "title": "StoreProductRequest对象",
  6541. "description": "商品表",
  6542. "$$ref": "#/definitions/StoreProductRequest对象"
  6543. }
  6544. }
  6545. ],
  6546. "responses": {
  6547. "200": {
  6548. "description": "successful operation",
  6549. "schema": {
  6550. "type": "object",
  6551. "properties": {
  6552. "code": {
  6553. "type": "integer",
  6554. "format": "int64"
  6555. },
  6556. "data": {
  6557. "type": "string"
  6558. },
  6559. "message": {
  6560. "type": "string"
  6561. }
  6562. },
  6563. "title": "CommonResult«string»",
  6564. "$$ref": "#/definitions/CommonResult«string»"
  6565. }
  6566. }
  6567. }
  6568. }
  6569. },
  6570. "/api/admin/store/product/list": {
  6571. "get": {
  6572. "tags": [
  6573. "商品"
  6574. ],
  6575. "summary": "分页列表",
  6576. "consumes": [
  6577. "text/plain"
  6578. ],
  6579. "parameters": [
  6580. {
  6581. "name": "cateId",
  6582. "in": "query",
  6583. "required": false,
  6584. "description": "分类ID, 多个逗号分隔",
  6585. "type": "string"
  6586. },
  6587. {
  6588. "name": "isBenefit",
  6589. "in": "query",
  6590. "required": false,
  6591. "description": "是否优惠",
  6592. "type": "string"
  6593. },
  6594. {
  6595. "name": "isBest",
  6596. "in": "query",
  6597. "required": false,
  6598. "description": "是否精品",
  6599. "type": "string"
  6600. },
  6601. {
  6602. "name": "isGood",
  6603. "in": "query",
  6604. "required": false,
  6605. "description": "是否推荐",
  6606. "type": "string"
  6607. },
  6608. {
  6609. "name": "isHot",
  6610. "in": "query",
  6611. "required": false,
  6612. "description": "是否热卖",
  6613. "type": "string"
  6614. },
  6615. {
  6616. "name": "isNew",
  6617. "in": "query",
  6618. "required": false,
  6619. "description": "是否新品",
  6620. "type": "string"
  6621. },
  6622. {
  6623. "name": "isShow",
  6624. "in": "query",
  6625. "required": false,
  6626. "description": "状态(0:未上架,1:上架)",
  6627. "type": "string"
  6628. },
  6629. {
  6630. "name": "keywords",
  6631. "in": "query",
  6632. "required": false,
  6633. "description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)",
  6634. "type": "string"
  6635. },
  6636. {
  6637. "name": "limit",
  6638. "in": "query",
  6639. "required": false,
  6640. "description": "每页数量",
  6641. "type": "string"
  6642. },
  6643. {
  6644. "name": "page",
  6645. "in": "query",
  6646. "required": false,
  6647. "description": "页码",
  6648. "type": "string"
  6649. },
  6650. {
  6651. "name": "type",
  6652. "in": "query",
  6653. "required": false,
  6654. "description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)",
  6655. "type": "string"
  6656. },
  6657. {
  6658. "name": "raw",
  6659. "in": "body",
  6660. "description": "raw paramter",
  6661. "schema": {
  6662. "type": "string",
  6663. "format": "binary"
  6664. }
  6665. }
  6666. ],
  6667. "responses": {
  6668. "200": {
  6669. "description": "successful operation",
  6670. "schema": {
  6671. "type": "object",
  6672. "properties": {
  6673. "code": {
  6674. "type": "integer",
  6675. "format": "int64"
  6676. },
  6677. "data": {
  6678. "type": "object",
  6679. "properties": {
  6680. "limit": {
  6681. "type": "integer",
  6682. "format": "int32"
  6683. },
  6684. "list": {
  6685. "type": "array",
  6686. "items": {
  6687. "type": "object",
  6688. "properties": {
  6689. "activity": {
  6690. "type": "string",
  6691. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  6692. },
  6693. "addTime": {
  6694. "type": "integer",
  6695. "format": "int32",
  6696. "description": "添加时间"
  6697. },
  6698. "barCode": {
  6699. "type": "string",
  6700. "description": "商品条码(一维码)"
  6701. },
  6702. "browse": {
  6703. "type": "integer",
  6704. "format": "int32",
  6705. "description": "浏览量"
  6706. },
  6707. "cateId": {
  6708. "type": "string",
  6709. "description": "分类id"
  6710. },
  6711. "codePath": {
  6712. "type": "string",
  6713. "description": "商品二维码地址(用户小程序海报)"
  6714. },
  6715. "cost": {
  6716. "type": "number",
  6717. "description": "成本价"
  6718. },
  6719. "ficti": {
  6720. "type": "integer",
  6721. "format": "int32",
  6722. "description": "虚拟销量"
  6723. },
  6724. "giveIntegral": {
  6725. "type": "number",
  6726. "description": "获得积分"
  6727. },
  6728. "id": {
  6729. "type": "integer",
  6730. "format": "int32",
  6731. "description": "商品id"
  6732. },
  6733. "image": {
  6734. "type": "string",
  6735. "description": "商品图片"
  6736. },
  6737. "isBargain": {
  6738. "type": "boolean",
  6739. "description": "砍价状态 0未开启 1开启"
  6740. },
  6741. "isBenefit": {
  6742. "type": "boolean",
  6743. "description": "是否优惠"
  6744. },
  6745. "isBest": {
  6746. "type": "boolean",
  6747. "description": "是否精品"
  6748. },
  6749. "isDel": {
  6750. "type": "boolean",
  6751. "description": "是否删除"
  6752. },
  6753. "isGood": {
  6754. "type": "boolean",
  6755. "description": "是否优品推荐"
  6756. },
  6757. "isHot": {
  6758. "type": "boolean",
  6759. "description": "是否热卖"
  6760. },
  6761. "isNew": {
  6762. "type": "boolean",
  6763. "description": "是否新品"
  6764. },
  6765. "isPostage": {
  6766. "type": "boolean",
  6767. "description": "是否包邮"
  6768. },
  6769. "isSeckill": {
  6770. "type": "boolean",
  6771. "description": "秒杀状态 0 未开启 1已开启"
  6772. },
  6773. "isShow": {
  6774. "type": "boolean",
  6775. "description": "状态(0:未上架,1:上架)"
  6776. },
  6777. "isSub": {
  6778. "type": "boolean",
  6779. "description": "是否单独分佣"
  6780. },
  6781. "keyword": {
  6782. "type": "string",
  6783. "description": "关键字"
  6784. },
  6785. "merId": {
  6786. "type": "integer",
  6787. "format": "int32",
  6788. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  6789. },
  6790. "merUse": {
  6791. "type": "boolean",
  6792. "description": "商户是否代理 0不可代理1可代理"
  6793. },
  6794. "otPrice": {
  6795. "type": "number",
  6796. "description": "市场价"
  6797. },
  6798. "postage": {
  6799. "type": "number",
  6800. "description": "邮费"
  6801. },
  6802. "price": {
  6803. "type": "number",
  6804. "description": "商品价格"
  6805. },
  6806. "sales": {
  6807. "type": "integer",
  6808. "format": "int32",
  6809. "description": "销量"
  6810. },
  6811. "sliderImage": {
  6812. "type": "string",
  6813. "description": "轮播图"
  6814. },
  6815. "sort": {
  6816. "type": "integer",
  6817. "format": "int32",
  6818. "description": "排序"
  6819. },
  6820. "soureLink": {
  6821. "type": "string",
  6822. "description": "淘宝京东1688类型"
  6823. },
  6824. "specType": {
  6825. "type": "boolean",
  6826. "description": "规格 0单 1多"
  6827. },
  6828. "stock": {
  6829. "type": "integer",
  6830. "format": "int32",
  6831. "description": "库存"
  6832. },
  6833. "storeInfo": {
  6834. "type": "string",
  6835. "description": "商品简介"
  6836. },
  6837. "storeName": {
  6838. "type": "string",
  6839. "description": "商品名称"
  6840. },
  6841. "tempId": {
  6842. "type": "integer",
  6843. "format": "int32",
  6844. "description": "运费模板ID"
  6845. },
  6846. "unitName": {
  6847. "type": "string",
  6848. "description": "单位名"
  6849. },
  6850. "videoLink": {
  6851. "type": "string",
  6852. "description": "主图视频链接"
  6853. },
  6854. "vipPrice": {
  6855. "type": "number",
  6856. "description": "会员价格"
  6857. }
  6858. },
  6859. "title": "StoreProduct对象",
  6860. "description": "商品表",
  6861. "$$ref": "#/definitions/StoreProduct对象"
  6862. }
  6863. },
  6864. "page": {
  6865. "type": "integer",
  6866. "format": "int32"
  6867. },
  6868. "total": {
  6869. "type": "integer",
  6870. "format": "int64"
  6871. },
  6872. "totalPage": {
  6873. "type": "integer",
  6874. "format": "int32"
  6875. }
  6876. },
  6877. "title": "CommonPage«StoreProduct对象»",
  6878. "$$ref": "#/definitions/CommonPage«StoreProduct对象»"
  6879. },
  6880. "message": {
  6881. "type": "string"
  6882. }
  6883. },
  6884. "title": "CommonResult«CommonPage«StoreProduct对象»»",
  6885. "$$ref": "#/definitions/CommonResult«CommonPage«StoreProduct对象»»"
  6886. }
  6887. }
  6888. }
  6889. }
  6890. },
  6891. "/api/admin/store/product/delete/{id}": {
  6892. "get": {
  6893. "tags": [
  6894. "商品"
  6895. ],
  6896. "summary": "删除",
  6897. "consumes": [
  6898. "text/plain"
  6899. ],
  6900. "parameters": [
  6901. {
  6902. "name": "id",
  6903. "in": "path",
  6904. "description": "id",
  6905. "required": true,
  6906. "type": "string"
  6907. },
  6908. {
  6909. "name": "raw",
  6910. "in": "body",
  6911. "description": "raw paramter",
  6912. "schema": {
  6913. "type": "string",
  6914. "format": "binary"
  6915. }
  6916. }
  6917. ],
  6918. "responses": {
  6919. "200": {
  6920. "description": "successful operation",
  6921. "schema": {
  6922. "type": "object",
  6923. "properties": {
  6924. "code": {
  6925. "type": "integer",
  6926. "format": "int64"
  6927. },
  6928. "data": {
  6929. "type": "string"
  6930. },
  6931. "message": {
  6932. "type": "string"
  6933. }
  6934. },
  6935. "title": "CommonResult«string»",
  6936. "$$ref": "#/definitions/CommonResult«string»"
  6937. }
  6938. }
  6939. }
  6940. }
  6941. },
  6942. "/api/admin/store/product/tabs/headers": {
  6943. "get": {
  6944. "tags": [
  6945. "商品"
  6946. ],
  6947. "summary": "商品表头数量",
  6948. "consumes": [
  6949. "text/plain"
  6950. ],
  6951. "parameters": [
  6952. {
  6953. "name": "raw",
  6954. "in": "body",
  6955. "description": "raw paramter",
  6956. "schema": {
  6957. "type": "string",
  6958. "format": "binary"
  6959. }
  6960. }
  6961. ],
  6962. "responses": {
  6963. "200": {
  6964. "description": "successful operation",
  6965. "schema": {
  6966. "type": "object",
  6967. "properties": {
  6968. "code": {
  6969. "type": "integer",
  6970. "format": "int64"
  6971. },
  6972. "data": {
  6973. "type": "array",
  6974. "items": {
  6975. "type": "object",
  6976. "properties": {
  6977. "count": {
  6978. "type": "integer",
  6979. "format": "int32"
  6980. },
  6981. "name": {
  6982. "type": "string"
  6983. },
  6984. "type": {
  6985. "type": "integer",
  6986. "format": "int32"
  6987. }
  6988. },
  6989. "title": "StoreProductTabsHeader",
  6990. "$$ref": "#/definitions/StoreProductTabsHeader"
  6991. }
  6992. },
  6993. "message": {
  6994. "type": "string"
  6995. }
  6996. },
  6997. "title": "CommonResult«List«StoreProductTabsHeader»»",
  6998. "$$ref": "#/definitions/CommonResult«List«StoreProductTabsHeader»»"
  6999. }
  7000. }
  7001. }
  7002. }
  7003. },
  7004. "/api/admin/store/product/importProduct": {
  7005. "post": {
  7006. "tags": [
  7007. "商品"
  7008. ],
  7009. "summary": "导入商品",
  7010. "consumes": [
  7011. "application/json"
  7012. ],
  7013. "parameters": [
  7014. {
  7015. "name": "form",
  7016. "in": "query",
  7017. "required": false,
  7018. "description": "导入平台1=淘宝,2=京东,3=苏宁,4=拼多多, 5=天猫",
  7019. "type": "string"
  7020. },
  7021. {
  7022. "name": "url",
  7023. "in": "query",
  7024. "required": false,
  7025. "description": "URL",
  7026. "type": "string"
  7027. }
  7028. ],
  7029. "responses": {
  7030. "200": {
  7031. "description": "successful operation",
  7032. "schema": {
  7033. "type": "object",
  7034. "properties": {
  7035. "code": {
  7036. "type": "integer",
  7037. "format": "int64"
  7038. },
  7039. "data": {
  7040. "type": "object",
  7041. "properties": {
  7042. "activity": {
  7043. "type": "string",
  7044. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  7045. },
  7046. "addTime": {
  7047. "type": "integer",
  7048. "format": "int32",
  7049. "description": "添加时间"
  7050. },
  7051. "attr": {
  7052. "type": "array",
  7053. "description": "商品属性",
  7054. "items": {
  7055. "type": "object",
  7056. "properties": {
  7057. "attrName": {
  7058. "type": "string",
  7059. "description": "属性名"
  7060. },
  7061. "attrValues": {
  7062. "type": "string",
  7063. "description": "属性值"
  7064. },
  7065. "id": {
  7066. "type": "integer",
  7067. "format": "int32",
  7068. "description": "attrId"
  7069. },
  7070. "productId": {
  7071. "type": "integer",
  7072. "format": "int32",
  7073. "description": "商品ID"
  7074. },
  7075. "type": {
  7076. "type": "integer",
  7077. "format": "int32",
  7078. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  7079. }
  7080. },
  7081. "title": "StoreProductAttr对象",
  7082. "description": "商品属性表",
  7083. "$$ref": "#/definitions/StoreProductAttr对象"
  7084. }
  7085. },
  7086. "attrValue": {
  7087. "type": "array",
  7088. "description": "商品属性详情",
  7089. "items": {
  7090. "type": "object",
  7091. "properties": {
  7092. "attrValue": {
  7093. "type": "object",
  7094. "description": "attrValue字段,前端传递后用作sku字段",
  7095. "additionalProperties": {
  7096. "type": "string"
  7097. }
  7098. },
  7099. "barCode": {
  7100. "type": "string",
  7101. "description": "商品条码"
  7102. },
  7103. "brokerage": {
  7104. "type": "number",
  7105. "description": "一级返佣"
  7106. },
  7107. "brokerageTwo": {
  7108. "type": "number",
  7109. "description": "二级返佣"
  7110. },
  7111. "cost": {
  7112. "type": "number",
  7113. "description": "成本价"
  7114. },
  7115. "createTime": {
  7116. "type": "string",
  7117. "format": "date-time",
  7118. "description": "创建时间"
  7119. },
  7120. "id": {
  7121. "type": "integer",
  7122. "format": "int32",
  7123. "description": "ID"
  7124. },
  7125. "image": {
  7126. "type": "string",
  7127. "description": "图片"
  7128. },
  7129. "otPrice": {
  7130. "type": "number",
  7131. "description": "原价"
  7132. },
  7133. "price": {
  7134. "type": "number",
  7135. "description": "属性金额"
  7136. },
  7137. "productId": {
  7138. "type": "integer",
  7139. "format": "int32",
  7140. "example": 0,
  7141. "description": "商品ID"
  7142. },
  7143. "quota": {
  7144. "type": "integer",
  7145. "format": "int32",
  7146. "description": "活动限购数量"
  7147. },
  7148. "quotaShow": {
  7149. "type": "integer",
  7150. "format": "int32",
  7151. "description": "活动限购数量显示"
  7152. },
  7153. "sales": {
  7154. "type": "integer",
  7155. "format": "int32",
  7156. "description": "销量"
  7157. },
  7158. "stock": {
  7159. "type": "integer",
  7160. "format": "int32",
  7161. "description": "属性对应的库存"
  7162. },
  7163. "suk": {
  7164. "type": "string",
  7165. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  7166. },
  7167. "type": {
  7168. "type": "boolean",
  7169. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  7170. },
  7171. "unique": {
  7172. "type": "string",
  7173. "description": "唯一值"
  7174. },
  7175. "updateTime": {
  7176. "type": "string",
  7177. "format": "date-time",
  7178. "description": "更新时间"
  7179. },
  7180. "volume": {
  7181. "type": "number",
  7182. "description": "体积"
  7183. },
  7184. "weight": {
  7185. "type": "number",
  7186. "description": "重量"
  7187. }
  7188. },
  7189. "title": "StoreProductAttrValueRequest对象",
  7190. "description": "商品属性值表",
  7191. "$$ref": "#/definitions/StoreProductAttrValueRequest对象"
  7192. }
  7193. },
  7194. "barCode": {
  7195. "type": "string",
  7196. "description": "商品条码(一维码)"
  7197. },
  7198. "browse": {
  7199. "type": "integer",
  7200. "format": "int32",
  7201. "description": "浏览量"
  7202. },
  7203. "cateId": {
  7204. "type": "string",
  7205. "description": "分类id"
  7206. },
  7207. "cateIds": {
  7208. "type": "array",
  7209. "description": "商品分类",
  7210. "items": {
  7211. "type": "integer",
  7212. "format": "int32"
  7213. }
  7214. },
  7215. "codePath": {
  7216. "type": "string",
  7217. "description": "商品二维码地址(用户小程序海报)"
  7218. },
  7219. "content": {
  7220. "type": "string",
  7221. "description": "商品描述"
  7222. },
  7223. "cost": {
  7224. "type": "number",
  7225. "description": "成本价"
  7226. },
  7227. "couponIds": {
  7228. "type": "array",
  7229. "description": "优惠券id集合",
  7230. "items": {
  7231. "type": "integer",
  7232. "format": "int32"
  7233. }
  7234. },
  7235. "ficti": {
  7236. "type": "integer",
  7237. "format": "int32",
  7238. "description": "虚拟销量"
  7239. },
  7240. "giveIntegral": {
  7241. "type": "number",
  7242. "description": "获得积分"
  7243. },
  7244. "id": {
  7245. "type": "integer",
  7246. "format": "int32",
  7247. "description": "商品id"
  7248. },
  7249. "image": {
  7250. "type": "string",
  7251. "description": "商品图片"
  7252. },
  7253. "isBargain": {
  7254. "type": "boolean",
  7255. "description": "砍价状态 0未开启 1开启"
  7256. },
  7257. "isBenefit": {
  7258. "type": "boolean",
  7259. "description": "是否优惠"
  7260. },
  7261. "isBest": {
  7262. "type": "boolean",
  7263. "description": "是否精品"
  7264. },
  7265. "isDel": {
  7266. "type": "boolean",
  7267. "description": "是否删除"
  7268. },
  7269. "isGood": {
  7270. "type": "boolean",
  7271. "description": "是否优品推荐"
  7272. },
  7273. "isHot": {
  7274. "type": "boolean",
  7275. "description": "是否热卖"
  7276. },
  7277. "isNew": {
  7278. "type": "boolean",
  7279. "description": "是否新品"
  7280. },
  7281. "isPostage": {
  7282. "type": "boolean",
  7283. "description": "是否包邮"
  7284. },
  7285. "isSeckill": {
  7286. "type": "boolean",
  7287. "description": "秒杀状态 0 未开启 1已开启"
  7288. },
  7289. "isShow": {
  7290. "type": "boolean",
  7291. "description": "状态(0:未上架,1:上架)"
  7292. },
  7293. "isSub": {
  7294. "type": "boolean",
  7295. "description": "是否单独分佣"
  7296. },
  7297. "keyword": {
  7298. "type": "string",
  7299. "description": "关键字"
  7300. },
  7301. "merId": {
  7302. "type": "integer",
  7303. "format": "int32",
  7304. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  7305. },
  7306. "merUse": {
  7307. "type": "boolean",
  7308. "description": "商户是否代理 0不可代理1可代理"
  7309. },
  7310. "otPrice": {
  7311. "type": "number",
  7312. "description": "市场价"
  7313. },
  7314. "postage": {
  7315. "type": "number",
  7316. "description": "邮费"
  7317. },
  7318. "price": {
  7319. "type": "number",
  7320. "description": "商品价格"
  7321. },
  7322. "sales": {
  7323. "type": "integer",
  7324. "format": "int32",
  7325. "description": "销量"
  7326. },
  7327. "sliderImage": {
  7328. "type": "string",
  7329. "description": "轮播图"
  7330. },
  7331. "sort": {
  7332. "type": "integer",
  7333. "format": "int32",
  7334. "description": "排序"
  7335. },
  7336. "soureLink": {
  7337. "type": "string",
  7338. "description": "淘宝京东1688类型"
  7339. },
  7340. "specType": {
  7341. "type": "boolean",
  7342. "description": "规格 0单 1多"
  7343. },
  7344. "stock": {
  7345. "type": "integer",
  7346. "format": "int32",
  7347. "description": "库存"
  7348. },
  7349. "storeInfo": {
  7350. "type": "string",
  7351. "description": "商品简介"
  7352. },
  7353. "storeName": {
  7354. "type": "string",
  7355. "description": "商品名称"
  7356. },
  7357. "tempId": {
  7358. "type": "integer",
  7359. "format": "int32",
  7360. "description": "运费模板ID"
  7361. },
  7362. "unitName": {
  7363. "type": "string",
  7364. "description": "单位名"
  7365. },
  7366. "videoLink": {
  7367. "type": "string",
  7368. "description": "主图视频链接"
  7369. },
  7370. "vipPrice": {
  7371. "type": "number",
  7372. "description": "会员价格"
  7373. }
  7374. },
  7375. "title": "StoreProductRequest对象",
  7376. "description": "商品表",
  7377. "$$ref": "#/definitions/StoreProductRequest对象"
  7378. },
  7379. "message": {
  7380. "type": "string"
  7381. }
  7382. },
  7383. "title": "CommonResult«StoreProductRequest对象»",
  7384. "$$ref": "#/definitions/CommonResult«StoreProductRequest对象»"
  7385. }
  7386. }
  7387. }
  7388. }
  7389. },
  7390. "/api/admin/store/product/stock": {
  7391. "get": {
  7392. "tags": [
  7393. "商品"
  7394. ],
  7395. "summary": "库存变动",
  7396. "consumes": [
  7397. "text/plain"
  7398. ],
  7399. "parameters": [
  7400. {
  7401. "name": "idList",
  7402. "in": "query",
  7403. "required": false,
  7404. "description": "商品ID, 多个逗号分割,如果是修改所有的,参数值为 all",
  7405. "type": "string"
  7406. },
  7407. {
  7408. "name": "num",
  7409. "in": "query",
  7410. "required": false,
  7411. "description": "数量",
  7412. "type": "string"
  7413. },
  7414. {
  7415. "name": "type",
  7416. "in": "query",
  7417. "required": false,
  7418. "description": "类型, 增加 add | 修改 update | 减少 diff",
  7419. "type": "string"
  7420. },
  7421. {
  7422. "name": "raw",
  7423. "in": "body",
  7424. "description": "raw paramter",
  7425. "schema": {
  7426. "type": "string",
  7427. "format": "binary"
  7428. }
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "successful operation",
  7434. "schema": {
  7435. "type": "object",
  7436. "properties": {
  7437. "code": {
  7438. "type": "integer",
  7439. "format": "int64"
  7440. },
  7441. "data": {
  7442. "type": "string"
  7443. },
  7444. "message": {
  7445. "type": "string"
  7446. }
  7447. },
  7448. "title": "CommonResult«string»",
  7449. "$$ref": "#/definitions/CommonResult«string»"
  7450. }
  7451. }
  7452. }
  7453. }
  7454. },
  7455. "/api/admin/store/product/save": {
  7456. "post": {
  7457. "tags": [
  7458. "商品"
  7459. ],
  7460. "summary": "新增",
  7461. "consumes": [
  7462. "application/json"
  7463. ],
  7464. "parameters": [
  7465. {
  7466. "name": "root",
  7467. "in": "body",
  7468. "description": "商品表",
  7469. "schema": {
  7470. "type": "object",
  7471. "properties": {
  7472. "activity": {
  7473. "type": "string",
  7474. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  7475. },
  7476. "addTime": {
  7477. "type": "integer",
  7478. "format": "int32",
  7479. "description": "添加时间"
  7480. },
  7481. "attr": {
  7482. "type": "array",
  7483. "description": "商品属性",
  7484. "items": {
  7485. "type": "object",
  7486. "properties": {
  7487. "attrName": {
  7488. "type": "string",
  7489. "description": "属性名"
  7490. },
  7491. "attrValues": {
  7492. "type": "string",
  7493. "description": "属性值"
  7494. },
  7495. "id": {
  7496. "type": "integer",
  7497. "format": "int32",
  7498. "description": "attrId"
  7499. },
  7500. "productId": {
  7501. "type": "integer",
  7502. "format": "int32",
  7503. "description": "商品ID"
  7504. },
  7505. "type": {
  7506. "type": "integer",
  7507. "format": "int32",
  7508. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  7509. }
  7510. },
  7511. "title": "StoreProductAttr对象",
  7512. "description": "商品属性表",
  7513. "$$ref": "#/definitions/StoreProductAttr对象"
  7514. }
  7515. },
  7516. "attrValue": {
  7517. "type": "array",
  7518. "description": "商品属性详情",
  7519. "items": {
  7520. "type": "object",
  7521. "properties": {
  7522. "attrValue": {
  7523. "type": "object",
  7524. "description": "attrValue字段,前端传递后用作sku字段",
  7525. "additionalProperties": {
  7526. "type": "string"
  7527. }
  7528. },
  7529. "barCode": {
  7530. "type": "string",
  7531. "description": "商品条码"
  7532. },
  7533. "brokerage": {
  7534. "type": "number",
  7535. "description": "一级返佣"
  7536. },
  7537. "brokerageTwo": {
  7538. "type": "number",
  7539. "description": "二级返佣"
  7540. },
  7541. "cost": {
  7542. "type": "number",
  7543. "description": "成本价"
  7544. },
  7545. "createTime": {
  7546. "type": "string",
  7547. "format": "date-time",
  7548. "description": "创建时间"
  7549. },
  7550. "id": {
  7551. "type": "integer",
  7552. "format": "int32",
  7553. "description": "ID"
  7554. },
  7555. "image": {
  7556. "type": "string",
  7557. "description": "图片"
  7558. },
  7559. "otPrice": {
  7560. "type": "number",
  7561. "description": "原价"
  7562. },
  7563. "price": {
  7564. "type": "number",
  7565. "description": "属性金额"
  7566. },
  7567. "productId": {
  7568. "type": "integer",
  7569. "format": "int32",
  7570. "example": 0,
  7571. "description": "商品ID"
  7572. },
  7573. "quota": {
  7574. "type": "integer",
  7575. "format": "int32",
  7576. "description": "活动限购数量"
  7577. },
  7578. "quotaShow": {
  7579. "type": "integer",
  7580. "format": "int32",
  7581. "description": "活动限购数量显示"
  7582. },
  7583. "sales": {
  7584. "type": "integer",
  7585. "format": "int32",
  7586. "description": "销量"
  7587. },
  7588. "stock": {
  7589. "type": "integer",
  7590. "format": "int32",
  7591. "description": "属性对应的库存"
  7592. },
  7593. "suk": {
  7594. "type": "string",
  7595. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  7596. },
  7597. "type": {
  7598. "type": "boolean",
  7599. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  7600. },
  7601. "unique": {
  7602. "type": "string",
  7603. "description": "唯一值"
  7604. },
  7605. "updateTime": {
  7606. "type": "string",
  7607. "format": "date-time",
  7608. "description": "更新时间"
  7609. },
  7610. "volume": {
  7611. "type": "number",
  7612. "description": "体积"
  7613. },
  7614. "weight": {
  7615. "type": "number",
  7616. "description": "重量"
  7617. }
  7618. },
  7619. "title": "StoreProductAttrValueRequest对象",
  7620. "description": "商品属性值表",
  7621. "$$ref": "#/definitions/StoreProductAttrValueRequest对象"
  7622. }
  7623. },
  7624. "barCode": {
  7625. "type": "string",
  7626. "description": "商品条码(一维码)"
  7627. },
  7628. "browse": {
  7629. "type": "integer",
  7630. "format": "int32",
  7631. "description": "浏览量"
  7632. },
  7633. "cateId": {
  7634. "type": "string",
  7635. "description": "分类id"
  7636. },
  7637. "cateIds": {
  7638. "type": "array",
  7639. "description": "商品分类",
  7640. "items": {
  7641. "type": "integer",
  7642. "format": "int32"
  7643. }
  7644. },
  7645. "codePath": {
  7646. "type": "string",
  7647. "description": "商品二维码地址(用户小程序海报)"
  7648. },
  7649. "content": {
  7650. "type": "string",
  7651. "description": "商品描述"
  7652. },
  7653. "cost": {
  7654. "type": "number",
  7655. "description": "成本价"
  7656. },
  7657. "couponIds": {
  7658. "type": "array",
  7659. "description": "优惠券id集合",
  7660. "items": {
  7661. "type": "integer",
  7662. "format": "int32"
  7663. }
  7664. },
  7665. "ficti": {
  7666. "type": "integer",
  7667. "format": "int32",
  7668. "description": "虚拟销量"
  7669. },
  7670. "giveIntegral": {
  7671. "type": "number",
  7672. "description": "获得积分"
  7673. },
  7674. "id": {
  7675. "type": "integer",
  7676. "format": "int32",
  7677. "description": "商品id"
  7678. },
  7679. "image": {
  7680. "type": "string",
  7681. "description": "商品图片"
  7682. },
  7683. "isBargain": {
  7684. "type": "boolean",
  7685. "description": "砍价状态 0未开启 1开启"
  7686. },
  7687. "isBenefit": {
  7688. "type": "boolean",
  7689. "description": "是否优惠"
  7690. },
  7691. "isBest": {
  7692. "type": "boolean",
  7693. "description": "是否精品"
  7694. },
  7695. "isDel": {
  7696. "type": "boolean",
  7697. "description": "是否删除"
  7698. },
  7699. "isGood": {
  7700. "type": "boolean",
  7701. "description": "是否优品推荐"
  7702. },
  7703. "isHot": {
  7704. "type": "boolean",
  7705. "description": "是否热卖"
  7706. },
  7707. "isNew": {
  7708. "type": "boolean",
  7709. "description": "是否新品"
  7710. },
  7711. "isPostage": {
  7712. "type": "boolean",
  7713. "description": "是否包邮"
  7714. },
  7715. "isSeckill": {
  7716. "type": "boolean",
  7717. "description": "秒杀状态 0 未开启 1已开启"
  7718. },
  7719. "isShow": {
  7720. "type": "boolean",
  7721. "description": "状态(0:未上架,1:上架)"
  7722. },
  7723. "isSub": {
  7724. "type": "boolean",
  7725. "description": "是否单独分佣"
  7726. },
  7727. "keyword": {
  7728. "type": "string",
  7729. "description": "关键字"
  7730. },
  7731. "merId": {
  7732. "type": "integer",
  7733. "format": "int32",
  7734. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  7735. },
  7736. "merUse": {
  7737. "type": "boolean",
  7738. "description": "商户是否代理 0不可代理1可代理"
  7739. },
  7740. "otPrice": {
  7741. "type": "number",
  7742. "description": "市场价"
  7743. },
  7744. "postage": {
  7745. "type": "number",
  7746. "description": "邮费"
  7747. },
  7748. "price": {
  7749. "type": "number",
  7750. "description": "商品价格"
  7751. },
  7752. "sales": {
  7753. "type": "integer",
  7754. "format": "int32",
  7755. "description": "销量"
  7756. },
  7757. "sliderImage": {
  7758. "type": "string",
  7759. "description": "轮播图"
  7760. },
  7761. "sort": {
  7762. "type": "integer",
  7763. "format": "int32",
  7764. "description": "排序"
  7765. },
  7766. "soureLink": {
  7767. "type": "string",
  7768. "description": "淘宝京东1688类型"
  7769. },
  7770. "specType": {
  7771. "type": "boolean",
  7772. "description": "规格 0单 1多"
  7773. },
  7774. "stock": {
  7775. "type": "integer",
  7776. "format": "int32",
  7777. "description": "库存"
  7778. },
  7779. "storeInfo": {
  7780. "type": "string",
  7781. "description": "商品简介"
  7782. },
  7783. "storeName": {
  7784. "type": "string",
  7785. "description": "商品名称"
  7786. },
  7787. "tempId": {
  7788. "type": "integer",
  7789. "format": "int32",
  7790. "description": "运费模板ID"
  7791. },
  7792. "unitName": {
  7793. "type": "string",
  7794. "description": "单位名"
  7795. },
  7796. "videoLink": {
  7797. "type": "string",
  7798. "description": "主图视频链接"
  7799. },
  7800. "vipPrice": {
  7801. "type": "number",
  7802. "description": "会员价格"
  7803. }
  7804. },
  7805. "title": "StoreProductRequest对象",
  7806. "description": "商品表",
  7807. "$$ref": "#/definitions/StoreProductRequest对象"
  7808. }
  7809. }
  7810. ],
  7811. "responses": {
  7812. "200": {
  7813. "description": "successful operation",
  7814. "schema": {
  7815. "type": "object",
  7816. "properties": {
  7817. "code": {
  7818. "type": "integer",
  7819. "format": "int64"
  7820. },
  7821. "data": {
  7822. "type": "string"
  7823. },
  7824. "message": {
  7825. "type": "string"
  7826. }
  7827. },
  7828. "title": "CommonResult«string»",
  7829. "$$ref": "#/definitions/CommonResult«string»"
  7830. }
  7831. }
  7832. }
  7833. }
  7834. },
  7835. "/api/admin/store/product/ficti/{id}/{num}": {
  7836. "get": {
  7837. "tags": [
  7838. "商品"
  7839. ],
  7840. "summary": "虚拟销量",
  7841. "consumes": [
  7842. "text/plain"
  7843. ],
  7844. "parameters": [
  7845. {
  7846. "name": "id",
  7847. "in": "path",
  7848. "description": "id",
  7849. "required": true,
  7850. "type": "string"
  7851. },
  7852. {
  7853. "name": "num",
  7854. "in": "path",
  7855. "description": "数值",
  7856. "required": true,
  7857. "type": "string"
  7858. },
  7859. {
  7860. "name": "raw",
  7861. "in": "body",
  7862. "description": "raw paramter",
  7863. "schema": {
  7864. "type": "string",
  7865. "format": "binary"
  7866. }
  7867. }
  7868. ],
  7869. "responses": {
  7870. "200": {
  7871. "description": "successful operation",
  7872. "schema": {
  7873. "type": "object",
  7874. "properties": {
  7875. "code": {
  7876. "type": "integer",
  7877. "format": "int64"
  7878. },
  7879. "data": {
  7880. "type": "string"
  7881. },
  7882. "message": {
  7883. "type": "string"
  7884. }
  7885. },
  7886. "title": "CommonResult«string»",
  7887. "$$ref": "#/definitions/CommonResult«string»"
  7888. }
  7889. }
  7890. }
  7891. }
  7892. },
  7893. "/api/admin/store/product/info/{id}": {
  7894. "get": {
  7895. "tags": [
  7896. "商品"
  7897. ],
  7898. "summary": "详情",
  7899. "consumes": [
  7900. "text/plain"
  7901. ],
  7902. "parameters": [
  7903. {
  7904. "name": "id",
  7905. "in": "path",
  7906. "description": "id",
  7907. "required": true,
  7908. "type": "string"
  7909. },
  7910. {
  7911. "name": "raw",
  7912. "in": "body",
  7913. "description": "raw paramter",
  7914. "schema": {
  7915. "type": "string",
  7916. "format": "binary"
  7917. }
  7918. }
  7919. ],
  7920. "responses": {
  7921. "200": {
  7922. "description": "successful operation",
  7923. "schema": {
  7924. "type": "object",
  7925. "properties": {
  7926. "code": {
  7927. "type": "integer",
  7928. "format": "int64"
  7929. },
  7930. "data": {
  7931. "type": "object",
  7932. "properties": {
  7933. "activity": {
  7934. "type": "string",
  7935. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  7936. },
  7937. "addTime": {
  7938. "type": "integer",
  7939. "format": "int32",
  7940. "description": "添加时间"
  7941. },
  7942. "barCode": {
  7943. "type": "string",
  7944. "description": "商品条码(一维码)"
  7945. },
  7946. "browse": {
  7947. "type": "integer",
  7948. "format": "int32",
  7949. "description": "浏览量"
  7950. },
  7951. "cateId": {
  7952. "type": "string",
  7953. "description": "分类id"
  7954. },
  7955. "codePath": {
  7956. "type": "string",
  7957. "description": "商品二维码地址(用户小程序海报)"
  7958. },
  7959. "cost": {
  7960. "type": "number",
  7961. "description": "成本价"
  7962. },
  7963. "ficti": {
  7964. "type": "integer",
  7965. "format": "int32",
  7966. "description": "虚拟销量"
  7967. },
  7968. "giveIntegral": {
  7969. "type": "number",
  7970. "description": "获得积分"
  7971. },
  7972. "id": {
  7973. "type": "integer",
  7974. "format": "int32",
  7975. "description": "商品id"
  7976. },
  7977. "image": {
  7978. "type": "string",
  7979. "description": "商品图片"
  7980. },
  7981. "isBargain": {
  7982. "type": "boolean",
  7983. "description": "砍价状态 0未开启 1开启"
  7984. },
  7985. "isBenefit": {
  7986. "type": "boolean",
  7987. "description": "是否优惠"
  7988. },
  7989. "isBest": {
  7990. "type": "boolean",
  7991. "description": "是否精品"
  7992. },
  7993. "isDel": {
  7994. "type": "boolean",
  7995. "description": "是否删除"
  7996. },
  7997. "isGood": {
  7998. "type": "boolean",
  7999. "description": "是否优品推荐"
  8000. },
  8001. "isHot": {
  8002. "type": "boolean",
  8003. "description": "是否热卖"
  8004. },
  8005. "isNew": {
  8006. "type": "boolean",
  8007. "description": "是否新品"
  8008. },
  8009. "isPostage": {
  8010. "type": "boolean",
  8011. "description": "是否包邮"
  8012. },
  8013. "isSeckill": {
  8014. "type": "boolean",
  8015. "description": "秒杀状态 0 未开启 1已开启"
  8016. },
  8017. "isShow": {
  8018. "type": "boolean",
  8019. "description": "状态(0:未上架,1:上架)"
  8020. },
  8021. "isSub": {
  8022. "type": "boolean",
  8023. "description": "是否单独分佣"
  8024. },
  8025. "keyword": {
  8026. "type": "string",
  8027. "description": "关键字"
  8028. },
  8029. "merId": {
  8030. "type": "integer",
  8031. "format": "int32",
  8032. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  8033. },
  8034. "merUse": {
  8035. "type": "boolean",
  8036. "description": "商户是否代理 0不可代理1可代理"
  8037. },
  8038. "otPrice": {
  8039. "type": "number",
  8040. "description": "市场价"
  8041. },
  8042. "postage": {
  8043. "type": "number",
  8044. "description": "邮费"
  8045. },
  8046. "price": {
  8047. "type": "number",
  8048. "description": "商品价格"
  8049. },
  8050. "sales": {
  8051. "type": "integer",
  8052. "format": "int32",
  8053. "description": "销量"
  8054. },
  8055. "sliderImage": {
  8056. "type": "string",
  8057. "description": "轮播图"
  8058. },
  8059. "sort": {
  8060. "type": "integer",
  8061. "format": "int32",
  8062. "description": "排序"
  8063. },
  8064. "soureLink": {
  8065. "type": "string",
  8066. "description": "淘宝京东1688类型"
  8067. },
  8068. "specType": {
  8069. "type": "boolean",
  8070. "description": "规格 0单 1多"
  8071. },
  8072. "stock": {
  8073. "type": "integer",
  8074. "format": "int32",
  8075. "description": "库存"
  8076. },
  8077. "storeInfo": {
  8078. "type": "string",
  8079. "description": "商品简介"
  8080. },
  8081. "storeName": {
  8082. "type": "string",
  8083. "description": "商品名称"
  8084. },
  8085. "tempId": {
  8086. "type": "integer",
  8087. "format": "int32",
  8088. "description": "运费模板ID"
  8089. },
  8090. "unitName": {
  8091. "type": "string",
  8092. "description": "单位名"
  8093. },
  8094. "videoLink": {
  8095. "type": "string",
  8096. "description": "主图视频链接"
  8097. },
  8098. "vipPrice": {
  8099. "type": "number",
  8100. "description": "会员价格"
  8101. }
  8102. },
  8103. "title": "StoreProduct对象",
  8104. "description": "商品表",
  8105. "$$ref": "#/definitions/StoreProduct对象"
  8106. },
  8107. "message": {
  8108. "type": "string"
  8109. }
  8110. },
  8111. "title": "CommonResult«StoreProduct对象»",
  8112. "$$ref": "#/definitions/CommonResult«StoreProduct对象»"
  8113. }
  8114. }
  8115. }
  8116. }
  8117. },
  8118. "/api/admin/store/product/rule/update": {
  8119. "post": {
  8120. "tags": [
  8121. "商品 -- 规则值(规格)"
  8122. ],
  8123. "summary": "修改",
  8124. "consumes": [
  8125. "application/json"
  8126. ],
  8127. "parameters": [
  8128. {
  8129. "name": "root",
  8130. "in": "body",
  8131. "description": "商品规则值(规格)表",
  8132. "schema": {
  8133. "type": "object",
  8134. "properties": {
  8135. "id": {
  8136. "type": "integer",
  8137. "format": "int32",
  8138. "description": "规则id"
  8139. },
  8140. "ruleName": {
  8141. "type": "string",
  8142. "description": "规格名称"
  8143. },
  8144. "ruleValue": {
  8145. "type": "string",
  8146. "description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]"
  8147. }
  8148. },
  8149. "title": "StoreProductRuleRequest对象",
  8150. "description": "商品规则值(规格)表",
  8151. "$$ref": "#/definitions/StoreProductRuleRequest对象"
  8152. }
  8153. }
  8154. ],
  8155. "responses": {
  8156. "200": {
  8157. "description": "successful operation",
  8158. "schema": {
  8159. "type": "object",
  8160. "properties": {
  8161. "code": {
  8162. "type": "integer",
  8163. "format": "int64"
  8164. },
  8165. "data": {
  8166. "type": "string"
  8167. },
  8168. "message": {
  8169. "type": "string"
  8170. }
  8171. },
  8172. "title": "CommonResult«string»",
  8173. "$$ref": "#/definitions/CommonResult«string»"
  8174. }
  8175. }
  8176. }
  8177. }
  8178. },
  8179. "/api/admin/store/product/rule/list": {
  8180. "get": {
  8181. "tags": [
  8182. "商品 -- 规则值(规格)"
  8183. ],
  8184. "summary": "分页列表",
  8185. "consumes": [
  8186. "text/plain"
  8187. ],
  8188. "parameters": [
  8189. {
  8190. "name": "keywords",
  8191. "in": "query",
  8192. "required": false,
  8193. "description": "搜索关键字",
  8194. "type": "string"
  8195. },
  8196. {
  8197. "name": "limit",
  8198. "in": "query",
  8199. "required": false,
  8200. "description": "每页数量",
  8201. "type": "string"
  8202. },
  8203. {
  8204. "name": "page",
  8205. "in": "query",
  8206. "required": false,
  8207. "description": "页码",
  8208. "type": "string"
  8209. },
  8210. {
  8211. "name": "raw",
  8212. "in": "body",
  8213. "description": "raw paramter",
  8214. "schema": {
  8215. "type": "string",
  8216. "format": "binary"
  8217. }
  8218. }
  8219. ],
  8220. "responses": {
  8221. "200": {
  8222. "description": "successful operation",
  8223. "schema": {
  8224. "type": "object",
  8225. "properties": {
  8226. "code": {
  8227. "type": "integer",
  8228. "format": "int64"
  8229. },
  8230. "data": {
  8231. "type": "object",
  8232. "properties": {
  8233. "limit": {
  8234. "type": "integer",
  8235. "format": "int32"
  8236. },
  8237. "list": {
  8238. "type": "array",
  8239. "items": {
  8240. "type": "object",
  8241. "properties": {
  8242. "id": {
  8243. "type": "integer",
  8244. "format": "int32"
  8245. },
  8246. "ruleName": {
  8247. "type": "string",
  8248. "description": "规格名称"
  8249. },
  8250. "ruleValue": {
  8251. "type": "string",
  8252. "description": "规格值"
  8253. }
  8254. },
  8255. "title": "StoreProductRule对象",
  8256. "description": "商品规则值(规格)表",
  8257. "$$ref": "#/definitions/StoreProductRule对象"
  8258. }
  8259. },
  8260. "page": {
  8261. "type": "integer",
  8262. "format": "int32"
  8263. },
  8264. "total": {
  8265. "type": "integer",
  8266. "format": "int64"
  8267. },
  8268. "totalPage": {
  8269. "type": "integer",
  8270. "format": "int32"
  8271. }
  8272. },
  8273. "title": "CommonPage«StoreProductRule对象»",
  8274. "$$ref": "#/definitions/CommonPage«StoreProductRule对象»"
  8275. },
  8276. "message": {
  8277. "type": "string"
  8278. }
  8279. },
  8280. "title": "CommonResult«CommonPage«StoreProductRule对象»»",
  8281. "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductRule对象»»"
  8282. }
  8283. }
  8284. }
  8285. }
  8286. },
  8287. "/api/admin/store/product/rule/delete/{ids}": {
  8288. "get": {
  8289. "tags": [
  8290. "商品 -- 规则值(规格)"
  8291. ],
  8292. "summary": "删除",
  8293. "consumes": [
  8294. "text/plain"
  8295. ],
  8296. "parameters": [
  8297. {
  8298. "name": "ids",
  8299. "in": "path",
  8300. "description": "ids",
  8301. "required": true,
  8302. "type": "string"
  8303. },
  8304. {
  8305. "name": "raw",
  8306. "in": "body",
  8307. "description": "raw paramter",
  8308. "schema": {
  8309. "type": "string",
  8310. "format": "binary"
  8311. }
  8312. }
  8313. ],
  8314. "responses": {
  8315. "200": {
  8316. "description": "successful operation",
  8317. "schema": {
  8318. "type": "object",
  8319. "properties": {
  8320. "code": {
  8321. "type": "integer",
  8322. "format": "int64"
  8323. },
  8324. "data": {
  8325. "type": "string"
  8326. },
  8327. "message": {
  8328. "type": "string"
  8329. }
  8330. },
  8331. "title": "CommonResult«string»",
  8332. "$$ref": "#/definitions/CommonResult«string»"
  8333. }
  8334. }
  8335. }
  8336. }
  8337. },
  8338. "/api/admin/store/product/rule/save": {
  8339. "post": {
  8340. "tags": [
  8341. "商品 -- 规则值(规格)"
  8342. ],
  8343. "summary": "新增",
  8344. "consumes": [
  8345. "application/json"
  8346. ],
  8347. "parameters": [
  8348. {
  8349. "name": "root",
  8350. "in": "body",
  8351. "description": "商品规则值(规格)表",
  8352. "schema": {
  8353. "type": "object",
  8354. "properties": {
  8355. "id": {
  8356. "type": "integer",
  8357. "format": "int32",
  8358. "description": "规则id"
  8359. },
  8360. "ruleName": {
  8361. "type": "string",
  8362. "description": "规格名称"
  8363. },
  8364. "ruleValue": {
  8365. "type": "string",
  8366. "description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]"
  8367. }
  8368. },
  8369. "title": "StoreProductRuleRequest对象",
  8370. "description": "商品规则值(规格)表",
  8371. "$$ref": "#/definitions/StoreProductRuleRequest对象"
  8372. }
  8373. }
  8374. ],
  8375. "responses": {
  8376. "200": {
  8377. "description": "successful operation",
  8378. "schema": {
  8379. "type": "object",
  8380. "properties": {
  8381. "code": {
  8382. "type": "integer",
  8383. "format": "int64"
  8384. },
  8385. "data": {
  8386. "type": "string"
  8387. },
  8388. "message": {
  8389. "type": "string"
  8390. }
  8391. },
  8392. "title": "CommonResult«string»",
  8393. "$$ref": "#/definitions/CommonResult«string»"
  8394. }
  8395. }
  8396. }
  8397. }
  8398. },
  8399. "/api/admin/store/product/rule/info/{id}": {
  8400. "get": {
  8401. "tags": [
  8402. "商品 -- 规则值(规格)"
  8403. ],
  8404. "summary": "详情",
  8405. "consumes": [
  8406. "text/plain"
  8407. ],
  8408. "parameters": [
  8409. {
  8410. "name": "id",
  8411. "in": "path",
  8412. "description": "id",
  8413. "required": true,
  8414. "type": "string"
  8415. },
  8416. {
  8417. "name": "raw",
  8418. "in": "body",
  8419. "description": "raw paramter",
  8420. "schema": {
  8421. "type": "string",
  8422. "format": "binary"
  8423. }
  8424. }
  8425. ],
  8426. "responses": {
  8427. "200": {
  8428. "description": "successful operation",
  8429. "schema": {
  8430. "type": "object",
  8431. "properties": {
  8432. "code": {
  8433. "type": "integer",
  8434. "format": "int64"
  8435. },
  8436. "data": {
  8437. "type": "object",
  8438. "properties": {
  8439. "id": {
  8440. "type": "integer",
  8441. "format": "int32"
  8442. },
  8443. "ruleName": {
  8444. "type": "string",
  8445. "description": "规格名称"
  8446. },
  8447. "ruleValue": {
  8448. "type": "string",
  8449. "description": "规格值"
  8450. }
  8451. },
  8452. "title": "StoreProductRule对象",
  8453. "description": "商品规则值(规格)表",
  8454. "$$ref": "#/definitions/StoreProductRule对象"
  8455. },
  8456. "message": {
  8457. "type": "string"
  8458. }
  8459. },
  8460. "title": "CommonResult«StoreProductRule对象»",
  8461. "$$ref": "#/definitions/CommonResult«StoreProductRule对象»"
  8462. }
  8463. }
  8464. }
  8465. }
  8466. },
  8467. "/api/admin/store/product/reply/update": {
  8468. "post": {
  8469. "tags": [
  8470. "商品 -- 评论"
  8471. ],
  8472. "summary": "修改",
  8473. "consumes": [
  8474. "application/json"
  8475. ],
  8476. "parameters": [
  8477. {
  8478. "name": "root",
  8479. "in": "body",
  8480. "description": "评论表",
  8481. "schema": {
  8482. "type": "object",
  8483. "properties": {
  8484. "avatar": {
  8485. "type": "string",
  8486. "description": "用户头像"
  8487. },
  8488. "comment": {
  8489. "type": "string",
  8490. "description": "评论内容"
  8491. },
  8492. "createTime": {
  8493. "type": "string",
  8494. "format": "date-time",
  8495. "description": "评论时间"
  8496. },
  8497. "id": {
  8498. "type": "integer",
  8499. "format": "int32",
  8500. "description": "评论ID"
  8501. },
  8502. "isDel": {
  8503. "type": "boolean",
  8504. "description": "0未删除1已删除"
  8505. },
  8506. "isReply": {
  8507. "type": "boolean",
  8508. "description": "0未回复1已回复"
  8509. },
  8510. "merchantReplyContent": {
  8511. "type": "string",
  8512. "description": "管理员回复内容"
  8513. },
  8514. "merchantReplyTime": {
  8515. "type": "integer",
  8516. "format": "int32",
  8517. "description": "管理员回复时间"
  8518. },
  8519. "nickname": {
  8520. "type": "string",
  8521. "description": "用户名称"
  8522. },
  8523. "oid": {
  8524. "type": "integer",
  8525. "format": "int32",
  8526. "description": "订单ID"
  8527. },
  8528. "pics": {
  8529. "type": "string",
  8530. "description": "评论图片"
  8531. },
  8532. "productId": {
  8533. "type": "integer",
  8534. "format": "int32",
  8535. "description": "商品id"
  8536. },
  8537. "productScore": {
  8538. "type": "integer",
  8539. "format": "int32",
  8540. "description": "商品分数"
  8541. },
  8542. "replyType": {
  8543. "type": "string",
  8544. "description": "某种商品类型(普通商品、秒杀商品)"
  8545. },
  8546. "serviceScore": {
  8547. "type": "integer",
  8548. "format": "int32",
  8549. "description": "服务分数"
  8550. },
  8551. "uid": {
  8552. "type": "integer",
  8553. "format": "int32",
  8554. "description": "用户ID"
  8555. },
  8556. "unique": {
  8557. "type": "string",
  8558. "description": "商品 属性id"
  8559. },
  8560. "updateTime": {
  8561. "type": "string",
  8562. "format": "date-time",
  8563. "description": "更新时间"
  8564. }
  8565. },
  8566. "title": "StoreProductReply对象",
  8567. "description": "评论表",
  8568. "$$ref": "#/definitions/StoreProductReply对象"
  8569. }
  8570. }
  8571. ],
  8572. "responses": {
  8573. "200": {
  8574. "description": "successful operation",
  8575. "schema": {
  8576. "type": "object",
  8577. "properties": {
  8578. "code": {
  8579. "type": "integer",
  8580. "format": "int64"
  8581. },
  8582. "data": {
  8583. "type": "string"
  8584. },
  8585. "message": {
  8586. "type": "string"
  8587. }
  8588. },
  8589. "title": "CommonResult«string»",
  8590. "$$ref": "#/definitions/CommonResult«string»"
  8591. }
  8592. }
  8593. }
  8594. }
  8595. },
  8596. "/api/admin/store/product/reply/list": {
  8597. "get": {
  8598. "tags": [
  8599. "商品 -- 评论"
  8600. ],
  8601. "summary": "分页列表",
  8602. "consumes": [
  8603. "text/plain"
  8604. ],
  8605. "parameters": [
  8606. {
  8607. "name": "dateLimit",
  8608. "in": "query",
  8609. "required": false,
  8610. "description": "时间区间",
  8611. "type": "string"
  8612. },
  8613. {
  8614. "name": "isDel",
  8615. "in": "query",
  8616. "required": false,
  8617. "description": "0未删除1已删除",
  8618. "type": "string"
  8619. },
  8620. {
  8621. "name": "isReply",
  8622. "in": "query",
  8623. "required": false,
  8624. "description": "0未回复1已回复",
  8625. "type": "string"
  8626. },
  8627. {
  8628. "name": "limit",
  8629. "in": "query",
  8630. "required": false,
  8631. "description": "每页数量",
  8632. "type": "string"
  8633. },
  8634. {
  8635. "name": "nickname",
  8636. "in": "query",
  8637. "required": false,
  8638. "description": "用户名称(支持模糊搜索)",
  8639. "type": "string"
  8640. },
  8641. {
  8642. "name": "oid",
  8643. "in": "query",
  8644. "required": false,
  8645. "description": "订单ID",
  8646. "type": "string"
  8647. },
  8648. {
  8649. "name": "page",
  8650. "in": "query",
  8651. "required": false,
  8652. "description": "页码",
  8653. "type": "string"
  8654. },
  8655. {
  8656. "name": "productId",
  8657. "in": "query",
  8658. "required": false,
  8659. "description": "商品id, 多个逗号分割",
  8660. "type": "string"
  8661. },
  8662. {
  8663. "name": "star",
  8664. "in": "query",
  8665. "required": false,
  8666. "description": "星数",
  8667. "type": "string"
  8668. },
  8669. {
  8670. "name": "type",
  8671. "in": "query",
  8672. "required": false,
  8673. "description": "类型",
  8674. "type": "string"
  8675. },
  8676. {
  8677. "name": "uid",
  8678. "in": "query",
  8679. "required": false,
  8680. "description": "用户ID, 多个逗号分割",
  8681. "type": "string"
  8682. },
  8683. {
  8684. "name": "raw",
  8685. "in": "body",
  8686. "description": "raw paramter",
  8687. "schema": {
  8688. "type": "string",
  8689. "format": "binary"
  8690. }
  8691. }
  8692. ],
  8693. "responses": {
  8694. "200": {
  8695. "description": "successful operation",
  8696. "schema": {
  8697. "type": "object",
  8698. "properties": {
  8699. "code": {
  8700. "type": "integer",
  8701. "format": "int64"
  8702. },
  8703. "data": {
  8704. "type": "object",
  8705. "properties": {
  8706. "limit": {
  8707. "type": "integer",
  8708. "format": "int32"
  8709. },
  8710. "list": {
  8711. "type": "array",
  8712. "items": {
  8713. "type": "object",
  8714. "properties": {
  8715. "avatar": {
  8716. "type": "string",
  8717. "description": "用户头像"
  8718. },
  8719. "comment": {
  8720. "type": "string",
  8721. "description": "评论内容"
  8722. },
  8723. "createTime": {
  8724. "type": "string",
  8725. "format": "date-time",
  8726. "description": "评论时间"
  8727. },
  8728. "id": {
  8729. "type": "integer",
  8730. "format": "int32",
  8731. "description": "评论ID"
  8732. },
  8733. "isDel": {
  8734. "type": "boolean",
  8735. "description": "0未删除1已删除"
  8736. },
  8737. "isReply": {
  8738. "type": "boolean",
  8739. "description": "0未回复1已回复"
  8740. },
  8741. "merchantReplyContent": {
  8742. "type": "string",
  8743. "description": "管理员回复内容"
  8744. },
  8745. "merchantReplyTime": {
  8746. "type": "integer",
  8747. "format": "int32",
  8748. "description": "管理员回复时间"
  8749. },
  8750. "nickname": {
  8751. "type": "string",
  8752. "description": "用户名称"
  8753. },
  8754. "oid": {
  8755. "type": "integer",
  8756. "format": "int32",
  8757. "description": "订单ID"
  8758. },
  8759. "pics": {
  8760. "type": "array",
  8761. "description": "评论图片",
  8762. "items": {
  8763. "type": "string"
  8764. }
  8765. },
  8766. "productId": {
  8767. "type": "integer",
  8768. "format": "int32",
  8769. "description": "商品id"
  8770. },
  8771. "productScore": {
  8772. "type": "integer",
  8773. "format": "int32",
  8774. "description": "商品分数"
  8775. },
  8776. "replyType": {
  8777. "type": "string",
  8778. "description": "某种商品类型(普通商品、秒杀商品)"
  8779. },
  8780. "serviceScore": {
  8781. "type": "integer",
  8782. "format": "int32",
  8783. "description": "服务分数"
  8784. },
  8785. "storeProduct": {
  8786. "type": "object",
  8787. "properties": {
  8788. "activity": {
  8789. "type": "string",
  8790. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  8791. },
  8792. "addTime": {
  8793. "type": "integer",
  8794. "format": "int32",
  8795. "description": "添加时间"
  8796. },
  8797. "barCode": {
  8798. "type": "string",
  8799. "description": "商品条码(一维码)"
  8800. },
  8801. "browse": {
  8802. "type": "integer",
  8803. "format": "int32",
  8804. "description": "浏览量"
  8805. },
  8806. "cateId": {
  8807. "type": "string",
  8808. "description": "分类id"
  8809. },
  8810. "codePath": {
  8811. "type": "string",
  8812. "description": "商品二维码地址(用户小程序海报)"
  8813. },
  8814. "cost": {
  8815. "type": "number",
  8816. "description": "成本价"
  8817. },
  8818. "ficti": {
  8819. "type": "integer",
  8820. "format": "int32",
  8821. "description": "虚拟销量"
  8822. },
  8823. "giveIntegral": {
  8824. "type": "number",
  8825. "description": "获得积分"
  8826. },
  8827. "id": {
  8828. "type": "integer",
  8829. "format": "int32",
  8830. "description": "商品id"
  8831. },
  8832. "image": {
  8833. "type": "string",
  8834. "description": "商品图片"
  8835. },
  8836. "isBargain": {
  8837. "type": "boolean",
  8838. "description": "砍价状态 0未开启 1开启"
  8839. },
  8840. "isBenefit": {
  8841. "type": "boolean",
  8842. "description": "是否优惠"
  8843. },
  8844. "isBest": {
  8845. "type": "boolean",
  8846. "description": "是否精品"
  8847. },
  8848. "isDel": {
  8849. "type": "boolean",
  8850. "description": "是否删除"
  8851. },
  8852. "isGood": {
  8853. "type": "boolean",
  8854. "description": "是否优品推荐"
  8855. },
  8856. "isHot": {
  8857. "type": "boolean",
  8858. "description": "是否热卖"
  8859. },
  8860. "isNew": {
  8861. "type": "boolean",
  8862. "description": "是否新品"
  8863. },
  8864. "isPostage": {
  8865. "type": "boolean",
  8866. "description": "是否包邮"
  8867. },
  8868. "isSeckill": {
  8869. "type": "boolean",
  8870. "description": "秒杀状态 0 未开启 1已开启"
  8871. },
  8872. "isShow": {
  8873. "type": "boolean",
  8874. "description": "状态(0:未上架,1:上架)"
  8875. },
  8876. "isSub": {
  8877. "type": "boolean",
  8878. "description": "是否单独分佣"
  8879. },
  8880. "keyword": {
  8881. "type": "string",
  8882. "description": "关键字"
  8883. },
  8884. "merId": {
  8885. "type": "integer",
  8886. "format": "int32",
  8887. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  8888. },
  8889. "merUse": {
  8890. "type": "boolean",
  8891. "description": "商户是否代理 0不可代理1可代理"
  8892. },
  8893. "otPrice": {
  8894. "type": "number",
  8895. "description": "市场价"
  8896. },
  8897. "postage": {
  8898. "type": "number",
  8899. "description": "邮费"
  8900. },
  8901. "price": {
  8902. "type": "number",
  8903. "description": "商品价格"
  8904. },
  8905. "sales": {
  8906. "type": "integer",
  8907. "format": "int32",
  8908. "description": "销量"
  8909. },
  8910. "sliderImage": {
  8911. "type": "string",
  8912. "description": "轮播图"
  8913. },
  8914. "sort": {
  8915. "type": "integer",
  8916. "format": "int32",
  8917. "description": "排序"
  8918. },
  8919. "soureLink": {
  8920. "type": "string",
  8921. "description": "淘宝京东1688类型"
  8922. },
  8923. "specType": {
  8924. "type": "boolean",
  8925. "description": "规格 0单 1多"
  8926. },
  8927. "stock": {
  8928. "type": "integer",
  8929. "format": "int32",
  8930. "description": "库存"
  8931. },
  8932. "storeInfo": {
  8933. "type": "string",
  8934. "description": "商品简介"
  8935. },
  8936. "storeName": {
  8937. "type": "string",
  8938. "description": "商品名称"
  8939. },
  8940. "tempId": {
  8941. "type": "integer",
  8942. "format": "int32",
  8943. "description": "运费模板ID"
  8944. },
  8945. "unitName": {
  8946. "type": "string",
  8947. "description": "单位名"
  8948. },
  8949. "videoLink": {
  8950. "type": "string",
  8951. "description": "主图视频链接"
  8952. },
  8953. "vipPrice": {
  8954. "type": "number",
  8955. "description": "会员价格"
  8956. }
  8957. },
  8958. "title": "StoreProduct对象",
  8959. "description": "商品表",
  8960. "$$ref": "#/definitions/StoreProduct对象"
  8961. },
  8962. "uid": {
  8963. "type": "integer",
  8964. "format": "int32",
  8965. "description": "用户ID"
  8966. },
  8967. "updateTime": {
  8968. "type": "string",
  8969. "format": "date-time",
  8970. "description": "更新时间"
  8971. }
  8972. },
  8973. "title": "StoreProductReplyResponse",
  8974. "$$ref": "#/definitions/StoreProductReplyResponse"
  8975. }
  8976. },
  8977. "page": {
  8978. "type": "integer",
  8979. "format": "int32"
  8980. },
  8981. "total": {
  8982. "type": "integer",
  8983. "format": "int64"
  8984. },
  8985. "totalPage": {
  8986. "type": "integer",
  8987. "format": "int32"
  8988. }
  8989. },
  8990. "title": "CommonPage«StoreProductReplyResponse»",
  8991. "$$ref": "#/definitions/CommonPage«StoreProductReplyResponse»"
  8992. },
  8993. "message": {
  8994. "type": "string"
  8995. }
  8996. },
  8997. "title": "CommonResult«CommonPage«StoreProductReplyResponse»»",
  8998. "$$ref": "#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»"
  8999. }
  9000. }
  9001. }
  9002. }
  9003. },
  9004. "/api/admin/store/product/reply/delete/{id}": {
  9005. "get": {
  9006. "tags": [
  9007. "商品 -- 评论"
  9008. ],
  9009. "summary": "删除",
  9010. "consumes": [
  9011. "text/plain"
  9012. ],
  9013. "parameters": [
  9014. {
  9015. "name": "id",
  9016. "in": "path",
  9017. "description": "id",
  9018. "required": true,
  9019. "type": "string"
  9020. },
  9021. {
  9022. "name": "raw",
  9023. "in": "body",
  9024. "description": "raw paramter",
  9025. "schema": {
  9026. "type": "string",
  9027. "format": "binary"
  9028. }
  9029. }
  9030. ],
  9031. "responses": {
  9032. "200": {
  9033. "description": "successful operation",
  9034. "schema": {
  9035. "type": "object",
  9036. "properties": {
  9037. "code": {
  9038. "type": "integer",
  9039. "format": "int64"
  9040. },
  9041. "data": {
  9042. "type": "string"
  9043. },
  9044. "message": {
  9045. "type": "string"
  9046. }
  9047. },
  9048. "title": "CommonResult«string»",
  9049. "$$ref": "#/definitions/CommonResult«string»"
  9050. }
  9051. }
  9052. }
  9053. }
  9054. },
  9055. "/api/admin/store/product/reply/comment": {
  9056. "post": {
  9057. "tags": [
  9058. "商品 -- 评论"
  9059. ],
  9060. "summary": "回复",
  9061. "consumes": [
  9062. "application/json"
  9063. ],
  9064. "parameters": [
  9065. {
  9066. "name": "root",
  9067. "in": "body",
  9068. "description": "评论表",
  9069. "schema": {
  9070. "type": "object",
  9071. "required": [
  9072. "ids",
  9073. "merchantReplyContent"
  9074. ],
  9075. "properties": {
  9076. "ids": {
  9077. "type": "string",
  9078. "description": "管理员回复内容"
  9079. },
  9080. "merchantReplyContent": {
  9081. "type": "string",
  9082. "description": "管理员回复内容"
  9083. }
  9084. },
  9085. "title": "StoreProductReplyCommentRequest对象",
  9086. "description": "评论表",
  9087. "$$ref": "#/definitions/StoreProductReplyCommentRequest对象"
  9088. }
  9089. }
  9090. ],
  9091. "responses": {
  9092. "200": {
  9093. "description": "successful operation",
  9094. "schema": {
  9095. "type": "object",
  9096. "properties": {
  9097. "code": {
  9098. "type": "integer",
  9099. "format": "int64"
  9100. },
  9101. "data": {
  9102. "type": "string"
  9103. },
  9104. "message": {
  9105. "type": "string"
  9106. }
  9107. },
  9108. "title": "CommonResult«string»",
  9109. "$$ref": "#/definitions/CommonResult«string»"
  9110. }
  9111. }
  9112. }
  9113. }
  9114. },
  9115. "/api/admin/store/product/reply/save": {
  9116. "post": {
  9117. "tags": [
  9118. "商品 -- 评论"
  9119. ],
  9120. "summary": "新增",
  9121. "consumes": [
  9122. "application/json"
  9123. ],
  9124. "parameters": [
  9125. {
  9126. "name": "root",
  9127. "in": "body",
  9128. "description": "评论表",
  9129. "schema": {
  9130. "type": "object",
  9131. "required": [
  9132. "comment",
  9133. "pics",
  9134. "productId",
  9135. "productScore",
  9136. "serviceScore"
  9137. ],
  9138. "properties": {
  9139. "comment": {
  9140. "type": "string",
  9141. "description": "评论内容"
  9142. },
  9143. "oid": {
  9144. "type": "integer",
  9145. "format": "int32",
  9146. "description": "订单ID, 移动端必须传递此参数"
  9147. },
  9148. "pics": {
  9149. "type": "string",
  9150. "description": "评论图片"
  9151. },
  9152. "productId": {
  9153. "type": "integer",
  9154. "format": "int32",
  9155. "description": "商品id"
  9156. },
  9157. "productScore": {
  9158. "type": "integer",
  9159. "format": "int32",
  9160. "example": 5,
  9161. "description": "商品分数"
  9162. },
  9163. "serviceScore": {
  9164. "type": "integer",
  9165. "format": "int32",
  9166. "example": 5,
  9167. "description": "服务分数"
  9168. },
  9169. "unique": {
  9170. "type": "string",
  9171. "description": "商品 属性id"
  9172. },
  9173. "userId": {
  9174. "type": "integer",
  9175. "format": "int32",
  9176. "description": "用户id, 后端必须传递此参数"
  9177. }
  9178. },
  9179. "title": "StoreProductReplyAddRequest对象",
  9180. "description": "评论表",
  9181. "$$ref": "#/definitions/StoreProductReplyAddRequest对象"
  9182. }
  9183. }
  9184. ],
  9185. "responses": {
  9186. "200": {
  9187. "description": "successful operation",
  9188. "schema": {
  9189. "type": "object",
  9190. "properties": {
  9191. "code": {
  9192. "type": "integer",
  9193. "format": "int64"
  9194. },
  9195. "data": {
  9196. "type": "string"
  9197. },
  9198. "message": {
  9199. "type": "string"
  9200. }
  9201. },
  9202. "title": "CommonResult«string»",
  9203. "$$ref": "#/definitions/CommonResult«string»"
  9204. }
  9205. }
  9206. }
  9207. }
  9208. },
  9209. "/api/admin/store/product/reply/info/{id}": {
  9210. "get": {
  9211. "tags": [
  9212. "商品 -- 评论"
  9213. ],
  9214. "summary": "详情",
  9215. "consumes": [
  9216. "text/plain"
  9217. ],
  9218. "parameters": [
  9219. {
  9220. "name": "id",
  9221. "in": "path",
  9222. "description": "id",
  9223. "required": true,
  9224. "type": "string"
  9225. },
  9226. {
  9227. "name": "raw",
  9228. "in": "body",
  9229. "description": "raw paramter",
  9230. "schema": {
  9231. "type": "string",
  9232. "format": "binary"
  9233. }
  9234. }
  9235. ],
  9236. "responses": {
  9237. "200": {
  9238. "description": "successful operation",
  9239. "schema": {
  9240. "type": "object",
  9241. "properties": {
  9242. "code": {
  9243. "type": "integer",
  9244. "format": "int64"
  9245. },
  9246. "data": {
  9247. "type": "object",
  9248. "properties": {
  9249. "avatar": {
  9250. "type": "string",
  9251. "description": "用户头像"
  9252. },
  9253. "comment": {
  9254. "type": "string",
  9255. "description": "评论内容"
  9256. },
  9257. "createTime": {
  9258. "type": "string",
  9259. "format": "date-time",
  9260. "description": "评论时间"
  9261. },
  9262. "id": {
  9263. "type": "integer",
  9264. "format": "int32",
  9265. "description": "评论ID"
  9266. },
  9267. "isDel": {
  9268. "type": "boolean",
  9269. "description": "0未删除1已删除"
  9270. },
  9271. "isReply": {
  9272. "type": "boolean",
  9273. "description": "0未回复1已回复"
  9274. },
  9275. "merchantReplyContent": {
  9276. "type": "string",
  9277. "description": "管理员回复内容"
  9278. },
  9279. "merchantReplyTime": {
  9280. "type": "integer",
  9281. "format": "int32",
  9282. "description": "管理员回复时间"
  9283. },
  9284. "nickname": {
  9285. "type": "string",
  9286. "description": "用户名称"
  9287. },
  9288. "oid": {
  9289. "type": "integer",
  9290. "format": "int32",
  9291. "description": "订单ID"
  9292. },
  9293. "pics": {
  9294. "type": "string",
  9295. "description": "评论图片"
  9296. },
  9297. "productId": {
  9298. "type": "integer",
  9299. "format": "int32",
  9300. "description": "商品id"
  9301. },
  9302. "productScore": {
  9303. "type": "integer",
  9304. "format": "int32",
  9305. "description": "商品分数"
  9306. },
  9307. "replyType": {
  9308. "type": "string",
  9309. "description": "某种商品类型(普通商品、秒杀商品)"
  9310. },
  9311. "serviceScore": {
  9312. "type": "integer",
  9313. "format": "int32",
  9314. "description": "服务分数"
  9315. },
  9316. "uid": {
  9317. "type": "integer",
  9318. "format": "int32",
  9319. "description": "用户ID"
  9320. },
  9321. "unique": {
  9322. "type": "string",
  9323. "description": "商品 属性id"
  9324. },
  9325. "updateTime": {
  9326. "type": "string",
  9327. "format": "date-time",
  9328. "description": "更新时间"
  9329. }
  9330. },
  9331. "title": "StoreProductReply对象",
  9332. "description": "评论表",
  9333. "$$ref": "#/definitions/StoreProductReply对象"
  9334. },
  9335. "message": {
  9336. "type": "string"
  9337. }
  9338. },
  9339. "title": "CommonResult«StoreProductReply对象»",
  9340. "$$ref": "#/definitions/CommonResult«StoreProductReply对象»"
  9341. }
  9342. }
  9343. }
  9344. }
  9345. },
  9346. "/api/admin/system/city/update": {
  9347. "post": {
  9348. "tags": [
  9349. "城市管理"
  9350. ],
  9351. "summary": "修改",
  9352. "consumes": [
  9353. "application/json"
  9354. ],
  9355. "parameters": [
  9356. {
  9357. "name": "id",
  9358. "in": "query",
  9359. "required": false,
  9360. "description": "id",
  9361. "type": "string"
  9362. },
  9363. {
  9364. "name": "name",
  9365. "in": "query",
  9366. "required": false,
  9367. "description": "名称",
  9368. "type": "string"
  9369. },
  9370. {
  9371. "name": "parentId",
  9372. "in": "query",
  9373. "required": false,
  9374. "description": "父级id",
  9375. "type": "string"
  9376. }
  9377. ],
  9378. "responses": {
  9379. "200": {
  9380. "description": "successful operation",
  9381. "schema": {
  9382. "type": "object",
  9383. "properties": {
  9384. "code": {
  9385. "type": "integer",
  9386. "format": "int64"
  9387. },
  9388. "data": {
  9389. "type": "string"
  9390. },
  9391. "message": {
  9392. "type": "string"
  9393. }
  9394. },
  9395. "title": "CommonResult«string»",
  9396. "$$ref": "#/definitions/CommonResult«string»"
  9397. }
  9398. }
  9399. }
  9400. }
  9401. },
  9402. "/api/admin/system/city/update/status": {
  9403. "post": {
  9404. "tags": [
  9405. "城市管理"
  9406. ],
  9407. "summary": "修改状态",
  9408. "consumes": [
  9409. "application/json"
  9410. ],
  9411. "parameters": [
  9412. {
  9413. "name": "id",
  9414. "in": "query",
  9415. "required": false,
  9416. "description": "id",
  9417. "type": "string"
  9418. },
  9419. {
  9420. "name": "status",
  9421. "in": "query",
  9422. "required": false,
  9423. "description": "status",
  9424. "type": "string"
  9425. }
  9426. ],
  9427. "responses": {
  9428. "200": {
  9429. "description": "successful operation",
  9430. "schema": {
  9431. "type": "object",
  9432. "properties": {
  9433. "code": {
  9434. "type": "integer",
  9435. "format": "int64"
  9436. },
  9437. "data": {
  9438. "type": "string"
  9439. },
  9440. "message": {
  9441. "type": "string"
  9442. }
  9443. },
  9444. "title": "CommonResult«string»",
  9445. "$$ref": "#/definitions/CommonResult«string»"
  9446. }
  9447. }
  9448. }
  9449. }
  9450. },
  9451. "/api/admin/system/city/list": {
  9452. "get": {
  9453. "tags": [
  9454. "城市管理"
  9455. ],
  9456. "summary": "分页列表",
  9457. "consumes": [
  9458. "text/plain"
  9459. ],
  9460. "parameters": [
  9461. {
  9462. "name": "parentId",
  9463. "in": "query",
  9464. "required": false,
  9465. "description": "父级id",
  9466. "type": "string"
  9467. },
  9468. {
  9469. "name": "raw",
  9470. "in": "body",
  9471. "description": "raw paramter",
  9472. "schema": {
  9473. "type": "string",
  9474. "format": "binary"
  9475. }
  9476. }
  9477. ],
  9478. "responses": {
  9479. "200": {
  9480. "description": "successful operation",
  9481. "schema": {
  9482. "type": "object",
  9483. "properties": {
  9484. "code": {
  9485. "type": "integer",
  9486. "format": "int64"
  9487. },
  9488. "data": {
  9489. "type": "object"
  9490. },
  9491. "message": {
  9492. "type": "string"
  9493. }
  9494. },
  9495. "title": "CommonResult«object»",
  9496. "$$ref": "#/definitions/CommonResult«object»"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/api/admin/system/city/list/tree": {
  9503. "get": {
  9504. "tags": [
  9505. "城市管理"
  9506. ],
  9507. "summary": "获取tree结构的列表",
  9508. "consumes": [
  9509. "text/plain"
  9510. ],
  9511. "parameters": [
  9512. {
  9513. "name": "raw",
  9514. "in": "body",
  9515. "description": "raw paramter",
  9516. "schema": {
  9517. "type": "string",
  9518. "format": "binary"
  9519. }
  9520. }
  9521. ],
  9522. "responses": {
  9523. "200": {
  9524. "description": "successful operation",
  9525. "schema": {
  9526. "type": "object",
  9527. "properties": {
  9528. "code": {
  9529. "type": "integer",
  9530. "format": "int64"
  9531. },
  9532. "data": {
  9533. "type": "object"
  9534. },
  9535. "message": {
  9536. "type": "string"
  9537. }
  9538. },
  9539. "title": "CommonResult«object»",
  9540. "$$ref": "#/definitions/CommonResult«object»"
  9541. }
  9542. }
  9543. }
  9544. }
  9545. },
  9546. "/api/admin/system/city/info": {
  9547. "get": {
  9548. "tags": [
  9549. "城市管理"
  9550. ],
  9551. "summary": "详情",
  9552. "consumes": [
  9553. "text/plain"
  9554. ],
  9555. "parameters": [
  9556. {
  9557. "name": "id",
  9558. "in": "query",
  9559. "required": false,
  9560. "description": "id",
  9561. "type": "string"
  9562. },
  9563. {
  9564. "name": "raw",
  9565. "in": "body",
  9566. "description": "raw paramter",
  9567. "schema": {
  9568. "type": "string",
  9569. "format": "binary"
  9570. }
  9571. }
  9572. ],
  9573. "responses": {
  9574. "200": {
  9575. "description": "successful operation",
  9576. "schema": {
  9577. "type": "object",
  9578. "properties": {
  9579. "code": {
  9580. "type": "integer",
  9581. "format": "int64"
  9582. },
  9583. "data": {
  9584. "type": "object",
  9585. "properties": {
  9586. "areaCode": {
  9587. "type": "string",
  9588. "description": "区号"
  9589. },
  9590. "cityId": {
  9591. "type": "integer",
  9592. "format": "int32",
  9593. "description": "城市id"
  9594. },
  9595. "createTime": {
  9596. "type": "string",
  9597. "format": "date-time",
  9598. "description": "创建时间"
  9599. },
  9600. "id": {
  9601. "type": "integer",
  9602. "format": "int32"
  9603. },
  9604. "isShow": {
  9605. "type": "boolean",
  9606. "description": "是否展示"
  9607. },
  9608. "lat": {
  9609. "type": "string",
  9610. "description": "纬度"
  9611. },
  9612. "level": {
  9613. "type": "integer",
  9614. "format": "int32",
  9615. "description": "省市级别"
  9616. },
  9617. "lng": {
  9618. "type": "string",
  9619. "description": "经度"
  9620. },
  9621. "mergerName": {
  9622. "type": "string",
  9623. "description": "合并名称"
  9624. },
  9625. "name": {
  9626. "type": "string",
  9627. "description": "名称"
  9628. },
  9629. "parentId": {
  9630. "type": "integer",
  9631. "format": "int32",
  9632. "description": "父级id"
  9633. },
  9634. "updateTime": {
  9635. "type": "string",
  9636. "format": "date-time",
  9637. "description": "修改时间"
  9638. }
  9639. },
  9640. "title": "SystemCity对象",
  9641. "description": "城市表",
  9642. "$$ref": "#/definitions/SystemCity对象"
  9643. },
  9644. "message": {
  9645. "type": "string"
  9646. }
  9647. },
  9648. "title": "CommonResult«SystemCity对象»",
  9649. "$$ref": "#/definitions/CommonResult«SystemCity对象»"
  9650. }
  9651. }
  9652. }
  9653. }
  9654. },
  9655. "/api/admin/store-service-log/list": {
  9656. "get": {
  9657. "tags": [
  9658. "客服用户对话记录表"
  9659. ],
  9660. "summary": "分页列表",
  9661. "consumes": [
  9662. "text/plain"
  9663. ],
  9664. "parameters": [
  9665. {
  9666. "name": "limit",
  9667. "in": "query",
  9668. "required": false,
  9669. "description": "每页数量",
  9670. "type": "string"
  9671. },
  9672. {
  9673. "name": "page",
  9674. "in": "query",
  9675. "required": false,
  9676. "description": "页码",
  9677. "type": "string"
  9678. },
  9679. {
  9680. "name": "toUid",
  9681. "in": "query",
  9682. "required": false,
  9683. "description": "接收人uid",
  9684. "type": "string"
  9685. },
  9686. {
  9687. "name": "uid",
  9688. "in": "query",
  9689. "required": false,
  9690. "description": "发送人uid",
  9691. "type": "string"
  9692. },
  9693. {
  9694. "name": "raw",
  9695. "in": "body",
  9696. "description": "raw paramter",
  9697. "schema": {
  9698. "type": "string",
  9699. "format": "binary"
  9700. }
  9701. }
  9702. ],
  9703. "responses": {
  9704. "200": {
  9705. "description": "successful operation",
  9706. "schema": {
  9707. "type": "object",
  9708. "properties": {
  9709. "code": {
  9710. "type": "integer",
  9711. "format": "int64"
  9712. },
  9713. "data": {
  9714. "type": "object",
  9715. "properties": {
  9716. "limit": {
  9717. "type": "integer",
  9718. "format": "int32"
  9719. },
  9720. "list": {
  9721. "type": "array",
  9722. "items": {
  9723. "type": "object",
  9724. "properties": {
  9725. "createTime": {
  9726. "type": "string",
  9727. "format": "date-time",
  9728. "description": "添加时间"
  9729. },
  9730. "id": {
  9731. "type": "integer",
  9732. "format": "int32",
  9733. "description": "客服用户对话记录表ID"
  9734. },
  9735. "msn": {
  9736. "type": "string",
  9737. "description": "消息内容"
  9738. },
  9739. "msnType": {
  9740. "type": "boolean",
  9741. "description": "消息类型 1=文字 2=表情 3=图片 4=语音"
  9742. },
  9743. "remind": {
  9744. "type": "boolean",
  9745. "description": "是否提醒过"
  9746. },
  9747. "toUid": {
  9748. "type": "integer",
  9749. "format": "int32",
  9750. "description": "接收人uid"
  9751. },
  9752. "type": {
  9753. "type": "boolean",
  9754. "description": "是否已读(0:否;1:是;)"
  9755. },
  9756. "uid": {
  9757. "type": "integer",
  9758. "format": "int32",
  9759. "description": "发送人uid"
  9760. },
  9761. "updateTime": {
  9762. "type": "string",
  9763. "format": "date-time",
  9764. "description": "更新时间"
  9765. }
  9766. },
  9767. "title": "StoreServiceLog对象",
  9768. "description": "客服用户对话记录表",
  9769. "$$ref": "#/definitions/StoreServiceLog对象"
  9770. }
  9771. },
  9772. "page": {
  9773. "type": "integer",
  9774. "format": "int32"
  9775. },
  9776. "total": {
  9777. "type": "integer",
  9778. "format": "int64"
  9779. },
  9780. "totalPage": {
  9781. "type": "integer",
  9782. "format": "int32"
  9783. }
  9784. },
  9785. "title": "CommonPage«StoreServiceLog对象»",
  9786. "$$ref": "#/definitions/CommonPage«StoreServiceLog对象»"
  9787. },
  9788. "message": {
  9789. "type": "string"
  9790. }
  9791. },
  9792. "title": "CommonResult«CommonPage«StoreServiceLog对象»»",
  9793. "$$ref": "#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»"
  9794. }
  9795. }
  9796. }
  9797. }
  9798. },
  9799. "/api/admin/store-service/update": {
  9800. "post": {
  9801. "tags": [
  9802. "客服表"
  9803. ],
  9804. "summary": "修改",
  9805. "consumes": [
  9806. "application/json"
  9807. ],
  9808. "parameters": [
  9809. {
  9810. "name": "id",
  9811. "in": "query",
  9812. "required": false,
  9813. "description": "id",
  9814. "type": "string"
  9815. },
  9816. {
  9817. "name": "root",
  9818. "in": "body",
  9819. "description": "客服表",
  9820. "schema": {
  9821. "type": "object",
  9822. "properties": {
  9823. "avatar": {
  9824. "type": "string",
  9825. "description": "客服头像"
  9826. },
  9827. "createTime": {
  9828. "type": "string",
  9829. "format": "date-time",
  9830. "description": "添加时间"
  9831. },
  9832. "customer": {
  9833. "type": "boolean",
  9834. "description": "是否展示统计管理"
  9835. },
  9836. "id": {
  9837. "type": "integer",
  9838. "format": "int32",
  9839. "description": "客服id"
  9840. },
  9841. "nickname": {
  9842. "type": "string",
  9843. "description": "代理名称"
  9844. },
  9845. "notify": {
  9846. "type": "integer",
  9847. "format": "int32",
  9848. "description": "订单通知1开启0关闭"
  9849. },
  9850. "status": {
  9851. "type": "boolean",
  9852. "description": "0隐藏1显示"
  9853. },
  9854. "uid": {
  9855. "type": "integer",
  9856. "format": "int32",
  9857. "description": "客服uid"
  9858. },
  9859. "updateTime": {
  9860. "type": "string",
  9861. "format": "date-time",
  9862. "description": "更新时间"
  9863. }
  9864. },
  9865. "title": "StoreService对象",
  9866. "description": "客服表",
  9867. "$$ref": "#/definitions/StoreService对象"
  9868. }
  9869. }
  9870. ],
  9871. "responses": {
  9872. "200": {
  9873. "description": "successful operation",
  9874. "schema": {
  9875. "type": "object",
  9876. "properties": {
  9877. "code": {
  9878. "type": "integer",
  9879. "format": "int64"
  9880. },
  9881. "data": {
  9882. "type": "string"
  9883. },
  9884. "message": {
  9885. "type": "string"
  9886. }
  9887. },
  9888. "title": "CommonResult«string»",
  9889. "$$ref": "#/definitions/CommonResult«string»"
  9890. }
  9891. }
  9892. }
  9893. }
  9894. },
  9895. "/api/admin/store-service/list": {
  9896. "get": {
  9897. "tags": [
  9898. "客服表"
  9899. ],
  9900. "summary": "分页列表",
  9901. "consumes": [
  9902. "text/plain"
  9903. ],
  9904. "parameters": [
  9905. {
  9906. "name": "limit",
  9907. "in": "query",
  9908. "required": false,
  9909. "description": "每页数量",
  9910. "type": "string"
  9911. },
  9912. {
  9913. "name": "page",
  9914. "in": "query",
  9915. "required": false,
  9916. "description": "页码",
  9917. "type": "string"
  9918. },
  9919. {
  9920. "name": "raw",
  9921. "in": "body",
  9922. "description": "raw paramter",
  9923. "schema": {
  9924. "type": "string",
  9925. "format": "binary"
  9926. }
  9927. }
  9928. ],
  9929. "responses": {
  9930. "200": {
  9931. "description": "successful operation",
  9932. "schema": {
  9933. "type": "object",
  9934. "properties": {
  9935. "code": {
  9936. "type": "integer",
  9937. "format": "int64"
  9938. },
  9939. "data": {
  9940. "type": "object",
  9941. "properties": {
  9942. "limit": {
  9943. "type": "integer",
  9944. "format": "int32"
  9945. },
  9946. "list": {
  9947. "type": "array",
  9948. "items": {
  9949. "type": "object",
  9950. "properties": {
  9951. "avatar": {
  9952. "type": "string",
  9953. "description": "客服头像"
  9954. },
  9955. "createTime": {
  9956. "type": "string",
  9957. "format": "date-time",
  9958. "description": "添加时间"
  9959. },
  9960. "customer": {
  9961. "type": "boolean",
  9962. "description": "是否展示统计管理"
  9963. },
  9964. "id": {
  9965. "type": "integer",
  9966. "format": "int32",
  9967. "description": "客服id"
  9968. },
  9969. "nickname": {
  9970. "type": "string",
  9971. "description": "代理名称"
  9972. },
  9973. "notify": {
  9974. "type": "integer",
  9975. "format": "int32",
  9976. "description": "订单通知1开启0关闭"
  9977. },
  9978. "status": {
  9979. "type": "boolean",
  9980. "description": "0隐藏1显示"
  9981. },
  9982. "uid": {
  9983. "type": "integer",
  9984. "format": "int32",
  9985. "description": "客服uid"
  9986. },
  9987. "updateTime": {
  9988. "type": "string",
  9989. "format": "date-time",
  9990. "description": "更新时间"
  9991. }
  9992. },
  9993. "title": "StoreService对象",
  9994. "description": "客服表",
  9995. "$$ref": "#/definitions/StoreService对象"
  9996. }
  9997. },
  9998. "page": {
  9999. "type": "integer",
  10000. "format": "int32"
  10001. },
  10002. "total": {
  10003. "type": "integer",
  10004. "format": "int64"
  10005. },
  10006. "totalPage": {
  10007. "type": "integer",
  10008. "format": "int32"
  10009. }
  10010. },
  10011. "title": "CommonPage«StoreService对象»",
  10012. "$$ref": "#/definitions/CommonPage«StoreService对象»"
  10013. },
  10014. "message": {
  10015. "type": "string"
  10016. }
  10017. },
  10018. "title": "CommonResult«CommonPage«StoreService对象»»",
  10019. "$$ref": "#/definitions/CommonResult«CommonPage«StoreService对象»»"
  10020. }
  10021. }
  10022. }
  10023. }
  10024. },
  10025. "/api/admin/store-service/delete": {
  10026. "get": {
  10027. "tags": [
  10028. "客服表"
  10029. ],
  10030. "summary": "删除",
  10031. "consumes": [
  10032. "text/plain"
  10033. ],
  10034. "parameters": [
  10035. {
  10036. "name": "id",
  10037. "in": "query",
  10038. "required": false,
  10039. "description": "id",
  10040. "type": "string"
  10041. },
  10042. {
  10043. "name": "raw",
  10044. "in": "body",
  10045. "description": "raw paramter",
  10046. "schema": {
  10047. "type": "string",
  10048. "format": "binary"
  10049. }
  10050. }
  10051. ],
  10052. "responses": {
  10053. "200": {
  10054. "description": "successful operation",
  10055. "schema": {
  10056. "type": "object",
  10057. "properties": {
  10058. "code": {
  10059. "type": "integer",
  10060. "format": "int64"
  10061. },
  10062. "data": {
  10063. "type": "string"
  10064. },
  10065. "message": {
  10066. "type": "string"
  10067. }
  10068. },
  10069. "title": "CommonResult«string»",
  10070. "$$ref": "#/definitions/CommonResult«string»"
  10071. }
  10072. }
  10073. }
  10074. }
  10075. },
  10076. "/api/admin/store-service/save": {
  10077. "post": {
  10078. "tags": [
  10079. "客服表"
  10080. ],
  10081. "summary": "新增",
  10082. "consumes": [
  10083. "application/json"
  10084. ],
  10085. "parameters": [
  10086. {
  10087. "name": "root",
  10088. "in": "body",
  10089. "description": "客服表",
  10090. "schema": {
  10091. "type": "object",
  10092. "properties": {
  10093. "avatar": {
  10094. "type": "string",
  10095. "description": "客服头像"
  10096. },
  10097. "createTime": {
  10098. "type": "string",
  10099. "format": "date-time",
  10100. "description": "添加时间"
  10101. },
  10102. "customer": {
  10103. "type": "boolean",
  10104. "description": "是否展示统计管理"
  10105. },
  10106. "id": {
  10107. "type": "integer",
  10108. "format": "int32",
  10109. "description": "客服id"
  10110. },
  10111. "nickname": {
  10112. "type": "string",
  10113. "description": "代理名称"
  10114. },
  10115. "notify": {
  10116. "type": "integer",
  10117. "format": "int32",
  10118. "description": "订单通知1开启0关闭"
  10119. },
  10120. "status": {
  10121. "type": "boolean",
  10122. "description": "0隐藏1显示"
  10123. },
  10124. "uid": {
  10125. "type": "integer",
  10126. "format": "int32",
  10127. "description": "客服uid"
  10128. },
  10129. "updateTime": {
  10130. "type": "string",
  10131. "format": "date-time",
  10132. "description": "更新时间"
  10133. }
  10134. },
  10135. "title": "StoreService对象",
  10136. "description": "客服表",
  10137. "$$ref": "#/definitions/StoreService对象"
  10138. }
  10139. }
  10140. ],
  10141. "responses": {
  10142. "200": {
  10143. "description": "successful operation",
  10144. "schema": {
  10145. "type": "object",
  10146. "properties": {
  10147. "code": {
  10148. "type": "integer",
  10149. "format": "int64"
  10150. },
  10151. "data": {
  10152. "type": "string"
  10153. },
  10154. "message": {
  10155. "type": "string"
  10156. }
  10157. },
  10158. "title": "CommonResult«string»",
  10159. "$$ref": "#/definitions/CommonResult«string»"
  10160. }
  10161. }
  10162. }
  10163. }
  10164. },
  10165. "/api/admin/store-service/info": {
  10166. "get": {
  10167. "tags": [
  10168. "客服表"
  10169. ],
  10170. "summary": "详情",
  10171. "consumes": [
  10172. "text/plain"
  10173. ],
  10174. "parameters": [
  10175. {
  10176. "name": "id",
  10177. "in": "query",
  10178. "required": false,
  10179. "description": "id",
  10180. "type": "string"
  10181. },
  10182. {
  10183. "name": "raw",
  10184. "in": "body",
  10185. "description": "raw paramter",
  10186. "schema": {
  10187. "type": "string",
  10188. "format": "binary"
  10189. }
  10190. }
  10191. ],
  10192. "responses": {
  10193. "200": {
  10194. "description": "successful operation",
  10195. "schema": {
  10196. "type": "object",
  10197. "properties": {
  10198. "code": {
  10199. "type": "integer",
  10200. "format": "int64"
  10201. },
  10202. "data": {
  10203. "type": "object",
  10204. "properties": {
  10205. "avatar": {
  10206. "type": "string",
  10207. "description": "客服头像"
  10208. },
  10209. "createTime": {
  10210. "type": "string",
  10211. "format": "date-time",
  10212. "description": "添加时间"
  10213. },
  10214. "customer": {
  10215. "type": "boolean",
  10216. "description": "是否展示统计管理"
  10217. },
  10218. "id": {
  10219. "type": "integer",
  10220. "format": "int32",
  10221. "description": "客服id"
  10222. },
  10223. "nickname": {
  10224. "type": "string",
  10225. "description": "代理名称"
  10226. },
  10227. "notify": {
  10228. "type": "integer",
  10229. "format": "int32",
  10230. "description": "订单通知1开启0关闭"
  10231. },
  10232. "status": {
  10233. "type": "boolean",
  10234. "description": "0隐藏1显示"
  10235. },
  10236. "uid": {
  10237. "type": "integer",
  10238. "format": "int32",
  10239. "description": "客服uid"
  10240. },
  10241. "updateTime": {
  10242. "type": "string",
  10243. "format": "date-time",
  10244. "description": "更新时间"
  10245. }
  10246. },
  10247. "title": "StoreService对象",
  10248. "description": "客服表",
  10249. "$$ref": "#/definitions/StoreService对象"
  10250. },
  10251. "message": {
  10252. "type": "string"
  10253. }
  10254. },
  10255. "title": "CommonResult«StoreService对象»",
  10256. "$$ref": "#/definitions/CommonResult«StoreService对象»"
  10257. }
  10258. }
  10259. }
  10260. }
  10261. },
  10262. "/api/admin/export/excel/product": {
  10263. "get": {
  10264. "tags": [
  10265. "导出 -- Excel"
  10266. ],
  10267. "summary": "产品",
  10268. "consumes": [
  10269. "text/plain"
  10270. ],
  10271. "parameters": [
  10272. {
  10273. "name": "cateId",
  10274. "in": "query",
  10275. "required": false,
  10276. "description": "分类ID, 多个逗号分隔",
  10277. "type": "string"
  10278. },
  10279. {
  10280. "name": "isBenefit",
  10281. "in": "query",
  10282. "required": false,
  10283. "description": "是否优惠",
  10284. "type": "string"
  10285. },
  10286. {
  10287. "name": "isBest",
  10288. "in": "query",
  10289. "required": false,
  10290. "description": "是否精品",
  10291. "type": "string"
  10292. },
  10293. {
  10294. "name": "isGood",
  10295. "in": "query",
  10296. "required": false,
  10297. "description": "是否推荐",
  10298. "type": "string"
  10299. },
  10300. {
  10301. "name": "isHot",
  10302. "in": "query",
  10303. "required": false,
  10304. "description": "是否热卖",
  10305. "type": "string"
  10306. },
  10307. {
  10308. "name": "isNew",
  10309. "in": "query",
  10310. "required": false,
  10311. "description": "是否新品",
  10312. "type": "string"
  10313. },
  10314. {
  10315. "name": "isShow",
  10316. "in": "query",
  10317. "required": false,
  10318. "description": "状态(0:未上架,1:上架)",
  10319. "type": "string"
  10320. },
  10321. {
  10322. "name": "keywords",
  10323. "in": "query",
  10324. "required": false,
  10325. "description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)",
  10326. "type": "string"
  10327. },
  10328. {
  10329. "name": "type",
  10330. "in": "query",
  10331. "required": false,
  10332. "description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)",
  10333. "type": "string"
  10334. },
  10335. {
  10336. "name": "raw",
  10337. "in": "body",
  10338. "description": "raw paramter",
  10339. "schema": {
  10340. "type": "string",
  10341. "format": "binary"
  10342. }
  10343. }
  10344. ],
  10345. "responses": {
  10346. "200": {
  10347. "description": "successful operation",
  10348. "schema": {
  10349. "type": "string",
  10350. "format": "binary",
  10351. "default": "OK"
  10352. }
  10353. }
  10354. }
  10355. }
  10356. },
  10357. "/api/admin/wechat/template/update/status/{id}": {
  10358. "post": {
  10359. "tags": [
  10360. "微信 -- 消息模版"
  10361. ],
  10362. "summary": "修改",
  10363. "consumes": [
  10364. "application/json"
  10365. ],
  10366. "parameters": [
  10367. {
  10368. "name": "id",
  10369. "in": "path",
  10370. "description": "id",
  10371. "required": true,
  10372. "type": "string"
  10373. },
  10374. {
  10375. "name": "status",
  10376. "in": "query",
  10377. "required": false,
  10378. "description": "status",
  10379. "type": "string"
  10380. }
  10381. ],
  10382. "responses": {
  10383. "200": {
  10384. "description": "successful operation",
  10385. "schema": {
  10386. "type": "object",
  10387. "properties": {
  10388. "code": {
  10389. "type": "integer",
  10390. "format": "int64"
  10391. },
  10392. "data": {
  10393. "type": "string"
  10394. },
  10395. "message": {
  10396. "type": "string"
  10397. }
  10398. },
  10399. "title": "CommonResult«string»",
  10400. "$$ref": "#/definitions/CommonResult«string»"
  10401. }
  10402. }
  10403. }
  10404. }
  10405. },
  10406. "/api/admin/wechat/template/update/{id}": {
  10407. "post": {
  10408. "tags": [
  10409. "微信 -- 消息模版"
  10410. ],
  10411. "summary": "修改",
  10412. "consumes": [
  10413. "application/json"
  10414. ],
  10415. "parameters": [
  10416. {
  10417. "name": "id",
  10418. "in": "path",
  10419. "description": "id",
  10420. "required": true,
  10421. "type": "string"
  10422. },
  10423. {
  10424. "name": "root",
  10425. "in": "body",
  10426. "description": "微信模板",
  10427. "schema": {
  10428. "type": "object",
  10429. "properties": {
  10430. "content": {
  10431. "type": "string",
  10432. "description": "回复内容"
  10433. },
  10434. "name": {
  10435. "type": "string",
  10436. "description": "模板名"
  10437. },
  10438. "tempId": {
  10439. "type": "string",
  10440. "description": "模板ID"
  10441. },
  10442. "tempKey": {
  10443. "type": "string",
  10444. "description": "模板编号"
  10445. },
  10446. "type": {
  10447. "type": "boolean",
  10448. "description": "0=订阅消息,1=微信模板消息"
  10449. }
  10450. },
  10451. "title": "TemplateMessageRequest对象",
  10452. "description": "微信模板",
  10453. "$$ref": "#/definitions/TemplateMessageRequest对象"
  10454. }
  10455. }
  10456. ],
  10457. "responses": {
  10458. "200": {
  10459. "description": "successful operation",
  10460. "schema": {
  10461. "type": "object",
  10462. "properties": {
  10463. "code": {
  10464. "type": "integer",
  10465. "format": "int64"
  10466. },
  10467. "data": {
  10468. "type": "string"
  10469. },
  10470. "message": {
  10471. "type": "string"
  10472. }
  10473. },
  10474. "title": "CommonResult«string»",
  10475. "$$ref": "#/definitions/CommonResult«string»"
  10476. }
  10477. }
  10478. }
  10479. }
  10480. },
  10481. "/api/admin/wechat/template/list": {
  10482. "get": {
  10483. "tags": [
  10484. "微信 -- 消息模版"
  10485. ],
  10486. "summary": "分页列表",
  10487. "consumes": [
  10488. "text/plain"
  10489. ],
  10490. "parameters": [
  10491. {
  10492. "name": "limit",
  10493. "in": "query",
  10494. "required": false,
  10495. "description": "每页数量",
  10496. "type": "string"
  10497. },
  10498. {
  10499. "name": "name",
  10500. "in": "query",
  10501. "required": false,
  10502. "description": "模板名",
  10503. "type": "string"
  10504. },
  10505. {
  10506. "name": "page",
  10507. "in": "query",
  10508. "required": false,
  10509. "description": "页码",
  10510. "type": "string"
  10511. },
  10512. {
  10513. "name": "status",
  10514. "in": "query",
  10515. "required": false,
  10516. "description": "状态, 0 正常,1 禁用",
  10517. "type": "string"
  10518. },
  10519. {
  10520. "name": "tempId",
  10521. "in": "query",
  10522. "required": false,
  10523. "description": "模板ID",
  10524. "type": "string"
  10525. },
  10526. {
  10527. "name": "tempKey",
  10528. "in": "query",
  10529. "required": false,
  10530. "description": "模板编号",
  10531. "type": "string"
  10532. },
  10533. {
  10534. "name": "type",
  10535. "in": "query",
  10536. "required": false,
  10537. "description": "类型, 0 订阅消息, 1 模板消息",
  10538. "type": "string"
  10539. },
  10540. {
  10541. "name": "raw",
  10542. "in": "body",
  10543. "description": "raw paramter",
  10544. "schema": {
  10545. "type": "string",
  10546. "format": "binary"
  10547. }
  10548. }
  10549. ],
  10550. "responses": {
  10551. "200": {
  10552. "description": "successful operation",
  10553. "schema": {
  10554. "type": "object",
  10555. "properties": {
  10556. "code": {
  10557. "type": "integer",
  10558. "format": "int64"
  10559. },
  10560. "data": {
  10561. "type": "object",
  10562. "properties": {
  10563. "limit": {
  10564. "type": "integer",
  10565. "format": "int32"
  10566. },
  10567. "list": {
  10568. "type": "array",
  10569. "items": {
  10570. "type": "object",
  10571. "properties": {
  10572. "content": {
  10573. "type": "string",
  10574. "description": "回复内容"
  10575. },
  10576. "createTime": {
  10577. "type": "string",
  10578. "format": "date-time",
  10579. "description": "添加时间"
  10580. },
  10581. "id": {
  10582. "type": "integer",
  10583. "format": "int32",
  10584. "description": "模板id"
  10585. },
  10586. "name": {
  10587. "type": "string",
  10588. "description": "模板名"
  10589. },
  10590. "status": {
  10591. "type": "integer",
  10592. "format": "int32",
  10593. "description": "状态"
  10594. },
  10595. "tempId": {
  10596. "type": "string",
  10597. "description": "模板ID"
  10598. },
  10599. "tempKey": {
  10600. "type": "string",
  10601. "description": "模板编号"
  10602. },
  10603. "type": {
  10604. "type": "boolean",
  10605. "description": "0=订阅消息,1=微信模板消息"
  10606. },
  10607. "updateTime": {
  10608. "type": "string",
  10609. "format": "date-time",
  10610. "description": "更新时间"
  10611. }
  10612. },
  10613. "title": "TemplateMessage对象",
  10614. "description": "微信模板",
  10615. "$$ref": "#/definitions/TemplateMessage对象"
  10616. }
  10617. },
  10618. "page": {
  10619. "type": "integer",
  10620. "format": "int32"
  10621. },
  10622. "total": {
  10623. "type": "integer",
  10624. "format": "int64"
  10625. },
  10626. "totalPage": {
  10627. "type": "integer",
  10628. "format": "int32"
  10629. }
  10630. },
  10631. "title": "CommonPage«TemplateMessage对象»",
  10632. "$$ref": "#/definitions/CommonPage«TemplateMessage对象»"
  10633. },
  10634. "message": {
  10635. "type": "string"
  10636. }
  10637. },
  10638. "title": "CommonResult«CommonPage«TemplateMessage对象»»",
  10639. "$$ref": "#/definitions/CommonResult«CommonPage«TemplateMessage对象»»"
  10640. }
  10641. }
  10642. }
  10643. }
  10644. },
  10645. "/api/admin/wechat/template/delete/{id}": {
  10646. "get": {
  10647. "tags": [
  10648. "微信 -- 消息模版"
  10649. ],
  10650. "summary": "删除",
  10651. "consumes": [
  10652. "text/plain"
  10653. ],
  10654. "parameters": [
  10655. {
  10656. "name": "id",
  10657. "in": "path",
  10658. "description": "id",
  10659. "required": true,
  10660. "type": "string"
  10661. },
  10662. {
  10663. "name": "raw",
  10664. "in": "body",
  10665. "description": "raw paramter",
  10666. "schema": {
  10667. "type": "string",
  10668. "format": "binary"
  10669. }
  10670. }
  10671. ],
  10672. "responses": {
  10673. "200": {
  10674. "description": "successful operation",
  10675. "schema": {
  10676. "type": "object",
  10677. "properties": {
  10678. "code": {
  10679. "type": "integer",
  10680. "format": "int64"
  10681. },
  10682. "data": {
  10683. "type": "string"
  10684. },
  10685. "message": {
  10686. "type": "string"
  10687. }
  10688. },
  10689. "title": "CommonResult«string»",
  10690. "$$ref": "#/definitions/CommonResult«string»"
  10691. }
  10692. }
  10693. }
  10694. }
  10695. },
  10696. "/api/admin/wechat/template/save": {
  10697. "post": {
  10698. "tags": [
  10699. "微信 -- 消息模版"
  10700. ],
  10701. "summary": "新增",
  10702. "consumes": [
  10703. "application/json"
  10704. ],
  10705. "parameters": [
  10706. {
  10707. "name": "root",
  10708. "in": "body",
  10709. "description": "微信模板",
  10710. "schema": {
  10711. "type": "object",
  10712. "properties": {
  10713. "content": {
  10714. "type": "string",
  10715. "description": "回复内容"
  10716. },
  10717. "name": {
  10718. "type": "string",
  10719. "description": "模板名"
  10720. },
  10721. "tempId": {
  10722. "type": "string",
  10723. "description": "模板ID"
  10724. },
  10725. "tempKey": {
  10726. "type": "string",
  10727. "description": "模板编号"
  10728. },
  10729. "type": {
  10730. "type": "boolean",
  10731. "description": "0=订阅消息,1=微信模板消息"
  10732. }
  10733. },
  10734. "title": "TemplateMessageRequest对象",
  10735. "description": "微信模板",
  10736. "$$ref": "#/definitions/TemplateMessageRequest对象"
  10737. }
  10738. }
  10739. ],
  10740. "responses": {
  10741. "200": {
  10742. "description": "successful operation",
  10743. "schema": {
  10744. "type": "object",
  10745. "properties": {
  10746. "code": {
  10747. "type": "integer",
  10748. "format": "int64"
  10749. },
  10750. "data": {
  10751. "type": "string"
  10752. },
  10753. "message": {
  10754. "type": "string"
  10755. }
  10756. },
  10757. "title": "CommonResult«string»",
  10758. "$$ref": "#/definitions/CommonResult«string»"
  10759. }
  10760. }
  10761. }
  10762. }
  10763. },
  10764. "/api/admin/wechat/template/industry": {
  10765. "get": {
  10766. "tags": [
  10767. "微信 -- 消息模版"
  10768. ],
  10769. "summary": "行业信息",
  10770. "consumes": [
  10771. "text/plain"
  10772. ],
  10773. "parameters": [
  10774. {
  10775. "name": "raw",
  10776. "in": "body",
  10777. "description": "raw paramter",
  10778. "schema": {
  10779. "type": "string",
  10780. "format": "binary"
  10781. }
  10782. }
  10783. ],
  10784. "responses": {
  10785. "200": {
  10786. "description": "successful operation",
  10787. "schema": {
  10788. "type": "object",
  10789. "properties": {
  10790. "code": {
  10791. "type": "integer",
  10792. "format": "int64"
  10793. },
  10794. "data": {
  10795. "type": "object",
  10796. "properties": {
  10797. "primaryIndustry": {
  10798. "type": "object",
  10799. "properties": {
  10800. "firstClass": {
  10801. "type": "string",
  10802. "description": "主行业"
  10803. },
  10804. "secondClass": {
  10805. "type": "string",
  10806. "description": "副行业"
  10807. }
  10808. },
  10809. "title": "TemplateMessageIndustryItemVo对象",
  10810. "description": "微信模板所属行业详情",
  10811. "$$ref": "#/definitions/TemplateMessageIndustryItemVo对象"
  10812. },
  10813. "secondaryIndustry": {
  10814. "type": "object",
  10815. "properties": {
  10816. "firstClass": {
  10817. "type": "string",
  10818. "description": "主行业"
  10819. },
  10820. "secondClass": {
  10821. "type": "string",
  10822. "description": "副行业"
  10823. }
  10824. },
  10825. "title": "TemplateMessageIndustryItemVo对象",
  10826. "description": "微信模板所属行业详情",
  10827. "$$ref": "#/definitions/TemplateMessageIndustryItemVo对象"
  10828. }
  10829. },
  10830. "title": "TemplateMessageIndustryVo对象",
  10831. "description": "微信模板所属行业",
  10832. "$$ref": "#/definitions/TemplateMessageIndustryVo对象"
  10833. },
  10834. "message": {
  10835. "type": "string"
  10836. }
  10837. },
  10838. "title": "CommonResult«TemplateMessageIndustryVo对象»",
  10839. "$$ref": "#/definitions/CommonResult«TemplateMessageIndustryVo对象»"
  10840. }
  10841. }
  10842. }
  10843. }
  10844. },
  10845. "/api/admin/wechat/template/info/{id}": {
  10846. "get": {
  10847. "tags": [
  10848. "微信 -- 消息模版"
  10849. ],
  10850. "summary": "详情",
  10851. "consumes": [
  10852. "text/plain"
  10853. ],
  10854. "parameters": [
  10855. {
  10856. "name": "id",
  10857. "in": "path",
  10858. "description": "id",
  10859. "required": true,
  10860. "type": "string"
  10861. },
  10862. {
  10863. "name": "raw",
  10864. "in": "body",
  10865. "description": "raw paramter",
  10866. "schema": {
  10867. "type": "string",
  10868. "format": "binary"
  10869. }
  10870. }
  10871. ],
  10872. "responses": {
  10873. "200": {
  10874. "description": "successful operation",
  10875. "schema": {
  10876. "type": "object",
  10877. "properties": {
  10878. "code": {
  10879. "type": "integer",
  10880. "format": "int64"
  10881. },
  10882. "data": {
  10883. "type": "object",
  10884. "properties": {
  10885. "content": {
  10886. "type": "string",
  10887. "description": "回复内容"
  10888. },
  10889. "createTime": {
  10890. "type": "string",
  10891. "format": "date-time",
  10892. "description": "添加时间"
  10893. },
  10894. "id": {
  10895. "type": "integer",
  10896. "format": "int32",
  10897. "description": "模板id"
  10898. },
  10899. "name": {
  10900. "type": "string",
  10901. "description": "模板名"
  10902. },
  10903. "status": {
  10904. "type": "integer",
  10905. "format": "int32",
  10906. "description": "状态"
  10907. },
  10908. "tempId": {
  10909. "type": "string",
  10910. "description": "模板ID"
  10911. },
  10912. "tempKey": {
  10913. "type": "string",
  10914. "description": "模板编号"
  10915. },
  10916. "type": {
  10917. "type": "boolean",
  10918. "description": "0=订阅消息,1=微信模板消息"
  10919. },
  10920. "updateTime": {
  10921. "type": "string",
  10922. "format": "date-time",
  10923. "description": "更新时间"
  10924. }
  10925. },
  10926. "title": "TemplateMessage对象",
  10927. "description": "微信模板",
  10928. "$$ref": "#/definitions/TemplateMessage对象"
  10929. },
  10930. "message": {
  10931. "type": "string"
  10932. }
  10933. },
  10934. "title": "CommonResult«TemplateMessage对象»",
  10935. "$$ref": "#/definitions/CommonResult«TemplateMessage对象»"
  10936. }
  10937. }
  10938. }
  10939. }
  10940. },
  10941. "/api/admin/wechat/routine/access/token/update": {
  10942. "post": {
  10943. "tags": [
  10944. "微信开放平台 -- 小程序access_token"
  10945. ],
  10946. "summary": "修改",
  10947. "consumes": [
  10948. "application/json"
  10949. ],
  10950. "parameters": [
  10951. {
  10952. "name": "accessToken",
  10953. "in": "query",
  10954. "required": false,
  10955. "description": "openid",
  10956. "type": "string"
  10957. },
  10958. {
  10959. "name": "id",
  10960. "in": "query",
  10961. "required": false,
  10962. "description": "id",
  10963. "type": "string"
  10964. },
  10965. {
  10966. "name": "stopTime",
  10967. "in": "query",
  10968. "required": false,
  10969. "description": "添加时间",
  10970. "type": "string"
  10971. }
  10972. ],
  10973. "responses": {
  10974. "200": {
  10975. "description": "successful operation",
  10976. "schema": {
  10977. "type": "object",
  10978. "properties": {
  10979. "code": {
  10980. "type": "integer",
  10981. "format": "int64"
  10982. },
  10983. "data": {
  10984. "type": "string"
  10985. },
  10986. "message": {
  10987. "type": "string"
  10988. }
  10989. },
  10990. "title": "CommonResult«string»",
  10991. "$$ref": "#/definitions/CommonResult«string»"
  10992. }
  10993. }
  10994. }
  10995. }
  10996. },
  10997. "/api/admin/wechat/routine/access/token/list": {
  10998. "get": {
  10999. "tags": [
  11000. "微信开放平台 -- 小程序access_token"
  11001. ],
  11002. "summary": "分页列表",
  11003. "consumes": [
  11004. "text/plain"
  11005. ],
  11006. "parameters": [
  11007. {
  11008. "name": "accessToken",
  11009. "in": "query",
  11010. "required": false,
  11011. "description": "openid",
  11012. "type": "string"
  11013. },
  11014. {
  11015. "name": "limit",
  11016. "in": "query",
  11017. "required": false,
  11018. "description": "每页数量",
  11019. "type": "string"
  11020. },
  11021. {
  11022. "name": "page",
  11023. "in": "query",
  11024. "required": false,
  11025. "description": "页码",
  11026. "type": "string"
  11027. },
  11028. {
  11029. "name": "raw",
  11030. "in": "body",
  11031. "description": "raw paramter",
  11032. "schema": {
  11033. "type": "string",
  11034. "format": "binary"
  11035. }
  11036. }
  11037. ],
  11038. "responses": {
  11039. "200": {
  11040. "description": "successful operation",
  11041. "schema": {
  11042. "type": "object",
  11043. "properties": {
  11044. "code": {
  11045. "type": "integer",
  11046. "format": "int64"
  11047. },
  11048. "data": {
  11049. "type": "object",
  11050. "properties": {
  11051. "limit": {
  11052. "type": "integer",
  11053. "format": "int32"
  11054. },
  11055. "list": {
  11056. "type": "array",
  11057. "items": {
  11058. "type": "object",
  11059. "properties": {
  11060. "accessToken": {
  11061. "type": "string",
  11062. "description": "openid"
  11063. },
  11064. "createTime": {
  11065. "type": "string",
  11066. "format": "date-time",
  11067. "description": "创建时间"
  11068. },
  11069. "id": {
  11070. "type": "integer",
  11071. "format": "int32",
  11072. "description": "小程序access_token表ID"
  11073. },
  11074. "stopTime": {
  11075. "type": "integer",
  11076. "format": "int32",
  11077. "description": "添加时间"
  11078. },
  11079. "updateTime": {
  11080. "type": "string",
  11081. "format": "date-time",
  11082. "description": "更新时间"
  11083. }
  11084. },
  11085. "title": "RoutineAccessToken对象",
  11086. "description": "小程序access_token表",
  11087. "$$ref": "#/definitions/RoutineAccessToken对象"
  11088. }
  11089. },
  11090. "page": {
  11091. "type": "integer",
  11092. "format": "int32"
  11093. },
  11094. "total": {
  11095. "type": "integer",
  11096. "format": "int64"
  11097. },
  11098. "totalPage": {
  11099. "type": "integer",
  11100. "format": "int32"
  11101. }
  11102. },
  11103. "title": "CommonPage«RoutineAccessToken对象»",
  11104. "$$ref": "#/definitions/CommonPage«RoutineAccessToken对象»"
  11105. },
  11106. "message": {
  11107. "type": "string"
  11108. }
  11109. },
  11110. "title": "CommonResult«CommonPage«RoutineAccessToken对象»»",
  11111. "$$ref": "#/definitions/CommonResult«CommonPage«RoutineAccessToken对象»»"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/api/admin/wechat/routine/access/token/delete": {
  11118. "get": {
  11119. "tags": [
  11120. "微信开放平台 -- 小程序access_token"
  11121. ],
  11122. "summary": "删除",
  11123. "consumes": [
  11124. "text/plain"
  11125. ],
  11126. "parameters": [
  11127. {
  11128. "name": "id",
  11129. "in": "query",
  11130. "required": false,
  11131. "description": "id",
  11132. "type": "string"
  11133. },
  11134. {
  11135. "name": "raw",
  11136. "in": "body",
  11137. "description": "raw paramter",
  11138. "schema": {
  11139. "type": "string",
  11140. "format": "binary"
  11141. }
  11142. }
  11143. ],
  11144. "responses": {
  11145. "200": {
  11146. "description": "successful operation",
  11147. "schema": {
  11148. "type": "object",
  11149. "properties": {
  11150. "code": {
  11151. "type": "integer",
  11152. "format": "int64"
  11153. },
  11154. "data": {
  11155. "type": "string"
  11156. },
  11157. "message": {
  11158. "type": "string"
  11159. }
  11160. },
  11161. "title": "CommonResult«string»",
  11162. "$$ref": "#/definitions/CommonResult«string»"
  11163. }
  11164. }
  11165. }
  11166. }
  11167. },
  11168. "/api/admin/wechat/routine/access/token/save": {
  11169. "post": {
  11170. "tags": [
  11171. "微信开放平台 -- 小程序access_token"
  11172. ],
  11173. "summary": "新增",
  11174. "consumes": [
  11175. "application/json"
  11176. ],
  11177. "parameters": [
  11178. {
  11179. "name": "accessToken",
  11180. "in": "query",
  11181. "required": false,
  11182. "description": "openid",
  11183. "type": "string"
  11184. },
  11185. {
  11186. "name": "stopTime",
  11187. "in": "query",
  11188. "required": false,
  11189. "description": "添加时间",
  11190. "type": "string"
  11191. }
  11192. ],
  11193. "responses": {
  11194. "200": {
  11195. "description": "successful operation",
  11196. "schema": {
  11197. "type": "object",
  11198. "properties": {
  11199. "code": {
  11200. "type": "integer",
  11201. "format": "int64"
  11202. },
  11203. "data": {
  11204. "type": "string"
  11205. },
  11206. "message": {
  11207. "type": "string"
  11208. }
  11209. },
  11210. "title": "CommonResult«string»",
  11211. "$$ref": "#/definitions/CommonResult«string»"
  11212. }
  11213. }
  11214. }
  11215. }
  11216. },
  11217. "/api/admin/wechat/routine/access/token/info": {
  11218. "get": {
  11219. "tags": [
  11220. "微信开放平台 -- 小程序access_token"
  11221. ],
  11222. "summary": "详情",
  11223. "consumes": [
  11224. "text/plain"
  11225. ],
  11226. "parameters": [
  11227. {
  11228. "name": "id",
  11229. "in": "query",
  11230. "required": false,
  11231. "description": "id",
  11232. "type": "string"
  11233. },
  11234. {
  11235. "name": "raw",
  11236. "in": "body",
  11237. "description": "raw paramter",
  11238. "schema": {
  11239. "type": "string",
  11240. "format": "binary"
  11241. }
  11242. }
  11243. ],
  11244. "responses": {
  11245. "200": {
  11246. "description": "successful operation",
  11247. "schema": {
  11248. "type": "object",
  11249. "properties": {
  11250. "code": {
  11251. "type": "integer",
  11252. "format": "int64"
  11253. },
  11254. "data": {
  11255. "type": "object",
  11256. "properties": {
  11257. "accessToken": {
  11258. "type": "string",
  11259. "description": "openid"
  11260. },
  11261. "createTime": {
  11262. "type": "string",
  11263. "format": "date-time",
  11264. "description": "创建时间"
  11265. },
  11266. "id": {
  11267. "type": "integer",
  11268. "format": "int32",
  11269. "description": "小程序access_token表ID"
  11270. },
  11271. "stopTime": {
  11272. "type": "integer",
  11273. "format": "int32",
  11274. "description": "添加时间"
  11275. },
  11276. "updateTime": {
  11277. "type": "string",
  11278. "format": "date-time",
  11279. "description": "更新时间"
  11280. }
  11281. },
  11282. "title": "RoutineAccessToken对象",
  11283. "description": "小程序access_token表",
  11284. "$$ref": "#/definitions/RoutineAccessToken对象"
  11285. },
  11286. "message": {
  11287. "type": "string"
  11288. }
  11289. },
  11290. "title": "CommonResult«RoutineAccessToken对象»",
  11291. "$$ref": "#/definitions/CommonResult«RoutineAccessToken对象»"
  11292. }
  11293. }
  11294. }
  11295. }
  11296. },
  11297. "/api/admin/wechat/routine/qrcode/update": {
  11298. "post": {
  11299. "tags": [
  11300. "微信开放平台 -- 小程序二维码管理"
  11301. ],
  11302. "summary": "修改",
  11303. "consumes": [
  11304. "application/json"
  11305. ],
  11306. "parameters": [
  11307. {
  11308. "name": "id",
  11309. "in": "query",
  11310. "required": false,
  11311. "description": "id",
  11312. "type": "string"
  11313. },
  11314. {
  11315. "name": "page",
  11316. "in": "query",
  11317. "required": false,
  11318. "description": "小程序页面路径带参数",
  11319. "type": "string"
  11320. },
  11321. {
  11322. "name": "qrcodeUrl",
  11323. "in": "query",
  11324. "required": false,
  11325. "description": "小程序二维码路径",
  11326. "type": "string"
  11327. },
  11328. {
  11329. "name": "status",
  11330. "in": "query",
  11331. "required": false,
  11332. "description": "状态 0不可用 1可用",
  11333. "type": "string"
  11334. },
  11335. {
  11336. "name": "thirdId",
  11337. "in": "query",
  11338. "required": false,
  11339. "description": "用户id",
  11340. "type": "string"
  11341. },
  11342. {
  11343. "name": "thirdType",
  11344. "in": "query",
  11345. "required": false,
  11346. "description": "二维码类型 spread(用户推广) product_spread(商品推广)",
  11347. "type": "string"
  11348. }
  11349. ],
  11350. "responses": {
  11351. "200": {
  11352. "description": "successful operation",
  11353. "schema": {
  11354. "type": "object",
  11355. "properties": {
  11356. "code": {
  11357. "type": "integer",
  11358. "format": "int64"
  11359. },
  11360. "data": {
  11361. "type": "string"
  11362. },
  11363. "message": {
  11364. "type": "string"
  11365. }
  11366. },
  11367. "title": "CommonResult«string»",
  11368. "$$ref": "#/definitions/CommonResult«string»"
  11369. }
  11370. }
  11371. }
  11372. }
  11373. },
  11374. "/api/admin/wechat/routine/qrcode/list": {
  11375. "get": {
  11376. "tags": [
  11377. "微信开放平台 -- 小程序二维码管理"
  11378. ],
  11379. "summary": "分页列表",
  11380. "consumes": [
  11381. "text/plain"
  11382. ],
  11383. "parameters": [
  11384. {
  11385. "name": "addTime",
  11386. "in": "query",
  11387. "required": false,
  11388. "description": "添加时间",
  11389. "type": "string"
  11390. },
  11391. {
  11392. "name": "id",
  11393. "in": "query",
  11394. "required": false,
  11395. "description": "微信二维码ID",
  11396. "type": "string"
  11397. },
  11398. {
  11399. "name": "limit",
  11400. "in": "query",
  11401. "required": false,
  11402. "description": "每页数量",
  11403. "type": "string"
  11404. },
  11405. {
  11406. "name": "page",
  11407. "in": "query",
  11408. "required": false,
  11409. "description": "小程序页面路径带参数",
  11410. "type": "string"
  11411. },
  11412. {
  11413. "name": "page",
  11414. "in": "query",
  11415. "required": false,
  11416. "description": "页码",
  11417. "type": "string"
  11418. },
  11419. {
  11420. "name": "qrcodeUrl",
  11421. "in": "query",
  11422. "required": false,
  11423. "description": "小程序二维码路径",
  11424. "type": "string"
  11425. },
  11426. {
  11427. "name": "status",
  11428. "in": "query",
  11429. "required": false,
  11430. "description": "状态 0不可用 1可用",
  11431. "type": "string"
  11432. },
  11433. {
  11434. "name": "thirdId",
  11435. "in": "query",
  11436. "required": false,
  11437. "description": "用户id",
  11438. "type": "string"
  11439. },
  11440. {
  11441. "name": "thirdType",
  11442. "in": "query",
  11443. "required": false,
  11444. "description": "二维码类型 spread(用户推广) product_spread(商品推广)",
  11445. "type": "string"
  11446. },
  11447. {
  11448. "name": "raw",
  11449. "in": "body",
  11450. "description": "raw paramter",
  11451. "schema": {
  11452. "type": "string",
  11453. "format": "binary"
  11454. }
  11455. }
  11456. ],
  11457. "responses": {
  11458. "200": {
  11459. "description": "successful operation",
  11460. "schema": {
  11461. "type": "object",
  11462. "properties": {
  11463. "code": {
  11464. "type": "integer",
  11465. "format": "int64"
  11466. },
  11467. "data": {
  11468. "type": "object",
  11469. "properties": {
  11470. "limit": {
  11471. "type": "integer",
  11472. "format": "int32"
  11473. },
  11474. "list": {
  11475. "type": "array",
  11476. "items": {
  11477. "type": "object",
  11478. "properties": {
  11479. "addTime": {
  11480. "type": "string",
  11481. "description": "添加时间"
  11482. },
  11483. "createTime": {
  11484. "type": "string",
  11485. "format": "date-time",
  11486. "description": "创建时间"
  11487. },
  11488. "id": {
  11489. "type": "integer",
  11490. "format": "int32",
  11491. "description": "微信二维码ID"
  11492. },
  11493. "page": {
  11494. "type": "string",
  11495. "description": "小程序页面路径带参数"
  11496. },
  11497. "qrcodeUrl": {
  11498. "type": "string",
  11499. "description": "小程序二维码路径"
  11500. },
  11501. "status": {
  11502. "type": "boolean",
  11503. "description": "状态 0不可用 1可用"
  11504. },
  11505. "thirdId": {
  11506. "type": "integer",
  11507. "format": "int32",
  11508. "description": "用户id"
  11509. },
  11510. "thirdType": {
  11511. "type": "string",
  11512. "description": "二维码类型 spread(用户推广) product_spread(商品推广)"
  11513. },
  11514. "updateTime": {
  11515. "type": "string",
  11516. "format": "date-time",
  11517. "description": "更新时间"
  11518. }
  11519. },
  11520. "title": "RoutineQrcode对象",
  11521. "description": "小程序二维码管理表",
  11522. "$$ref": "#/definitions/RoutineQrcode对象"
  11523. }
  11524. },
  11525. "page": {
  11526. "type": "integer",
  11527. "format": "int32"
  11528. },
  11529. "total": {
  11530. "type": "integer",
  11531. "format": "int64"
  11532. },
  11533. "totalPage": {
  11534. "type": "integer",
  11535. "format": "int32"
  11536. }
  11537. },
  11538. "title": "CommonPage«RoutineQrcode对象»",
  11539. "$$ref": "#/definitions/CommonPage«RoutineQrcode对象»"
  11540. },
  11541. "message": {
  11542. "type": "string"
  11543. }
  11544. },
  11545. "title": "CommonResult«CommonPage«RoutineQrcode对象»»",
  11546. "$$ref": "#/definitions/CommonResult«CommonPage«RoutineQrcode对象»»"
  11547. }
  11548. }
  11549. }
  11550. }
  11551. },
  11552. "/api/admin/wechat/routine/qrcode/delete": {
  11553. "get": {
  11554. "tags": [
  11555. "微信开放平台 -- 小程序二维码管理"
  11556. ],
  11557. "summary": "删除",
  11558. "consumes": [
  11559. "text/plain"
  11560. ],
  11561. "parameters": [
  11562. {
  11563. "name": "id",
  11564. "in": "query",
  11565. "required": false,
  11566. "description": "id",
  11567. "type": "string"
  11568. },
  11569. {
  11570. "name": "raw",
  11571. "in": "body",
  11572. "description": "raw paramter",
  11573. "schema": {
  11574. "type": "string",
  11575. "format": "binary"
  11576. }
  11577. }
  11578. ],
  11579. "responses": {
  11580. "200": {
  11581. "description": "successful operation",
  11582. "schema": {
  11583. "type": "object",
  11584. "properties": {
  11585. "code": {
  11586. "type": "integer",
  11587. "format": "int64"
  11588. },
  11589. "data": {
  11590. "type": "string"
  11591. },
  11592. "message": {
  11593. "type": "string"
  11594. }
  11595. },
  11596. "title": "CommonResult«string»",
  11597. "$$ref": "#/definitions/CommonResult«string»"
  11598. }
  11599. }
  11600. }
  11601. }
  11602. },
  11603. "/api/admin/wechat/routine/qrcode/save": {
  11604. "post": {
  11605. "tags": [
  11606. "微信开放平台 -- 小程序二维码管理"
  11607. ],
  11608. "summary": "新增",
  11609. "consumes": [
  11610. "application/json"
  11611. ],
  11612. "parameters": [
  11613. {
  11614. "name": "page",
  11615. "in": "query",
  11616. "required": false,
  11617. "description": "小程序页面路径带参数",
  11618. "type": "string"
  11619. },
  11620. {
  11621. "name": "qrcodeUrl",
  11622. "in": "query",
  11623. "required": false,
  11624. "description": "小程序二维码路径",
  11625. "type": "string"
  11626. },
  11627. {
  11628. "name": "status",
  11629. "in": "query",
  11630. "required": false,
  11631. "description": "状态 0不可用 1可用",
  11632. "type": "string"
  11633. },
  11634. {
  11635. "name": "thirdId",
  11636. "in": "query",
  11637. "required": false,
  11638. "description": "用户id",
  11639. "type": "string"
  11640. },
  11641. {
  11642. "name": "thirdType",
  11643. "in": "query",
  11644. "required": false,
  11645. "description": "二维码类型 spread(用户推广) product_spread(商品推广)",
  11646. "type": "string"
  11647. }
  11648. ],
  11649. "responses": {
  11650. "200": {
  11651. "description": "successful operation",
  11652. "schema": {
  11653. "type": "object",
  11654. "properties": {
  11655. "code": {
  11656. "type": "integer",
  11657. "format": "int64"
  11658. },
  11659. "data": {
  11660. "type": "string"
  11661. },
  11662. "message": {
  11663. "type": "string"
  11664. }
  11665. },
  11666. "title": "CommonResult«string»",
  11667. "$$ref": "#/definitions/CommonResult«string»"
  11668. }
  11669. }
  11670. }
  11671. }
  11672. },
  11673. "/api/admin/wechat/routine/qrcode/info": {
  11674. "get": {
  11675. "tags": [
  11676. "微信开放平台 -- 小程序二维码管理"
  11677. ],
  11678. "summary": "详情",
  11679. "consumes": [
  11680. "text/plain"
  11681. ],
  11682. "parameters": [
  11683. {
  11684. "name": "id",
  11685. "in": "query",
  11686. "required": false,
  11687. "description": "id",
  11688. "type": "string"
  11689. },
  11690. {
  11691. "name": "raw",
  11692. "in": "body",
  11693. "description": "raw paramter",
  11694. "schema": {
  11695. "type": "string",
  11696. "format": "binary"
  11697. }
  11698. }
  11699. ],
  11700. "responses": {
  11701. "200": {
  11702. "description": "successful operation",
  11703. "schema": {
  11704. "type": "object",
  11705. "properties": {
  11706. "code": {
  11707. "type": "integer",
  11708. "format": "int64"
  11709. },
  11710. "data": {
  11711. "type": "object",
  11712. "properties": {
  11713. "addTime": {
  11714. "type": "string",
  11715. "description": "添加时间"
  11716. },
  11717. "createTime": {
  11718. "type": "string",
  11719. "format": "date-time",
  11720. "description": "创建时间"
  11721. },
  11722. "id": {
  11723. "type": "integer",
  11724. "format": "int32",
  11725. "description": "微信二维码ID"
  11726. },
  11727. "page": {
  11728. "type": "string",
  11729. "description": "小程序页面路径带参数"
  11730. },
  11731. "qrcodeUrl": {
  11732. "type": "string",
  11733. "description": "小程序二维码路径"
  11734. },
  11735. "status": {
  11736. "type": "boolean",
  11737. "description": "状态 0不可用 1可用"
  11738. },
  11739. "thirdId": {
  11740. "type": "integer",
  11741. "format": "int32",
  11742. "description": "用户id"
  11743. },
  11744. "thirdType": {
  11745. "type": "string",
  11746. "description": "二维码类型 spread(用户推广) product_spread(商品推广)"
  11747. },
  11748. "updateTime": {
  11749. "type": "string",
  11750. "format": "date-time",
  11751. "description": "更新时间"
  11752. }
  11753. },
  11754. "title": "RoutineQrcode对象",
  11755. "description": "小程序二维码管理表",
  11756. "$$ref": "#/definitions/RoutineQrcode对象"
  11757. },
  11758. "message": {
  11759. "type": "string"
  11760. }
  11761. },
  11762. "title": "CommonResult«RoutineQrcode对象»",
  11763. "$$ref": "#/definitions/CommonResult«RoutineQrcode对象»"
  11764. }
  11765. }
  11766. }
  11767. }
  11768. },
  11769. "/api/admin/wechat/qrcode/update": {
  11770. "post": {
  11771. "tags": [
  11772. "微信开放平台 -- 微信二维码管理"
  11773. ],
  11774. "summary": "修改",
  11775. "consumes": [
  11776. "application/json"
  11777. ],
  11778. "parameters": [
  11779. {
  11780. "name": "addTime",
  11781. "in": "query",
  11782. "required": false,
  11783. "description": "添加时间",
  11784. "type": "string"
  11785. },
  11786. {
  11787. "name": "expireSeconds",
  11788. "in": "query",
  11789. "required": false,
  11790. "description": "二维码有效时间",
  11791. "type": "string"
  11792. },
  11793. {
  11794. "name": "id",
  11795. "in": "query",
  11796. "required": false,
  11797. "description": "id",
  11798. "type": "string"
  11799. },
  11800. {
  11801. "name": "qrcodeUrl",
  11802. "in": "query",
  11803. "required": false,
  11804. "description": "微信二维码url",
  11805. "type": "string"
  11806. },
  11807. {
  11808. "name": "scan",
  11809. "in": "query",
  11810. "required": false,
  11811. "description": "被扫的次数",
  11812. "type": "string"
  11813. },
  11814. {
  11815. "name": "status",
  11816. "in": "query",
  11817. "required": false,
  11818. "description": "状态",
  11819. "type": "string"
  11820. },
  11821. {
  11822. "name": "thirdId",
  11823. "in": "query",
  11824. "required": false,
  11825. "description": "用户id",
  11826. "type": "string"
  11827. },
  11828. {
  11829. "name": "thirdType",
  11830. "in": "query",
  11831. "required": false,
  11832. "description": "二维码类型",
  11833. "type": "string"
  11834. },
  11835. {
  11836. "name": "ticket",
  11837. "in": "query",
  11838. "required": false,
  11839. "description": "二维码参数",
  11840. "type": "string"
  11841. },
  11842. {
  11843. "name": "url",
  11844. "in": "query",
  11845. "required": false,
  11846. "description": "微信访问url",
  11847. "type": "string"
  11848. }
  11849. ],
  11850. "responses": {
  11851. "200": {
  11852. "description": "successful operation",
  11853. "schema": {
  11854. "type": "object",
  11855. "properties": {
  11856. "code": {
  11857. "type": "integer",
  11858. "format": "int64"
  11859. },
  11860. "data": {
  11861. "type": "string"
  11862. },
  11863. "message": {
  11864. "type": "string"
  11865. }
  11866. },
  11867. "title": "CommonResult«string»",
  11868. "$$ref": "#/definitions/CommonResult«string»"
  11869. }
  11870. }
  11871. }
  11872. }
  11873. },
  11874. "/api/admin/wechat/qrcode/list": {
  11875. "get": {
  11876. "tags": [
  11877. "微信开放平台 -- 微信二维码管理"
  11878. ],
  11879. "summary": "分页列表",
  11880. "consumes": [
  11881. "text/plain"
  11882. ],
  11883. "parameters": [
  11884. {
  11885. "name": "addTime",
  11886. "in": "query",
  11887. "required": false,
  11888. "description": "添加时间",
  11889. "type": "string"
  11890. },
  11891. {
  11892. "name": "expireSeconds",
  11893. "in": "query",
  11894. "required": false,
  11895. "description": "二维码有效时间",
  11896. "type": "string"
  11897. },
  11898. {
  11899. "name": "limit",
  11900. "in": "query",
  11901. "required": false,
  11902. "description": "每页数量",
  11903. "type": "string"
  11904. },
  11905. {
  11906. "name": "page",
  11907. "in": "query",
  11908. "required": false,
  11909. "description": "页码",
  11910. "type": "string"
  11911. },
  11912. {
  11913. "name": "qrcodeUrl",
  11914. "in": "query",
  11915. "required": false,
  11916. "description": "微信二维码url",
  11917. "type": "string"
  11918. },
  11919. {
  11920. "name": "scan",
  11921. "in": "query",
  11922. "required": false,
  11923. "description": "被扫的次数",
  11924. "type": "string"
  11925. },
  11926. {
  11927. "name": "status",
  11928. "in": "query",
  11929. "required": false,
  11930. "description": "状态",
  11931. "type": "string"
  11932. },
  11933. {
  11934. "name": "thirdId",
  11935. "in": "query",
  11936. "required": false,
  11937. "description": "用户id",
  11938. "type": "string"
  11939. },
  11940. {
  11941. "name": "thirdType",
  11942. "in": "query",
  11943. "required": false,
  11944. "description": "二维码类型",
  11945. "type": "string"
  11946. },
  11947. {
  11948. "name": "ticket",
  11949. "in": "query",
  11950. "required": false,
  11951. "description": "二维码参数",
  11952. "type": "string"
  11953. },
  11954. {
  11955. "name": "url",
  11956. "in": "query",
  11957. "required": false,
  11958. "description": "微信访问url",
  11959. "type": "string"
  11960. },
  11961. {
  11962. "name": "raw",
  11963. "in": "body",
  11964. "description": "raw paramter",
  11965. "schema": {
  11966. "type": "string",
  11967. "format": "binary"
  11968. }
  11969. }
  11970. ],
  11971. "responses": {
  11972. "200": {
  11973. "description": "successful operation",
  11974. "schema": {
  11975. "type": "object",
  11976. "properties": {
  11977. "code": {
  11978. "type": "integer",
  11979. "format": "int64"
  11980. },
  11981. "data": {
  11982. "type": "object",
  11983. "properties": {
  11984. "limit": {
  11985. "type": "integer",
  11986. "format": "int32"
  11987. },
  11988. "list": {
  11989. "type": "array",
  11990. "items": {
  11991. "type": "object",
  11992. "properties": {
  11993. "createTime": {
  11994. "type": "string",
  11995. "format": "date-time",
  11996. "description": "创建时间"
  11997. },
  11998. "expireSeconds": {
  11999. "type": "integer",
  12000. "format": "int32",
  12001. "description": "二维码有效时间"
  12002. },
  12003. "id": {
  12004. "type": "integer",
  12005. "format": "int32",
  12006. "description": "微信二维码ID"
  12007. },
  12008. "qrcodeUrl": {
  12009. "type": "string",
  12010. "description": "微信二维码url"
  12011. },
  12012. "scan": {
  12013. "type": "integer",
  12014. "format": "int32",
  12015. "description": "被扫的次数"
  12016. },
  12017. "status": {
  12018. "type": "boolean",
  12019. "description": "状态"
  12020. },
  12021. "thirdId": {
  12022. "type": "integer",
  12023. "format": "int32",
  12024. "description": "用户id"
  12025. },
  12026. "thirdType": {
  12027. "type": "string",
  12028. "description": "二维码类型"
  12029. },
  12030. "ticket": {
  12031. "type": "string",
  12032. "description": "二维码参数"
  12033. },
  12034. "updateTime": {
  12035. "type": "string",
  12036. "format": "date-time",
  12037. "description": "修改时间"
  12038. },
  12039. "url": {
  12040. "type": "string",
  12041. "description": "微信访问url"
  12042. }
  12043. },
  12044. "title": "WechatQrcode对象",
  12045. "description": "微信二维码管理表",
  12046. "$$ref": "#/definitions/WechatQrcode对象"
  12047. }
  12048. },
  12049. "page": {
  12050. "type": "integer",
  12051. "format": "int32"
  12052. },
  12053. "total": {
  12054. "type": "integer",
  12055. "format": "int64"
  12056. },
  12057. "totalPage": {
  12058. "type": "integer",
  12059. "format": "int32"
  12060. }
  12061. },
  12062. "title": "CommonPage«WechatQrcode对象»",
  12063. "$$ref": "#/definitions/CommonPage«WechatQrcode对象»"
  12064. },
  12065. "message": {
  12066. "type": "string"
  12067. }
  12068. },
  12069. "title": "CommonResult«CommonPage«WechatQrcode对象»»",
  12070. "$$ref": "#/definitions/CommonResult«CommonPage«WechatQrcode对象»»"
  12071. }
  12072. }
  12073. }
  12074. }
  12075. },
  12076. "/api/admin/wechat/qrcode/delete": {
  12077. "get": {
  12078. "tags": [
  12079. "微信开放平台 -- 微信二维码管理"
  12080. ],
  12081. "summary": "删除",
  12082. "consumes": [
  12083. "text/plain"
  12084. ],
  12085. "parameters": [
  12086. {
  12087. "name": "id",
  12088. "in": "query",
  12089. "required": false,
  12090. "description": "id",
  12091. "type": "string"
  12092. },
  12093. {
  12094. "name": "raw",
  12095. "in": "body",
  12096. "description": "raw paramter",
  12097. "schema": {
  12098. "type": "string",
  12099. "format": "binary"
  12100. }
  12101. }
  12102. ],
  12103. "responses": {
  12104. "200": {
  12105. "description": "successful operation",
  12106. "schema": {
  12107. "type": "object",
  12108. "properties": {
  12109. "code": {
  12110. "type": "integer",
  12111. "format": "int64"
  12112. },
  12113. "data": {
  12114. "type": "string"
  12115. },
  12116. "message": {
  12117. "type": "string"
  12118. }
  12119. },
  12120. "title": "CommonResult«string»",
  12121. "$$ref": "#/definitions/CommonResult«string»"
  12122. }
  12123. }
  12124. }
  12125. }
  12126. },
  12127. "/api/admin/wechat/qrcode/save": {
  12128. "post": {
  12129. "tags": [
  12130. "微信开放平台 -- 微信二维码管理"
  12131. ],
  12132. "summary": "新增",
  12133. "consumes": [
  12134. "application/json"
  12135. ],
  12136. "parameters": [
  12137. {
  12138. "name": "addTime",
  12139. "in": "query",
  12140. "required": false,
  12141. "description": "添加时间",
  12142. "type": "string"
  12143. },
  12144. {
  12145. "name": "expireSeconds",
  12146. "in": "query",
  12147. "required": false,
  12148. "description": "二维码有效时间",
  12149. "type": "string"
  12150. },
  12151. {
  12152. "name": "qrcodeUrl",
  12153. "in": "query",
  12154. "required": false,
  12155. "description": "微信二维码url",
  12156. "type": "string"
  12157. },
  12158. {
  12159. "name": "scan",
  12160. "in": "query",
  12161. "required": false,
  12162. "description": "被扫的次数",
  12163. "type": "string"
  12164. },
  12165. {
  12166. "name": "status",
  12167. "in": "query",
  12168. "required": false,
  12169. "description": "状态",
  12170. "type": "string"
  12171. },
  12172. {
  12173. "name": "thirdId",
  12174. "in": "query",
  12175. "required": false,
  12176. "description": "用户id",
  12177. "type": "string"
  12178. },
  12179. {
  12180. "name": "thirdType",
  12181. "in": "query",
  12182. "required": false,
  12183. "description": "二维码类型",
  12184. "type": "string"
  12185. },
  12186. {
  12187. "name": "ticket",
  12188. "in": "query",
  12189. "required": false,
  12190. "description": "二维码参数",
  12191. "type": "string"
  12192. },
  12193. {
  12194. "name": "url",
  12195. "in": "query",
  12196. "required": false,
  12197. "description": "微信访问url",
  12198. "type": "string"
  12199. }
  12200. ],
  12201. "responses": {
  12202. "200": {
  12203. "description": "successful operation",
  12204. "schema": {
  12205. "type": "object",
  12206. "properties": {
  12207. "code": {
  12208. "type": "integer",
  12209. "format": "int64"
  12210. },
  12211. "data": {
  12212. "type": "string"
  12213. },
  12214. "message": {
  12215. "type": "string"
  12216. }
  12217. },
  12218. "title": "CommonResult«string»",
  12219. "$$ref": "#/definitions/CommonResult«string»"
  12220. }
  12221. }
  12222. }
  12223. }
  12224. },
  12225. "/api/admin/wechat/qrcode/info": {
  12226. "get": {
  12227. "tags": [
  12228. "微信开放平台 -- 微信二维码管理"
  12229. ],
  12230. "summary": "详情",
  12231. "consumes": [
  12232. "text/plain"
  12233. ],
  12234. "parameters": [
  12235. {
  12236. "name": "id",
  12237. "in": "query",
  12238. "required": false,
  12239. "description": "id",
  12240. "type": "string"
  12241. },
  12242. {
  12243. "name": "raw",
  12244. "in": "body",
  12245. "description": "raw paramter",
  12246. "schema": {
  12247. "type": "string",
  12248. "format": "binary"
  12249. }
  12250. }
  12251. ],
  12252. "responses": {
  12253. "200": {
  12254. "description": "successful operation",
  12255. "schema": {
  12256. "type": "object",
  12257. "properties": {
  12258. "code": {
  12259. "type": "integer",
  12260. "format": "int64"
  12261. },
  12262. "data": {
  12263. "type": "object",
  12264. "properties": {
  12265. "createTime": {
  12266. "type": "string",
  12267. "format": "date-time",
  12268. "description": "创建时间"
  12269. },
  12270. "expireSeconds": {
  12271. "type": "integer",
  12272. "format": "int32",
  12273. "description": "二维码有效时间"
  12274. },
  12275. "id": {
  12276. "type": "integer",
  12277. "format": "int32",
  12278. "description": "微信二维码ID"
  12279. },
  12280. "qrcodeUrl": {
  12281. "type": "string",
  12282. "description": "微信二维码url"
  12283. },
  12284. "scan": {
  12285. "type": "integer",
  12286. "format": "int32",
  12287. "description": "被扫的次数"
  12288. },
  12289. "status": {
  12290. "type": "boolean",
  12291. "description": "状态"
  12292. },
  12293. "thirdId": {
  12294. "type": "integer",
  12295. "format": "int32",
  12296. "description": "用户id"
  12297. },
  12298. "thirdType": {
  12299. "type": "string",
  12300. "description": "二维码类型"
  12301. },
  12302. "ticket": {
  12303. "type": "string",
  12304. "description": "二维码参数"
  12305. },
  12306. "updateTime": {
  12307. "type": "string",
  12308. "format": "date-time",
  12309. "description": "修改时间"
  12310. },
  12311. "url": {
  12312. "type": "string",
  12313. "description": "微信访问url"
  12314. }
  12315. },
  12316. "title": "WechatQrcode对象",
  12317. "description": "微信二维码管理表",
  12318. "$$ref": "#/definitions/WechatQrcode对象"
  12319. },
  12320. "message": {
  12321. "type": "string"
  12322. }
  12323. },
  12324. "title": "CommonResult«WechatQrcode对象»",
  12325. "$$ref": "#/definitions/CommonResult«WechatQrcode对象»"
  12326. }
  12327. }
  12328. }
  12329. }
  12330. },
  12331. "/api/admin/wechat/keywords/reply/update": {
  12332. "post": {
  12333. "tags": [
  12334. "微信开放平台 -- 微信关键字回复"
  12335. ],
  12336. "summary": "修改",
  12337. "consumes": [
  12338. "application/json"
  12339. ],
  12340. "parameters": [
  12341. {
  12342. "name": "id",
  12343. "in": "query",
  12344. "required": false,
  12345. "description": "id",
  12346. "type": "string"
  12347. },
  12348. {
  12349. "name": "root",
  12350. "in": "body",
  12351. "description": "微信关键字回复表",
  12352. "schema": {
  12353. "type": "object",
  12354. "properties": {
  12355. "data": {
  12356. "type": "string",
  12357. "description": "回复数据"
  12358. },
  12359. "keywords": {
  12360. "type": "string",
  12361. "description": "关键字"
  12362. },
  12363. "status": {
  12364. "type": "boolean",
  12365. "example": false,
  12366. "description": "回复状态 0=不可用 1 =可用"
  12367. },
  12368. "type": {
  12369. "type": "string",
  12370. "example": "text",
  12371. "description": "回复类型 text=文本 image =图片 news =图文 voice =音频"
  12372. }
  12373. },
  12374. "title": "WechatReplyRequest对象",
  12375. "description": "微信关键字回复表",
  12376. "$$ref": "#/definitions/WechatReplyRequest对象"
  12377. }
  12378. }
  12379. ],
  12380. "responses": {
  12381. "200": {
  12382. "description": "successful operation",
  12383. "schema": {
  12384. "type": "object",
  12385. "properties": {
  12386. "code": {
  12387. "type": "integer",
  12388. "format": "int64"
  12389. },
  12390. "data": {
  12391. "type": "string"
  12392. },
  12393. "message": {
  12394. "type": "string"
  12395. }
  12396. },
  12397. "title": "CommonResult«string»",
  12398. "$$ref": "#/definitions/CommonResult«string»"
  12399. }
  12400. }
  12401. }
  12402. }
  12403. },
  12404. "/api/admin/wechat/keywords/reply/list": {
  12405. "get": {
  12406. "tags": [
  12407. "微信开放平台 -- 微信关键字回复"
  12408. ],
  12409. "summary": "分页列表",
  12410. "consumes": [
  12411. "text/plain"
  12412. ],
  12413. "parameters": [
  12414. {
  12415. "name": "keywords",
  12416. "in": "query",
  12417. "required": false,
  12418. "description": "关键字",
  12419. "type": "string"
  12420. },
  12421. {
  12422. "name": "limit",
  12423. "in": "query",
  12424. "required": false,
  12425. "description": "每页数量",
  12426. "type": "string"
  12427. },
  12428. {
  12429. "name": "page",
  12430. "in": "query",
  12431. "required": false,
  12432. "description": "页码",
  12433. "type": "string"
  12434. },
  12435. {
  12436. "name": "type",
  12437. "in": "query",
  12438. "required": false,
  12439. "description": "回复类型 text=文本 image =图片 news =图文 voice =音频",
  12440. "type": "string"
  12441. },
  12442. {
  12443. "name": "raw",
  12444. "in": "body",
  12445. "description": "raw paramter",
  12446. "schema": {
  12447. "type": "string",
  12448. "format": "binary"
  12449. }
  12450. }
  12451. ],
  12452. "responses": {
  12453. "200": {
  12454. "description": "successful operation",
  12455. "schema": {
  12456. "type": "object",
  12457. "properties": {
  12458. "code": {
  12459. "type": "integer",
  12460. "format": "int64"
  12461. },
  12462. "data": {
  12463. "type": "object",
  12464. "properties": {
  12465. "limit": {
  12466. "type": "integer",
  12467. "format": "int32"
  12468. },
  12469. "list": {
  12470. "type": "array",
  12471. "items": {
  12472. "type": "object",
  12473. "properties": {
  12474. "createTime": {
  12475. "type": "string",
  12476. "format": "date-time",
  12477. "description": "创建时间"
  12478. },
  12479. "data": {
  12480. "type": "string",
  12481. "description": "回复数据"
  12482. },
  12483. "id": {
  12484. "type": "integer",
  12485. "format": "int32",
  12486. "description": "微信关键字回复id"
  12487. },
  12488. "keywords": {
  12489. "type": "string",
  12490. "description": "关键字"
  12491. },
  12492. "status": {
  12493. "type": "boolean",
  12494. "description": "0=不可用 1 =可用"
  12495. },
  12496. "type": {
  12497. "type": "string",
  12498. "description": "回复类型"
  12499. },
  12500. "updateTime": {
  12501. "type": "string",
  12502. "format": "date-time",
  12503. "description": "修改时间"
  12504. }
  12505. },
  12506. "title": "WechatReply对象",
  12507. "description": "微信关键字回复表",
  12508. "$$ref": "#/definitions/WechatReply对象"
  12509. }
  12510. },
  12511. "page": {
  12512. "type": "integer",
  12513. "format": "int32"
  12514. },
  12515. "total": {
  12516. "type": "integer",
  12517. "format": "int64"
  12518. },
  12519. "totalPage": {
  12520. "type": "integer",
  12521. "format": "int32"
  12522. }
  12523. },
  12524. "title": "CommonPage«WechatReply对象»",
  12525. "$$ref": "#/definitions/CommonPage«WechatReply对象»"
  12526. },
  12527. "message": {
  12528. "type": "string"
  12529. }
  12530. },
  12531. "title": "CommonResult«CommonPage«WechatReply对象»»",
  12532. "$$ref": "#/definitions/CommonResult«CommonPage«WechatReply对象»»"
  12533. }
  12534. }
  12535. }
  12536. }
  12537. },
  12538. "/api/admin/wechat/keywords/reply/delete": {
  12539. "get": {
  12540. "tags": [
  12541. "微信开放平台 -- 微信关键字回复"
  12542. ],
  12543. "summary": "删除",
  12544. "consumes": [
  12545. "text/plain"
  12546. ],
  12547. "parameters": [
  12548. {
  12549. "name": "id",
  12550. "in": "query",
  12551. "required": false,
  12552. "description": "id",
  12553. "type": "string"
  12554. },
  12555. {
  12556. "name": "raw",
  12557. "in": "body",
  12558. "description": "raw paramter",
  12559. "schema": {
  12560. "type": "string",
  12561. "format": "binary"
  12562. }
  12563. }
  12564. ],
  12565. "responses": {
  12566. "200": {
  12567. "description": "successful operation",
  12568. "schema": {
  12569. "type": "object",
  12570. "properties": {
  12571. "code": {
  12572. "type": "integer",
  12573. "format": "int64"
  12574. },
  12575. "data": {
  12576. "type": "string"
  12577. },
  12578. "message": {
  12579. "type": "string"
  12580. }
  12581. },
  12582. "title": "CommonResult«string»",
  12583. "$$ref": "#/definitions/CommonResult«string»"
  12584. }
  12585. }
  12586. }
  12587. }
  12588. },
  12589. "/api/admin/wechat/keywords/reply/save": {
  12590. "post": {
  12591. "tags": [
  12592. "微信开放平台 -- 微信关键字回复"
  12593. ],
  12594. "summary": "新增",
  12595. "consumes": [
  12596. "application/json"
  12597. ],
  12598. "parameters": [
  12599. {
  12600. "name": "root",
  12601. "in": "body",
  12602. "description": "微信关键字回复表",
  12603. "schema": {
  12604. "type": "object",
  12605. "properties": {
  12606. "data": {
  12607. "type": "string",
  12608. "description": "回复数据"
  12609. },
  12610. "keywords": {
  12611. "type": "string",
  12612. "description": "关键字"
  12613. },
  12614. "status": {
  12615. "type": "boolean",
  12616. "example": false,
  12617. "description": "回复状态 0=不可用 1 =可用"
  12618. },
  12619. "type": {
  12620. "type": "string",
  12621. "example": "text",
  12622. "description": "回复类型 text=文本 image =图片 news =图文 voice =音频"
  12623. }
  12624. },
  12625. "title": "WechatReplyRequest对象",
  12626. "description": "微信关键字回复表",
  12627. "$$ref": "#/definitions/WechatReplyRequest对象"
  12628. }
  12629. }
  12630. ],
  12631. "responses": {
  12632. "200": {
  12633. "description": "successful operation",
  12634. "schema": {
  12635. "type": "object",
  12636. "properties": {
  12637. "code": {
  12638. "type": "integer",
  12639. "format": "int64"
  12640. },
  12641. "data": {
  12642. "type": "string"
  12643. },
  12644. "message": {
  12645. "type": "string"
  12646. }
  12647. },
  12648. "title": "CommonResult«string»",
  12649. "$$ref": "#/definitions/CommonResult«string»"
  12650. }
  12651. }
  12652. }
  12653. }
  12654. },
  12655. "/api/admin/wechat/keywords/reply/info/keywords": {
  12656. "get": {
  12657. "tags": [
  12658. "微信开放平台 -- 微信关键字回复"
  12659. ],
  12660. "summary": "根据关键字查询数据",
  12661. "consumes": [
  12662. "text/plain"
  12663. ],
  12664. "parameters": [
  12665. {
  12666. "name": "keywords",
  12667. "in": "query",
  12668. "required": false,
  12669. "description": "keywords",
  12670. "type": "string"
  12671. },
  12672. {
  12673. "name": "raw",
  12674. "in": "body",
  12675. "description": "raw paramter",
  12676. "schema": {
  12677. "type": "string",
  12678. "format": "binary"
  12679. }
  12680. }
  12681. ],
  12682. "responses": {
  12683. "200": {
  12684. "description": "successful operation",
  12685. "schema": {
  12686. "type": "object",
  12687. "properties": {
  12688. "code": {
  12689. "type": "integer",
  12690. "format": "int64"
  12691. },
  12692. "data": {
  12693. "type": "object",
  12694. "properties": {
  12695. "createTime": {
  12696. "type": "string",
  12697. "format": "date-time",
  12698. "description": "创建时间"
  12699. },
  12700. "data": {
  12701. "type": "string",
  12702. "description": "回复数据"
  12703. },
  12704. "id": {
  12705. "type": "integer",
  12706. "format": "int32",
  12707. "description": "微信关键字回复id"
  12708. },
  12709. "keywords": {
  12710. "type": "string",
  12711. "description": "关键字"
  12712. },
  12713. "status": {
  12714. "type": "boolean",
  12715. "description": "0=不可用 1 =可用"
  12716. },
  12717. "type": {
  12718. "type": "string",
  12719. "description": "回复类型"
  12720. },
  12721. "updateTime": {
  12722. "type": "string",
  12723. "format": "date-time",
  12724. "description": "修改时间"
  12725. }
  12726. },
  12727. "title": "WechatReply对象",
  12728. "description": "微信关键字回复表",
  12729. "$$ref": "#/definitions/WechatReply对象"
  12730. },
  12731. "message": {
  12732. "type": "string"
  12733. }
  12734. },
  12735. "title": "CommonResult«WechatReply对象»",
  12736. "$$ref": "#/definitions/CommonResult«WechatReply对象»"
  12737. }
  12738. }
  12739. }
  12740. }
  12741. },
  12742. "/api/admin/wechat/keywords/reply/status": {
  12743. "post": {
  12744. "tags": [
  12745. "微信开放平台 -- 微信关键字回复"
  12746. ],
  12747. "summary": "状态",
  12748. "consumes": [
  12749. "application/json"
  12750. ],
  12751. "parameters": [
  12752. {
  12753. "name": "id",
  12754. "in": "query",
  12755. "required": false,
  12756. "description": "id",
  12757. "type": "string"
  12758. },
  12759. {
  12760. "name": "status",
  12761. "in": "query",
  12762. "required": false,
  12763. "description": "status",
  12764. "type": "string"
  12765. }
  12766. ],
  12767. "responses": {
  12768. "200": {
  12769. "description": "successful operation",
  12770. "schema": {
  12771. "type": "object",
  12772. "properties": {
  12773. "code": {
  12774. "type": "integer",
  12775. "format": "int64"
  12776. },
  12777. "data": {
  12778. "type": "string"
  12779. },
  12780. "message": {
  12781. "type": "string"
  12782. }
  12783. },
  12784. "title": "CommonResult«string»",
  12785. "$$ref": "#/definitions/CommonResult«string»"
  12786. }
  12787. }
  12788. }
  12789. }
  12790. },
  12791. "/api/admin/wechat/keywords/reply/info": {
  12792. "get": {
  12793. "tags": [
  12794. "微信开放平台 -- 微信关键字回复"
  12795. ],
  12796. "summary": "详情",
  12797. "consumes": [
  12798. "text/plain"
  12799. ],
  12800. "parameters": [
  12801. {
  12802. "name": "id",
  12803. "in": "query",
  12804. "required": false,
  12805. "description": "id",
  12806. "type": "string"
  12807. },
  12808. {
  12809. "name": "raw",
  12810. "in": "body",
  12811. "description": "raw paramter",
  12812. "schema": {
  12813. "type": "string",
  12814. "format": "binary"
  12815. }
  12816. }
  12817. ],
  12818. "responses": {
  12819. "200": {
  12820. "description": "successful operation",
  12821. "schema": {
  12822. "type": "object",
  12823. "properties": {
  12824. "code": {
  12825. "type": "integer",
  12826. "format": "int64"
  12827. },
  12828. "data": {
  12829. "type": "object",
  12830. "properties": {
  12831. "createTime": {
  12832. "type": "string",
  12833. "format": "date-time",
  12834. "description": "创建时间"
  12835. },
  12836. "data": {
  12837. "type": "string",
  12838. "description": "回复数据"
  12839. },
  12840. "id": {
  12841. "type": "integer",
  12842. "format": "int32",
  12843. "description": "微信关键字回复id"
  12844. },
  12845. "keywords": {
  12846. "type": "string",
  12847. "description": "关键字"
  12848. },
  12849. "status": {
  12850. "type": "boolean",
  12851. "description": "0=不可用 1 =可用"
  12852. },
  12853. "type": {
  12854. "type": "string",
  12855. "description": "回复类型"
  12856. },
  12857. "updateTime": {
  12858. "type": "string",
  12859. "format": "date-time",
  12860. "description": "修改时间"
  12861. }
  12862. },
  12863. "title": "WechatReply对象",
  12864. "description": "微信关键字回复表",
  12865. "$$ref": "#/definitions/WechatReply对象"
  12866. },
  12867. "message": {
  12868. "type": "string"
  12869. }
  12870. },
  12871. "title": "CommonResult«WechatReply对象»",
  12872. "$$ref": "#/definitions/CommonResult«WechatReply对象»"
  12873. }
  12874. }
  12875. }
  12876. }
  12877. },
  12878. "/api/admin/wechat/user/push": {
  12879. "get": {
  12880. "tags": [
  12881. "微信开放平台 -- 微信用户"
  12882. ],
  12883. "summary": "消息推送",
  12884. "consumes": [
  12885. "text/plain"
  12886. ],
  12887. "parameters": [
  12888. {
  12889. "name": "newsId",
  12890. "in": "query",
  12891. "required": false,
  12892. "description": "newsId",
  12893. "type": "string"
  12894. },
  12895. {
  12896. "name": "userId",
  12897. "in": "query",
  12898. "required": false,
  12899. "description": "userId",
  12900. "type": "string"
  12901. },
  12902. {
  12903. "name": "raw",
  12904. "in": "body",
  12905. "description": "raw paramter",
  12906. "schema": {
  12907. "type": "string",
  12908. "format": "binary"
  12909. }
  12910. }
  12911. ],
  12912. "responses": {
  12913. "200": {
  12914. "description": "successful operation",
  12915. "schema": {
  12916. "type": "object",
  12917. "properties": {
  12918. "code": {
  12919. "type": "integer",
  12920. "format": "int64"
  12921. },
  12922. "data": {
  12923. "type": "boolean"
  12924. },
  12925. "message": {
  12926. "type": "string"
  12927. }
  12928. },
  12929. "title": "CommonResult«boolean»",
  12930. "$$ref": "#/definitions/CommonResult«boolean»"
  12931. }
  12932. }
  12933. }
  12934. }
  12935. },
  12936. "/api/admin/wechat/user/tags/update": {
  12937. "post": {
  12938. "tags": [
  12939. "微信开放平台 -- 微信用户标签"
  12940. ],
  12941. "summary": "修改",
  12942. "consumes": [
  12943. "application/json"
  12944. ],
  12945. "parameters": [
  12946. {
  12947. "name": "id",
  12948. "in": "query",
  12949. "required": false,
  12950. "description": "标签ID",
  12951. "type": "string"
  12952. },
  12953. {
  12954. "name": "name",
  12955. "in": "query",
  12956. "required": false,
  12957. "description": "标签名称",
  12958. "type": "string"
  12959. }
  12960. ],
  12961. "responses": {
  12962. "200": {
  12963. "description": "successful operation",
  12964. "schema": {
  12965. "type": "object",
  12966. "properties": {
  12967. "code": {
  12968. "type": "integer",
  12969. "format": "int64"
  12970. },
  12971. "data": {
  12972. "type": "object",
  12973. "additionalProperties": {
  12974. "type": "object"
  12975. }
  12976. },
  12977. "message": {
  12978. "type": "string"
  12979. }
  12980. },
  12981. "title": "CommonResult«JSONObject»",
  12982. "$$ref": "#/definitions/CommonResult«JSONObject»"
  12983. }
  12984. }
  12985. }
  12986. }
  12987. },
  12988. "/api/admin/wechat/user/tags/list": {
  12989. "get": {
  12990. "tags": [
  12991. "微信开放平台 -- 微信用户标签"
  12992. ],
  12993. "summary": "列表",
  12994. "consumes": [
  12995. "text/plain"
  12996. ],
  12997. "parameters": [
  12998. {
  12999. "name": "isAsync",
  13000. "in": "query",
  13001. "required": false,
  13002. "description": "是否同步微信数据, true是,false否",
  13003. "type": "string"
  13004. },
  13005. {
  13006. "name": "raw",
  13007. "in": "body",
  13008. "description": "raw paramter",
  13009. "schema": {
  13010. "type": "string",
  13011. "format": "binary"
  13012. }
  13013. }
  13014. ],
  13015. "responses": {
  13016. "200": {
  13017. "description": "successful operation",
  13018. "schema": {
  13019. "type": "object",
  13020. "properties": {
  13021. "code": {
  13022. "type": "integer",
  13023. "format": "int64"
  13024. },
  13025. "data": {
  13026. "type": "object"
  13027. },
  13028. "message": {
  13029. "type": "string"
  13030. }
  13031. },
  13032. "title": "CommonResult«object»",
  13033. "$$ref": "#/definitions/CommonResult«object»"
  13034. }
  13035. }
  13036. }
  13037. }
  13038. },
  13039. "/api/admin/wechat/user/tags/create": {
  13040. "post": {
  13041. "tags": [
  13042. "微信开放平台 -- 微信用户标签"
  13043. ],
  13044. "summary": "创建",
  13045. "consumes": [
  13046. "application/json"
  13047. ],
  13048. "parameters": [
  13049. {
  13050. "name": "name",
  13051. "in": "query",
  13052. "required": false,
  13053. "description": "标签名称",
  13054. "type": "string"
  13055. }
  13056. ],
  13057. "responses": {
  13058. "200": {
  13059. "description": "successful operation",
  13060. "schema": {
  13061. "type": "object",
  13062. "properties": {
  13063. "code": {
  13064. "type": "integer",
  13065. "format": "int64"
  13066. },
  13067. "data": {
  13068. "type": "object",
  13069. "additionalProperties": {
  13070. "type": "object"
  13071. }
  13072. },
  13073. "message": {
  13074. "type": "string"
  13075. }
  13076. },
  13077. "title": "CommonResult«JSONObject»",
  13078. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13079. }
  13080. }
  13081. }
  13082. }
  13083. },
  13084. "/api/admin/wechat/user/tags/delete": {
  13085. "get": {
  13086. "tags": [
  13087. "微信开放平台 -- 微信用户标签"
  13088. ],
  13089. "summary": "删除",
  13090. "consumes": [
  13091. "text/plain"
  13092. ],
  13093. "parameters": [
  13094. {
  13095. "name": "id",
  13096. "in": "query",
  13097. "required": false,
  13098. "description": "标签ID",
  13099. "type": "string"
  13100. },
  13101. {
  13102. "name": "raw",
  13103. "in": "body",
  13104. "description": "raw paramter",
  13105. "schema": {
  13106. "type": "string",
  13107. "format": "binary"
  13108. }
  13109. }
  13110. ],
  13111. "responses": {
  13112. "200": {
  13113. "description": "successful operation",
  13114. "schema": {
  13115. "type": "object",
  13116. "properties": {
  13117. "code": {
  13118. "type": "integer",
  13119. "format": "int64"
  13120. },
  13121. "data": {
  13122. "type": "object",
  13123. "additionalProperties": {
  13124. "type": "object"
  13125. }
  13126. },
  13127. "message": {
  13128. "type": "string"
  13129. }
  13130. },
  13131. "title": "CommonResult«JSONObject»",
  13132. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13133. }
  13134. }
  13135. }
  13136. }
  13137. },
  13138. "/api/admin/wechat/user/tags/memberBatchUnTags": {
  13139. "post": {
  13140. "tags": [
  13141. "微信开放平台 -- 微信用户标签"
  13142. ],
  13143. "summary": "批量为用户取消标签",
  13144. "consumes": [
  13145. "application/json"
  13146. ],
  13147. "parameters": [
  13148. {
  13149. "name": "id",
  13150. "in": "query",
  13151. "required": false,
  13152. "description": "标签ID",
  13153. "type": "string"
  13154. },
  13155. {
  13156. "name": "openIdList",
  13157. "in": "query",
  13158. "required": false,
  13159. "description": "用户openId数组",
  13160. "type": "string"
  13161. }
  13162. ],
  13163. "responses": {
  13164. "200": {
  13165. "description": "successful operation",
  13166. "schema": {
  13167. "type": "object",
  13168. "properties": {
  13169. "code": {
  13170. "type": "integer",
  13171. "format": "int64"
  13172. },
  13173. "data": {
  13174. "type": "object",
  13175. "additionalProperties": {
  13176. "type": "object"
  13177. }
  13178. },
  13179. "message": {
  13180. "type": "string"
  13181. }
  13182. },
  13183. "title": "CommonResult«JSONObject»",
  13184. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13185. }
  13186. }
  13187. }
  13188. }
  13189. },
  13190. "/api/admin/wechat/user/tags/memberBatchTags": {
  13191. "post": {
  13192. "tags": [
  13193. "微信开放平台 -- 微信用户标签"
  13194. ],
  13195. "summary": "批量为用户打标签",
  13196. "consumes": [
  13197. "application/json"
  13198. ],
  13199. "parameters": [
  13200. {
  13201. "name": "id",
  13202. "in": "query",
  13203. "required": false,
  13204. "description": "标签ID",
  13205. "type": "string"
  13206. },
  13207. {
  13208. "name": "openIdList",
  13209. "in": "query",
  13210. "required": false,
  13211. "description": "用户openId数组",
  13212. "type": "string"
  13213. }
  13214. ],
  13215. "responses": {
  13216. "200": {
  13217. "description": "successful operation",
  13218. "schema": {
  13219. "type": "object",
  13220. "properties": {
  13221. "code": {
  13222. "type": "integer",
  13223. "format": "int64"
  13224. },
  13225. "data": {
  13226. "type": "object",
  13227. "additionalProperties": {
  13228. "type": "object"
  13229. }
  13230. },
  13231. "message": {
  13232. "type": "string"
  13233. }
  13234. },
  13235. "title": "CommonResult«JSONObject»",
  13236. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13237. }
  13238. }
  13239. }
  13240. }
  13241. },
  13242. "/api/admin/wechat/user/tags/getUserListById": {
  13243. "get": {
  13244. "tags": [
  13245. "微信开放平台 -- 微信用户标签"
  13246. ],
  13247. "summary": "获取标签下粉丝列表",
  13248. "consumes": [
  13249. "text/plain"
  13250. ],
  13251. "parameters": [
  13252. {
  13253. "name": "id",
  13254. "in": "query",
  13255. "required": false,
  13256. "description": "标签ID",
  13257. "type": "string"
  13258. },
  13259. {
  13260. "name": "nextOpenId",
  13261. "in": "query",
  13262. "required": false,
  13263. "description": "第一个拉取的OPENID,不填默认从头开始拉取",
  13264. "type": "string"
  13265. },
  13266. {
  13267. "name": "raw",
  13268. "in": "body",
  13269. "description": "raw paramter",
  13270. "schema": {
  13271. "type": "string",
  13272. "format": "binary"
  13273. }
  13274. }
  13275. ],
  13276. "responses": {
  13277. "200": {
  13278. "description": "successful operation",
  13279. "schema": {
  13280. "type": "object",
  13281. "properties": {
  13282. "code": {
  13283. "type": "integer",
  13284. "format": "int64"
  13285. },
  13286. "data": {
  13287. "type": "object",
  13288. "additionalProperties": {
  13289. "type": "object"
  13290. }
  13291. },
  13292. "message": {
  13293. "type": "string"
  13294. }
  13295. },
  13296. "title": "CommonResult«JSONObject»",
  13297. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13298. }
  13299. }
  13300. }
  13301. }
  13302. },
  13303. "/api/admin/wechat/user/tags/getTagsListByUserId": {
  13304. "get": {
  13305. "tags": [
  13306. "微信开放平台 -- 微信用户标签"
  13307. ],
  13308. "summary": "获取用户身上的标签列表",
  13309. "consumes": [
  13310. "text/plain"
  13311. ],
  13312. "parameters": [
  13313. {
  13314. "name": "isAsync",
  13315. "in": "query",
  13316. "required": false,
  13317. "description": "是否同步微信数据, true是,false否",
  13318. "type": "string"
  13319. },
  13320. {
  13321. "name": "openId",
  13322. "in": "query",
  13323. "required": false,
  13324. "description": "用户openId",
  13325. "type": "string"
  13326. },
  13327. {
  13328. "name": "raw",
  13329. "in": "body",
  13330. "description": "raw paramter",
  13331. "schema": {
  13332. "type": "string",
  13333. "format": "binary"
  13334. }
  13335. }
  13336. ],
  13337. "responses": {
  13338. "200": {
  13339. "description": "successful operation",
  13340. "schema": {
  13341. "type": "object",
  13342. "properties": {
  13343. "code": {
  13344. "type": "integer",
  13345. "format": "int64"
  13346. },
  13347. "data": {
  13348. "type": "object"
  13349. },
  13350. "message": {
  13351. "type": "string"
  13352. }
  13353. },
  13354. "title": "CommonResult«object»",
  13355. "$$ref": "#/definitions/CommonResult«object»"
  13356. }
  13357. }
  13358. }
  13359. }
  13360. },
  13361. "/api/admin/wechat/user/log/update": {
  13362. "post": {
  13363. "tags": [
  13364. "微信开放平台 -- 用户行为记录"
  13365. ],
  13366. "summary": "修改",
  13367. "consumes": [
  13368. "application/json"
  13369. ],
  13370. "parameters": [
  13371. {
  13372. "name": "addTime",
  13373. "in": "query",
  13374. "required": false,
  13375. "description": "操作时间",
  13376. "type": "string"
  13377. },
  13378. {
  13379. "name": "id",
  13380. "in": "query",
  13381. "required": false,
  13382. "description": "id",
  13383. "type": "string"
  13384. },
  13385. {
  13386. "name": "openid",
  13387. "in": "query",
  13388. "required": false,
  13389. "description": "用户openid",
  13390. "type": "string"
  13391. },
  13392. {
  13393. "name": "result",
  13394. "in": "query",
  13395. "required": false,
  13396. "description": "操作详细记录",
  13397. "type": "string"
  13398. },
  13399. {
  13400. "name": "type",
  13401. "in": "query",
  13402. "required": false,
  13403. "description": "操作类型",
  13404. "type": "string"
  13405. }
  13406. ],
  13407. "responses": {
  13408. "200": {
  13409. "description": "successful operation",
  13410. "schema": {
  13411. "type": "object",
  13412. "properties": {
  13413. "code": {
  13414. "type": "integer",
  13415. "format": "int64"
  13416. },
  13417. "data": {
  13418. "type": "string"
  13419. },
  13420. "message": {
  13421. "type": "string"
  13422. }
  13423. },
  13424. "title": "CommonResult«string»",
  13425. "$$ref": "#/definitions/CommonResult«string»"
  13426. }
  13427. }
  13428. }
  13429. }
  13430. },
  13431. "/api/admin/wechat/user/log/list": {
  13432. "get": {
  13433. "tags": [
  13434. "微信开放平台 -- 用户行为记录"
  13435. ],
  13436. "summary": "分页列表",
  13437. "consumes": [
  13438. "text/plain"
  13439. ],
  13440. "parameters": [
  13441. {
  13442. "name": "addTime",
  13443. "in": "query",
  13444. "required": false,
  13445. "description": "操作时间",
  13446. "type": "string"
  13447. },
  13448. {
  13449. "name": "limit",
  13450. "in": "query",
  13451. "required": false,
  13452. "description": "每页数量",
  13453. "type": "string"
  13454. },
  13455. {
  13456. "name": "openid",
  13457. "in": "query",
  13458. "required": false,
  13459. "description": "用户openid",
  13460. "type": "string"
  13461. },
  13462. {
  13463. "name": "page",
  13464. "in": "query",
  13465. "required": false,
  13466. "description": "页码",
  13467. "type": "string"
  13468. },
  13469. {
  13470. "name": "result",
  13471. "in": "query",
  13472. "required": false,
  13473. "description": "操作详细记录",
  13474. "type": "string"
  13475. },
  13476. {
  13477. "name": "type",
  13478. "in": "query",
  13479. "required": false,
  13480. "description": "操作类型",
  13481. "type": "string"
  13482. },
  13483. {
  13484. "name": "raw",
  13485. "in": "body",
  13486. "description": "raw paramter",
  13487. "schema": {
  13488. "type": "string",
  13489. "format": "binary"
  13490. }
  13491. }
  13492. ],
  13493. "responses": {
  13494. "200": {
  13495. "description": "successful operation",
  13496. "schema": {
  13497. "type": "object",
  13498. "properties": {
  13499. "code": {
  13500. "type": "integer",
  13501. "format": "int64"
  13502. },
  13503. "data": {
  13504. "type": "object",
  13505. "properties": {
  13506. "limit": {
  13507. "type": "integer",
  13508. "format": "int32"
  13509. },
  13510. "list": {
  13511. "type": "array",
  13512. "items": {
  13513. "type": "object",
  13514. "properties": {
  13515. "createTime": {
  13516. "type": "string",
  13517. "format": "date-time",
  13518. "description": "创建时间"
  13519. },
  13520. "id": {
  13521. "type": "integer",
  13522. "format": "int32",
  13523. "description": "用户行为记录id"
  13524. },
  13525. "openid": {
  13526. "type": "string",
  13527. "description": "用户openid"
  13528. },
  13529. "result": {
  13530. "type": "string",
  13531. "description": "操作详细记录"
  13532. },
  13533. "type": {
  13534. "type": "string",
  13535. "description": "操作类型"
  13536. },
  13537. "updateTime": {
  13538. "type": "string",
  13539. "format": "date-time",
  13540. "description": "修改时间"
  13541. }
  13542. },
  13543. "title": "WechatMessage对象",
  13544. "description": "用户行为记录表",
  13545. "$$ref": "#/definitions/WechatMessage对象"
  13546. }
  13547. },
  13548. "page": {
  13549. "type": "integer",
  13550. "format": "int32"
  13551. },
  13552. "total": {
  13553. "type": "integer",
  13554. "format": "int64"
  13555. },
  13556. "totalPage": {
  13557. "type": "integer",
  13558. "format": "int32"
  13559. }
  13560. },
  13561. "title": "CommonPage«WechatMessage对象»",
  13562. "$$ref": "#/definitions/CommonPage«WechatMessage对象»"
  13563. },
  13564. "message": {
  13565. "type": "string"
  13566. }
  13567. },
  13568. "title": "CommonResult«CommonPage«WechatMessage对象»»",
  13569. "$$ref": "#/definitions/CommonResult«CommonPage«WechatMessage对象»»"
  13570. }
  13571. }
  13572. }
  13573. }
  13574. },
  13575. "/api/admin/wechat/user/log/delete": {
  13576. "get": {
  13577. "tags": [
  13578. "微信开放平台 -- 用户行为记录"
  13579. ],
  13580. "summary": "删除",
  13581. "consumes": [
  13582. "text/plain"
  13583. ],
  13584. "parameters": [
  13585. {
  13586. "name": "id",
  13587. "in": "query",
  13588. "required": false,
  13589. "description": "id",
  13590. "type": "string"
  13591. },
  13592. {
  13593. "name": "raw",
  13594. "in": "body",
  13595. "description": "raw paramter",
  13596. "schema": {
  13597. "type": "string",
  13598. "format": "binary"
  13599. }
  13600. }
  13601. ],
  13602. "responses": {
  13603. "200": {
  13604. "description": "successful operation",
  13605. "schema": {
  13606. "type": "object",
  13607. "properties": {
  13608. "code": {
  13609. "type": "integer",
  13610. "format": "int64"
  13611. },
  13612. "data": {
  13613. "type": "string"
  13614. },
  13615. "message": {
  13616. "type": "string"
  13617. }
  13618. },
  13619. "title": "CommonResult«string»",
  13620. "$$ref": "#/definitions/CommonResult«string»"
  13621. }
  13622. }
  13623. }
  13624. }
  13625. },
  13626. "/api/admin/wechat/user/log/save": {
  13627. "post": {
  13628. "tags": [
  13629. "微信开放平台 -- 用户行为记录"
  13630. ],
  13631. "summary": "新增",
  13632. "consumes": [
  13633. "application/json"
  13634. ],
  13635. "parameters": [
  13636. {
  13637. "name": "addTime",
  13638. "in": "query",
  13639. "required": false,
  13640. "description": "操作时间",
  13641. "type": "string"
  13642. },
  13643. {
  13644. "name": "openid",
  13645. "in": "query",
  13646. "required": false,
  13647. "description": "用户openid",
  13648. "type": "string"
  13649. },
  13650. {
  13651. "name": "result",
  13652. "in": "query",
  13653. "required": false,
  13654. "description": "操作详细记录",
  13655. "type": "string"
  13656. },
  13657. {
  13658. "name": "type",
  13659. "in": "query",
  13660. "required": false,
  13661. "description": "操作类型",
  13662. "type": "string"
  13663. }
  13664. ],
  13665. "responses": {
  13666. "200": {
  13667. "description": "successful operation",
  13668. "schema": {
  13669. "type": "object",
  13670. "properties": {
  13671. "code": {
  13672. "type": "integer",
  13673. "format": "int64"
  13674. },
  13675. "data": {
  13676. "type": "string"
  13677. },
  13678. "message": {
  13679. "type": "string"
  13680. }
  13681. },
  13682. "title": "CommonResult«string»",
  13683. "$$ref": "#/definitions/CommonResult«string»"
  13684. }
  13685. }
  13686. }
  13687. }
  13688. },
  13689. "/api/admin/wechat/user/log/info": {
  13690. "get": {
  13691. "tags": [
  13692. "微信开放平台 -- 用户行为记录"
  13693. ],
  13694. "summary": "详情",
  13695. "consumes": [
  13696. "text/plain"
  13697. ],
  13698. "parameters": [
  13699. {
  13700. "name": "id",
  13701. "in": "query",
  13702. "required": false,
  13703. "description": "id",
  13704. "type": "string"
  13705. },
  13706. {
  13707. "name": "raw",
  13708. "in": "body",
  13709. "description": "raw paramter",
  13710. "schema": {
  13711. "type": "string",
  13712. "format": "binary"
  13713. }
  13714. }
  13715. ],
  13716. "responses": {
  13717. "200": {
  13718. "description": "successful operation",
  13719. "schema": {
  13720. "type": "object",
  13721. "properties": {
  13722. "code": {
  13723. "type": "integer",
  13724. "format": "int64"
  13725. },
  13726. "data": {
  13727. "type": "object",
  13728. "properties": {
  13729. "createTime": {
  13730. "type": "string",
  13731. "format": "date-time",
  13732. "description": "创建时间"
  13733. },
  13734. "id": {
  13735. "type": "integer",
  13736. "format": "int32",
  13737. "description": "用户行为记录id"
  13738. },
  13739. "openid": {
  13740. "type": "string",
  13741. "description": "用户openid"
  13742. },
  13743. "result": {
  13744. "type": "string",
  13745. "description": "操作详细记录"
  13746. },
  13747. "type": {
  13748. "type": "string",
  13749. "description": "操作类型"
  13750. },
  13751. "updateTime": {
  13752. "type": "string",
  13753. "format": "date-time",
  13754. "description": "修改时间"
  13755. }
  13756. },
  13757. "title": "WechatMessage对象",
  13758. "description": "用户行为记录表",
  13759. "$$ref": "#/definitions/WechatMessage对象"
  13760. },
  13761. "message": {
  13762. "type": "string"
  13763. }
  13764. },
  13765. "title": "CommonResult«WechatMessage对象»",
  13766. "$$ref": "#/definitions/CommonResult«WechatMessage对象»"
  13767. }
  13768. }
  13769. }
  13770. }
  13771. },
  13772. "/api/admin/wechat/media/upload": {
  13773. "post": {
  13774. "tags": [
  13775. "微信开放平台 -- 素材"
  13776. ],
  13777. "summary": "上传",
  13778. "consumes": [
  13779. "multipart/form-data"
  13780. ],
  13781. "parameters": [
  13782. {
  13783. "name": "type",
  13784. "in": "query",
  13785. "required": false,
  13786. "description": "媒体文件类型,分别有图片(image)、语音(voice",
  13787. "type": "string"
  13788. },
  13789. {
  13790. "name": "media",
  13791. "in": "formData",
  13792. "required": false,
  13793. "description": "待上传素材图片文件",
  13794. "type": "file"
  13795. }
  13796. ],
  13797. "responses": {
  13798. "200": {
  13799. "description": "successful operation",
  13800. "schema": {
  13801. "type": "object",
  13802. "properties": {
  13803. "code": {
  13804. "type": "integer",
  13805. "format": "int64"
  13806. },
  13807. "data": {
  13808. "type": "object",
  13809. "additionalProperties": {
  13810. "type": "string"
  13811. }
  13812. },
  13813. "message": {
  13814. "type": "string"
  13815. }
  13816. },
  13817. "title": "CommonResult«Map«string,string»»",
  13818. "$$ref": "#/definitions/CommonResult«Map«string,string»»"
  13819. }
  13820. }
  13821. }
  13822. }
  13823. },
  13824. "/api/admin/wechat/media/get": {
  13825. "get": {
  13826. "tags": [
  13827. "微信开放平台 -- 素材"
  13828. ],
  13829. "summary": "根据素材id查询素材",
  13830. "consumes": [
  13831. "text/plain"
  13832. ],
  13833. "parameters": [
  13834. {
  13835. "name": "mediaId",
  13836. "in": "query",
  13837. "required": false,
  13838. "description": "mediaId",
  13839. "type": "string"
  13840. },
  13841. {
  13842. "name": "raw",
  13843. "in": "body",
  13844. "description": "raw paramter",
  13845. "schema": {
  13846. "type": "string",
  13847. "format": "binary"
  13848. }
  13849. }
  13850. ],
  13851. "responses": {
  13852. "200": {
  13853. "description": "successful operation",
  13854. "schema": {
  13855. "type": "object",
  13856. "properties": {
  13857. "code": {
  13858. "type": "integer",
  13859. "format": "int64"
  13860. },
  13861. "data": {
  13862. "type": "object"
  13863. },
  13864. "message": {
  13865. "type": "string"
  13866. }
  13867. },
  13868. "title": "CommonResult«Map«string,object»»",
  13869. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  13870. }
  13871. }
  13872. }
  13873. }
  13874. },
  13875. "/api/admin/wechat/menu/public/self/create": {
  13876. "post": {
  13877. "tags": [
  13878. "微信开放平台 -- 菜单管理"
  13879. ],
  13880. "summary": "保存个性化菜单",
  13881. "consumes": [
  13882. "application/json"
  13883. ],
  13884. "parameters": [
  13885. {
  13886. "name": "root",
  13887. "in": "body",
  13888. "schema": {
  13889. "type": "string"
  13890. }
  13891. }
  13892. ],
  13893. "responses": {
  13894. "200": {
  13895. "description": "successful operation",
  13896. "schema": {
  13897. "type": "object",
  13898. "properties": {
  13899. "code": {
  13900. "type": "integer",
  13901. "format": "int64"
  13902. },
  13903. "data": {
  13904. "type": "object",
  13905. "additionalProperties": {
  13906. "type": "object"
  13907. }
  13908. },
  13909. "message": {
  13910. "type": "string"
  13911. }
  13912. },
  13913. "title": "CommonResult«JSONObject»",
  13914. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13915. }
  13916. }
  13917. }
  13918. }
  13919. },
  13920. "/api/admin/wechat/menu/public/create": {
  13921. "post": {
  13922. "tags": [
  13923. "微信开放平台 -- 菜单管理"
  13924. ],
  13925. "summary": "保存自定义菜单",
  13926. "consumes": [
  13927. "application/json"
  13928. ],
  13929. "parameters": [
  13930. {
  13931. "name": "root",
  13932. "in": "body",
  13933. "schema": {
  13934. "type": "string"
  13935. }
  13936. }
  13937. ],
  13938. "responses": {
  13939. "200": {
  13940. "description": "successful operation",
  13941. "schema": {
  13942. "type": "object",
  13943. "properties": {
  13944. "code": {
  13945. "type": "integer",
  13946. "format": "int64"
  13947. },
  13948. "data": {
  13949. "type": "object",
  13950. "additionalProperties": {
  13951. "type": "object"
  13952. }
  13953. },
  13954. "message": {
  13955. "type": "string"
  13956. }
  13957. },
  13958. "title": "CommonResult«JSONObject»",
  13959. "$$ref": "#/definitions/CommonResult«JSONObject»"
  13960. }
  13961. }
  13962. }
  13963. }
  13964. },
  13965. "/api/admin/wechat/menu/public/self/delete": {
  13966. "get": {
  13967. "tags": [
  13968. "微信开放平台 -- 菜单管理"
  13969. ],
  13970. "summary": "删除个性化菜单",
  13971. "consumes": [
  13972. "text/plain"
  13973. ],
  13974. "parameters": [
  13975. {
  13976. "name": "menuId",
  13977. "in": "query",
  13978. "required": false,
  13979. "description": "菜单ID",
  13980. "type": "string"
  13981. },
  13982. {
  13983. "name": "raw",
  13984. "in": "body",
  13985. "description": "raw paramter",
  13986. "schema": {
  13987. "type": "string",
  13988. "format": "binary"
  13989. }
  13990. }
  13991. ],
  13992. "responses": {
  13993. "200": {
  13994. "description": "successful operation",
  13995. "schema": {
  13996. "type": "object",
  13997. "properties": {
  13998. "code": {
  13999. "type": "integer",
  14000. "format": "int64"
  14001. },
  14002. "data": {
  14003. "type": "object",
  14004. "additionalProperties": {
  14005. "type": "object"
  14006. }
  14007. },
  14008. "message": {
  14009. "type": "string"
  14010. }
  14011. },
  14012. "title": "CommonResult«JSONObject»",
  14013. "$$ref": "#/definitions/CommonResult«JSONObject»"
  14014. }
  14015. }
  14016. }
  14017. }
  14018. },
  14019. "/api/admin/wechat/menu/public/delete": {
  14020. "get": {
  14021. "tags": [
  14022. "微信开放平台 -- 菜单管理"
  14023. ],
  14024. "summary": "删除自定义菜单",
  14025. "consumes": [
  14026. "text/plain"
  14027. ],
  14028. "parameters": [
  14029. {
  14030. "name": "raw",
  14031. "in": "body",
  14032. "description": "raw paramter",
  14033. "schema": {
  14034. "type": "string",
  14035. "format": "binary"
  14036. }
  14037. }
  14038. ],
  14039. "responses": {
  14040. "200": {
  14041. "description": "successful operation",
  14042. "schema": {
  14043. "type": "object",
  14044. "properties": {
  14045. "code": {
  14046. "type": "integer",
  14047. "format": "int64"
  14048. },
  14049. "data": {
  14050. "type": "object",
  14051. "additionalProperties": {
  14052. "type": "object"
  14053. }
  14054. },
  14055. "message": {
  14056. "type": "string"
  14057. }
  14058. },
  14059. "title": "CommonResult«JSONObject»",
  14060. "$$ref": "#/definitions/CommonResult«JSONObject»"
  14061. }
  14062. }
  14063. }
  14064. }
  14065. },
  14066. "/api/admin/wechat/menu/public/self/get": {
  14067. "get": {
  14068. "tags": [
  14069. "微信开放平台 -- 菜单管理"
  14070. ],
  14071. "summary": "获取个性化菜单",
  14072. "consumes": [
  14073. "text/plain"
  14074. ],
  14075. "parameters": [
  14076. {
  14077. "name": "isAsync",
  14078. "in": "query",
  14079. "required": false,
  14080. "description": "是否同步微信数据, true是,false否",
  14081. "type": "string"
  14082. },
  14083. {
  14084. "name": "raw",
  14085. "in": "body",
  14086. "description": "raw paramter",
  14087. "schema": {
  14088. "type": "string",
  14089. "format": "binary"
  14090. }
  14091. }
  14092. ],
  14093. "responses": {
  14094. "200": {
  14095. "description": "successful operation",
  14096. "schema": {
  14097. "type": "object",
  14098. "properties": {
  14099. "code": {
  14100. "type": "integer",
  14101. "format": "int64"
  14102. },
  14103. "data": {
  14104. "type": "object"
  14105. },
  14106. "message": {
  14107. "type": "string"
  14108. }
  14109. },
  14110. "title": "CommonResult«object»",
  14111. "$$ref": "#/definitions/CommonResult«object»"
  14112. }
  14113. }
  14114. }
  14115. }
  14116. },
  14117. "/api/admin/wechat/menu/public/get": {
  14118. "get": {
  14119. "tags": [
  14120. "微信开放平台 -- 菜单管理"
  14121. ],
  14122. "summary": "获取自定义菜单",
  14123. "consumes": [
  14124. "text/plain"
  14125. ],
  14126. "parameters": [
  14127. {
  14128. "name": "isAsync",
  14129. "in": "query",
  14130. "required": false,
  14131. "description": "是否同步微信数据, true是,false否",
  14132. "type": "string"
  14133. },
  14134. {
  14135. "name": "raw",
  14136. "in": "body",
  14137. "description": "raw paramter",
  14138. "schema": {
  14139. "type": "string",
  14140. "format": "binary"
  14141. }
  14142. }
  14143. ],
  14144. "responses": {
  14145. "200": {
  14146. "description": "successful operation",
  14147. "schema": {
  14148. "type": "object",
  14149. "properties": {
  14150. "code": {
  14151. "type": "integer",
  14152. "format": "int64"
  14153. },
  14154. "data": {
  14155. "type": "object"
  14156. },
  14157. "message": {
  14158. "type": "string"
  14159. }
  14160. },
  14161. "title": "CommonResult«object»",
  14162. "$$ref": "#/definitions/CommonResult«object»"
  14163. }
  14164. }
  14165. }
  14166. }
  14167. },
  14168. "/api/admin/wechat/routine/form/update": {
  14169. "post": {
  14170. "tags": [
  14171. "微信开放平台 -- 表单id表记录"
  14172. ],
  14173. "summary": "修改",
  14174. "consumes": [
  14175. "application/json"
  14176. ],
  14177. "parameters": [
  14178. {
  14179. "name": "formId",
  14180. "in": "query",
  14181. "required": false,
  14182. "description": "表单ID",
  14183. "type": "string"
  14184. },
  14185. {
  14186. "name": "id",
  14187. "in": "query",
  14188. "required": false,
  14189. "description": "id",
  14190. "type": "string"
  14191. },
  14192. {
  14193. "name": "status",
  14194. "in": "query",
  14195. "required": false,
  14196. "description": "状态1 未使用 2不能使用",
  14197. "type": "string"
  14198. },
  14199. {
  14200. "name": "stopTime",
  14201. "in": "query",
  14202. "required": false,
  14203. "description": "表单ID失效时间",
  14204. "type": "string"
  14205. },
  14206. {
  14207. "name": "uid",
  14208. "in": "query",
  14209. "required": false,
  14210. "description": "用户uid",
  14211. "type": "string"
  14212. }
  14213. ],
  14214. "responses": {
  14215. "200": {
  14216. "description": "successful operation",
  14217. "schema": {
  14218. "type": "object",
  14219. "properties": {
  14220. "code": {
  14221. "type": "integer",
  14222. "format": "int64"
  14223. },
  14224. "data": {
  14225. "type": "string"
  14226. },
  14227. "message": {
  14228. "type": "string"
  14229. }
  14230. },
  14231. "title": "CommonResult«string»",
  14232. "$$ref": "#/definitions/CommonResult«string»"
  14233. }
  14234. }
  14235. }
  14236. }
  14237. },
  14238. "/api/admin/wechat/routine/form/list": {
  14239. "get": {
  14240. "tags": [
  14241. "微信开放平台 -- 表单id表记录"
  14242. ],
  14243. "summary": "分页列表",
  14244. "consumes": [
  14245. "text/plain"
  14246. ],
  14247. "parameters": [
  14248. {
  14249. "name": "formId",
  14250. "in": "query",
  14251. "required": false,
  14252. "description": "表单ID",
  14253. "type": "string"
  14254. },
  14255. {
  14256. "name": "limit",
  14257. "in": "query",
  14258. "required": false,
  14259. "description": "每页数量",
  14260. "type": "string"
  14261. },
  14262. {
  14263. "name": "page",
  14264. "in": "query",
  14265. "required": false,
  14266. "description": "页码",
  14267. "type": "string"
  14268. },
  14269. {
  14270. "name": "status",
  14271. "in": "query",
  14272. "required": false,
  14273. "description": "状态1 未使用 2不能使用",
  14274. "type": "string"
  14275. },
  14276. {
  14277. "name": "stopTime",
  14278. "in": "query",
  14279. "required": false,
  14280. "description": "表单ID失效时间",
  14281. "type": "string"
  14282. },
  14283. {
  14284. "name": "uid",
  14285. "in": "query",
  14286. "required": false,
  14287. "description": "用户uid",
  14288. "type": "string"
  14289. },
  14290. {
  14291. "name": "raw",
  14292. "in": "body",
  14293. "description": "raw paramter",
  14294. "schema": {
  14295. "type": "string",
  14296. "format": "binary"
  14297. }
  14298. }
  14299. ],
  14300. "responses": {
  14301. "200": {
  14302. "description": "successful operation",
  14303. "schema": {
  14304. "type": "object",
  14305. "properties": {
  14306. "code": {
  14307. "type": "integer",
  14308. "format": "int64"
  14309. },
  14310. "data": {
  14311. "type": "object",
  14312. "properties": {
  14313. "limit": {
  14314. "type": "integer",
  14315. "format": "int32"
  14316. },
  14317. "list": {
  14318. "type": "array",
  14319. "items": {
  14320. "type": "object",
  14321. "properties": {
  14322. "createTime": {
  14323. "type": "string",
  14324. "format": "date-time",
  14325. "description": "创建时间"
  14326. },
  14327. "formId": {
  14328. "type": "string",
  14329. "description": "表单ID"
  14330. },
  14331. "id": {
  14332. "type": "integer",
  14333. "format": "int32",
  14334. "description": "表单ID表ID"
  14335. },
  14336. "status": {
  14337. "type": "boolean",
  14338. "description": "状态1 未使用 2不能使用"
  14339. },
  14340. "stopTime": {
  14341. "type": "integer",
  14342. "format": "int32",
  14343. "description": "表单ID失效时间"
  14344. },
  14345. "uid": {
  14346. "type": "integer",
  14347. "format": "int32",
  14348. "description": "用户uid"
  14349. },
  14350. "updateTime": {
  14351. "type": "string",
  14352. "format": "date-time",
  14353. "description": "更新时间"
  14354. }
  14355. },
  14356. "title": "RoutineFormId对象",
  14357. "description": "表单id表记录表",
  14358. "$$ref": "#/definitions/RoutineFormId对象"
  14359. }
  14360. },
  14361. "page": {
  14362. "type": "integer",
  14363. "format": "int32"
  14364. },
  14365. "total": {
  14366. "type": "integer",
  14367. "format": "int64"
  14368. },
  14369. "totalPage": {
  14370. "type": "integer",
  14371. "format": "int32"
  14372. }
  14373. },
  14374. "title": "CommonPage«RoutineFormId对象»",
  14375. "$$ref": "#/definitions/CommonPage«RoutineFormId对象»"
  14376. },
  14377. "message": {
  14378. "type": "string"
  14379. }
  14380. },
  14381. "title": "CommonResult«CommonPage«RoutineFormId对象»»",
  14382. "$$ref": "#/definitions/CommonResult«CommonPage«RoutineFormId对象»»"
  14383. }
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "/api/admin/wechat/routine/form/delete": {
  14389. "get": {
  14390. "tags": [
  14391. "微信开放平台 -- 表单id表记录"
  14392. ],
  14393. "summary": "删除",
  14394. "consumes": [
  14395. "text/plain"
  14396. ],
  14397. "parameters": [
  14398. {
  14399. "name": "id",
  14400. "in": "query",
  14401. "required": false,
  14402. "description": "id",
  14403. "type": "string"
  14404. },
  14405. {
  14406. "name": "raw",
  14407. "in": "body",
  14408. "description": "raw paramter",
  14409. "schema": {
  14410. "type": "string",
  14411. "format": "binary"
  14412. }
  14413. }
  14414. ],
  14415. "responses": {
  14416. "200": {
  14417. "description": "successful operation",
  14418. "schema": {
  14419. "type": "object",
  14420. "properties": {
  14421. "code": {
  14422. "type": "integer",
  14423. "format": "int64"
  14424. },
  14425. "data": {
  14426. "type": "string"
  14427. },
  14428. "message": {
  14429. "type": "string"
  14430. }
  14431. },
  14432. "title": "CommonResult«string»",
  14433. "$$ref": "#/definitions/CommonResult«string»"
  14434. }
  14435. }
  14436. }
  14437. }
  14438. },
  14439. "/api/admin/wechat/routine/form/save": {
  14440. "post": {
  14441. "tags": [
  14442. "微信开放平台 -- 表单id表记录"
  14443. ],
  14444. "summary": "新增",
  14445. "consumes": [
  14446. "application/json"
  14447. ],
  14448. "parameters": [
  14449. {
  14450. "name": "formId",
  14451. "in": "query",
  14452. "required": false,
  14453. "description": "表单ID",
  14454. "type": "string"
  14455. },
  14456. {
  14457. "name": "status",
  14458. "in": "query",
  14459. "required": false,
  14460. "description": "状态1 未使用 2不能使用",
  14461. "type": "string"
  14462. },
  14463. {
  14464. "name": "stopTime",
  14465. "in": "query",
  14466. "required": false,
  14467. "description": "表单ID失效时间",
  14468. "type": "string"
  14469. },
  14470. {
  14471. "name": "uid",
  14472. "in": "query",
  14473. "required": false,
  14474. "description": "用户uid",
  14475. "type": "string"
  14476. }
  14477. ],
  14478. "responses": {
  14479. "200": {
  14480. "description": "successful operation",
  14481. "schema": {
  14482. "type": "object",
  14483. "properties": {
  14484. "code": {
  14485. "type": "integer",
  14486. "format": "int64"
  14487. },
  14488. "data": {
  14489. "type": "string"
  14490. },
  14491. "message": {
  14492. "type": "string"
  14493. }
  14494. },
  14495. "title": "CommonResult«string»",
  14496. "$$ref": "#/definitions/CommonResult«string»"
  14497. }
  14498. }
  14499. }
  14500. }
  14501. },
  14502. "/api/admin/wechat/routine/form/info": {
  14503. "get": {
  14504. "tags": [
  14505. "微信开放平台 -- 表单id表记录"
  14506. ],
  14507. "summary": "详情",
  14508. "consumes": [
  14509. "text/plain"
  14510. ],
  14511. "parameters": [
  14512. {
  14513. "name": "id",
  14514. "in": "query",
  14515. "required": false,
  14516. "description": "id",
  14517. "type": "string"
  14518. },
  14519. {
  14520. "name": "raw",
  14521. "in": "body",
  14522. "description": "raw paramter",
  14523. "schema": {
  14524. "type": "string",
  14525. "format": "binary"
  14526. }
  14527. }
  14528. ],
  14529. "responses": {
  14530. "200": {
  14531. "description": "successful operation",
  14532. "schema": {
  14533. "type": "object",
  14534. "properties": {
  14535. "code": {
  14536. "type": "integer",
  14537. "format": "int64"
  14538. },
  14539. "data": {
  14540. "type": "object",
  14541. "properties": {
  14542. "createTime": {
  14543. "type": "string",
  14544. "format": "date-time",
  14545. "description": "创建时间"
  14546. },
  14547. "formId": {
  14548. "type": "string",
  14549. "description": "表单ID"
  14550. },
  14551. "id": {
  14552. "type": "integer",
  14553. "format": "int32",
  14554. "description": "表单ID表ID"
  14555. },
  14556. "status": {
  14557. "type": "boolean",
  14558. "description": "状态1 未使用 2不能使用"
  14559. },
  14560. "stopTime": {
  14561. "type": "integer",
  14562. "format": "int32",
  14563. "description": "表单ID失效时间"
  14564. },
  14565. "uid": {
  14566. "type": "integer",
  14567. "format": "int32",
  14568. "description": "用户uid"
  14569. },
  14570. "updateTime": {
  14571. "type": "string",
  14572. "format": "date-time",
  14573. "description": "更新时间"
  14574. }
  14575. },
  14576. "title": "RoutineFormId对象",
  14577. "description": "表单id表记录表",
  14578. "$$ref": "#/definitions/RoutineFormId对象"
  14579. },
  14580. "message": {
  14581. "type": "string"
  14582. }
  14583. },
  14584. "title": "CommonResult«RoutineFormId对象»",
  14585. "$$ref": "#/definitions/CommonResult«RoutineFormId对象»"
  14586. }
  14587. }
  14588. }
  14589. }
  14590. },
  14591. "/api/admin/payment/callback/wechat": {
  14592. "post": {
  14593. "tags": [
  14594. "支付回调"
  14595. ],
  14596. "summary": "微信支付回调",
  14597. "consumes": [
  14598. "application/json"
  14599. ],
  14600. "parameters": [
  14601. {
  14602. "name": "root",
  14603. "in": "body",
  14604. "schema": {
  14605. "type": "string"
  14606. }
  14607. }
  14608. ],
  14609. "responses": {
  14610. "200": {
  14611. "description": "successful operation",
  14612. "schema": {
  14613. "type": "string",
  14614. "format": "binary",
  14615. "default": "OK"
  14616. }
  14617. }
  14618. }
  14619. }
  14620. },
  14621. "/api/admin/payment/callback/alipay": {
  14622. "post": {
  14623. "tags": [
  14624. "支付回调"
  14625. ],
  14626. "summary": "支付宝支付回调 ",
  14627. "consumes": [
  14628. "application/json"
  14629. ],
  14630. "parameters": [
  14631. {
  14632. "name": "root",
  14633. "in": "body",
  14634. "schema": {
  14635. "type": "string"
  14636. }
  14637. }
  14638. ],
  14639. "responses": {
  14640. "200": {
  14641. "description": "successful operation",
  14642. "schema": {
  14643. "type": "string",
  14644. "format": "binary",
  14645. "default": "OK"
  14646. }
  14647. }
  14648. }
  14649. }
  14650. },
  14651. "/api/admin/article/update": {
  14652. "post": {
  14653. "tags": [
  14654. "文章管理"
  14655. ],
  14656. "summary": "修改",
  14657. "consumes": [
  14658. "application/json"
  14659. ],
  14660. "parameters": [
  14661. {
  14662. "name": "id",
  14663. "in": "query",
  14664. "required": false,
  14665. "description": "文章ID",
  14666. "type": "string"
  14667. },
  14668. {
  14669. "name": "root",
  14670. "in": "body",
  14671. "description": "文章管理表",
  14672. "schema": {
  14673. "type": "object",
  14674. "required": [
  14675. "author",
  14676. "cid",
  14677. "content",
  14678. "imageInput",
  14679. "shareSynopsis",
  14680. "shareTitle",
  14681. "sort",
  14682. "synopsis",
  14683. "title"
  14684. ],
  14685. "properties": {
  14686. "author": {
  14687. "type": "string",
  14688. "description": "文章作者"
  14689. },
  14690. "cid": {
  14691. "type": "string",
  14692. "description": "分类id"
  14693. },
  14694. "content": {
  14695. "type": "string",
  14696. "description": "文章内容"
  14697. },
  14698. "imageInput": {
  14699. "type": "string",
  14700. "description": "文章图片"
  14701. },
  14702. "isBanner": {
  14703. "type": "boolean",
  14704. "example": true,
  14705. "description": "是否轮播图(小程序)"
  14706. },
  14707. "isHot": {
  14708. "type": "boolean",
  14709. "example": false,
  14710. "description": "是否热门(小程序)"
  14711. },
  14712. "shareSynopsis": {
  14713. "type": "string",
  14714. "description": "文章分享简介"
  14715. },
  14716. "shareTitle": {
  14717. "type": "string",
  14718. "description": "文章分享标题"
  14719. },
  14720. "sort": {
  14721. "type": "integer",
  14722. "format": "int32",
  14723. "example": 0,
  14724. "description": "排序"
  14725. },
  14726. "synopsis": {
  14727. "type": "string",
  14728. "description": "文章简介"
  14729. },
  14730. "title": {
  14731. "type": "string",
  14732. "description": "文章标题"
  14733. },
  14734. "url": {
  14735. "type": "string",
  14736. "description": "原文链接"
  14737. }
  14738. },
  14739. "title": "ArticleRequest对象",
  14740. "description": "文章管理表",
  14741. "$$ref": "#/definitions/ArticleRequest对象"
  14742. }
  14743. }
  14744. ],
  14745. "responses": {
  14746. "200": {
  14747. "description": "successful operation",
  14748. "schema": {
  14749. "type": "object",
  14750. "properties": {
  14751. "code": {
  14752. "type": "integer",
  14753. "format": "int64"
  14754. },
  14755. "data": {
  14756. "type": "string"
  14757. },
  14758. "message": {
  14759. "type": "string"
  14760. }
  14761. },
  14762. "title": "CommonResult«string»",
  14763. "$$ref": "#/definitions/CommonResult«string»"
  14764. }
  14765. }
  14766. }
  14767. }
  14768. },
  14769. "/api/admin/article/list": {
  14770. "get": {
  14771. "tags": [
  14772. "文章管理"
  14773. ],
  14774. "summary": "分页列表",
  14775. "consumes": [
  14776. "text/plain"
  14777. ],
  14778. "parameters": [
  14779. {
  14780. "name": "cid",
  14781. "in": "query",
  14782. "required": false,
  14783. "description": "分类id",
  14784. "type": "string"
  14785. },
  14786. {
  14787. "name": "hide",
  14788. "in": "query",
  14789. "required": false,
  14790. "description": "是否隐藏",
  14791. "type": "string"
  14792. },
  14793. {
  14794. "name": "isBanner",
  14795. "in": "query",
  14796. "required": false,
  14797. "description": "是否轮播图(小程序)",
  14798. "type": "string"
  14799. },
  14800. {
  14801. "name": "isHaveMediaId",
  14802. "in": "query",
  14803. "required": false,
  14804. "description": "是否有微信素材媒体id",
  14805. "type": "string"
  14806. },
  14807. {
  14808. "name": "isHot",
  14809. "in": "query",
  14810. "required": false,
  14811. "description": "是否热门(小程序)",
  14812. "type": "string"
  14813. },
  14814. {
  14815. "name": "keywords",
  14816. "in": "query",
  14817. "required": false,
  14818. "description": "搜索关键字",
  14819. "type": "string"
  14820. },
  14821. {
  14822. "name": "limit",
  14823. "in": "query",
  14824. "required": false,
  14825. "description": "每页数量",
  14826. "type": "string"
  14827. },
  14828. {
  14829. "name": "page",
  14830. "in": "query",
  14831. "required": false,
  14832. "description": "页码",
  14833. "type": "string"
  14834. },
  14835. {
  14836. "name": "status",
  14837. "in": "query",
  14838. "required": false,
  14839. "description": "状态",
  14840. "type": "string"
  14841. },
  14842. {
  14843. "name": "raw",
  14844. "in": "body",
  14845. "description": "raw paramter",
  14846. "schema": {
  14847. "type": "string",
  14848. "format": "binary"
  14849. }
  14850. }
  14851. ],
  14852. "responses": {
  14853. "200": {
  14854. "description": "successful operation",
  14855. "schema": {
  14856. "type": "object",
  14857. "properties": {
  14858. "code": {
  14859. "type": "integer",
  14860. "format": "int64"
  14861. },
  14862. "data": {
  14863. "type": "object",
  14864. "properties": {
  14865. "limit": {
  14866. "type": "integer",
  14867. "format": "int32"
  14868. },
  14869. "list": {
  14870. "type": "array",
  14871. "items": {
  14872. "type": "object",
  14873. "properties": {
  14874. "adminId": {
  14875. "type": "integer",
  14876. "format": "int32",
  14877. "description": "管理员id"
  14878. },
  14879. "author": {
  14880. "type": "string",
  14881. "description": "文章作者"
  14882. },
  14883. "categoryName": {
  14884. "type": "string",
  14885. "description": "分类"
  14886. },
  14887. "cid": {
  14888. "type": "string",
  14889. "description": "分类id"
  14890. },
  14891. "content": {
  14892. "type": "string",
  14893. "description": "文章内容"
  14894. },
  14895. "createTime": {
  14896. "type": "string",
  14897. "format": "date-time",
  14898. "description": "创建时间"
  14899. },
  14900. "hide": {
  14901. "type": "boolean",
  14902. "description": "是否隐藏"
  14903. },
  14904. "id": {
  14905. "type": "integer",
  14906. "format": "int32",
  14907. "description": "文章管理ID"
  14908. },
  14909. "imageInput": {
  14910. "type": "array",
  14911. "description": "文章图片 前端用",
  14912. "items": {
  14913. "type": "string"
  14914. }
  14915. },
  14916. "imageInputs": {
  14917. "type": "string",
  14918. "description": "文章图片 后端用"
  14919. },
  14920. "isBanner": {
  14921. "type": "boolean",
  14922. "description": "是否轮播图(小程序)"
  14923. },
  14924. "isHot": {
  14925. "type": "boolean",
  14926. "description": "是否热门(小程序)"
  14927. },
  14928. "mediaId": {
  14929. "type": "string",
  14930. "description": "微信素材媒体id"
  14931. },
  14932. "merId": {
  14933. "type": "integer",
  14934. "format": "int32",
  14935. "description": "商户id"
  14936. },
  14937. "productId": {
  14938. "type": "integer",
  14939. "format": "int32",
  14940. "description": "商品关联id"
  14941. },
  14942. "shareSynopsis": {
  14943. "type": "string",
  14944. "description": "文章分享简介"
  14945. },
  14946. "shareTitle": {
  14947. "type": "string",
  14948. "description": "文章分享标题"
  14949. },
  14950. "sort": {
  14951. "type": "integer",
  14952. "format": "int32",
  14953. "description": "排序"
  14954. },
  14955. "status": {
  14956. "type": "boolean",
  14957. "description": "状态"
  14958. },
  14959. "synopsis": {
  14960. "type": "string",
  14961. "description": "文章简介"
  14962. },
  14963. "title": {
  14964. "type": "string",
  14965. "description": "文章标题"
  14966. },
  14967. "updateTime": {
  14968. "type": "string",
  14969. "format": "date-time",
  14970. "description": "更新时间"
  14971. },
  14972. "url": {
  14973. "type": "string",
  14974. "description": "原文链接"
  14975. },
  14976. "visit": {
  14977. "type": "string",
  14978. "description": "浏览次数"
  14979. }
  14980. },
  14981. "title": "ArticleVo对象",
  14982. "description": "文章管理表",
  14983. "$$ref": "#/definitions/ArticleVo对象"
  14984. }
  14985. },
  14986. "page": {
  14987. "type": "integer",
  14988. "format": "int32"
  14989. },
  14990. "total": {
  14991. "type": "integer",
  14992. "format": "int64"
  14993. },
  14994. "totalPage": {
  14995. "type": "integer",
  14996. "format": "int32"
  14997. }
  14998. },
  14999. "title": "CommonPage«ArticleVo对象»",
  15000. "$$ref": "#/definitions/CommonPage«ArticleVo对象»"
  15001. },
  15002. "message": {
  15003. "type": "string"
  15004. }
  15005. },
  15006. "title": "CommonResult«CommonPage«ArticleVo对象»»",
  15007. "$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»"
  15008. }
  15009. }
  15010. }
  15011. }
  15012. },
  15013. "/api/admin/article/delete": {
  15014. "get": {
  15015. "tags": [
  15016. "文章管理"
  15017. ],
  15018. "summary": "删除",
  15019. "consumes": [
  15020. "text/plain"
  15021. ],
  15022. "parameters": [
  15023. {
  15024. "name": "id",
  15025. "in": "query",
  15026. "required": false,
  15027. "description": "文章ID",
  15028. "type": "string"
  15029. },
  15030. {
  15031. "name": "raw",
  15032. "in": "body",
  15033. "description": "raw paramter",
  15034. "schema": {
  15035. "type": "string",
  15036. "format": "binary"
  15037. }
  15038. }
  15039. ],
  15040. "responses": {
  15041. "200": {
  15042. "description": "successful operation",
  15043. "schema": {
  15044. "type": "object",
  15045. "properties": {
  15046. "code": {
  15047. "type": "integer",
  15048. "format": "int64"
  15049. },
  15050. "data": {
  15051. "type": "string"
  15052. },
  15053. "message": {
  15054. "type": "string"
  15055. }
  15056. },
  15057. "title": "CommonResult«string»",
  15058. "$$ref": "#/definitions/CommonResult«string»"
  15059. }
  15060. }
  15061. }
  15062. }
  15063. },
  15064. "/api/admin/article/save": {
  15065. "post": {
  15066. "tags": [
  15067. "文章管理"
  15068. ],
  15069. "summary": "新增",
  15070. "consumes": [
  15071. "application/json"
  15072. ],
  15073. "parameters": [
  15074. {
  15075. "name": "root",
  15076. "in": "body",
  15077. "description": "文章管理表",
  15078. "schema": {
  15079. "type": "object",
  15080. "required": [
  15081. "author",
  15082. "cid",
  15083. "content",
  15084. "imageInput",
  15085. "shareSynopsis",
  15086. "shareTitle",
  15087. "sort",
  15088. "synopsis",
  15089. "title"
  15090. ],
  15091. "properties": {
  15092. "author": {
  15093. "type": "string",
  15094. "description": "文章作者"
  15095. },
  15096. "cid": {
  15097. "type": "string",
  15098. "description": "分类id"
  15099. },
  15100. "content": {
  15101. "type": "string",
  15102. "description": "文章内容"
  15103. },
  15104. "imageInput": {
  15105. "type": "string",
  15106. "description": "文章图片"
  15107. },
  15108. "isBanner": {
  15109. "type": "boolean",
  15110. "example": true,
  15111. "description": "是否轮播图(小程序)"
  15112. },
  15113. "isHot": {
  15114. "type": "boolean",
  15115. "example": false,
  15116. "description": "是否热门(小程序)"
  15117. },
  15118. "shareSynopsis": {
  15119. "type": "string",
  15120. "description": "文章分享简介"
  15121. },
  15122. "shareTitle": {
  15123. "type": "string",
  15124. "description": "文章分享标题"
  15125. },
  15126. "sort": {
  15127. "type": "integer",
  15128. "format": "int32",
  15129. "example": 0,
  15130. "description": "排序"
  15131. },
  15132. "synopsis": {
  15133. "type": "string",
  15134. "description": "文章简介"
  15135. },
  15136. "title": {
  15137. "type": "string",
  15138. "description": "文章标题"
  15139. },
  15140. "url": {
  15141. "type": "string",
  15142. "description": "原文链接"
  15143. }
  15144. },
  15145. "title": "ArticleRequest对象",
  15146. "description": "文章管理表",
  15147. "$$ref": "#/definitions/ArticleRequest对象"
  15148. }
  15149. }
  15150. ],
  15151. "responses": {
  15152. "200": {
  15153. "description": "successful operation",
  15154. "schema": {
  15155. "type": "object",
  15156. "properties": {
  15157. "code": {
  15158. "type": "integer",
  15159. "format": "int64"
  15160. },
  15161. "data": {
  15162. "type": "string"
  15163. },
  15164. "message": {
  15165. "type": "string"
  15166. }
  15167. },
  15168. "title": "CommonResult«string»",
  15169. "$$ref": "#/definitions/CommonResult«string»"
  15170. }
  15171. }
  15172. }
  15173. }
  15174. },
  15175. "/api/admin/article/bind/product": {
  15176. "post": {
  15177. "tags": [
  15178. "文章管理"
  15179. ],
  15180. "summary": "绑定产品",
  15181. "consumes": [
  15182. "application/json"
  15183. ],
  15184. "parameters": [
  15185. {
  15186. "name": "id",
  15187. "in": "query",
  15188. "required": false,
  15189. "description": "文章ID",
  15190. "type": "string"
  15191. },
  15192. {
  15193. "name": "productId",
  15194. "in": "query",
  15195. "required": false,
  15196. "description": "产品id",
  15197. "type": "string"
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "successful operation",
  15203. "schema": {
  15204. "type": "object",
  15205. "properties": {
  15206. "code": {
  15207. "type": "integer",
  15208. "format": "int64"
  15209. },
  15210. "data": {
  15211. "type": "string"
  15212. },
  15213. "message": {
  15214. "type": "string"
  15215. }
  15216. },
  15217. "title": "CommonResult«string»",
  15218. "$$ref": "#/definitions/CommonResult«string»"
  15219. }
  15220. }
  15221. }
  15222. }
  15223. },
  15224. "/api/admin/article/info": {
  15225. "get": {
  15226. "tags": [
  15227. "文章管理"
  15228. ],
  15229. "summary": "详情",
  15230. "consumes": [
  15231. "text/plain"
  15232. ],
  15233. "parameters": [
  15234. {
  15235. "name": "id",
  15236. "in": "query",
  15237. "required": false,
  15238. "description": "文章ID",
  15239. "type": "string"
  15240. },
  15241. {
  15242. "name": "raw",
  15243. "in": "body",
  15244. "description": "raw paramter",
  15245. "schema": {
  15246. "type": "string",
  15247. "format": "binary"
  15248. }
  15249. }
  15250. ],
  15251. "responses": {
  15252. "200": {
  15253. "description": "successful operation",
  15254. "schema": {
  15255. "type": "object",
  15256. "properties": {
  15257. "code": {
  15258. "type": "integer",
  15259. "format": "int64"
  15260. },
  15261. "data": {
  15262. "type": "object",
  15263. "properties": {
  15264. "adminId": {
  15265. "type": "integer",
  15266. "format": "int32",
  15267. "description": "管理员id"
  15268. },
  15269. "author": {
  15270. "type": "string",
  15271. "description": "文章作者"
  15272. },
  15273. "cid": {
  15274. "type": "string",
  15275. "description": "分类id"
  15276. },
  15277. "content": {
  15278. "type": "string",
  15279. "description": "文章内容"
  15280. },
  15281. "createTime": {
  15282. "type": "string",
  15283. "format": "date-time",
  15284. "description": "创建时间"
  15285. },
  15286. "hide": {
  15287. "type": "boolean",
  15288. "description": "是否隐藏"
  15289. },
  15290. "id": {
  15291. "type": "integer",
  15292. "format": "int32",
  15293. "description": "文章管理ID"
  15294. },
  15295. "imageInput": {
  15296. "type": "string",
  15297. "description": "文章图片"
  15298. },
  15299. "isBanner": {
  15300. "type": "boolean",
  15301. "description": "是否轮播图(小程序)"
  15302. },
  15303. "isHot": {
  15304. "type": "boolean",
  15305. "description": "是否热门(小程序)"
  15306. },
  15307. "mediaId": {
  15308. "type": "string",
  15309. "description": "微信素材id"
  15310. },
  15311. "merId": {
  15312. "type": "integer",
  15313. "format": "int32",
  15314. "description": "商户id"
  15315. },
  15316. "productId": {
  15317. "type": "integer",
  15318. "format": "int32",
  15319. "description": "商品关联id"
  15320. },
  15321. "shareSynopsis": {
  15322. "type": "string",
  15323. "description": "文章分享简介"
  15324. },
  15325. "shareTitle": {
  15326. "type": "string",
  15327. "description": "文章分享标题"
  15328. },
  15329. "sort": {
  15330. "type": "integer",
  15331. "format": "int32",
  15332. "description": "排序"
  15333. },
  15334. "status": {
  15335. "type": "boolean",
  15336. "description": "状态"
  15337. },
  15338. "synopsis": {
  15339. "type": "string",
  15340. "description": "文章简介"
  15341. },
  15342. "title": {
  15343. "type": "string",
  15344. "description": "文章标题"
  15345. },
  15346. "updateTime": {
  15347. "type": "string",
  15348. "format": "date-time",
  15349. "description": "创建时间"
  15350. },
  15351. "url": {
  15352. "type": "string",
  15353. "description": "原文链接"
  15354. },
  15355. "visit": {
  15356. "type": "string",
  15357. "description": "浏览次数"
  15358. }
  15359. },
  15360. "title": "Article对象",
  15361. "description": "文章管理表",
  15362. "$$ref": "#/definitions/Article对象"
  15363. },
  15364. "message": {
  15365. "type": "string"
  15366. }
  15367. },
  15368. "title": "CommonResult«Article对象»",
  15369. "$$ref": "#/definitions/CommonResult«Article对象»"
  15370. }
  15371. }
  15372. }
  15373. }
  15374. },
  15375. "/api/admin/sms/sendCode": {
  15376. "post": {
  15377. "tags": [
  15378. "短信服务"
  15379. ],
  15380. "summary": " 发送短信",
  15381. "consumes": [
  15382. "application/json"
  15383. ],
  15384. "parameters": [
  15385. {
  15386. "name": "phone",
  15387. "in": "query",
  15388. "required": false,
  15389. "description": "手机号码",
  15390. "type": "string"
  15391. }
  15392. ],
  15393. "responses": {
  15394. "200": {
  15395. "description": "successful operation",
  15396. "schema": {
  15397. "type": "object",
  15398. "properties": {
  15399. "code": {
  15400. "type": "integer",
  15401. "format": "int64"
  15402. },
  15403. "data": {
  15404. "type": "object"
  15405. },
  15406. "message": {
  15407. "type": "string"
  15408. }
  15409. },
  15410. "title": "CommonResult«object»",
  15411. "$$ref": "#/definitions/CommonResult«object»"
  15412. }
  15413. }
  15414. }
  15415. }
  15416. },
  15417. "/api/admin/sms/sendCodeForRegister/{phone}": {
  15418. "get": {
  15419. "tags": [
  15420. "短信服务"
  15421. ],
  15422. "summary": "sendCodeForRegister",
  15423. "consumes": [
  15424. "text/plain"
  15425. ],
  15426. "parameters": [
  15427. {
  15428. "name": "phone",
  15429. "in": "path",
  15430. "description": "phone",
  15431. "required": true,
  15432. "type": "string"
  15433. },
  15434. {
  15435. "name": "raw",
  15436. "in": "body",
  15437. "description": "raw paramter",
  15438. "schema": {
  15439. "type": "string",
  15440. "format": "binary"
  15441. }
  15442. }
  15443. ],
  15444. "responses": {
  15445. "200": {
  15446. "description": "successful operation",
  15447. "schema": {
  15448. "type": "object",
  15449. "properties": {
  15450. "code": {
  15451. "type": "integer",
  15452. "format": "int64"
  15453. },
  15454. "data": {
  15455. "type": "object"
  15456. },
  15457. "message": {
  15458. "type": "string"
  15459. }
  15460. },
  15461. "title": "CommonResult«object»",
  15462. "$$ref": "#/definitions/CommonResult«object»"
  15463. }
  15464. }
  15465. }
  15466. }
  15467. },
  15468. "/api/admin/sms/login": {
  15469. "get": {
  15470. "tags": [
  15471. "短信服务"
  15472. ],
  15473. "summary": "信息登录",
  15474. "consumes": [
  15475. "text/plain"
  15476. ],
  15477. "parameters": [
  15478. {
  15479. "name": "account",
  15480. "in": "query",
  15481. "required": false,
  15482. "description": "账号",
  15483. "type": "string"
  15484. },
  15485. {
  15486. "name": "token",
  15487. "in": "query",
  15488. "required": false,
  15489. "description": "smsToken",
  15490. "type": "string"
  15491. },
  15492. {
  15493. "name": "raw",
  15494. "in": "body",
  15495. "description": "raw paramter",
  15496. "schema": {
  15497. "type": "string",
  15498. "format": "binary"
  15499. }
  15500. }
  15501. ],
  15502. "responses": {
  15503. "200": {
  15504. "description": "successful operation",
  15505. "schema": {
  15506. "type": "object",
  15507. "properties": {
  15508. "code": {
  15509. "type": "integer",
  15510. "format": "int64"
  15511. },
  15512. "data": {
  15513. "type": "object",
  15514. "additionalProperties": {
  15515. "type": "object"
  15516. }
  15517. },
  15518. "message": {
  15519. "type": "string"
  15520. }
  15521. },
  15522. "title": "CommonResult«JSONObject»",
  15523. "$$ref": "#/definitions/CommonResult«JSONObject»"
  15524. }
  15525. }
  15526. }
  15527. }
  15528. },
  15529. "/api/admin/sms/islogin": {
  15530. "get": {
  15531. "tags": [
  15532. "短信服务"
  15533. ],
  15534. "summary": "是否已经登录",
  15535. "consumes": [
  15536. "text/plain"
  15537. ],
  15538. "parameters": [
  15539. {
  15540. "name": "raw",
  15541. "in": "body",
  15542. "description": "raw paramter",
  15543. "schema": {
  15544. "type": "string",
  15545. "format": "binary"
  15546. }
  15547. }
  15548. ],
  15549. "responses": {
  15550. "200": {
  15551. "description": "successful operation",
  15552. "schema": {
  15553. "type": "object",
  15554. "properties": {
  15555. "code": {
  15556. "type": "integer",
  15557. "format": "int64"
  15558. },
  15559. "data": {
  15560. "type": "object",
  15561. "additionalProperties": {
  15562. "type": "object"
  15563. }
  15564. },
  15565. "message": {
  15566. "type": "string"
  15567. }
  15568. },
  15569. "title": "CommonResult«JSONObject»",
  15570. "$$ref": "#/definitions/CommonResult«JSONObject»"
  15571. }
  15572. }
  15573. }
  15574. }
  15575. },
  15576. "/api/admin/sms/logout": {
  15577. "get": {
  15578. "tags": [
  15579. "短信服务"
  15580. ],
  15581. "summary": "注销",
  15582. "consumes": [
  15583. "text/plain"
  15584. ],
  15585. "parameters": [
  15586. {
  15587. "name": "raw",
  15588. "in": "body",
  15589. "description": "raw paramter",
  15590. "schema": {
  15591. "type": "string",
  15592. "format": "binary"
  15593. }
  15594. }
  15595. ],
  15596. "responses": {
  15597. "200": {
  15598. "description": "successful operation",
  15599. "schema": {
  15600. "type": "object",
  15601. "properties": {
  15602. "code": {
  15603. "type": "integer",
  15604. "format": "int64"
  15605. },
  15606. "data": {
  15607. "type": "object",
  15608. "additionalProperties": {
  15609. "type": "object"
  15610. }
  15611. },
  15612. "message": {
  15613. "type": "string"
  15614. }
  15615. },
  15616. "title": "CommonResult«JSONObject»",
  15617. "$$ref": "#/definitions/CommonResult«JSONObject»"
  15618. }
  15619. }
  15620. }
  15621. }
  15622. },
  15623. "/api/admin/sms/temp/apply": {
  15624. "post": {
  15625. "tags": [
  15626. "短信服务"
  15627. ],
  15628. "summary": "申请模板消息",
  15629. "consumes": [
  15630. "application/json"
  15631. ],
  15632. "parameters": [
  15633. {
  15634. "name": "content",
  15635. "in": "query",
  15636. "required": false,
  15637. "description": "内容",
  15638. "type": "string"
  15639. },
  15640. {
  15641. "name": "title",
  15642. "in": "query",
  15643. "required": false,
  15644. "description": "主题",
  15645. "type": "string"
  15646. },
  15647. {
  15648. "name": "type",
  15649. "in": "query",
  15650. "required": false,
  15651. "description": "type (1=验证码 2=通知 3=推广)",
  15652. "type": "string"
  15653. }
  15654. ],
  15655. "responses": {
  15656. "200": {
  15657. "description": "successful operation",
  15658. "schema": {
  15659. "type": "object",
  15660. "properties": {
  15661. "code": {
  15662. "type": "integer",
  15663. "format": "int64"
  15664. },
  15665. "data": {
  15666. "type": "object",
  15667. "additionalProperties": {
  15668. "type": "object"
  15669. }
  15670. },
  15671. "message": {
  15672. "type": "string"
  15673. }
  15674. },
  15675. "title": "CommonResult«JSONObject»",
  15676. "$$ref": "#/definitions/CommonResult«JSONObject»"
  15677. }
  15678. }
  15679. }
  15680. }
  15681. },
  15682. "/api/admin/sms/record/list": {
  15683. "get": {
  15684. "tags": [
  15685. "短信服务"
  15686. ],
  15687. "summary": "短信发送记录列表",
  15688. "consumes": [
  15689. "text/plain"
  15690. ],
  15691. "parameters": [
  15692. {
  15693. "name": "limit",
  15694. "in": "query",
  15695. "required": false,
  15696. "description": "每页数量",
  15697. "type": "string"
  15698. },
  15699. {
  15700. "name": "page",
  15701. "in": "query",
  15702. "required": false,
  15703. "description": "页码",
  15704. "type": "string"
  15705. },
  15706. {
  15707. "name": "phone",
  15708. "in": "query",
  15709. "required": false,
  15710. "description": "接受短信的手机号",
  15711. "type": "string"
  15712. },
  15713. {
  15714. "name": "recordId",
  15715. "in": "query",
  15716. "required": false,
  15717. "description": "发送记录id",
  15718. "type": "string"
  15719. },
  15720. {
  15721. "name": "resultCode",
  15722. "in": "query",
  15723. "required": false,
  15724. "description": "状态码 null=全部,100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态, 134=无状态, 400黑名单",
  15725. "type": "string"
  15726. },
  15727. {
  15728. "name": "uid",
  15729. "in": "query",
  15730. "required": false,
  15731. "description": "短信平台账号",
  15732. "type": "string"
  15733. },
  15734. {
  15735. "name": "raw",
  15736. "in": "body",
  15737. "description": "raw paramter",
  15738. "schema": {
  15739. "type": "string",
  15740. "format": "binary"
  15741. }
  15742. }
  15743. ],
  15744. "responses": {
  15745. "200": {
  15746. "description": "successful operation",
  15747. "schema": {
  15748. "type": "object",
  15749. "properties": {
  15750. "code": {
  15751. "type": "integer",
  15752. "format": "int64"
  15753. },
  15754. "data": {
  15755. "type": "object",
  15756. "properties": {
  15757. "limit": {
  15758. "type": "integer",
  15759. "format": "int32"
  15760. },
  15761. "list": {
  15762. "type": "array",
  15763. "items": {
  15764. "type": "object",
  15765. "properties": {
  15766. "addIp": {
  15767. "type": "string",
  15768. "description": "添加记录ip"
  15769. },
  15770. "content": {
  15771. "type": "string",
  15772. "description": "短信内容"
  15773. },
  15774. "createTime": {
  15775. "type": "string",
  15776. "format": "date-time",
  15777. "description": "创建时间"
  15778. },
  15779. "id": {
  15780. "type": "integer",
  15781. "format": "int32",
  15782. "description": "短信发送记录编号"
  15783. },
  15784. "memo": {
  15785. "type": "string",
  15786. "description": "备注"
  15787. },
  15788. "phone": {
  15789. "type": "string",
  15790. "description": "接受短信的手机号"
  15791. },
  15792. "recordId": {
  15793. "type": "integer",
  15794. "format": "int32",
  15795. "description": "发送记录id"
  15796. },
  15797. "resultcode": {
  15798. "type": "integer",
  15799. "format": "int32",
  15800. "description": "状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态"
  15801. },
  15802. "template": {
  15803. "type": "string",
  15804. "description": "短信模板ID"
  15805. },
  15806. "uid": {
  15807. "type": "string",
  15808. "description": "短信平台账号"
  15809. }
  15810. },
  15811. "title": "SmsRecord对象",
  15812. "description": "短信发送记录表",
  15813. "$$ref": "#/definitions/SmsRecord对象"
  15814. }
  15815. },
  15816. "page": {
  15817. "type": "integer",
  15818. "format": "int32"
  15819. },
  15820. "total": {
  15821. "type": "integer",
  15822. "format": "int64"
  15823. },
  15824. "totalPage": {
  15825. "type": "integer",
  15826. "format": "int32"
  15827. }
  15828. },
  15829. "title": "CommonPage«SmsRecord对象»",
  15830. "$$ref": "#/definitions/CommonPage«SmsRecord对象»"
  15831. },
  15832. "message": {
  15833. "type": "string"
  15834. }
  15835. },
  15836. "title": "CommonResult«CommonPage«SmsRecord对象»»",
  15837. "$$ref": "#/definitions/CommonResult«CommonPage«SmsRecord对象»»"
  15838. }
  15839. }
  15840. }
  15841. }
  15842. },
  15843. "/api/admin/sms/config/save": {
  15844. "post": {
  15845. "tags": [
  15846. "短信服务"
  15847. ],
  15848. "summary": "短信提醒开关保存",
  15849. "consumes": [
  15850. "application/json"
  15851. ],
  15852. "parameters": [
  15853. {
  15854. "name": "adminConfirmTakeOverSwitch",
  15855. "in": "query",
  15856. "required": false,
  15857. "description": "用户发起退款管理员短信提醒",
  15858. "type": "string"
  15859. },
  15860. {
  15861. "name": "adminLowerOrderSwitch",
  15862. "in": "query",
  15863. "required": false,
  15864. "description": "用户下单管理员短信提醒",
  15865. "type": "string"
  15866. },
  15867. {
  15868. "name": "adminPaySuccessSwitch",
  15869. "in": "query",
  15870. "required": false,
  15871. "description": "支付成功管理员短信提醒",
  15872. "type": "string"
  15873. },
  15874. {
  15875. "name": "adminRefundSwitch",
  15876. "in": "query",
  15877. "required": false,
  15878. "description": "用户确认收货管理员短信提醒",
  15879. "type": "string"
  15880. },
  15881. {
  15882. "name": "confirmTakeOverSwitch",
  15883. "in": "query",
  15884. "required": false,
  15885. "description": "确认收货短信提醒",
  15886. "type": "string"
  15887. },
  15888. {
  15889. "name": "deliverGoodsSwitch",
  15890. "in": "query",
  15891. "required": false,
  15892. "description": "发货短信提醒",
  15893. "type": "string"
  15894. },
  15895. {
  15896. "name": "lowerOrderSwitch",
  15897. "in": "query",
  15898. "required": false,
  15899. "description": "支付成功短信提醒",
  15900. "type": "string"
  15901. },
  15902. {
  15903. "name": "priceRevisionSwitch",
  15904. "in": "query",
  15905. "required": false,
  15906. "description": "改价短信提醒",
  15907. "type": "string"
  15908. }
  15909. ],
  15910. "responses": {
  15911. "200": {
  15912. "description": "successful operation",
  15913. "schema": {
  15914. "type": "object",
  15915. "properties": {
  15916. "code": {
  15917. "type": "integer",
  15918. "format": "int64"
  15919. },
  15920. "data": {
  15921. "type": "object"
  15922. },
  15923. "message": {
  15924. "type": "string"
  15925. }
  15926. },
  15927. "title": "CommonResult«object»",
  15928. "$$ref": "#/definitions/CommonResult«object»"
  15929. }
  15930. }
  15931. }
  15932. }
  15933. },
  15934. "/api/admin/sms/config/list": {
  15935. "post": {
  15936. "tags": [
  15937. "短信服务"
  15938. ],
  15939. "summary": "短信提醒开关列表",
  15940. "consumes": [
  15941. "application/json"
  15942. ],
  15943. "parameters": [],
  15944. "responses": {
  15945. "200": {
  15946. "description": "successful operation",
  15947. "schema": {
  15948. "type": "object",
  15949. "properties": {
  15950. "code": {
  15951. "type": "integer",
  15952. "format": "int64"
  15953. },
  15954. "data": {
  15955. "type": "object"
  15956. },
  15957. "message": {
  15958. "type": "string"
  15959. }
  15960. },
  15961. "title": "CommonResult«object»",
  15962. "$$ref": "#/definitions/CommonResult«object»"
  15963. }
  15964. }
  15965. }
  15966. }
  15967. },
  15968. "/api/admin/sms/temp/list": {
  15969. "get": {
  15970. "tags": [
  15971. "短信服务"
  15972. ],
  15973. "summary": "短信模板列表",
  15974. "consumes": [
  15975. "text/plain"
  15976. ],
  15977. "parameters": [
  15978. {
  15979. "name": "limit",
  15980. "in": "query",
  15981. "required": false,
  15982. "description": "每页数量",
  15983. "type": "string"
  15984. },
  15985. {
  15986. "name": "page",
  15987. "in": "query",
  15988. "required": false,
  15989. "description": "页码",
  15990. "type": "string"
  15991. },
  15992. {
  15993. "name": "status",
  15994. "in": "query",
  15995. "required": false,
  15996. "description": "状态",
  15997. "type": "string"
  15998. },
  15999. {
  16000. "name": "title",
  16001. "in": "query",
  16002. "required": false,
  16003. "description": "名称",
  16004. "type": "string"
  16005. },
  16006. {
  16007. "name": "raw",
  16008. "in": "body",
  16009. "description": "raw paramter",
  16010. "schema": {
  16011. "type": "string",
  16012. "format": "binary"
  16013. }
  16014. }
  16015. ],
  16016. "responses": {
  16017. "200": {
  16018. "description": "successful operation",
  16019. "schema": {
  16020. "type": "object",
  16021. "properties": {
  16022. "code": {
  16023. "type": "integer",
  16024. "format": "int64"
  16025. },
  16026. "data": {
  16027. "type": "object",
  16028. "additionalProperties": {
  16029. "type": "object"
  16030. }
  16031. },
  16032. "message": {
  16033. "type": "string"
  16034. }
  16035. },
  16036. "title": "CommonResult«JSONObject»",
  16037. "$$ref": "#/definitions/CommonResult«JSONObject»"
  16038. }
  16039. }
  16040. }
  16041. }
  16042. },
  16043. "/api/admin/sms/info": {
  16044. "get": {
  16045. "tags": [
  16046. "短信服务"
  16047. ],
  16048. "summary": "短信用户信息",
  16049. "consumes": [
  16050. "text/plain"
  16051. ],
  16052. "parameters": [
  16053. {
  16054. "name": "raw",
  16055. "in": "body",
  16056. "description": "raw paramter",
  16057. "schema": {
  16058. "type": "string",
  16059. "format": "binary"
  16060. }
  16061. }
  16062. ],
  16063. "responses": {
  16064. "200": {
  16065. "description": "successful operation",
  16066. "schema": {
  16067. "type": "object",
  16068. "properties": {
  16069. "code": {
  16070. "type": "integer",
  16071. "format": "int64"
  16072. },
  16073. "data": {
  16074. "type": "object",
  16075. "additionalProperties": {
  16076. "type": "object"
  16077. }
  16078. },
  16079. "message": {
  16080. "type": "string"
  16081. }
  16082. },
  16083. "title": "CommonResult«JSONObject»",
  16084. "$$ref": "#/definitions/CommonResult«JSONObject»"
  16085. }
  16086. }
  16087. }
  16088. }
  16089. },
  16090. "/api/admin/sms/pay/list": {
  16091. "get": {
  16092. "tags": [
  16093. "短信服务"
  16094. ],
  16095. "summary": "获取支付套餐列表",
  16096. "consumes": [
  16097. "text/plain"
  16098. ],
  16099. "parameters": [
  16100. {
  16101. "name": "limit",
  16102. "in": "query",
  16103. "required": false,
  16104. "description": "每页数量",
  16105. "type": "string"
  16106. },
  16107. {
  16108. "name": "page",
  16109. "in": "query",
  16110. "required": false,
  16111. "description": "页码",
  16112. "type": "string"
  16113. },
  16114. {
  16115. "name": "raw",
  16116. "in": "body",
  16117. "description": "raw paramter",
  16118. "schema": {
  16119. "type": "string",
  16120. "format": "binary"
  16121. }
  16122. }
  16123. ],
  16124. "responses": {
  16125. "200": {
  16126. "description": "successful operation",
  16127. "schema": {
  16128. "type": "object",
  16129. "properties": {
  16130. "code": {
  16131. "type": "integer",
  16132. "format": "int64"
  16133. },
  16134. "data": {
  16135. "type": "object",
  16136. "additionalProperties": {
  16137. "type": "object"
  16138. }
  16139. },
  16140. "message": {
  16141. "type": "string"
  16142. }
  16143. },
  16144. "title": "CommonResult«JSONObject»",
  16145. "$$ref": "#/definitions/CommonResult«JSONObject»"
  16146. }
  16147. }
  16148. }
  16149. }
  16150. },
  16151. "/api/admin/sms/pay/qrCode": {
  16152. "get": {
  16153. "tags": [
  16154. "短信服务"
  16155. ],
  16156. "summary": "获取支付码",
  16157. "consumes": [
  16158. "text/plain"
  16159. ],
  16160. "parameters": [
  16161. {
  16162. "name": "mealId",
  16163. "in": "query",
  16164. "required": false,
  16165. "description": "套餐id",
  16166. "type": "string"
  16167. },
  16168. {
  16169. "name": "payType",
  16170. "in": "query",
  16171. "required": false,
  16172. "description": "支付类型 weixin:微信支付/alipay:支付宝支付",
  16173. "type": "string"
  16174. },
  16175. {
  16176. "name": "price",
  16177. "in": "query",
  16178. "required": false,
  16179. "description": "价格",
  16180. "type": "string"
  16181. },
  16182. {
  16183. "name": "raw",
  16184. "in": "body",
  16185. "description": "raw paramter",
  16186. "schema": {
  16187. "type": "string",
  16188. "format": "binary"
  16189. }
  16190. }
  16191. ],
  16192. "responses": {
  16193. "200": {
  16194. "description": "successful operation",
  16195. "schema": {
  16196. "type": "object",
  16197. "properties": {
  16198. "code": {
  16199. "type": "integer",
  16200. "format": "int64"
  16201. },
  16202. "data": {
  16203. "type": "object",
  16204. "additionalProperties": {
  16205. "type": "object"
  16206. }
  16207. },
  16208. "message": {
  16209. "type": "string"
  16210. }
  16211. },
  16212. "title": "CommonResult«JSONObject»",
  16213. "$$ref": "#/definitions/CommonResult«JSONObject»"
  16214. }
  16215. }
  16216. }
  16217. }
  16218. },
  16219. "/api/admin/sms/register": {
  16220. "post": {
  16221. "tags": [
  16222. "短信服务"
  16223. ],
  16224. "summary": "账号注册",
  16225. "consumes": [
  16226. "application/json"
  16227. ],
  16228. "parameters": [
  16229. {
  16230. "name": "account",
  16231. "in": "query",
  16232. "required": false,
  16233. "description": "账号",
  16234. "type": "string"
  16235. },
  16236. {
  16237. "name": "code",
  16238. "in": "query",
  16239. "required": false,
  16240. "description": "验证码",
  16241. "type": "string"
  16242. },
  16243. {
  16244. "name": "domain",
  16245. "in": "query",
  16246. "required": false,
  16247. "description": "域名",
  16248. "type": "string"
  16249. },
  16250. {
  16251. "name": "password",
  16252. "in": "query",
  16253. "required": false,
  16254. "description": "密码",
  16255. "type": "string"
  16256. },
  16257. {
  16258. "name": "phone",
  16259. "in": "query",
  16260. "required": false,
  16261. "description": "手机号",
  16262. "type": "string"
  16263. },
  16264. {
  16265. "name": "sign",
  16266. "in": "query",
  16267. "required": false,
  16268. "description": "签名",
  16269. "type": "string"
  16270. }
  16271. ],
  16272. "responses": {
  16273. "200": {
  16274. "description": "successful operation",
  16275. "schema": {
  16276. "type": "object",
  16277. "properties": {
  16278. "code": {
  16279. "type": "integer",
  16280. "format": "int64"
  16281. },
  16282. "data": {
  16283. "type": "object",
  16284. "additionalProperties": {
  16285. "type": "object"
  16286. }
  16287. },
  16288. "message": {
  16289. "type": "string"
  16290. }
  16291. },
  16292. "title": "CommonResult«JSONObject»",
  16293. "$$ref": "#/definitions/CommonResult«JSONObject»"
  16294. }
  16295. }
  16296. }
  16297. }
  16298. },
  16299. "/api/admin/statistics/home/chart/order": {
  16300. "get": {
  16301. "tags": [
  16302. "统计 -- 主页"
  16303. ],
  16304. "summary": "30天订单量趋势",
  16305. "consumes": [
  16306. "text/plain"
  16307. ],
  16308. "parameters": [
  16309. {
  16310. "name": "raw",
  16311. "in": "body",
  16312. "description": "raw paramter",
  16313. "schema": {
  16314. "type": "string",
  16315. "format": "binary"
  16316. }
  16317. }
  16318. ],
  16319. "responses": {
  16320. "200": {
  16321. "description": "successful operation",
  16322. "schema": {
  16323. "type": "object",
  16324. "properties": {
  16325. "code": {
  16326. "type": "integer",
  16327. "format": "int64"
  16328. },
  16329. "data": {
  16330. "type": "object"
  16331. },
  16332. "message": {
  16333. "type": "string"
  16334. }
  16335. },
  16336. "title": "CommonResult«Map«string,object»»",
  16337. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  16338. }
  16339. }
  16340. }
  16341. }
  16342. },
  16343. "/api/admin/statistics/home/chart/order/week": {
  16344. "get": {
  16345. "tags": [
  16346. "统计 -- 主页"
  16347. ],
  16348. "summary": "周订单量趋势",
  16349. "consumes": [
  16350. "text/plain"
  16351. ],
  16352. "parameters": [
  16353. {
  16354. "name": "raw",
  16355. "in": "body",
  16356. "description": "raw paramter",
  16357. "schema": {
  16358. "type": "string",
  16359. "format": "binary"
  16360. }
  16361. }
  16362. ],
  16363. "responses": {
  16364. "200": {
  16365. "description": "successful operation",
  16366. "schema": {
  16367. "type": "object",
  16368. "properties": {
  16369. "code": {
  16370. "type": "integer",
  16371. "format": "int64"
  16372. },
  16373. "data": {
  16374. "type": "object"
  16375. },
  16376. "message": {
  16377. "type": "string"
  16378. }
  16379. },
  16380. "title": "CommonResult«Map«string,object»»",
  16381. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  16382. }
  16383. }
  16384. }
  16385. }
  16386. },
  16387. "/api/admin/statistics/home/chart/order/year": {
  16388. "get": {
  16389. "tags": [
  16390. "统计 -- 主页"
  16391. ],
  16392. "summary": "年订单量趋势",
  16393. "consumes": [
  16394. "text/plain"
  16395. ],
  16396. "parameters": [
  16397. {
  16398. "name": "raw",
  16399. "in": "body",
  16400. "description": "raw paramter",
  16401. "schema": {
  16402. "type": "string",
  16403. "format": "binary"
  16404. }
  16405. }
  16406. ],
  16407. "responses": {
  16408. "200": {
  16409. "description": "successful operation",
  16410. "schema": {
  16411. "type": "object",
  16412. "properties": {
  16413. "code": {
  16414. "type": "integer",
  16415. "format": "int64"
  16416. },
  16417. "data": {
  16418. "type": "object"
  16419. },
  16420. "message": {
  16421. "type": "string"
  16422. }
  16423. },
  16424. "title": "CommonResult«Map«string,object»»",
  16425. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  16426. }
  16427. }
  16428. }
  16429. }
  16430. },
  16431. "/api/admin/statistics/home/user": {
  16432. "get": {
  16433. "tags": [
  16434. "统计 -- 主页"
  16435. ],
  16436. "summary": "新增用户",
  16437. "consumes": [
  16438. "text/plain"
  16439. ],
  16440. "parameters": [
  16441. {
  16442. "name": "raw",
  16443. "in": "body",
  16444. "description": "raw paramter",
  16445. "schema": {
  16446. "type": "string",
  16447. "format": "binary"
  16448. }
  16449. }
  16450. ],
  16451. "responses": {
  16452. "200": {
  16453. "description": "successful operation",
  16454. "schema": {
  16455. "type": "object",
  16456. "properties": {
  16457. "code": {
  16458. "type": "integer",
  16459. "format": "int64"
  16460. },
  16461. "data": {
  16462. "type": "object",
  16463. "properties": {
  16464. "count": {
  16465. "type": "object",
  16466. "description": "昨日新增量"
  16467. },
  16468. "dayRate": {
  16469. "type": "object",
  16470. "description": "日同比率"
  16471. },
  16472. "total": {
  16473. "type": "object",
  16474. "description": "总数"
  16475. },
  16476. "weekRate": {
  16477. "type": "object",
  16478. "description": "周同比率"
  16479. }
  16480. },
  16481. "title": "HomeRateResponse对象",
  16482. "description": "主页用户新增统计",
  16483. "$$ref": "#/definitions/HomeRateResponse对象"
  16484. },
  16485. "message": {
  16486. "type": "string"
  16487. }
  16488. },
  16489. "title": "CommonResult«HomeRateResponse对象»",
  16490. "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
  16491. }
  16492. }
  16493. }
  16494. }
  16495. },
  16496. "/api/admin/statistics/home/chart/order/month": {
  16497. "get": {
  16498. "tags": [
  16499. "统计 -- 主页"
  16500. ],
  16501. "summary": "月订单量趋势",
  16502. "consumes": [
  16503. "text/plain"
  16504. ],
  16505. "parameters": [
  16506. {
  16507. "name": "raw",
  16508. "in": "body",
  16509. "description": "raw paramter",
  16510. "schema": {
  16511. "type": "string",
  16512. "format": "binary"
  16513. }
  16514. }
  16515. ],
  16516. "responses": {
  16517. "200": {
  16518. "description": "successful operation",
  16519. "schema": {
  16520. "type": "object",
  16521. "properties": {
  16522. "code": {
  16523. "type": "integer",
  16524. "format": "int64"
  16525. },
  16526. "data": {
  16527. "type": "object"
  16528. },
  16529. "message": {
  16530. "type": "string"
  16531. }
  16532. },
  16533. "title": "CommonResult«Map«string,object»»",
  16534. "$$ref": "#/definitions/CommonResult«Map«string,object»»"
  16535. }
  16536. }
  16537. }
  16538. }
  16539. },
  16540. "/api/admin/statistics/home/chart/user": {
  16541. "get": {
  16542. "tags": [
  16543. "统计 -- 主页"
  16544. ],
  16545. "summary": "用户曲线图",
  16546. "consumes": [
  16547. "text/plain"
  16548. ],
  16549. "parameters": [
  16550. {
  16551. "name": "raw",
  16552. "in": "body",
  16553. "description": "raw paramter",
  16554. "schema": {
  16555. "type": "string",
  16556. "format": "binary"
  16557. }
  16558. }
  16559. ],
  16560. "responses": {
  16561. "200": {
  16562. "description": "successful operation",
  16563. "schema": {
  16564. "type": "object",
  16565. "properties": {
  16566. "code": {
  16567. "type": "integer",
  16568. "format": "int64"
  16569. },
  16570. "data": {
  16571. "type": "object"
  16572. },
  16573. "message": {
  16574. "type": "string"
  16575. }
  16576. },
  16577. "title": "CommonResult«Map«object,object»»",
  16578. "$$ref": "#/definitions/CommonResult«Map«object,object»»"
  16579. }
  16580. }
  16581. }
  16582. }
  16583. },
  16584. "/api/admin/statistics/home/views": {
  16585. "get": {
  16586. "tags": [
  16587. "统计 -- 主页"
  16588. ],
  16589. "summary": "用户访问量",
  16590. "consumes": [
  16591. "text/plain"
  16592. ],
  16593. "parameters": [
  16594. {
  16595. "name": "raw",
  16596. "in": "body",
  16597. "description": "raw paramter",
  16598. "schema": {
  16599. "type": "string",
  16600. "format": "binary"
  16601. }
  16602. }
  16603. ],
  16604. "responses": {
  16605. "200": {
  16606. "description": "successful operation",
  16607. "schema": {
  16608. "type": "object",
  16609. "properties": {
  16610. "code": {
  16611. "type": "integer",
  16612. "format": "int64"
  16613. },
  16614. "data": {
  16615. "type": "object",
  16616. "properties": {
  16617. "count": {
  16618. "type": "object",
  16619. "description": "昨日新增量"
  16620. },
  16621. "dayRate": {
  16622. "type": "object",
  16623. "description": "日同比率"
  16624. },
  16625. "total": {
  16626. "type": "object",
  16627. "description": "总数"
  16628. },
  16629. "weekRate": {
  16630. "type": "object",
  16631. "description": "周同比率"
  16632. }
  16633. },
  16634. "title": "HomeRateResponse对象",
  16635. "description": "主页用户新增统计",
  16636. "$$ref": "#/definitions/HomeRateResponse对象"
  16637. },
  16638. "message": {
  16639. "type": "string"
  16640. }
  16641. },
  16642. "title": "CommonResult«HomeRateResponse对象»",
  16643. "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
  16644. }
  16645. }
  16646. }
  16647. }
  16648. },
  16649. "/api/admin/statistics/home/chart/user/buy": {
  16650. "get": {
  16651. "tags": [
  16652. "统计 -- 主页"
  16653. ],
  16654. "summary": "用户购买统计",
  16655. "consumes": [
  16656. "text/plain"
  16657. ],
  16658. "parameters": [
  16659. {
  16660. "name": "raw",
  16661. "in": "body",
  16662. "description": "raw paramter",
  16663. "schema": {
  16664. "type": "string",
  16665. "format": "binary"
  16666. }
  16667. }
  16668. ],
  16669. "responses": {
  16670. "200": {
  16671. "description": "successful operation",
  16672. "schema": {
  16673. "type": "object",
  16674. "properties": {
  16675. "code": {
  16676. "type": "integer",
  16677. "format": "int64"
  16678. },
  16679. "data": {
  16680. "type": "object",
  16681. "additionalProperties": {
  16682. "type": "integer",
  16683. "format": "int32"
  16684. }
  16685. },
  16686. "message": {
  16687. "type": "string"
  16688. }
  16689. },
  16690. "title": "CommonResult«Map«string,int»»",
  16691. "$$ref": "#/definitions/CommonResult«Map«string,int»»"
  16692. }
  16693. }
  16694. }
  16695. }
  16696. },
  16697. "/api/admin/statistics/home/order": {
  16698. "get": {
  16699. "tags": [
  16700. "统计 -- 主页"
  16701. ],
  16702. "summary": "订单量",
  16703. "consumes": [
  16704. "text/plain"
  16705. ],
  16706. "parameters": [
  16707. {
  16708. "name": "raw",
  16709. "in": "body",
  16710. "description": "raw paramter",
  16711. "schema": {
  16712. "type": "string",
  16713. "format": "binary"
  16714. }
  16715. }
  16716. ],
  16717. "responses": {
  16718. "200": {
  16719. "description": "successful operation",
  16720. "schema": {
  16721. "type": "object",
  16722. "properties": {
  16723. "code": {
  16724. "type": "integer",
  16725. "format": "int64"
  16726. },
  16727. "data": {
  16728. "type": "object",
  16729. "properties": {
  16730. "count": {
  16731. "type": "object",
  16732. "description": "昨日新增量"
  16733. },
  16734. "dayRate": {
  16735. "type": "object",
  16736. "description": "日同比率"
  16737. },
  16738. "total": {
  16739. "type": "object",
  16740. "description": "总数"
  16741. },
  16742. "weekRate": {
  16743. "type": "object",
  16744. "description": "周同比率"
  16745. }
  16746. },
  16747. "title": "HomeRateResponse对象",
  16748. "description": "主页用户新增统计",
  16749. "$$ref": "#/definitions/HomeRateResponse对象"
  16750. },
  16751. "message": {
  16752. "type": "string"
  16753. }
  16754. },
  16755. "title": "CommonResult«HomeRateResponse对象»",
  16756. "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
  16757. }
  16758. }
  16759. }
  16760. }
  16761. },
  16762. "/api/admin/statistics/home/sales": {
  16763. "get": {
  16764. "tags": [
  16765. "统计 -- 主页"
  16766. ],
  16767. "summary": "销售额",
  16768. "consumes": [
  16769. "text/plain"
  16770. ],
  16771. "parameters": [
  16772. {
  16773. "name": "raw",
  16774. "in": "body",
  16775. "description": "raw paramter",
  16776. "schema": {
  16777. "type": "string",
  16778. "format": "binary"
  16779. }
  16780. }
  16781. ],
  16782. "responses": {
  16783. "200": {
  16784. "description": "successful operation",
  16785. "schema": {
  16786. "type": "object",
  16787. "properties": {
  16788. "code": {
  16789. "type": "integer",
  16790. "format": "int64"
  16791. },
  16792. "data": {
  16793. "type": "object",
  16794. "properties": {
  16795. "count": {
  16796. "type": "object",
  16797. "description": "昨日新增量"
  16798. },
  16799. "dayRate": {
  16800. "type": "object",
  16801. "description": "日同比率"
  16802. },
  16803. "total": {
  16804. "type": "object",
  16805. "description": "总数"
  16806. },
  16807. "weekRate": {
  16808. "type": "object",
  16809. "description": "周同比率"
  16810. }
  16811. },
  16812. "title": "HomeRateResponse对象",
  16813. "description": "主页用户新增统计",
  16814. "$$ref": "#/definitions/HomeRateResponse对象"
  16815. },
  16816. "message": {
  16817. "type": "string"
  16818. }
  16819. },
  16820. "title": "CommonResult«HomeRateResponse对象»",
  16821. "$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
  16822. }
  16823. }
  16824. }
  16825. }
  16826. },
  16827. "/api/admin/marketing/coupon/update/status": {
  16828. "post": {
  16829. "tags": [
  16830. "营销 -- 优惠券"
  16831. ],
  16832. "summary": "修改",
  16833. "consumes": [
  16834. "application/json"
  16835. ],
  16836. "parameters": [
  16837. {
  16838. "name": "id",
  16839. "in": "query",
  16840. "required": false,
  16841. "description": "id",
  16842. "type": "string"
  16843. },
  16844. {
  16845. "name": "status",
  16846. "in": "query",
  16847. "required": false,
  16848. "description": "status",
  16849. "type": "string"
  16850. }
  16851. ],
  16852. "responses": {
  16853. "200": {
  16854. "description": "successful operation",
  16855. "schema": {
  16856. "type": "object",
  16857. "properties": {
  16858. "code": {
  16859. "type": "integer",
  16860. "format": "int64"
  16861. },
  16862. "data": {
  16863. "type": "string"
  16864. },
  16865. "message": {
  16866. "type": "string"
  16867. }
  16868. },
  16869. "title": "CommonResult«string»",
  16870. "$$ref": "#/definitions/CommonResult«string»"
  16871. }
  16872. }
  16873. }
  16874. }
  16875. },
  16876. "/api/admin/marketing/coupon/list": {
  16877. "get": {
  16878. "tags": [
  16879. "营销 -- 优惠券"
  16880. ],
  16881. "summary": "分页列表",
  16882. "consumes": [
  16883. "text/plain"
  16884. ],
  16885. "parameters": [
  16886. {
  16887. "name": "isDel",
  16888. "in": "query",
  16889. "required": false,
  16890. "description": "是否删除 状态(0:否,1:是)",
  16891. "type": "string"
  16892. },
  16893. {
  16894. "name": "limit",
  16895. "in": "query",
  16896. "required": false,
  16897. "description": "每页数量",
  16898. "type": "string"
  16899. },
  16900. {
  16901. "name": "name",
  16902. "in": "query",
  16903. "required": false,
  16904. "description": "优惠券名称",
  16905. "type": "string"
  16906. },
  16907. {
  16908. "name": "page",
  16909. "in": "query",
  16910. "required": false,
  16911. "description": "页码",
  16912. "type": "string"
  16913. },
  16914. {
  16915. "name": "primaryKey",
  16916. "in": "query",
  16917. "required": false,
  16918. "description": "所属商品id / 分类id",
  16919. "type": "string"
  16920. },
  16921. {
  16922. "name": "status",
  16923. "in": "query",
  16924. "required": false,
  16925. "description": "状态(0:关闭,1:开启)",
  16926. "type": "string"
  16927. },
  16928. {
  16929. "name": "type",
  16930. "in": "query",
  16931. "required": false,
  16932. "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券",
  16933. "type": "string"
  16934. },
  16935. {
  16936. "name": "useType",
  16937. "in": "query",
  16938. "required": false,
  16939. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券",
  16940. "type": "string"
  16941. },
  16942. {
  16943. "name": "raw",
  16944. "in": "body",
  16945. "description": "raw paramter",
  16946. "schema": {
  16947. "type": "string",
  16948. "format": "binary"
  16949. }
  16950. }
  16951. ],
  16952. "responses": {
  16953. "200": {
  16954. "description": "successful operation",
  16955. "schema": {
  16956. "type": "object",
  16957. "properties": {
  16958. "code": {
  16959. "type": "integer",
  16960. "format": "int64"
  16961. },
  16962. "data": {
  16963. "type": "object",
  16964. "properties": {
  16965. "limit": {
  16966. "type": "integer",
  16967. "format": "int32"
  16968. },
  16969. "list": {
  16970. "type": "array",
  16971. "items": {
  16972. "type": "object",
  16973. "required": [
  16974. "primaryKey"
  16975. ],
  16976. "properties": {
  16977. "createTime": {
  16978. "type": "string",
  16979. "format": "date-time",
  16980. "description": "创建时间"
  16981. },
  16982. "day": {
  16983. "type": "integer",
  16984. "format": "int32",
  16985. "description": "天数"
  16986. },
  16987. "id": {
  16988. "type": "integer",
  16989. "format": "int32",
  16990. "description": "优惠券表ID"
  16991. },
  16992. "isDel": {
  16993. "type": "boolean",
  16994. "description": "是否删除 状态(0:否,1:是)"
  16995. },
  16996. "isFixedTime": {
  16997. "type": "boolean",
  16998. "description": "是否固定使用时间, 默认0 否, 1是"
  16999. },
  17000. "isLimited": {
  17001. "type": "boolean",
  17002. "description": "是否限量, 默认0 不限量, 1限量"
  17003. },
  17004. "lastTotal": {
  17005. "type": "integer",
  17006. "format": "int32",
  17007. "description": "剩余数量"
  17008. },
  17009. "minPrice": {
  17010. "type": "number",
  17011. "description": "最低消费,0代表不限制"
  17012. },
  17013. "money": {
  17014. "type": "number",
  17015. "description": "兑换的优惠券面值"
  17016. },
  17017. "name": {
  17018. "type": "string",
  17019. "description": "优惠券名称"
  17020. },
  17021. "primaryKey": {
  17022. "type": "string",
  17023. "description": "主键id 商品id/分类id"
  17024. },
  17025. "receiveEndTime": {
  17026. "type": "string",
  17027. "format": "date-time",
  17028. "description": "可领取结束时间"
  17029. },
  17030. "receiveStartTime": {
  17031. "type": "string",
  17032. "format": "date-time",
  17033. "description": "可领取开始时间"
  17034. },
  17035. "sort": {
  17036. "type": "integer",
  17037. "format": "int32",
  17038. "description": "排序"
  17039. },
  17040. "status": {
  17041. "type": "boolean",
  17042. "description": "状态(0:关闭,1:开启)"
  17043. },
  17044. "total": {
  17045. "type": "integer",
  17046. "format": "int32",
  17047. "description": "发放总数"
  17048. },
  17049. "type": {
  17050. "type": "integer",
  17051. "format": "int32",
  17052. "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
  17053. },
  17054. "updateTime": {
  17055. "type": "string",
  17056. "format": "date-time",
  17057. "description": "更新时间"
  17058. },
  17059. "useEndTime": {
  17060. "type": "string",
  17061. "format": "date-time",
  17062. "description": "可使用时间范围 结束时间"
  17063. },
  17064. "useStartTime": {
  17065. "type": "string",
  17066. "format": "date-time",
  17067. "description": "可使用时间范围 开始时间"
  17068. },
  17069. "useType": {
  17070. "type": "integer",
  17071. "format": "int32",
  17072. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  17073. }
  17074. },
  17075. "title": "StoreCoupon对象",
  17076. "description": "优惠券表",
  17077. "$$ref": "#/definitions/StoreCoupon对象"
  17078. }
  17079. },
  17080. "page": {
  17081. "type": "integer",
  17082. "format": "int32"
  17083. },
  17084. "total": {
  17085. "type": "integer",
  17086. "format": "int64"
  17087. },
  17088. "totalPage": {
  17089. "type": "integer",
  17090. "format": "int32"
  17091. }
  17092. },
  17093. "title": "CommonPage«StoreCoupon对象»",
  17094. "$$ref": "#/definitions/CommonPage«StoreCoupon对象»"
  17095. },
  17096. "message": {
  17097. "type": "string"
  17098. }
  17099. },
  17100. "title": "CommonResult«CommonPage«StoreCoupon对象»»",
  17101. "$$ref": "#/definitions/CommonResult«CommonPage«StoreCoupon对象»»"
  17102. }
  17103. }
  17104. }
  17105. }
  17106. },
  17107. "/api/admin/marketing/coupon/save": {
  17108. "post": {
  17109. "tags": [
  17110. "营销 -- 优惠券"
  17111. ],
  17112. "summary": "新增",
  17113. "consumes": [
  17114. "application/json"
  17115. ],
  17116. "parameters": [
  17117. {
  17118. "name": "root",
  17119. "in": "body",
  17120. "description": "优惠券表",
  17121. "schema": {
  17122. "type": "object",
  17123. "required": [
  17124. "isFixedTime",
  17125. "isForever",
  17126. "isLimited",
  17127. "minPrice",
  17128. "money",
  17129. "name",
  17130. "primaryKey"
  17131. ],
  17132. "properties": {
  17133. "day": {
  17134. "type": "integer",
  17135. "format": "int32",
  17136. "description": "天数"
  17137. },
  17138. "isFixedTime": {
  17139. "type": "boolean",
  17140. "description": "请设置是否固定使用时间, 默认0 否, 1是"
  17141. },
  17142. "isForever": {
  17143. "type": "boolean",
  17144. "description": "是否固定领取时间, 默认0 否, 1是"
  17145. },
  17146. "isLimited": {
  17147. "type": "boolean",
  17148. "description": "是否限量, 默认0 否, 1是"
  17149. },
  17150. "minPrice": {
  17151. "type": "number",
  17152. "description": "最低消费,0代表不限制"
  17153. },
  17154. "money": {
  17155. "type": "number",
  17156. "description": "兑换的优惠券面值"
  17157. },
  17158. "name": {
  17159. "type": "string",
  17160. "description": "优惠券名称"
  17161. },
  17162. "primaryKey": {
  17163. "type": "string",
  17164. "description": "主键id 商品id/分类id"
  17165. },
  17166. "receiveEndTime": {
  17167. "type": "string",
  17168. "format": "date-time",
  17169. "description": "可领取结束时间"
  17170. },
  17171. "receiveStartTime": {
  17172. "type": "string",
  17173. "format": "date-time",
  17174. "description": "可领取开始时间"
  17175. },
  17176. "sort": {
  17177. "type": "integer",
  17178. "format": "int32",
  17179. "description": "排序"
  17180. },
  17181. "status": {
  17182. "type": "boolean",
  17183. "description": "状态(0:关闭,1:开启)"
  17184. },
  17185. "total": {
  17186. "type": "integer",
  17187. "format": "int32",
  17188. "description": "发放总数"
  17189. },
  17190. "type": {
  17191. "type": "integer",
  17192. "format": "int32",
  17193. "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
  17194. },
  17195. "useEndTime": {
  17196. "type": "string",
  17197. "format": "date-time",
  17198. "description": "可使用时间范围 结束时间"
  17199. },
  17200. "useStartTime": {
  17201. "type": "string",
  17202. "format": "date-time",
  17203. "description": "可使用时间范围 开始时间"
  17204. },
  17205. "useType": {
  17206. "type": "integer",
  17207. "format": "int32",
  17208. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  17209. }
  17210. },
  17211. "title": "StoreCouponRequest对象",
  17212. "description": "优惠券表",
  17213. "$$ref": "#/definitions/StoreCouponRequest对象"
  17214. }
  17215. }
  17216. ],
  17217. "responses": {
  17218. "200": {
  17219. "description": "successful operation",
  17220. "schema": {
  17221. "type": "object",
  17222. "properties": {
  17223. "code": {
  17224. "type": "integer",
  17225. "format": "int64"
  17226. },
  17227. "data": {
  17228. "type": "string"
  17229. },
  17230. "message": {
  17231. "type": "string"
  17232. }
  17233. },
  17234. "title": "CommonResult«string»",
  17235. "$$ref": "#/definitions/CommonResult«string»"
  17236. }
  17237. }
  17238. }
  17239. }
  17240. },
  17241. "/api/admin/marketing/coupon/info": {
  17242. "post": {
  17243. "tags": [
  17244. "营销 -- 优惠券"
  17245. ],
  17246. "summary": "详情",
  17247. "consumes": [
  17248. "application/json"
  17249. ],
  17250. "parameters": [
  17251. {
  17252. "name": "id",
  17253. "in": "query",
  17254. "required": false,
  17255. "description": "id",
  17256. "type": "string"
  17257. }
  17258. ],
  17259. "responses": {
  17260. "200": {
  17261. "description": "successful operation",
  17262. "schema": {
  17263. "type": "object",
  17264. "properties": {
  17265. "code": {
  17266. "type": "integer",
  17267. "format": "int64"
  17268. },
  17269. "data": {
  17270. "type": "object",
  17271. "properties": {
  17272. "category": {
  17273. "type": "array",
  17274. "description": "分类信息",
  17275. "items": {
  17276. "type": "object",
  17277. "properties": {
  17278. "extra": {
  17279. "type": "string",
  17280. "description": "扩展字段"
  17281. },
  17282. "id": {
  17283. "type": "integer",
  17284. "format": "int32"
  17285. },
  17286. "name": {
  17287. "type": "string",
  17288. "description": "分类名称"
  17289. },
  17290. "path": {
  17291. "type": "string",
  17292. "description": "路径"
  17293. },
  17294. "pid": {
  17295. "type": "integer",
  17296. "format": "int32",
  17297. "description": "父级ID"
  17298. },
  17299. "sort": {
  17300. "type": "integer",
  17301. "format": "int32",
  17302. "description": "排序"
  17303. },
  17304. "status": {
  17305. "type": "boolean",
  17306. "description": "状态, 0正常,1失效"
  17307. },
  17308. "type": {
  17309. "type": "integer",
  17310. "format": "int32",
  17311. "description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
  17312. },
  17313. "url": {
  17314. "type": "string",
  17315. "description": "地址"
  17316. }
  17317. },
  17318. "title": "Category对象",
  17319. "description": "分类表",
  17320. "$$ref": "#/definitions/Category对象"
  17321. }
  17322. },
  17323. "coupon": {
  17324. "type": "object",
  17325. "required": [
  17326. "isFixedTime",
  17327. "isForever",
  17328. "isLimited",
  17329. "minPrice",
  17330. "money",
  17331. "name",
  17332. "primaryKey"
  17333. ],
  17334. "properties": {
  17335. "day": {
  17336. "type": "integer",
  17337. "format": "int32",
  17338. "description": "天数"
  17339. },
  17340. "isFixedTime": {
  17341. "type": "boolean",
  17342. "description": "请设置是否固定使用时间, 默认0 否, 1是"
  17343. },
  17344. "isForever": {
  17345. "type": "boolean",
  17346. "description": "是否固定领取时间, 默认0 否, 1是"
  17347. },
  17348. "isLimited": {
  17349. "type": "boolean",
  17350. "description": "是否限量, 默认0 否, 1是"
  17351. },
  17352. "minPrice": {
  17353. "type": "number",
  17354. "description": "最低消费,0代表不限制"
  17355. },
  17356. "money": {
  17357. "type": "number",
  17358. "description": "兑换的优惠券面值"
  17359. },
  17360. "name": {
  17361. "type": "string",
  17362. "description": "优惠券名称"
  17363. },
  17364. "primaryKey": {
  17365. "type": "string",
  17366. "description": "主键id 商品id/分类id"
  17367. },
  17368. "receiveEndTime": {
  17369. "type": "string",
  17370. "format": "date-time",
  17371. "description": "可领取结束时间"
  17372. },
  17373. "receiveStartTime": {
  17374. "type": "string",
  17375. "format": "date-time",
  17376. "description": "可领取开始时间"
  17377. },
  17378. "sort": {
  17379. "type": "integer",
  17380. "format": "int32",
  17381. "description": "排序"
  17382. },
  17383. "status": {
  17384. "type": "boolean",
  17385. "description": "状态(0:关闭,1:开启)"
  17386. },
  17387. "total": {
  17388. "type": "integer",
  17389. "format": "int32",
  17390. "description": "发放总数"
  17391. },
  17392. "type": {
  17393. "type": "integer",
  17394. "format": "int32",
  17395. "description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
  17396. },
  17397. "useEndTime": {
  17398. "type": "string",
  17399. "format": "date-time",
  17400. "description": "可使用时间范围 结束时间"
  17401. },
  17402. "useStartTime": {
  17403. "type": "string",
  17404. "format": "date-time",
  17405. "description": "可使用时间范围 开始时间"
  17406. },
  17407. "useType": {
  17408. "type": "integer",
  17409. "format": "int32",
  17410. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  17411. }
  17412. },
  17413. "title": "StoreCouponRequest对象",
  17414. "description": "优惠券表",
  17415. "$$ref": "#/definitions/StoreCouponRequest对象"
  17416. },
  17417. "product": {
  17418. "type": "array",
  17419. "description": "商品信息",
  17420. "items": {
  17421. "type": "object",
  17422. "properties": {
  17423. "activity": {
  17424. "type": "string",
  17425. "description": "活动显示排序1=秒杀,2=砍价,3=拼团"
  17426. },
  17427. "addTime": {
  17428. "type": "integer",
  17429. "format": "int32",
  17430. "description": "添加时间"
  17431. },
  17432. "barCode": {
  17433. "type": "string",
  17434. "description": "商品条码(一维码)"
  17435. },
  17436. "browse": {
  17437. "type": "integer",
  17438. "format": "int32",
  17439. "description": "浏览量"
  17440. },
  17441. "cateId": {
  17442. "type": "string",
  17443. "description": "分类id"
  17444. },
  17445. "codePath": {
  17446. "type": "string",
  17447. "description": "商品二维码地址(用户小程序海报)"
  17448. },
  17449. "cost": {
  17450. "type": "number",
  17451. "description": "成本价"
  17452. },
  17453. "ficti": {
  17454. "type": "integer",
  17455. "format": "int32",
  17456. "description": "虚拟销量"
  17457. },
  17458. "giveIntegral": {
  17459. "type": "number",
  17460. "description": "获得积分"
  17461. },
  17462. "id": {
  17463. "type": "integer",
  17464. "format": "int32",
  17465. "description": "商品id"
  17466. },
  17467. "image": {
  17468. "type": "string",
  17469. "description": "商品图片"
  17470. },
  17471. "isBargain": {
  17472. "type": "boolean",
  17473. "description": "砍价状态 0未开启 1开启"
  17474. },
  17475. "isBenefit": {
  17476. "type": "boolean",
  17477. "description": "是否优惠"
  17478. },
  17479. "isBest": {
  17480. "type": "boolean",
  17481. "description": "是否精品"
  17482. },
  17483. "isDel": {
  17484. "type": "boolean",
  17485. "description": "是否删除"
  17486. },
  17487. "isGood": {
  17488. "type": "boolean",
  17489. "description": "是否优品推荐"
  17490. },
  17491. "isHot": {
  17492. "type": "boolean",
  17493. "description": "是否热卖"
  17494. },
  17495. "isNew": {
  17496. "type": "boolean",
  17497. "description": "是否新品"
  17498. },
  17499. "isPostage": {
  17500. "type": "boolean",
  17501. "description": "是否包邮"
  17502. },
  17503. "isSeckill": {
  17504. "type": "boolean",
  17505. "description": "秒杀状态 0 未开启 1已开启"
  17506. },
  17507. "isShow": {
  17508. "type": "boolean",
  17509. "description": "状态(0:未上架,1:上架)"
  17510. },
  17511. "isSub": {
  17512. "type": "boolean",
  17513. "description": "是否单独分佣"
  17514. },
  17515. "keyword": {
  17516. "type": "string",
  17517. "description": "关键字"
  17518. },
  17519. "merId": {
  17520. "type": "integer",
  17521. "format": "int32",
  17522. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  17523. },
  17524. "merUse": {
  17525. "type": "boolean",
  17526. "description": "商户是否代理 0不可代理1可代理"
  17527. },
  17528. "otPrice": {
  17529. "type": "number",
  17530. "description": "市场价"
  17531. },
  17532. "postage": {
  17533. "type": "number",
  17534. "description": "邮费"
  17535. },
  17536. "price": {
  17537. "type": "number",
  17538. "description": "商品价格"
  17539. },
  17540. "sales": {
  17541. "type": "integer",
  17542. "format": "int32",
  17543. "description": "销量"
  17544. },
  17545. "sliderImage": {
  17546. "type": "string",
  17547. "description": "轮播图"
  17548. },
  17549. "sort": {
  17550. "type": "integer",
  17551. "format": "int32",
  17552. "description": "排序"
  17553. },
  17554. "soureLink": {
  17555. "type": "string",
  17556. "description": "淘宝京东1688类型"
  17557. },
  17558. "specType": {
  17559. "type": "boolean",
  17560. "description": "规格 0单 1多"
  17561. },
  17562. "stock": {
  17563. "type": "integer",
  17564. "format": "int32",
  17565. "description": "库存"
  17566. },
  17567. "storeInfo": {
  17568. "type": "string",
  17569. "description": "商品简介"
  17570. },
  17571. "storeName": {
  17572. "type": "string",
  17573. "description": "商品名称"
  17574. },
  17575. "tempId": {
  17576. "type": "integer",
  17577. "format": "int32",
  17578. "description": "运费模板ID"
  17579. },
  17580. "unitName": {
  17581. "type": "string",
  17582. "description": "单位名"
  17583. },
  17584. "videoLink": {
  17585. "type": "string",
  17586. "description": "主图视频链接"
  17587. },
  17588. "vipPrice": {
  17589. "type": "number",
  17590. "description": "会员价格"
  17591. }
  17592. },
  17593. "title": "StoreProduct对象",
  17594. "description": "商品表",
  17595. "$$ref": "#/definitions/StoreProduct对象"
  17596. }
  17597. }
  17598. },
  17599. "title": "StoreCouponInfoResponse对象",
  17600. "description": "优惠券详情",
  17601. "$$ref": "#/definitions/StoreCouponInfoResponse对象"
  17602. },
  17603. "message": {
  17604. "type": "string"
  17605. }
  17606. },
  17607. "title": "CommonResult«StoreCouponInfoResponse对象»",
  17608. "$$ref": "#/definitions/CommonResult«StoreCouponInfoResponse对象»"
  17609. }
  17610. }
  17611. }
  17612. }
  17613. },
  17614. "/api/admin/marketing/coupon/user/list": {
  17615. "get": {
  17616. "tags": [
  17617. "营销 -- 优惠券 -- 领取记录"
  17618. ],
  17619. "summary": "分页列表",
  17620. "consumes": [
  17621. "text/plain"
  17622. ],
  17623. "parameters": [
  17624. {
  17625. "name": "couponId",
  17626. "in": "query",
  17627. "required": false,
  17628. "description": "优惠券id",
  17629. "type": "string"
  17630. },
  17631. {
  17632. "name": "limit",
  17633. "in": "query",
  17634. "required": false,
  17635. "description": "每页数量",
  17636. "type": "string"
  17637. },
  17638. {
  17639. "name": "minPrice",
  17640. "in": "query",
  17641. "required": false,
  17642. "description": "最低消费多少金额可用优惠券",
  17643. "type": "string"
  17644. },
  17645. {
  17646. "name": "name",
  17647. "in": "query",
  17648. "required": false,
  17649. "description": "优惠券名称",
  17650. "type": "string"
  17651. },
  17652. {
  17653. "name": "page",
  17654. "in": "query",
  17655. "required": false,
  17656. "description": "页码",
  17657. "type": "string"
  17658. },
  17659. {
  17660. "name": "status",
  17661. "in": "query",
  17662. "required": false,
  17663. "description": "状态(0:未使用,1:已使用, 2:已过期)",
  17664. "type": "string"
  17665. },
  17666. {
  17667. "name": "uid",
  17668. "in": "query",
  17669. "required": false,
  17670. "description": "优惠券所属用户",
  17671. "type": "string"
  17672. },
  17673. {
  17674. "name": "raw",
  17675. "in": "body",
  17676. "description": "raw paramter",
  17677. "schema": {
  17678. "type": "string",
  17679. "format": "binary"
  17680. }
  17681. }
  17682. ],
  17683. "responses": {
  17684. "200": {
  17685. "description": "successful operation",
  17686. "schema": {
  17687. "type": "object",
  17688. "properties": {
  17689. "code": {
  17690. "type": "integer",
  17691. "format": "int64"
  17692. },
  17693. "data": {
  17694. "type": "object",
  17695. "properties": {
  17696. "limit": {
  17697. "type": "integer",
  17698. "format": "int32"
  17699. },
  17700. "list": {
  17701. "type": "array",
  17702. "items": {
  17703. "type": "object",
  17704. "required": [
  17705. "primaryKey"
  17706. ],
  17707. "properties": {
  17708. "avatar": {
  17709. "type": "string",
  17710. "description": "用户头像"
  17711. },
  17712. "cid": {
  17713. "type": "integer",
  17714. "format": "int32",
  17715. "description": "兑换的项目id"
  17716. },
  17717. "couponId": {
  17718. "type": "integer",
  17719. "format": "int32",
  17720. "description": "优惠券发布id"
  17721. },
  17722. "createTime": {
  17723. "type": "string",
  17724. "format": "date-time",
  17725. "description": "创建时间"
  17726. },
  17727. "endTime": {
  17728. "type": "string",
  17729. "format": "date-time",
  17730. "description": "过期时间"
  17731. },
  17732. "id": {
  17733. "type": "integer",
  17734. "format": "int32",
  17735. "description": "id"
  17736. },
  17737. "isValid": {
  17738. "type": "boolean",
  17739. "description": "用户头像"
  17740. },
  17741. "minPrice": {
  17742. "type": "number",
  17743. "description": "最低消费多少金额可用优惠券"
  17744. },
  17745. "money": {
  17746. "type": "number",
  17747. "description": "优惠券的面值"
  17748. },
  17749. "name": {
  17750. "type": "string",
  17751. "description": "优惠券名称"
  17752. },
  17753. "nickname": {
  17754. "type": "string",
  17755. "description": "用户昵称"
  17756. },
  17757. "primaryKey": {
  17758. "type": "string",
  17759. "description": "主键id 商品id/分类id"
  17760. },
  17761. "startTime": {
  17762. "type": "string",
  17763. "format": "date-time",
  17764. "description": "开始使用时间"
  17765. },
  17766. "status": {
  17767. "type": "integer",
  17768. "format": "int32",
  17769. "description": "状态(0:未使用,1:已使用, 2:已失效)"
  17770. },
  17771. "type": {
  17772. "type": "string",
  17773. "description": "获取方式"
  17774. },
  17775. "uid": {
  17776. "type": "integer",
  17777. "format": "int32",
  17778. "description": "领取人id"
  17779. },
  17780. "updateTime": {
  17781. "type": "string",
  17782. "format": "date-time",
  17783. "description": "更新时间"
  17784. },
  17785. "useTime": {
  17786. "type": "string",
  17787. "format": "date-time",
  17788. "description": "使用时间"
  17789. },
  17790. "useType": {
  17791. "type": "integer",
  17792. "format": "int32",
  17793. "description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
  17794. }
  17795. },
  17796. "title": "StoreCouponUserResponse对象",
  17797. "description": "优惠券记录表",
  17798. "$$ref": "#/definitions/StoreCouponUserResponse对象"
  17799. }
  17800. },
  17801. "page": {
  17802. "type": "integer",
  17803. "format": "int32"
  17804. },
  17805. "total": {
  17806. "type": "integer",
  17807. "format": "int64"
  17808. },
  17809. "totalPage": {
  17810. "type": "integer",
  17811. "format": "int32"
  17812. }
  17813. },
  17814. "title": "CommonPage«StoreCouponUserResponse对象»",
  17815. "$$ref": "#/definitions/CommonPage«StoreCouponUserResponse对象»"
  17816. },
  17817. "message": {
  17818. "type": "string"
  17819. }
  17820. },
  17821. "title": "CommonResult«CommonPage«StoreCouponUserResponse对象»»",
  17822. "$$ref": "#/definitions/CommonResult«CommonPage«StoreCouponUserResponse对象»»"
  17823. }
  17824. }
  17825. }
  17826. }
  17827. },
  17828. "/api/admin/marketing/coupon/user/receive": {
  17829. "post": {
  17830. "tags": [
  17831. "营销 -- 优惠券 -- 领取记录"
  17832. ],
  17833. "summary": "领券",
  17834. "consumes": [
  17835. "application/json"
  17836. ],
  17837. "parameters": [
  17838. {
  17839. "name": "couponId",
  17840. "in": "query",
  17841. "required": false,
  17842. "description": "优惠券发布id",
  17843. "type": "string"
  17844. },
  17845. {
  17846. "name": "uid",
  17847. "in": "query",
  17848. "required": false,
  17849. "description": "领取人id, 多个id逗号分割",
  17850. "type": "string"
  17851. }
  17852. ],
  17853. "responses": {
  17854. "200": {
  17855. "description": "successful operation",
  17856. "schema": {
  17857. "type": "object",
  17858. "properties": {
  17859. "code": {
  17860. "type": "integer",
  17861. "format": "int64"
  17862. },
  17863. "data": {
  17864. "type": "string"
  17865. },
  17866. "message": {
  17867. "type": "string"
  17868. }
  17869. },
  17870. "title": "CommonResult«string»",
  17871. "$$ref": "#/definitions/CommonResult«string»"
  17872. }
  17873. }
  17874. }
  17875. }
  17876. },
  17877. "/api/admin/store/order/update": {
  17878. "post": {
  17879. "tags": [
  17880. "订单"
  17881. ],
  17882. "summary": "修改订单",
  17883. "consumes": [
  17884. "application/json"
  17885. ],
  17886. "parameters": [
  17887. {
  17888. "name": "id",
  17889. "in": "query",
  17890. "required": false,
  17891. "description": "id",
  17892. "type": "string"
  17893. },
  17894. {
  17895. "name": "root",
  17896. "in": "body",
  17897. "description": "订单修改",
  17898. "schema": {
  17899. "type": "object",
  17900. "properties": {
  17901. "gainIntegral": {
  17902. "type": "number",
  17903. "description": "消费赚取积分"
  17904. },
  17905. "payPostage": {
  17906. "type": "number",
  17907. "description": "支付邮费"
  17908. },
  17909. "payPrice": {
  17910. "type": "number",
  17911. "description": "实际支付金额"
  17912. },
  17913. "totalPostage": {
  17914. "type": "number",
  17915. "description": "邮费"
  17916. },
  17917. "totalPrice": {
  17918. "type": "number",
  17919. "description": "订单总价"
  17920. }
  17921. },
  17922. "title": "StoreOrderRequest对象",
  17923. "description": "订单修改",
  17924. "$$ref": "#/definitions/StoreOrderRequest对象"
  17925. }
  17926. }
  17927. ],
  17928. "responses": {
  17929. "200": {
  17930. "description": "successful operation",
  17931. "schema": {
  17932. "type": "object",
  17933. "properties": {
  17934. "code": {
  17935. "type": "integer",
  17936. "format": "int64"
  17937. },
  17938. "data": {
  17939. "type": "string"
  17940. },
  17941. "message": {
  17942. "type": "string"
  17943. }
  17944. },
  17945. "title": "CommonResult«string»",
  17946. "$$ref": "#/definitions/CommonResult«string»"
  17947. }
  17948. }
  17949. }
  17950. }
  17951. },
  17952. "/api/admin/store/order/list": {
  17953. "get": {
  17954. "tags": [
  17955. "订单"
  17956. ],
  17957. "summary": "分页列表",
  17958. "consumes": [
  17959. "text/plain"
  17960. ],
  17961. "parameters": [
  17962. {
  17963. "name": "isDel",
  17964. "in": "query",
  17965. "required": false,
  17966. "description": "是否删除",
  17967. "type": "string"
  17968. },
  17969. {
  17970. "name": "limit",
  17971. "in": "query",
  17972. "required": false,
  17973. "description": "每页数量",
  17974. "type": "string"
  17975. },
  17976. {
  17977. "name": "orderId",
  17978. "in": "query",
  17979. "required": false,
  17980. "description": "订单号",
  17981. "type": "string"
  17982. },
  17983. {
  17984. "name": "page",
  17985. "in": "query",
  17986. "required": false,
  17987. "description": "页码",
  17988. "type": "string"
  17989. },
  17990. {
  17991. "name": "status",
  17992. "in": "query",
  17993. "required": false,
  17994. "description": "订单状态(all 总数; 未支付 unPaid; 未发货 notShipped;待收货 spike;待评价 bargain;已完成 complete;待核销 toBeWrittenOff;退款中:refunding;已退款:refunded;已删除:deleted",
  17995. "type": "string"
  17996. },
  17997. {
  17998. "name": "timeRage",
  17999. "in": "query",
  18000. "required": false,
  18001. "description": "创建时间区间",
  18002. "type": "string"
  18003. },
  18004. {
  18005. "name": "uid",
  18006. "in": "query",
  18007. "required": false,
  18008. "description": "用户id",
  18009. "type": "string"
  18010. },
  18011. {
  18012. "name": "raw",
  18013. "in": "body",
  18014. "description": "raw paramter",
  18015. "schema": {
  18016. "type": "string",
  18017. "format": "binary"
  18018. }
  18019. }
  18020. ],
  18021. "responses": {
  18022. "200": {
  18023. "description": "successful operation",
  18024. "schema": {
  18025. "type": "object",
  18026. "properties": {
  18027. "code": {
  18028. "type": "integer",
  18029. "format": "int64"
  18030. },
  18031. "data": {
  18032. "type": "object",
  18033. "properties": {
  18034. "list": {
  18035. "type": "object",
  18036. "properties": {
  18037. "limit": {
  18038. "type": "integer",
  18039. "format": "int32"
  18040. },
  18041. "list": {
  18042. "type": "array",
  18043. "items": {
  18044. "type": "object",
  18045. "properties": {
  18046. "backIntegral": {
  18047. "type": "number",
  18048. "description": "给用户退了多少积分"
  18049. },
  18050. "clerkName": {
  18051. "type": "string",
  18052. "description": "店员名称"
  18053. },
  18054. "createTime": {
  18055. "type": "string",
  18056. "format": "date-time",
  18057. "description": "创建时间"
  18058. },
  18059. "gainIntegral": {
  18060. "type": "number",
  18061. "description": "消费赚取积分"
  18062. },
  18063. "id": {
  18064. "type": "integer",
  18065. "format": "int32",
  18066. "description": "订单ID"
  18067. },
  18068. "isDel": {
  18069. "type": "boolean",
  18070. "description": "是否删除"
  18071. },
  18072. "isSystemDel": {
  18073. "type": "boolean",
  18074. "description": "后台是否删除"
  18075. },
  18076. "mark": {
  18077. "type": "string",
  18078. "description": "用户备注"
  18079. },
  18080. "orderId": {
  18081. "type": "string",
  18082. "description": "订单号"
  18083. },
  18084. "paid": {
  18085. "type": "boolean",
  18086. "description": "支付状态"
  18087. },
  18088. "payPostage": {
  18089. "type": "number",
  18090. "description": "支付邮费"
  18091. },
  18092. "payPrice": {
  18093. "type": "number",
  18094. "description": "实际支付金额"
  18095. },
  18096. "payTime": {
  18097. "type": "string",
  18098. "format": "date-time",
  18099. "description": "支付时间"
  18100. },
  18101. "payType": {
  18102. "type": "string",
  18103. "description": "支付方式"
  18104. },
  18105. "payTypeStr": {
  18106. "type": "string",
  18107. "description": "支付方式"
  18108. },
  18109. "productList": {
  18110. "type": "array",
  18111. "description": "商品信息",
  18112. "items": {
  18113. "type": "object",
  18114. "properties": {
  18115. "info": {
  18116. "type": "object",
  18117. "properties": {
  18118. "addTime": {
  18119. "type": "string"
  18120. },
  18121. "attrStatus": {
  18122. "type": "boolean",
  18123. "description": "商品是否有效"
  18124. },
  18125. "bargainId": {
  18126. "type": "integer",
  18127. "format": "int32",
  18128. "description": "砍价id"
  18129. },
  18130. "brokerage": {
  18131. "type": "number",
  18132. "description": "一级分佣"
  18133. },
  18134. "brokerageTwo": {
  18135. "type": "number",
  18136. "description": "二级分佣"
  18137. },
  18138. "cartNum": {
  18139. "type": "integer",
  18140. "format": "int32",
  18141. "description": "商品数量"
  18142. },
  18143. "combinationId": {
  18144. "type": "integer",
  18145. "format": "int32",
  18146. "description": "拼团id"
  18147. },
  18148. "costPrice": {
  18149. "type": "number"
  18150. },
  18151. "id": {
  18152. "type": "integer",
  18153. "format": "int64",
  18154. "description": "购物车表ID"
  18155. },
  18156. "isNew": {
  18157. "type": "boolean",
  18158. "description": "是否为立即购买"
  18159. },
  18160. "isReply": {
  18161. "type": "integer",
  18162. "format": "int32"
  18163. },
  18164. "productAttrUnique": {
  18165. "type": "string",
  18166. "description": "商品属性"
  18167. },
  18168. "productId": {
  18169. "type": "integer",
  18170. "format": "int32",
  18171. "description": "商品ID"
  18172. },
  18173. "productInfo": {
  18174. "type": "object",
  18175. "properties": {
  18176. "attrInfo": {
  18177. "type": "object",
  18178. "properties": {
  18179. "attrValue": {
  18180. "type": "string",
  18181. "description": "产品属性值和属性名对应关系"
  18182. },
  18183. "barCode": {
  18184. "type": "string",
  18185. "description": "商品条码"
  18186. },
  18187. "brokerage": {
  18188. "type": "number",
  18189. "description": "一级返佣"
  18190. },
  18191. "brokerageTwo": {
  18192. "type": "number",
  18193. "description": "二级返佣"
  18194. },
  18195. "cost": {
  18196. "type": "number",
  18197. "description": "成本价"
  18198. },
  18199. "id": {
  18200. "type": "integer",
  18201. "format": "int32",
  18202. "description": "attrId"
  18203. },
  18204. "image": {
  18205. "type": "string",
  18206. "description": "图片"
  18207. },
  18208. "otPrice": {
  18209. "type": "number",
  18210. "description": "原价"
  18211. },
  18212. "price": {
  18213. "type": "number",
  18214. "description": "属性金额"
  18215. },
  18216. "productId": {
  18217. "type": "integer",
  18218. "format": "int32",
  18219. "description": "商品ID"
  18220. },
  18221. "quota": {
  18222. "type": "integer",
  18223. "format": "int32",
  18224. "description": "活动限购数量"
  18225. },
  18226. "quotaShow": {
  18227. "type": "integer",
  18228. "format": "int32",
  18229. "description": "活动限购数量显示"
  18230. },
  18231. "sales": {
  18232. "type": "integer",
  18233. "format": "int32",
  18234. "description": "销量"
  18235. },
  18236. "stock": {
  18237. "type": "integer",
  18238. "format": "int32",
  18239. "description": "属性对应的库存"
  18240. },
  18241. "suk": {
  18242. "type": "string",
  18243. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  18244. },
  18245. "type": {
  18246. "type": "integer",
  18247. "format": "int32",
  18248. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  18249. },
  18250. "unique": {
  18251. "type": "string",
  18252. "description": "唯一值"
  18253. },
  18254. "volume": {
  18255. "type": "number",
  18256. "description": "体积"
  18257. },
  18258. "weight": {
  18259. "type": "number",
  18260. "description": "重量"
  18261. }
  18262. },
  18263. "title": "StoreProductAttrValue对象",
  18264. "description": "商品属性值表",
  18265. "$$ref": "#/definitions/StoreProductAttrValue对象"
  18266. },
  18267. "barCode": {
  18268. "type": "string",
  18269. "description": "商品条码(一维码)"
  18270. },
  18271. "cateId": {
  18272. "type": "string",
  18273. "description": "分类id"
  18274. },
  18275. "cost": {
  18276. "type": "number",
  18277. "description": "成本价"
  18278. },
  18279. "giveIntegral": {
  18280. "type": "number",
  18281. "description": "获得积分"
  18282. },
  18283. "id": {
  18284. "type": "integer",
  18285. "format": "int32",
  18286. "description": "商品id"
  18287. },
  18288. "image": {
  18289. "type": "string",
  18290. "description": "商品图片"
  18291. },
  18292. "isPostage": {
  18293. "type": "boolean",
  18294. "description": "是否包邮"
  18295. },
  18296. "isSub": {
  18297. "type": "boolean",
  18298. "description": "是否单独分佣"
  18299. },
  18300. "keyword": {
  18301. "type": "string",
  18302. "description": "关键字"
  18303. },
  18304. "merId": {
  18305. "type": "integer",
  18306. "format": "int32",
  18307. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  18308. },
  18309. "otPrice": {
  18310. "type": "number",
  18311. "description": "市场价"
  18312. },
  18313. "postage": {
  18314. "type": "number",
  18315. "description": "邮费"
  18316. },
  18317. "price": {
  18318. "type": "number",
  18319. "description": "商品价格"
  18320. },
  18321. "sales": {
  18322. "type": "integer",
  18323. "format": "int32",
  18324. "description": "销量"
  18325. },
  18326. "sliderImage": {
  18327. "type": "string",
  18328. "description": "轮播图"
  18329. },
  18330. "sort": {
  18331. "type": "integer",
  18332. "format": "int32",
  18333. "description": "排序"
  18334. },
  18335. "stock": {
  18336. "type": "integer",
  18337. "format": "int32",
  18338. "description": "库存"
  18339. },
  18340. "storeInfo": {
  18341. "type": "string",
  18342. "description": "商品简介"
  18343. },
  18344. "storeName": {
  18345. "type": "string",
  18346. "description": "商品名称"
  18347. },
  18348. "tempId": {
  18349. "type": "integer",
  18350. "format": "int32",
  18351. "description": "运费模板ID"
  18352. },
  18353. "unitName": {
  18354. "type": "string",
  18355. "description": "单位名"
  18356. },
  18357. "vipPrice": {
  18358. "type": "number",
  18359. "description": "会员价格"
  18360. }
  18361. },
  18362. "title": "StoreProductCartProductInfoResponse对象",
  18363. "description": "商品信息,购物车列表使用",
  18364. "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
  18365. },
  18366. "seckillId": {
  18367. "type": "integer",
  18368. "format": "int32",
  18369. "description": "秒杀商品ID"
  18370. },
  18371. "truePrice": {
  18372. "type": "number"
  18373. },
  18374. "trueStock": {
  18375. "type": "integer",
  18376. "format": "int32"
  18377. },
  18378. "type": {
  18379. "type": "string",
  18380. "description": "类型"
  18381. },
  18382. "uid": {
  18383. "type": "integer",
  18384. "format": "int32",
  18385. "description": "用户ID"
  18386. },
  18387. "vipTruePrice": {
  18388. "type": "number"
  18389. }
  18390. },
  18391. "title": "StoreCartResponse",
  18392. "description": "购物车ListResponse",
  18393. "$$ref": "#/definitions/StoreCartResponse"
  18394. },
  18395. "orderId": {
  18396. "type": "integer",
  18397. "format": "int32",
  18398. "description": "订单id"
  18399. },
  18400. "productId": {
  18401. "type": "integer",
  18402. "format": "int32",
  18403. "description": "商品ID"
  18404. },
  18405. "unique": {
  18406. "type": "string",
  18407. "description": "唯一id"
  18408. }
  18409. },
  18410. "title": "StoreOrderInfoVo对象",
  18411. "description": "订单购物详情表",
  18412. "$$ref": "#/definitions/StoreOrderInfoVo对象"
  18413. }
  18414. },
  18415. "realName": {
  18416. "type": "string",
  18417. "description": "用户姓名"
  18418. },
  18419. "refundPrice": {
  18420. "type": "number",
  18421. "description": "退款金额"
  18422. },
  18423. "refundReason": {
  18424. "type": "string",
  18425. "description": "不退款的理由"
  18426. },
  18427. "refundReasonTime": {
  18428. "type": "string",
  18429. "format": "date-time",
  18430. "description": "退款时间"
  18431. },
  18432. "refundReasonWap": {
  18433. "type": "string",
  18434. "description": "前台退款原因"
  18435. },
  18436. "refundReasonWapExplain": {
  18437. "type": "string",
  18438. "description": "退款用户说明"
  18439. },
  18440. "refundReasonWapImg": {
  18441. "type": "string",
  18442. "description": "退款图片"
  18443. },
  18444. "remark": {
  18445. "type": "string",
  18446. "description": "管理员备注"
  18447. },
  18448. "spreadInfo": {
  18449. "type": "object",
  18450. "properties": {
  18451. "id": {
  18452. "type": "integer",
  18453. "format": "int32",
  18454. "description": "推广人id"
  18455. },
  18456. "name": {
  18457. "type": "string",
  18458. "description": "推广人姓名"
  18459. }
  18460. },
  18461. "title": "StoreOrderSpreadInfoResponse对象",
  18462. "description": "推广人信息",
  18463. "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
  18464. },
  18465. "status": {
  18466. "type": "boolean",
  18467. "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
  18468. },
  18469. "statusStr": {
  18470. "type": "object",
  18471. "description": "订单状态",
  18472. "additionalProperties": {
  18473. "type": "string"
  18474. }
  18475. },
  18476. "storeName": {
  18477. "type": "string",
  18478. "description": "门店名称"
  18479. },
  18480. "totalPostage": {
  18481. "type": "number",
  18482. "description": "邮费"
  18483. },
  18484. "totalPrice": {
  18485. "type": "number",
  18486. "description": "订单总价"
  18487. },
  18488. "uid": {
  18489. "type": "integer",
  18490. "format": "int32",
  18491. "description": "用户id"
  18492. },
  18493. "useIntegral": {
  18494. "type": "number",
  18495. "description": "使用积分"
  18496. },
  18497. "userPhone": {
  18498. "type": "string",
  18499. "description": "用户电话"
  18500. }
  18501. },
  18502. "title": "StoreOrderItemResponse对象",
  18503. "description": "核销订单",
  18504. "$$ref": "#/definitions/StoreOrderItemResponse对象"
  18505. }
  18506. },
  18507. "page": {
  18508. "type": "integer",
  18509. "format": "int32"
  18510. },
  18511. "total": {
  18512. "type": "integer",
  18513. "format": "int64"
  18514. },
  18515. "totalPage": {
  18516. "type": "integer",
  18517. "format": "int32"
  18518. }
  18519. },
  18520. "title": "CommonPage«StoreOrderItemResponse对象»",
  18521. "$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»"
  18522. },
  18523. "status": {
  18524. "type": "object",
  18525. "properties": {
  18526. "all": {
  18527. "type": "integer",
  18528. "format": "int32",
  18529. "description": "总数"
  18530. },
  18531. "bargain": {
  18532. "type": "integer",
  18533. "format": "int32",
  18534. "description": "待评价"
  18535. },
  18536. "complete": {
  18537. "type": "integer",
  18538. "format": "int32",
  18539. "description": "交易完成"
  18540. },
  18541. "deleted": {
  18542. "type": "integer",
  18543. "format": "int32",
  18544. "description": "已删除"
  18545. },
  18546. "notShipped": {
  18547. "type": "integer",
  18548. "format": "int32",
  18549. "description": "未发货"
  18550. },
  18551. "refunded": {
  18552. "type": "integer",
  18553. "format": "int32",
  18554. "description": "已退款"
  18555. },
  18556. "refunding": {
  18557. "type": "integer",
  18558. "format": "int32",
  18559. "description": "退款中"
  18560. },
  18561. "spike": {
  18562. "type": "integer",
  18563. "format": "int32",
  18564. "description": "待收货"
  18565. },
  18566. "toBeWrittenOff": {
  18567. "type": "integer",
  18568. "format": "int32",
  18569. "description": "待核销"
  18570. },
  18571. "unPaid": {
  18572. "type": "integer",
  18573. "format": "int32",
  18574. "description": "未支付"
  18575. }
  18576. },
  18577. "title": "StoreOrderCountItemResponse对象",
  18578. "description": "订单状态数量",
  18579. "$$ref": "#/definitions/StoreOrderCountItemResponse对象"
  18580. },
  18581. "top": {
  18582. "type": "object",
  18583. "properties": {
  18584. "amount": {
  18585. "type": "number",
  18586. "description": "订单金额"
  18587. },
  18588. "count": {
  18589. "type": "integer",
  18590. "format": "int32",
  18591. "description": "订单数量"
  18592. },
  18593. "weChatAmount": {
  18594. "type": "number",
  18595. "description": "微信支付金额"
  18596. },
  18597. "yueAmount": {
  18598. "type": "number",
  18599. "description": "余额支付"
  18600. }
  18601. },
  18602. "title": "StoreOrderTopItemResponse对象",
  18603. "description": "订单九宫格数据",
  18604. "$$ref": "#/definitions/StoreOrderTopItemResponse对象"
  18605. }
  18606. },
  18607. "title": "StoreOrderCountResponse对象",
  18608. "description": "订单数量",
  18609. "$$ref": "#/definitions/StoreOrderCountResponse对象"
  18610. },
  18611. "message": {
  18612. "type": "string"
  18613. }
  18614. },
  18615. "title": "CommonResult«StoreOrderCountResponse对象»",
  18616. "$$ref": "#/definitions/CommonResult«StoreOrderCountResponse对象»"
  18617. }
  18618. }
  18619. }
  18620. }
  18621. },
  18622. "/api/admin/store/order/delete": {
  18623. "get": {
  18624. "tags": [
  18625. "订单"
  18626. ],
  18627. "summary": "删除",
  18628. "consumes": [
  18629. "text/plain"
  18630. ],
  18631. "parameters": [
  18632. {
  18633. "name": "id",
  18634. "in": "query",
  18635. "required": false,
  18636. "description": "id",
  18637. "type": "string"
  18638. },
  18639. {
  18640. "name": "raw",
  18641. "in": "body",
  18642. "description": "raw paramter",
  18643. "schema": {
  18644. "type": "string",
  18645. "format": "binary"
  18646. }
  18647. }
  18648. ],
  18649. "responses": {
  18650. "200": {
  18651. "description": "successful operation",
  18652. "schema": {
  18653. "type": "object",
  18654. "properties": {
  18655. "code": {
  18656. "type": "integer",
  18657. "format": "int64"
  18658. },
  18659. "data": {
  18660. "type": "string"
  18661. },
  18662. "message": {
  18663. "type": "string"
  18664. }
  18665. },
  18666. "title": "CommonResult«string»",
  18667. "$$ref": "#/definitions/CommonResult«string»"
  18668. }
  18669. }
  18670. }
  18671. }
  18672. },
  18673. "/api/admin/store/order/send": {
  18674. "get": {
  18675. "tags": [
  18676. "订单"
  18677. ],
  18678. "summary": "发送货",
  18679. "consumes": [
  18680. "text/plain"
  18681. ],
  18682. "parameters": [
  18683. {
  18684. "name": "expressCode",
  18685. "in": "query",
  18686. "required": false,
  18687. "description": "快递单号",
  18688. "type": "string"
  18689. },
  18690. {
  18691. "name": "expressId",
  18692. "in": "query",
  18693. "required": false,
  18694. "description": "快递公司",
  18695. "type": "string"
  18696. },
  18697. {
  18698. "name": "id",
  18699. "in": "query",
  18700. "required": false,
  18701. "description": "订单ID",
  18702. "type": "string"
  18703. },
  18704. {
  18705. "name": "type",
  18706. "in": "query",
  18707. "required": false,
  18708. "description": "类型, 1,2,3",
  18709. "type": "string"
  18710. },
  18711. {
  18712. "name": "raw",
  18713. "in": "body",
  18714. "description": "raw paramter",
  18715. "schema": {
  18716. "type": "string",
  18717. "format": "binary"
  18718. }
  18719. }
  18720. ],
  18721. "responses": {
  18722. "200": {
  18723. "description": "successful operation",
  18724. "schema": {
  18725. "type": "object",
  18726. "properties": {
  18727. "code": {
  18728. "type": "integer",
  18729. "format": "int64"
  18730. },
  18731. "data": {
  18732. "type": "boolean"
  18733. },
  18734. "message": {
  18735. "type": "string"
  18736. }
  18737. },
  18738. "title": "CommonResult«boolean»",
  18739. "$$ref": "#/definitions/CommonResult«boolean»"
  18740. }
  18741. }
  18742. }
  18743. }
  18744. },
  18745. "/api/admin/store/order/mark": {
  18746. "post": {
  18747. "tags": [
  18748. "订单"
  18749. ],
  18750. "summary": "备注",
  18751. "consumes": [
  18752. "application/json"
  18753. ],
  18754. "parameters": [
  18755. {
  18756. "name": "id",
  18757. "in": "query",
  18758. "required": false,
  18759. "description": "id",
  18760. "type": "string"
  18761. },
  18762. {
  18763. "name": "mark",
  18764. "in": "query",
  18765. "required": false,
  18766. "description": "mark",
  18767. "type": "string"
  18768. }
  18769. ],
  18770. "responses": {
  18771. "200": {
  18772. "description": "successful operation",
  18773. "schema": {
  18774. "type": "object",
  18775. "properties": {
  18776. "code": {
  18777. "type": "integer",
  18778. "format": "int64"
  18779. },
  18780. "data": {
  18781. "type": "string"
  18782. },
  18783. "message": {
  18784. "type": "string"
  18785. }
  18786. },
  18787. "title": "CommonResult«string»",
  18788. "$$ref": "#/definitions/CommonResult«string»"
  18789. }
  18790. }
  18791. }
  18792. }
  18793. },
  18794. "/api/admin/store/order/getLogisticsInfo": {
  18795. "get": {
  18796. "tags": [
  18797. "订单"
  18798. ],
  18799. "summary": "快递查询",
  18800. "consumes": [
  18801. "text/plain"
  18802. ],
  18803. "parameters": [
  18804. {
  18805. "name": "id",
  18806. "in": "query",
  18807. "required": false,
  18808. "description": "id",
  18809. "type": "string"
  18810. },
  18811. {
  18812. "name": "raw",
  18813. "in": "body",
  18814. "description": "raw paramter",
  18815. "schema": {
  18816. "type": "string",
  18817. "format": "binary"
  18818. }
  18819. }
  18820. ],
  18821. "responses": {
  18822. "200": {
  18823. "description": "successful operation",
  18824. "schema": {
  18825. "type": "object",
  18826. "properties": {
  18827. "code": {
  18828. "type": "integer",
  18829. "format": "int64"
  18830. },
  18831. "data": {
  18832. "type": "object",
  18833. "properties": {
  18834. "courier": {
  18835. "type": "string",
  18836. "description": "快递员 或 快递站(没有则为空"
  18837. },
  18838. "courierPhone": {
  18839. "type": "string",
  18840. "description": "快递员电话 (没有则为空)"
  18841. },
  18842. "deliverystatus": {
  18843. "type": "string",
  18844. "description": "快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */"
  18845. },
  18846. "expName": {
  18847. "type": "string",
  18848. "description": "快递公司名称"
  18849. },
  18850. "expPhone": {
  18851. "type": "string",
  18852. "description": "快递公司电话"
  18853. },
  18854. "expSite": {
  18855. "type": "string",
  18856. "description": "快递公司官网"
  18857. },
  18858. "issign": {
  18859. "type": "string",
  18860. "description": "是否签收"
  18861. },
  18862. "list": {
  18863. "type": "array",
  18864. "description": "快递运送轨迹",
  18865. "items": {
  18866. "type": "object",
  18867. "properties": {
  18868. "status": {
  18869. "type": "string",
  18870. "description": "日志"
  18871. },
  18872. "time": {
  18873. "type": "string",
  18874. "description": "时间"
  18875. }
  18876. },
  18877. "title": "LogisticsResultListVo对象",
  18878. "description": "快递轨迹",
  18879. "$$ref": "#/definitions/LogisticsResultListVo对象"
  18880. }
  18881. },
  18882. "logo": {
  18883. "type": "string",
  18884. "description": "快递公司LOGO"
  18885. },
  18886. "number": {
  18887. "type": "string",
  18888. "description": "快递单号"
  18889. },
  18890. "takeTime": {
  18891. "type": "string",
  18892. "description": "发货到收货消耗时长 (截止最新轨迹)"
  18893. },
  18894. "type": {
  18895. "type": "string",
  18896. "description": "快递简写"
  18897. },
  18898. "updateTime": {
  18899. "type": "string",
  18900. "description": "快递轨迹信息最新时间 "
  18901. }
  18902. },
  18903. "title": "LogisticsResultVo对象",
  18904. "description": "快递接口返回数据",
  18905. "$$ref": "#/definitions/LogisticsResultVo对象"
  18906. },
  18907. "message": {
  18908. "type": "string"
  18909. }
  18910. },
  18911. "title": "CommonResult«LogisticsResultVo对象»",
  18912. "$$ref": "#/definitions/CommonResult«LogisticsResultVo对象»"
  18913. }
  18914. }
  18915. }
  18916. }
  18917. },
  18918. "/api/admin/store/order/refund/refuse": {
  18919. "get": {
  18920. "tags": [
  18921. "订单"
  18922. ],
  18923. "summary": "拒绝退款",
  18924. "consumes": [
  18925. "text/plain"
  18926. ],
  18927. "parameters": [
  18928. {
  18929. "name": "id",
  18930. "in": "query",
  18931. "required": false,
  18932. "description": "id",
  18933. "type": "string"
  18934. },
  18935. {
  18936. "name": "reason",
  18937. "in": "query",
  18938. "required": false,
  18939. "description": "reason",
  18940. "type": "string"
  18941. },
  18942. {
  18943. "name": "raw",
  18944. "in": "body",
  18945. "description": "raw paramter",
  18946. "schema": {
  18947. "type": "string",
  18948. "format": "binary"
  18949. }
  18950. }
  18951. ],
  18952. "responses": {
  18953. "200": {
  18954. "description": "successful operation",
  18955. "schema": {
  18956. "type": "object",
  18957. "properties": {
  18958. "code": {
  18959. "type": "integer",
  18960. "format": "int64"
  18961. },
  18962. "data": {
  18963. "type": "boolean"
  18964. },
  18965. "message": {
  18966. "type": "string"
  18967. }
  18968. },
  18969. "title": "CommonResult«boolean»",
  18970. "$$ref": "#/definitions/CommonResult«boolean»"
  18971. }
  18972. }
  18973. }
  18974. }
  18975. },
  18976. "/api/admin/store/order/info": {
  18977. "get": {
  18978. "tags": [
  18979. "订单"
  18980. ],
  18981. "summary": "详情",
  18982. "consumes": [
  18983. "text/plain"
  18984. ],
  18985. "parameters": [
  18986. {
  18987. "name": "id",
  18988. "in": "query",
  18989. "required": false,
  18990. "description": "id",
  18991. "type": "string"
  18992. },
  18993. {
  18994. "name": "raw",
  18995. "in": "body",
  18996. "description": "raw paramter",
  18997. "schema": {
  18998. "type": "string",
  18999. "format": "binary"
  19000. }
  19001. }
  19002. ],
  19003. "responses": {
  19004. "200": {
  19005. "description": "successful operation",
  19006. "schema": {
  19007. "type": "object",
  19008. "properties": {
  19009. "code": {
  19010. "type": "integer",
  19011. "format": "int64"
  19012. },
  19013. "data": {
  19014. "type": "object",
  19015. "properties": {
  19016. "backIntegral": {
  19017. "type": "number",
  19018. "description": "给用户退了多少积分"
  19019. },
  19020. "bargainId": {
  19021. "type": "integer",
  19022. "format": "int32",
  19023. "description": "砍价id"
  19024. },
  19025. "clerkId": {
  19026. "type": "integer",
  19027. "format": "int32",
  19028. "description": "店员id"
  19029. },
  19030. "combinationId": {
  19031. "type": "integer",
  19032. "format": "int32",
  19033. "description": "拼团商品id0一般商品"
  19034. },
  19035. "cost": {
  19036. "type": "number",
  19037. "description": "成本价"
  19038. },
  19039. "couponId": {
  19040. "type": "integer",
  19041. "format": "int32",
  19042. "description": "优惠券id"
  19043. },
  19044. "couponPrice": {
  19045. "type": "number",
  19046. "description": "优惠券金额"
  19047. },
  19048. "createTime": {
  19049. "type": "string",
  19050. "format": "date-time",
  19051. "description": "创建时间"
  19052. },
  19053. "deductionPrice": {
  19054. "type": "number",
  19055. "description": "抵扣金额"
  19056. },
  19057. "deliveryId": {
  19058. "type": "string",
  19059. "description": "快递单号/手机号"
  19060. },
  19061. "deliveryName": {
  19062. "type": "string",
  19063. "description": "快递名称/送货人姓名"
  19064. },
  19065. "deliveryType": {
  19066. "type": "string",
  19067. "description": "发货类型"
  19068. },
  19069. "freightPrice": {
  19070. "type": "number",
  19071. "description": "运费金额"
  19072. },
  19073. "gainIntegral": {
  19074. "type": "number",
  19075. "description": "消费赚取积分"
  19076. },
  19077. "id": {
  19078. "type": "integer",
  19079. "format": "int32",
  19080. "description": "订单ID"
  19081. },
  19082. "isChannel": {
  19083. "type": "boolean",
  19084. "description": "支付渠道(0微信公众号1微信小程序)"
  19085. },
  19086. "isDel": {
  19087. "type": "boolean",
  19088. "description": "是否删除"
  19089. },
  19090. "isMerCheck": {
  19091. "type": "integer",
  19092. "format": "int32"
  19093. },
  19094. "isRemind": {
  19095. "type": "boolean",
  19096. "description": "消息提醒"
  19097. },
  19098. "isSystemDel": {
  19099. "type": "boolean",
  19100. "description": "后台是否删除"
  19101. },
  19102. "mark": {
  19103. "type": "string",
  19104. "description": "备注"
  19105. },
  19106. "merId": {
  19107. "type": "integer",
  19108. "format": "int32",
  19109. "description": "商户ID"
  19110. },
  19111. "orderId": {
  19112. "type": "string",
  19113. "description": "订单号"
  19114. },
  19115. "paid": {
  19116. "type": "boolean",
  19117. "description": "支付状态"
  19118. },
  19119. "payPostage": {
  19120. "type": "number",
  19121. "description": "支付邮费"
  19122. },
  19123. "payPrice": {
  19124. "type": "number",
  19125. "description": "实际支付金额"
  19126. },
  19127. "payTime": {
  19128. "type": "string",
  19129. "format": "date-time",
  19130. "description": "支付时间"
  19131. },
  19132. "payType": {
  19133. "type": "string",
  19134. "description": "支付方式"
  19135. },
  19136. "payTypeStr": {
  19137. "type": "string",
  19138. "description": "支付方式"
  19139. },
  19140. "pinkId": {
  19141. "type": "integer",
  19142. "format": "int32",
  19143. "description": "拼团id 0没有拼团"
  19144. },
  19145. "realName": {
  19146. "type": "string",
  19147. "description": "用户姓名"
  19148. },
  19149. "refundPrice": {
  19150. "type": "number",
  19151. "description": "退款金额"
  19152. },
  19153. "refundReason": {
  19154. "type": "string",
  19155. "description": "不退款的理由"
  19156. },
  19157. "refundReasonTime": {
  19158. "type": "string",
  19159. "format": "date-time",
  19160. "description": "退款时间"
  19161. },
  19162. "refundReasonWap": {
  19163. "type": "string",
  19164. "description": "前台退款原因"
  19165. },
  19166. "refundReasonWapExplain": {
  19167. "type": "string",
  19168. "description": "退款用户说明"
  19169. },
  19170. "refundReasonWapImg": {
  19171. "type": "string",
  19172. "description": "退款图片"
  19173. },
  19174. "refundStatus": {
  19175. "type": "integer",
  19176. "format": "int32",
  19177. "description": "0 未退款 1 申请中 2 已退款"
  19178. },
  19179. "remark": {
  19180. "type": "string",
  19181. "description": "管理员备注"
  19182. },
  19183. "seckillId": {
  19184. "type": "integer",
  19185. "format": "int32",
  19186. "description": "秒杀商品ID"
  19187. },
  19188. "shippingType": {
  19189. "type": "integer",
  19190. "format": "int32",
  19191. "description": "配送方式 1=快递 ,2=门店自提"
  19192. },
  19193. "spreadInfo": {
  19194. "type": "object",
  19195. "properties": {
  19196. "id": {
  19197. "type": "integer",
  19198. "format": "int32",
  19199. "description": "推广人id"
  19200. },
  19201. "name": {
  19202. "type": "string",
  19203. "description": "推广人姓名"
  19204. }
  19205. },
  19206. "title": "StoreOrderSpreadInfoResponse对象",
  19207. "description": "推广人信息",
  19208. "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
  19209. },
  19210. "status": {
  19211. "type": "integer",
  19212. "format": "int32",
  19213. "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
  19214. },
  19215. "statusStr": {
  19216. "type": "object",
  19217. "description": "订单状态",
  19218. "additionalProperties": {
  19219. "type": "string"
  19220. }
  19221. },
  19222. "storeId": {
  19223. "type": "integer",
  19224. "format": "int32",
  19225. "description": "门店id"
  19226. },
  19227. "totalNum": {
  19228. "type": "integer",
  19229. "format": "int32",
  19230. "description": "订单商品总数"
  19231. },
  19232. "totalPostage": {
  19233. "type": "number",
  19234. "description": "邮费"
  19235. },
  19236. "totalPrice": {
  19237. "type": "number",
  19238. "description": "订单总价"
  19239. },
  19240. "uid": {
  19241. "type": "integer",
  19242. "format": "int32",
  19243. "description": "用户id"
  19244. },
  19245. "unique": {
  19246. "type": "string",
  19247. "description": "唯一id(md5加密)类似id"
  19248. },
  19249. "useIntegral": {
  19250. "type": "number",
  19251. "description": "使用积分"
  19252. },
  19253. "user": {
  19254. "type": "object",
  19255. "properties": {
  19256. "account": {
  19257. "type": "string",
  19258. "description": "用户账号"
  19259. },
  19260. "addIp": {
  19261. "type": "string",
  19262. "description": "添加ip"
  19263. },
  19264. "addres": {
  19265. "type": "string",
  19266. "description": "详细地址"
  19267. },
  19268. "adminid": {
  19269. "type": "integer",
  19270. "format": "int32",
  19271. "description": "管理员编号 "
  19272. },
  19273. "avatar": {
  19274. "type": "string",
  19275. "description": "用户头像"
  19276. },
  19277. "birthday": {
  19278. "type": "string",
  19279. "description": "生日"
  19280. },
  19281. "brokeragePrice": {
  19282. "type": "number",
  19283. "description": "佣金金额"
  19284. },
  19285. "cardId": {
  19286. "type": "string",
  19287. "description": "身份证号码"
  19288. },
  19289. "cleanTime": {
  19290. "type": "string",
  19291. "format": "date-time",
  19292. "description": "最后一次登录时间"
  19293. },
  19294. "createTime": {
  19295. "type": "string",
  19296. "format": "date-time",
  19297. "description": "创建时间"
  19298. },
  19299. "experience": {
  19300. "type": "integer",
  19301. "format": "int32",
  19302. "description": "用户剩余经验"
  19303. },
  19304. "groupId": {
  19305. "type": "string",
  19306. "description": "用户分组id"
  19307. },
  19308. "integral": {
  19309. "type": "number",
  19310. "description": "用户剩余积分"
  19311. },
  19312. "isPromoter": {
  19313. "type": "boolean",
  19314. "description": "是否为推广员"
  19315. },
  19316. "lastIp": {
  19317. "type": "string",
  19318. "description": "最后一次登录ip"
  19319. },
  19320. "lastLoginTime": {
  19321. "type": "string",
  19322. "format": "date-time",
  19323. "description": "最后一次登录时间"
  19324. },
  19325. "level": {
  19326. "type": "integer",
  19327. "format": "int32",
  19328. "description": "等级"
  19329. },
  19330. "loginType": {
  19331. "type": "string",
  19332. "description": "用户登陆类型,h5,wechat,routine"
  19333. },
  19334. "mark": {
  19335. "type": "string",
  19336. "description": "用户备注"
  19337. },
  19338. "nickname": {
  19339. "type": "string",
  19340. "description": "用户昵称"
  19341. },
  19342. "nowMoney": {
  19343. "type": "number",
  19344. "description": "用户余额"
  19345. },
  19346. "partnerId": {
  19347. "type": "integer",
  19348. "format": "int32",
  19349. "description": "合伙人id"
  19350. },
  19351. "path": {
  19352. "type": "string",
  19353. "description": "用户推广等级"
  19354. },
  19355. "payCount": {
  19356. "type": "integer",
  19357. "format": "int32",
  19358. "description": "用户购买次数"
  19359. },
  19360. "phone": {
  19361. "type": "string",
  19362. "description": "手机号码"
  19363. },
  19364. "realName": {
  19365. "type": "string",
  19366. "description": "真实姓名"
  19367. },
  19368. "signNum": {
  19369. "type": "integer",
  19370. "format": "int32",
  19371. "description": "连续签到天数"
  19372. },
  19373. "spreadCount": {
  19374. "type": "integer",
  19375. "format": "int32",
  19376. "description": "下级人数"
  19377. },
  19378. "spreadTime": {
  19379. "type": "string",
  19380. "format": "date-time",
  19381. "description": "推广员关联时间"
  19382. },
  19383. "spreadUid": {
  19384. "type": "integer",
  19385. "format": "int32",
  19386. "description": "推广人id"
  19387. },
  19388. "status": {
  19389. "type": "boolean",
  19390. "description": "1为正常,0为禁止"
  19391. },
  19392. "subscribe": {
  19393. "type": "boolean",
  19394. "description": "是否关注公众号"
  19395. },
  19396. "tagId": {
  19397. "type": "string",
  19398. "description": "用户标签id"
  19399. },
  19400. "uid": {
  19401. "type": "integer",
  19402. "format": "int32",
  19403. "description": "用户id"
  19404. },
  19405. "updateTime": {
  19406. "type": "string",
  19407. "format": "date-time",
  19408. "description": "创建时间"
  19409. },
  19410. "userType": {
  19411. "type": "string",
  19412. "description": "用户类型"
  19413. }
  19414. },
  19415. "title": "User对象",
  19416. "description": "用户表",
  19417. "$$ref": "#/definitions/User对象"
  19418. },
  19419. "userAddress": {
  19420. "type": "string",
  19421. "description": "详细地址"
  19422. },
  19423. "userPhone": {
  19424. "type": "string",
  19425. "description": "用户电话"
  19426. },
  19427. "verifyCode": {
  19428. "type": "string",
  19429. "description": "核销码"
  19430. }
  19431. },
  19432. "title": "StoreOrderInfoResponse对象",
  19433. "description": "订单详情",
  19434. "$$ref": "#/definitions/StoreOrderInfoResponse对象"
  19435. },
  19436. "message": {
  19437. "type": "string"
  19438. }
  19439. },
  19440. "title": "CommonResult«StoreOrderInfoResponse对象»",
  19441. "$$ref": "#/definitions/CommonResult«StoreOrderInfoResponse对象»"
  19442. }
  19443. }
  19444. }
  19445. }
  19446. },
  19447. "/api/admin/store/order/refund": {
  19448. "get": {
  19449. "tags": [
  19450. "订单"
  19451. ],
  19452. "summary": "退款",
  19453. "consumes": [
  19454. "text/plain"
  19455. ],
  19456. "parameters": [
  19457. {
  19458. "name": "amount",
  19459. "in": "query",
  19460. "required": false,
  19461. "description": "退款金额",
  19462. "type": "string"
  19463. },
  19464. {
  19465. "name": "orderId",
  19466. "in": "query",
  19467. "required": false,
  19468. "description": "订单id",
  19469. "type": "string"
  19470. },
  19471. {
  19472. "name": "type",
  19473. "in": "query",
  19474. "required": false,
  19475. "description": "status 1 = 直接退款, 2 = 退款后,返回原状态",
  19476. "type": "string"
  19477. },
  19478. {
  19479. "name": "raw",
  19480. "in": "body",
  19481. "description": "raw paramter",
  19482. "schema": {
  19483. "type": "string",
  19484. "format": "binary"
  19485. }
  19486. }
  19487. ],
  19488. "responses": {
  19489. "200": {
  19490. "description": "successful operation",
  19491. "schema": {
  19492. "type": "object",
  19493. "properties": {
  19494. "code": {
  19495. "type": "integer",
  19496. "format": "int64"
  19497. },
  19498. "data": {
  19499. "type": "boolean"
  19500. },
  19501. "message": {
  19502. "type": "string"
  19503. }
  19504. },
  19505. "title": "CommonResult«boolean»",
  19506. "$$ref": "#/definitions/CommonResult«boolean»"
  19507. }
  19508. }
  19509. }
  19510. }
  19511. },
  19512. "/api/admin/store/order/status/update": {
  19513. "post": {
  19514. "tags": [
  19515. "订单 -- 操作记录"
  19516. ],
  19517. "summary": "修改",
  19518. "consumes": [
  19519. "application/json"
  19520. ],
  19521. "parameters": [
  19522. {
  19523. "name": "changeMessage",
  19524. "in": "query",
  19525. "required": false,
  19526. "description": "操作备注",
  19527. "type": "string"
  19528. },
  19529. {
  19530. "name": "changeTime",
  19531. "in": "query",
  19532. "required": false,
  19533. "description": "操作时间",
  19534. "type": "string"
  19535. },
  19536. {
  19537. "name": "changeType",
  19538. "in": "query",
  19539. "required": false,
  19540. "description": "操作类型",
  19541. "type": "string"
  19542. },
  19543. {
  19544. "name": "id",
  19545. "in": "query",
  19546. "required": false,
  19547. "description": "id",
  19548. "type": "string"
  19549. },
  19550. {
  19551. "name": "oid",
  19552. "in": "query",
  19553. "required": false,
  19554. "description": "订单id",
  19555. "type": "string"
  19556. }
  19557. ],
  19558. "responses": {
  19559. "200": {
  19560. "description": "successful operation",
  19561. "schema": {
  19562. "type": "object",
  19563. "properties": {
  19564. "code": {
  19565. "type": "integer",
  19566. "format": "int64"
  19567. },
  19568. "data": {
  19569. "type": "string"
  19570. },
  19571. "message": {
  19572. "type": "string"
  19573. }
  19574. },
  19575. "title": "CommonResult«string»",
  19576. "$$ref": "#/definitions/CommonResult«string»"
  19577. }
  19578. }
  19579. }
  19580. }
  19581. },
  19582. "/api/admin/store/order/status/list": {
  19583. "get": {
  19584. "tags": [
  19585. "订单 -- 操作记录"
  19586. ],
  19587. "summary": "分页列表",
  19588. "consumes": [
  19589. "text/plain"
  19590. ],
  19591. "parameters": [
  19592. {
  19593. "name": "changeMessage",
  19594. "in": "query",
  19595. "required": false,
  19596. "description": "操作备注",
  19597. "type": "string"
  19598. },
  19599. {
  19600. "name": "changeTime",
  19601. "in": "query",
  19602. "required": false,
  19603. "description": "操作时间",
  19604. "type": "string"
  19605. },
  19606. {
  19607. "name": "changeType",
  19608. "in": "query",
  19609. "required": false,
  19610. "description": "操作类型",
  19611. "type": "string"
  19612. },
  19613. {
  19614. "name": "limit",
  19615. "in": "query",
  19616. "required": false,
  19617. "description": "每页数量",
  19618. "type": "string"
  19619. },
  19620. {
  19621. "name": "oid",
  19622. "in": "query",
  19623. "required": false,
  19624. "description": "订单id",
  19625. "type": "string"
  19626. },
  19627. {
  19628. "name": "page",
  19629. "in": "query",
  19630. "required": false,
  19631. "description": "页码",
  19632. "type": "string"
  19633. },
  19634. {
  19635. "name": "raw",
  19636. "in": "body",
  19637. "description": "raw paramter",
  19638. "schema": {
  19639. "type": "string",
  19640. "format": "binary"
  19641. }
  19642. }
  19643. ],
  19644. "responses": {
  19645. "200": {
  19646. "description": "successful operation",
  19647. "schema": {
  19648. "type": "object",
  19649. "properties": {
  19650. "code": {
  19651. "type": "integer",
  19652. "format": "int64"
  19653. },
  19654. "data": {
  19655. "type": "object",
  19656. "properties": {
  19657. "limit": {
  19658. "type": "integer",
  19659. "format": "int32"
  19660. },
  19661. "list": {
  19662. "type": "array",
  19663. "items": {
  19664. "type": "object",
  19665. "properties": {
  19666. "changeMessage": {
  19667. "type": "string",
  19668. "description": "操作备注"
  19669. },
  19670. "changeType": {
  19671. "type": "string",
  19672. "description": "操作类型"
  19673. },
  19674. "createTime": {
  19675. "type": "string",
  19676. "format": "date-time",
  19677. "description": "操作时间"
  19678. },
  19679. "oid": {
  19680. "type": "integer",
  19681. "format": "int32",
  19682. "description": "订单id"
  19683. }
  19684. },
  19685. "title": "StoreOrderStatus对象",
  19686. "description": "订单操作记录表",
  19687. "$$ref": "#/definitions/StoreOrderStatus对象"
  19688. }
  19689. },
  19690. "page": {
  19691. "type": "integer",
  19692. "format": "int32"
  19693. },
  19694. "total": {
  19695. "type": "integer",
  19696. "format": "int64"
  19697. },
  19698. "totalPage": {
  19699. "type": "integer",
  19700. "format": "int32"
  19701. }
  19702. },
  19703. "title": "CommonPage«StoreOrderStatus对象»",
  19704. "$$ref": "#/definitions/CommonPage«StoreOrderStatus对象»"
  19705. },
  19706. "message": {
  19707. "type": "string"
  19708. }
  19709. },
  19710. "title": "CommonResult«CommonPage«StoreOrderStatus对象»»",
  19711. "$$ref": "#/definitions/CommonResult«CommonPage«StoreOrderStatus对象»»"
  19712. }
  19713. }
  19714. }
  19715. }
  19716. },
  19717. "/api/admin/store/order/status/delete": {
  19718. "delete": {
  19719. "tags": [
  19720. "订单 -- 操作记录"
  19721. ],
  19722. "summary": "删除",
  19723. "consumes": [
  19724. "text/plain"
  19725. ],
  19726. "parameters": [
  19727. {
  19728. "name": "id",
  19729. "in": "query",
  19730. "required": false,
  19731. "description": "id",
  19732. "type": "string"
  19733. },
  19734. {
  19735. "name": "raw",
  19736. "in": "body",
  19737. "description": "raw paramter",
  19738. "schema": {
  19739. "type": "string",
  19740. "format": "binary"
  19741. }
  19742. }
  19743. ],
  19744. "responses": {
  19745. "200": {
  19746. "description": "successful operation",
  19747. "schema": {
  19748. "type": "object",
  19749. "properties": {
  19750. "code": {
  19751. "type": "integer",
  19752. "format": "int64"
  19753. },
  19754. "data": {
  19755. "type": "string"
  19756. },
  19757. "message": {
  19758. "type": "string"
  19759. }
  19760. },
  19761. "title": "CommonResult«string»",
  19762. "$$ref": "#/definitions/CommonResult«string»"
  19763. }
  19764. }
  19765. }
  19766. }
  19767. },
  19768. "/api/admin/store/order/status/save": {
  19769. "post": {
  19770. "tags": [
  19771. "订单 -- 操作记录"
  19772. ],
  19773. "summary": "新增",
  19774. "consumes": [
  19775. "application/json"
  19776. ],
  19777. "parameters": [
  19778. {
  19779. "name": "changeMessage",
  19780. "in": "query",
  19781. "required": false,
  19782. "description": "操作备注",
  19783. "type": "string"
  19784. },
  19785. {
  19786. "name": "changeTime",
  19787. "in": "query",
  19788. "required": false,
  19789. "description": "操作时间",
  19790. "type": "string"
  19791. },
  19792. {
  19793. "name": "changeType",
  19794. "in": "query",
  19795. "required": false,
  19796. "description": "操作类型",
  19797. "type": "string"
  19798. },
  19799. {
  19800. "name": "oid",
  19801. "in": "query",
  19802. "required": false,
  19803. "description": "订单id",
  19804. "type": "string"
  19805. }
  19806. ],
  19807. "responses": {
  19808. "200": {
  19809. "description": "successful operation",
  19810. "schema": {
  19811. "type": "object",
  19812. "properties": {
  19813. "code": {
  19814. "type": "integer",
  19815. "format": "int64"
  19816. },
  19817. "data": {
  19818. "type": "string"
  19819. },
  19820. "message": {
  19821. "type": "string"
  19822. }
  19823. },
  19824. "title": "CommonResult«string»",
  19825. "$$ref": "#/definitions/CommonResult«string»"
  19826. }
  19827. }
  19828. }
  19829. }
  19830. },
  19831. "/api/admin/store/order/status/info": {
  19832. "get": {
  19833. "tags": [
  19834. "订单 -- 操作记录"
  19835. ],
  19836. "summary": "详情",
  19837. "consumes": [
  19838. "text/plain"
  19839. ],
  19840. "parameters": [
  19841. {
  19842. "name": "id",
  19843. "in": "query",
  19844. "required": false,
  19845. "description": "id",
  19846. "type": "string"
  19847. },
  19848. {
  19849. "name": "raw",
  19850. "in": "body",
  19851. "description": "raw paramter",
  19852. "schema": {
  19853. "type": "string",
  19854. "format": "binary"
  19855. }
  19856. }
  19857. ],
  19858. "responses": {
  19859. "200": {
  19860. "description": "successful operation",
  19861. "schema": {
  19862. "type": "object",
  19863. "properties": {
  19864. "code": {
  19865. "type": "integer",
  19866. "format": "int64"
  19867. },
  19868. "data": {
  19869. "type": "object",
  19870. "properties": {
  19871. "changeMessage": {
  19872. "type": "string",
  19873. "description": "操作备注"
  19874. },
  19875. "changeType": {
  19876. "type": "string",
  19877. "description": "操作类型"
  19878. },
  19879. "createTime": {
  19880. "type": "string",
  19881. "format": "date-time",
  19882. "description": "操作时间"
  19883. },
  19884. "oid": {
  19885. "type": "integer",
  19886. "format": "int32",
  19887. "description": "订单id"
  19888. }
  19889. },
  19890. "title": "StoreOrderStatus对象",
  19891. "description": "订单操作记录表",
  19892. "$$ref": "#/definitions/StoreOrderStatus对象"
  19893. },
  19894. "message": {
  19895. "type": "string"
  19896. }
  19897. },
  19898. "title": "CommonResult«StoreOrderStatus对象»",
  19899. "$$ref": "#/definitions/CommonResult«StoreOrderStatus对象»"
  19900. }
  19901. }
  19902. }
  19903. }
  19904. },
  19905. "/api/admin/system/config/save/form": {
  19906. "post": {
  19907. "tags": [
  19908. "设置 -- Config"
  19909. ],
  19910. "summary": "整体保存表单数据",
  19911. "consumes": [
  19912. "application/json"
  19913. ],
  19914. "parameters": [
  19915. {
  19916. "name": "root",
  19917. "in": "body",
  19918. "description": "整体保存表单数据",
  19919. "schema": {
  19920. "type": "object",
  19921. "required": [
  19922. "fields",
  19923. "id",
  19924. "sort"
  19925. ],
  19926. "properties": {
  19927. "fields": {
  19928. "type": "array",
  19929. "description": "字段值列表",
  19930. "items": {
  19931. "type": "object",
  19932. "required": [
  19933. "name",
  19934. "title",
  19935. "value"
  19936. ],
  19937. "properties": {
  19938. "name": {
  19939. "type": "string",
  19940. "description": "字段名称"
  19941. },
  19942. "title": {
  19943. "type": "string",
  19944. "description": "字段显示文字"
  19945. },
  19946. "value": {
  19947. "type": "string",
  19948. "description": "字段值"
  19949. }
  19950. },
  19951. "title": "SystemFormItemCheckRequest对象",
  19952. "description": "表单字段明细",
  19953. "$$ref": "#/definitions/SystemFormItemCheckRequest对象"
  19954. }
  19955. },
  19956. "id": {
  19957. "type": "integer",
  19958. "format": "int32",
  19959. "description": "表单名称"
  19960. },
  19961. "sort": {
  19962. "type": "integer",
  19963. "format": "int32",
  19964. "description": "排序"
  19965. },
  19966. "status": {
  19967. "type": "boolean",
  19968. "description": "状态(1:开启;0:关闭;)"
  19969. }
  19970. },
  19971. "title": "SystemFormCheckRequest对象",
  19972. "description": "整体保存表单数据",
  19973. "$$ref": "#/definitions/SystemFormCheckRequest对象"
  19974. }
  19975. }
  19976. ],
  19977. "responses": {
  19978. "200": {
  19979. "description": "successful operation",
  19980. "schema": {
  19981. "type": "object",
  19982. "properties": {
  19983. "code": {
  19984. "type": "integer",
  19985. "format": "int64"
  19986. },
  19987. "data": {
  19988. "type": "string"
  19989. },
  19990. "message": {
  19991. "type": "string"
  19992. }
  19993. },
  19994. "title": "CommonResult«string»",
  19995. "$$ref": "#/definitions/CommonResult«string»"
  19996. }
  19997. }
  19998. }
  19999. }
  20000. },
  20001. "/api/admin/system/config/check": {
  20002. "get": {
  20003. "tags": [
  20004. "设置 -- Config"
  20005. ],
  20006. "summary": "检测表单name是否存在",
  20007. "consumes": [
  20008. "text/plain"
  20009. ],
  20010. "parameters": [
  20011. {
  20012. "name": "name",
  20013. "in": "query",
  20014. "required": false,
  20015. "description": "name",
  20016. "type": "string"
  20017. },
  20018. {
  20019. "name": "raw",
  20020. "in": "body",
  20021. "description": "raw paramter",
  20022. "schema": {
  20023. "type": "string",
  20024. "format": "binary"
  20025. }
  20026. }
  20027. ],
  20028. "responses": {
  20029. "200": {
  20030. "description": "successful operation",
  20031. "schema": {
  20032. "type": "object",
  20033. "properties": {
  20034. "code": {
  20035. "type": "integer",
  20036. "format": "int64"
  20037. },
  20038. "data": {
  20039. "type": "boolean"
  20040. },
  20041. "message": {
  20042. "type": "string"
  20043. }
  20044. },
  20045. "title": "CommonResult«boolean»",
  20046. "$$ref": "#/definitions/CommonResult«boolean»"
  20047. }
  20048. }
  20049. }
  20050. }
  20051. },
  20052. "/api/admin/system/config/saveuniq": {
  20053. "post": {
  20054. "tags": [
  20055. "设置 -- Config"
  20056. ],
  20057. "summary": "表单配置中仅仅存储",
  20058. "consumes": [
  20059. "application/json"
  20060. ],
  20061. "parameters": [
  20062. {
  20063. "name": "key",
  20064. "in": "query",
  20065. "required": false,
  20066. "description": "key",
  20067. "type": "string"
  20068. },
  20069. {
  20070. "name": "value",
  20071. "in": "query",
  20072. "required": false,
  20073. "description": "value",
  20074. "type": "string"
  20075. }
  20076. ],
  20077. "responses": {
  20078. "200": {
  20079. "description": "successful operation",
  20080. "schema": {
  20081. "type": "object",
  20082. "properties": {
  20083. "code": {
  20084. "type": "integer",
  20085. "format": "int64"
  20086. },
  20087. "data": {
  20088. "type": "boolean"
  20089. },
  20090. "message": {
  20091. "type": "string"
  20092. }
  20093. },
  20094. "title": "CommonResult«boolean»",
  20095. "$$ref": "#/definitions/CommonResult«boolean»"
  20096. }
  20097. }
  20098. }
  20099. }
  20100. },
  20101. "/api/admin/system/config/getuniq": {
  20102. "get": {
  20103. "tags": [
  20104. "设置 -- Config"
  20105. ],
  20106. "summary": "表单配置根据key获取",
  20107. "consumes": [
  20108. "text/plain"
  20109. ],
  20110. "parameters": [
  20111. {
  20112. "name": "key",
  20113. "in": "query",
  20114. "required": false,
  20115. "description": "key",
  20116. "type": "string"
  20117. },
  20118. {
  20119. "name": "raw",
  20120. "in": "body",
  20121. "description": "raw paramter",
  20122. "schema": {
  20123. "type": "string",
  20124. "format": "binary"
  20125. }
  20126. }
  20127. ],
  20128. "responses": {
  20129. "200": {
  20130. "description": "successful operation",
  20131. "schema": {
  20132. "type": "object",
  20133. "properties": {
  20134. "code": {
  20135. "type": "integer",
  20136. "format": "int64"
  20137. },
  20138. "data": {
  20139. "type": "object"
  20140. },
  20141. "message": {
  20142. "type": "string"
  20143. }
  20144. },
  20145. "title": "CommonResult«object»",
  20146. "$$ref": "#/definitions/CommonResult«object»"
  20147. }
  20148. }
  20149. }
  20150. }
  20151. },
  20152. "/api/admin/system/config/info": {
  20153. "get": {
  20154. "tags": [
  20155. "设置 -- Config"
  20156. ],
  20157. "summary": "详情",
  20158. "consumes": [
  20159. "text/plain"
  20160. ],
  20161. "parameters": [
  20162. {
  20163. "name": "formId",
  20164. "in": "query",
  20165. "required": false,
  20166. "description": "formId",
  20167. "type": "string"
  20168. },
  20169. {
  20170. "name": "raw",
  20171. "in": "body",
  20172. "description": "raw paramter",
  20173. "schema": {
  20174. "type": "string",
  20175. "format": "binary"
  20176. }
  20177. }
  20178. ],
  20179. "responses": {
  20180. "200": {
  20181. "description": "successful operation",
  20182. "schema": {
  20183. "type": "object",
  20184. "properties": {
  20185. "code": {
  20186. "type": "integer",
  20187. "format": "int64"
  20188. },
  20189. "data": {
  20190. "type": "object",
  20191. "additionalProperties": {
  20192. "type": "string"
  20193. }
  20194. },
  20195. "message": {
  20196. "type": "string"
  20197. }
  20198. },
  20199. "title": "CommonResult«HashMap«string,string»»",
  20200. "$$ref": "#/definitions/CommonResult«HashMap«string,string»»"
  20201. }
  20202. }
  20203. }
  20204. }
  20205. },
  20206. "/api/admin/system/user/level/update": {
  20207. "post": {
  20208. "tags": [
  20209. "设置 -- 会员等级"
  20210. ],
  20211. "summary": "修改",
  20212. "consumes": [
  20213. "application/json"
  20214. ],
  20215. "parameters": [
  20216. {
  20217. "name": "id",
  20218. "in": "query",
  20219. "required": false,
  20220. "description": "id",
  20221. "type": "string"
  20222. },
  20223. {
  20224. "name": "root",
  20225. "in": "body",
  20226. "description": "设置用户等级表",
  20227. "schema": {
  20228. "type": "object",
  20229. "properties": {
  20230. "discount": {
  20231. "type": "number",
  20232. "description": "享受折扣"
  20233. },
  20234. "experience": {
  20235. "type": "integer",
  20236. "format": "int32",
  20237. "description": "达到多少升级经验"
  20238. },
  20239. "grade": {
  20240. "type": "integer",
  20241. "format": "int32",
  20242. "description": "会员等级"
  20243. },
  20244. "icon": {
  20245. "type": "string",
  20246. "description": "会员图标"
  20247. },
  20248. "image": {
  20249. "type": "string",
  20250. "description": "会员卡背景"
  20251. },
  20252. "isShow": {
  20253. "type": "boolean",
  20254. "description": "是否显示 1=显示,0=隐藏"
  20255. },
  20256. "memo": {
  20257. "type": "string",
  20258. "description": "说明"
  20259. },
  20260. "name": {
  20261. "type": "string",
  20262. "description": "会员名称"
  20263. }
  20264. },
  20265. "title": "SystemUserLevelRequest对象",
  20266. "description": "设置用户等级表",
  20267. "$$ref": "#/definitions/SystemUserLevelRequest对象"
  20268. }
  20269. }
  20270. ],
  20271. "responses": {
  20272. "200": {
  20273. "description": "successful operation",
  20274. "schema": {
  20275. "type": "object",
  20276. "properties": {
  20277. "code": {
  20278. "type": "integer",
  20279. "format": "int64"
  20280. },
  20281. "data": {
  20282. "type": "string"
  20283. },
  20284. "message": {
  20285. "type": "string"
  20286. }
  20287. },
  20288. "title": "CommonResult«string»",
  20289. "$$ref": "#/definitions/CommonResult«string»"
  20290. }
  20291. }
  20292. }
  20293. }
  20294. },
  20295. "/api/admin/system/user/level/list": {
  20296. "get": {
  20297. "tags": [
  20298. "设置 -- 会员等级"
  20299. ],
  20300. "summary": "分页列表",
  20301. "consumes": [
  20302. "text/plain"
  20303. ],
  20304. "parameters": [
  20305. {
  20306. "name": "isDel",
  20307. "in": "query",
  20308. "required": false,
  20309. "description": "是否删除.1=删除,0=未删除",
  20310. "type": "string"
  20311. },
  20312. {
  20313. "name": "isShow",
  20314. "in": "query",
  20315. "required": false,
  20316. "description": "是否显示 1=显示,0=隐藏",
  20317. "type": "string"
  20318. },
  20319. {
  20320. "name": "limit",
  20321. "in": "query",
  20322. "required": false,
  20323. "description": "每页数量",
  20324. "type": "string"
  20325. },
  20326. {
  20327. "name": "name",
  20328. "in": "query",
  20329. "required": false,
  20330. "description": "会员名称",
  20331. "type": "string"
  20332. },
  20333. {
  20334. "name": "page",
  20335. "in": "query",
  20336. "required": false,
  20337. "description": "页码",
  20338. "type": "string"
  20339. },
  20340. {
  20341. "name": "raw",
  20342. "in": "body",
  20343. "description": "raw paramter",
  20344. "schema": {
  20345. "type": "string",
  20346. "format": "binary"
  20347. }
  20348. }
  20349. ],
  20350. "responses": {
  20351. "200": {
  20352. "description": "successful operation",
  20353. "schema": {
  20354. "type": "object",
  20355. "properties": {
  20356. "code": {
  20357. "type": "integer",
  20358. "format": "int64"
  20359. },
  20360. "data": {
  20361. "type": "object",
  20362. "properties": {
  20363. "limit": {
  20364. "type": "integer",
  20365. "format": "int32"
  20366. },
  20367. "list": {
  20368. "type": "array",
  20369. "items": {
  20370. "type": "object",
  20371. "properties": {
  20372. "createTime": {
  20373. "type": "string",
  20374. "format": "date-time",
  20375. "description": "创建时间"
  20376. },
  20377. "discount": {
  20378. "type": "number",
  20379. "description": "享受折扣"
  20380. },
  20381. "experience": {
  20382. "type": "integer",
  20383. "format": "int32",
  20384. "description": "购买金额|经验达到"
  20385. },
  20386. "grade": {
  20387. "type": "integer",
  20388. "format": "int32",
  20389. "description": "会员等级"
  20390. },
  20391. "icon": {
  20392. "type": "string",
  20393. "description": "会员图标"
  20394. },
  20395. "id": {
  20396. "type": "integer",
  20397. "format": "int32"
  20398. },
  20399. "image": {
  20400. "type": "string",
  20401. "description": "会员卡背景"
  20402. },
  20403. "isDel": {
  20404. "type": "boolean",
  20405. "description": "是否删除.1=删除,0=未删除"
  20406. },
  20407. "isShow": {
  20408. "type": "boolean",
  20409. "description": "是否显示 1=显示,0=隐藏"
  20410. },
  20411. "memo": {
  20412. "type": "string",
  20413. "description": "说明"
  20414. },
  20415. "name": {
  20416. "type": "string",
  20417. "description": "会员名称"
  20418. },
  20419. "updateTime": {
  20420. "type": "string",
  20421. "format": "date-time",
  20422. "description": "创建时间"
  20423. }
  20424. },
  20425. "title": "SystemUserLevel对象",
  20426. "description": "设置用户等级表",
  20427. "$$ref": "#/definitions/SystemUserLevel对象"
  20428. }
  20429. },
  20430. "page": {
  20431. "type": "integer",
  20432. "format": "int32"
  20433. },
  20434. "total": {
  20435. "type": "integer",
  20436. "format": "int64"
  20437. },
  20438. "totalPage": {
  20439. "type": "integer",
  20440. "format": "int32"
  20441. }
  20442. },
  20443. "title": "CommonPage«SystemUserLevel对象»",
  20444. "$$ref": "#/definitions/CommonPage«SystemUserLevel对象»"
  20445. },
  20446. "message": {
  20447. "type": "string"
  20448. }
  20449. },
  20450. "title": "CommonResult«CommonPage«SystemUserLevel对象»»",
  20451. "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»"
  20452. }
  20453. }
  20454. }
  20455. }
  20456. },
  20457. "/api/admin/system/user/level/delete": {
  20458. "get": {
  20459. "tags": [
  20460. "设置 -- 会员等级"
  20461. ],
  20462. "summary": "删除",
  20463. "consumes": [
  20464. "text/plain"
  20465. ],
  20466. "parameters": [
  20467. {
  20468. "name": "id",
  20469. "in": "query",
  20470. "required": false,
  20471. "description": "id",
  20472. "type": "string"
  20473. },
  20474. {
  20475. "name": "raw",
  20476. "in": "body",
  20477. "description": "raw paramter",
  20478. "schema": {
  20479. "type": "string",
  20480. "format": "binary"
  20481. }
  20482. }
  20483. ],
  20484. "responses": {
  20485. "200": {
  20486. "description": "successful operation",
  20487. "schema": {
  20488. "type": "object",
  20489. "properties": {
  20490. "code": {
  20491. "type": "integer",
  20492. "format": "int64"
  20493. },
  20494. "data": {
  20495. "type": "string"
  20496. },
  20497. "message": {
  20498. "type": "string"
  20499. }
  20500. },
  20501. "title": "CommonResult«string»",
  20502. "$$ref": "#/definitions/CommonResult«string»"
  20503. }
  20504. }
  20505. }
  20506. }
  20507. },
  20508. "/api/admin/system/user/level/save": {
  20509. "post": {
  20510. "tags": [
  20511. "设置 -- 会员等级"
  20512. ],
  20513. "summary": "新增",
  20514. "consumes": [
  20515. "application/json"
  20516. ],
  20517. "parameters": [
  20518. {
  20519. "name": "root",
  20520. "in": "body",
  20521. "description": "设置用户等级表",
  20522. "schema": {
  20523. "type": "object",
  20524. "properties": {
  20525. "discount": {
  20526. "type": "number",
  20527. "description": "享受折扣"
  20528. },
  20529. "experience": {
  20530. "type": "integer",
  20531. "format": "int32",
  20532. "description": "达到多少升级经验"
  20533. },
  20534. "grade": {
  20535. "type": "integer",
  20536. "format": "int32",
  20537. "description": "会员等级"
  20538. },
  20539. "icon": {
  20540. "type": "string",
  20541. "description": "会员图标"
  20542. },
  20543. "image": {
  20544. "type": "string",
  20545. "description": "会员卡背景"
  20546. },
  20547. "isShow": {
  20548. "type": "boolean",
  20549. "description": "是否显示 1=显示,0=隐藏"
  20550. },
  20551. "memo": {
  20552. "type": "string",
  20553. "description": "说明"
  20554. },
  20555. "name": {
  20556. "type": "string",
  20557. "description": "会员名称"
  20558. }
  20559. },
  20560. "title": "SystemUserLevelRequest对象",
  20561. "description": "设置用户等级表",
  20562. "$$ref": "#/definitions/SystemUserLevelRequest对象"
  20563. }
  20564. }
  20565. ],
  20566. "responses": {
  20567. "200": {
  20568. "description": "successful operation",
  20569. "schema": {
  20570. "type": "object",
  20571. "properties": {
  20572. "code": {
  20573. "type": "integer",
  20574. "format": "int64"
  20575. },
  20576. "data": {
  20577. "type": "string"
  20578. },
  20579. "message": {
  20580. "type": "string"
  20581. }
  20582. },
  20583. "title": "CommonResult«string»",
  20584. "$$ref": "#/definitions/CommonResult«string»"
  20585. }
  20586. }
  20587. }
  20588. }
  20589. },
  20590. "/api/admin/system/user/level/use": {
  20591. "get": {
  20592. "tags": [
  20593. "设置 -- 会员等级"
  20594. ],
  20595. "summary": "是否使用",
  20596. "consumes": [
  20597. "text/plain"
  20598. ],
  20599. "parameters": [
  20600. {
  20601. "name": "id",
  20602. "in": "query",
  20603. "required": false,
  20604. "description": "id",
  20605. "type": "string"
  20606. },
  20607. {
  20608. "name": "value",
  20609. "in": "query",
  20610. "required": false,
  20611. "description": "是否使用, 1=是,0=否",
  20612. "type": "string"
  20613. },
  20614. {
  20615. "name": "raw",
  20616. "in": "body",
  20617. "description": "raw paramter",
  20618. "schema": {
  20619. "type": "string",
  20620. "format": "binary"
  20621. }
  20622. }
  20623. ],
  20624. "responses": {
  20625. "200": {
  20626. "description": "successful operation",
  20627. "schema": {
  20628. "type": "object",
  20629. "properties": {
  20630. "code": {
  20631. "type": "integer",
  20632. "format": "int64"
  20633. },
  20634. "data": {
  20635. "type": "string"
  20636. },
  20637. "message": {
  20638. "type": "string"
  20639. }
  20640. },
  20641. "title": "CommonResult«string»",
  20642. "$$ref": "#/definitions/CommonResult«string»"
  20643. }
  20644. }
  20645. }
  20646. }
  20647. },
  20648. "/api/admin/system/user/level/info": {
  20649. "get": {
  20650. "tags": [
  20651. "设置 -- 会员等级"
  20652. ],
  20653. "summary": "详情",
  20654. "consumes": [
  20655. "text/plain"
  20656. ],
  20657. "parameters": [
  20658. {
  20659. "name": "id",
  20660. "in": "query",
  20661. "required": false,
  20662. "description": "id",
  20663. "type": "string"
  20664. },
  20665. {
  20666. "name": "raw",
  20667. "in": "body",
  20668. "description": "raw paramter",
  20669. "schema": {
  20670. "type": "string",
  20671. "format": "binary"
  20672. }
  20673. }
  20674. ],
  20675. "responses": {
  20676. "200": {
  20677. "description": "successful operation",
  20678. "schema": {
  20679. "type": "object",
  20680. "properties": {
  20681. "code": {
  20682. "type": "integer",
  20683. "format": "int64"
  20684. },
  20685. "data": {
  20686. "type": "object",
  20687. "properties": {
  20688. "createTime": {
  20689. "type": "string",
  20690. "format": "date-time",
  20691. "description": "创建时间"
  20692. },
  20693. "discount": {
  20694. "type": "number",
  20695. "description": "享受折扣"
  20696. },
  20697. "experience": {
  20698. "type": "integer",
  20699. "format": "int32",
  20700. "description": "购买金额|经验达到"
  20701. },
  20702. "grade": {
  20703. "type": "integer",
  20704. "format": "int32",
  20705. "description": "会员等级"
  20706. },
  20707. "icon": {
  20708. "type": "string",
  20709. "description": "会员图标"
  20710. },
  20711. "id": {
  20712. "type": "integer",
  20713. "format": "int32"
  20714. },
  20715. "image": {
  20716. "type": "string",
  20717. "description": "会员卡背景"
  20718. },
  20719. "isDel": {
  20720. "type": "boolean",
  20721. "description": "是否删除.1=删除,0=未删除"
  20722. },
  20723. "isShow": {
  20724. "type": "boolean",
  20725. "description": "是否显示 1=显示,0=隐藏"
  20726. },
  20727. "memo": {
  20728. "type": "string",
  20729. "description": "说明"
  20730. },
  20731. "name": {
  20732. "type": "string",
  20733. "description": "会员名称"
  20734. },
  20735. "updateTime": {
  20736. "type": "string",
  20737. "format": "date-time",
  20738. "description": "创建时间"
  20739. }
  20740. },
  20741. "title": "SystemUserLevel对象",
  20742. "description": "设置用户等级表",
  20743. "$$ref": "#/definitions/SystemUserLevel对象"
  20744. },
  20745. "message": {
  20746. "type": "string"
  20747. }
  20748. },
  20749. "title": "CommonResult«SystemUserLevel对象»",
  20750. "$$ref": "#/definitions/CommonResult«SystemUserLevel对象»"
  20751. }
  20752. }
  20753. }
  20754. }
  20755. },
  20756. "/api/admin/system/user/task/update": {
  20757. "post": {
  20758. "tags": [
  20759. "设置 -- 会员等级 -- 等级任务"
  20760. ],
  20761. "summary": "修改",
  20762. "consumes": [
  20763. "application/json"
  20764. ],
  20765. "parameters": [
  20766. {
  20767. "name": "addTime",
  20768. "in": "query",
  20769. "required": false,
  20770. "description": "新增时间",
  20771. "type": "string"
  20772. },
  20773. {
  20774. "name": "id",
  20775. "in": "query",
  20776. "required": false,
  20777. "description": "id",
  20778. "type": "string"
  20779. },
  20780. {
  20781. "name": "id",
  20782. "in": "query",
  20783. "required": false,
  20784. "type": "string"
  20785. },
  20786. {
  20787. "name": "illustrate",
  20788. "in": "query",
  20789. "required": false,
  20790. "description": "任务说明",
  20791. "type": "string"
  20792. },
  20793. {
  20794. "name": "isMust",
  20795. "in": "query",
  20796. "required": false,
  20797. "description": "是否务必达成任务,1务必达成,0=满足其一",
  20798. "type": "string"
  20799. },
  20800. {
  20801. "name": "isShow",
  20802. "in": "query",
  20803. "required": false,
  20804. "description": "是否显示",
  20805. "type": "string"
  20806. },
  20807. {
  20808. "name": "levelId",
  20809. "in": "query",
  20810. "required": false,
  20811. "description": "等级id",
  20812. "type": "string"
  20813. },
  20814. {
  20815. "name": "name",
  20816. "in": "query",
  20817. "required": false,
  20818. "description": "任务名称",
  20819. "type": "string"
  20820. },
  20821. {
  20822. "name": "number",
  20823. "in": "query",
  20824. "required": false,
  20825. "description": "限定数",
  20826. "type": "string"
  20827. },
  20828. {
  20829. "name": "realName",
  20830. "in": "query",
  20831. "required": false,
  20832. "description": "配置原名",
  20833. "type": "string"
  20834. },
  20835. {
  20836. "name": "sort",
  20837. "in": "query",
  20838. "required": false,
  20839. "description": "排序",
  20840. "type": "string"
  20841. },
  20842. {
  20843. "name": "taskType",
  20844. "in": "query",
  20845. "required": false,
  20846. "description": "任务类型",
  20847. "type": "string"
  20848. }
  20849. ],
  20850. "responses": {
  20851. "200": {
  20852. "description": "successful operation",
  20853. "schema": {
  20854. "type": "object",
  20855. "properties": {
  20856. "code": {
  20857. "type": "integer",
  20858. "format": "int64"
  20859. },
  20860. "data": {
  20861. "type": "string"
  20862. },
  20863. "message": {
  20864. "type": "string"
  20865. }
  20866. },
  20867. "title": "CommonResult«string»",
  20868. "$$ref": "#/definitions/CommonResult«string»"
  20869. }
  20870. }
  20871. }
  20872. }
  20873. },
  20874. "/api/admin/system/user/task/list": {
  20875. "get": {
  20876. "tags": [
  20877. "设置 -- 会员等级 -- 等级任务"
  20878. ],
  20879. "summary": "分页列表",
  20880. "consumes": [
  20881. "text/plain"
  20882. ],
  20883. "parameters": [
  20884. {
  20885. "name": "addTime",
  20886. "in": "query",
  20887. "required": false,
  20888. "description": "新增时间",
  20889. "type": "string"
  20890. },
  20891. {
  20892. "name": "id",
  20893. "in": "query",
  20894. "required": false,
  20895. "type": "string"
  20896. },
  20897. {
  20898. "name": "illustrate",
  20899. "in": "query",
  20900. "required": false,
  20901. "description": "任务说明",
  20902. "type": "string"
  20903. },
  20904. {
  20905. "name": "isMust",
  20906. "in": "query",
  20907. "required": false,
  20908. "description": "是否务必达成任务,1务必达成,0=满足其一",
  20909. "type": "string"
  20910. },
  20911. {
  20912. "name": "isShow",
  20913. "in": "query",
  20914. "required": false,
  20915. "description": "是否显示",
  20916. "type": "string"
  20917. },
  20918. {
  20919. "name": "levelId",
  20920. "in": "query",
  20921. "required": false,
  20922. "description": "等级id",
  20923. "type": "string"
  20924. },
  20925. {
  20926. "name": "limit",
  20927. "in": "query",
  20928. "required": false,
  20929. "description": "每页数量",
  20930. "type": "string"
  20931. },
  20932. {
  20933. "name": "name",
  20934. "in": "query",
  20935. "required": false,
  20936. "description": "任务名称",
  20937. "type": "string"
  20938. },
  20939. {
  20940. "name": "number",
  20941. "in": "query",
  20942. "required": false,
  20943. "description": "限定数",
  20944. "type": "string"
  20945. },
  20946. {
  20947. "name": "page",
  20948. "in": "query",
  20949. "required": false,
  20950. "description": "页码",
  20951. "type": "string"
  20952. },
  20953. {
  20954. "name": "realName",
  20955. "in": "query",
  20956. "required": false,
  20957. "description": "配置原名",
  20958. "type": "string"
  20959. },
  20960. {
  20961. "name": "sort",
  20962. "in": "query",
  20963. "required": false,
  20964. "description": "排序",
  20965. "type": "string"
  20966. },
  20967. {
  20968. "name": "taskType",
  20969. "in": "query",
  20970. "required": false,
  20971. "description": "任务类型",
  20972. "type": "string"
  20973. },
  20974. {
  20975. "name": "raw",
  20976. "in": "body",
  20977. "description": "raw paramter",
  20978. "schema": {
  20979. "type": "string",
  20980. "format": "binary"
  20981. }
  20982. }
  20983. ],
  20984. "responses": {
  20985. "200": {
  20986. "description": "successful operation",
  20987. "schema": {
  20988. "type": "object",
  20989. "properties": {
  20990. "code": {
  20991. "type": "integer",
  20992. "format": "int64"
  20993. },
  20994. "data": {
  20995. "type": "object",
  20996. "properties": {
  20997. "limit": {
  20998. "type": "integer",
  20999. "format": "int32"
  21000. },
  21001. "list": {
  21002. "type": "array",
  21003. "items": {
  21004. "type": "object",
  21005. "properties": {
  21006. "addTime": {
  21007. "type": "integer",
  21008. "format": "int32",
  21009. "description": "新增时间"
  21010. },
  21011. "id": {
  21012. "type": "integer",
  21013. "format": "int32"
  21014. },
  21015. "illustrate": {
  21016. "type": "string",
  21017. "description": "任务说明"
  21018. },
  21019. "isMust": {
  21020. "type": "boolean",
  21021. "description": "是否务必达成任务,1务必达成,0=满足其一"
  21022. },
  21023. "isShow": {
  21024. "type": "boolean",
  21025. "description": "是否显示"
  21026. },
  21027. "levelId": {
  21028. "type": "integer",
  21029. "format": "int32",
  21030. "description": "等级id"
  21031. },
  21032. "name": {
  21033. "type": "string",
  21034. "description": "任务名称"
  21035. },
  21036. "number": {
  21037. "type": "integer",
  21038. "format": "int32",
  21039. "description": "限定数"
  21040. },
  21041. "realName": {
  21042. "type": "string",
  21043. "description": "配置原名"
  21044. },
  21045. "sort": {
  21046. "type": "integer",
  21047. "format": "int32",
  21048. "description": "排序"
  21049. },
  21050. "taskType": {
  21051. "type": "string",
  21052. "description": "任务类型"
  21053. }
  21054. },
  21055. "title": "SystemUserTask对象",
  21056. "description": "等级任务设置",
  21057. "$$ref": "#/definitions/SystemUserTask对象"
  21058. }
  21059. },
  21060. "page": {
  21061. "type": "integer",
  21062. "format": "int32"
  21063. },
  21064. "total": {
  21065. "type": "integer",
  21066. "format": "int64"
  21067. },
  21068. "totalPage": {
  21069. "type": "integer",
  21070. "format": "int32"
  21071. }
  21072. },
  21073. "title": "CommonPage«SystemUserTask对象»",
  21074. "$$ref": "#/definitions/CommonPage«SystemUserTask对象»"
  21075. },
  21076. "message": {
  21077. "type": "string"
  21078. }
  21079. },
  21080. "title": "CommonResult«CommonPage«SystemUserTask对象»»",
  21081. "$$ref": "#/definitions/CommonResult«CommonPage«SystemUserTask对象»»"
  21082. }
  21083. }
  21084. }
  21085. }
  21086. },
  21087. "/api/admin/system/user/task/delete": {
  21088. "get": {
  21089. "tags": [
  21090. "设置 -- 会员等级 -- 等级任务"
  21091. ],
  21092. "summary": "删除",
  21093. "consumes": [
  21094. "text/plain"
  21095. ],
  21096. "parameters": [
  21097. {
  21098. "name": "id",
  21099. "in": "query",
  21100. "required": false,
  21101. "description": "id",
  21102. "type": "string"
  21103. },
  21104. {
  21105. "name": "raw",
  21106. "in": "body",
  21107. "description": "raw paramter",
  21108. "schema": {
  21109. "type": "string",
  21110. "format": "binary"
  21111. }
  21112. }
  21113. ],
  21114. "responses": {
  21115. "200": {
  21116. "description": "successful operation",
  21117. "schema": {
  21118. "type": "object",
  21119. "properties": {
  21120. "code": {
  21121. "type": "integer",
  21122. "format": "int64"
  21123. },
  21124. "data": {
  21125. "type": "string"
  21126. },
  21127. "message": {
  21128. "type": "string"
  21129. }
  21130. },
  21131. "title": "CommonResult«string»",
  21132. "$$ref": "#/definitions/CommonResult«string»"
  21133. }
  21134. }
  21135. }
  21136. }
  21137. },
  21138. "/api/admin/system/user/task/save": {
  21139. "post": {
  21140. "tags": [
  21141. "设置 -- 会员等级 -- 等级任务"
  21142. ],
  21143. "summary": "新增",
  21144. "consumes": [
  21145. "application/json"
  21146. ],
  21147. "parameters": [
  21148. {
  21149. "name": "addTime",
  21150. "in": "query",
  21151. "required": false,
  21152. "description": "新增时间",
  21153. "type": "string"
  21154. },
  21155. {
  21156. "name": "id",
  21157. "in": "query",
  21158. "required": false,
  21159. "type": "string"
  21160. },
  21161. {
  21162. "name": "illustrate",
  21163. "in": "query",
  21164. "required": false,
  21165. "description": "任务说明",
  21166. "type": "string"
  21167. },
  21168. {
  21169. "name": "isMust",
  21170. "in": "query",
  21171. "required": false,
  21172. "description": "是否务必达成任务,1务必达成,0=满足其一",
  21173. "type": "string"
  21174. },
  21175. {
  21176. "name": "isShow",
  21177. "in": "query",
  21178. "required": false,
  21179. "description": "是否显示",
  21180. "type": "string"
  21181. },
  21182. {
  21183. "name": "levelId",
  21184. "in": "query",
  21185. "required": false,
  21186. "description": "等级id",
  21187. "type": "string"
  21188. },
  21189. {
  21190. "name": "name",
  21191. "in": "query",
  21192. "required": false,
  21193. "description": "任务名称",
  21194. "type": "string"
  21195. },
  21196. {
  21197. "name": "number",
  21198. "in": "query",
  21199. "required": false,
  21200. "description": "限定数",
  21201. "type": "string"
  21202. },
  21203. {
  21204. "name": "realName",
  21205. "in": "query",
  21206. "required": false,
  21207. "description": "配置原名",
  21208. "type": "string"
  21209. },
  21210. {
  21211. "name": "sort",
  21212. "in": "query",
  21213. "required": false,
  21214. "description": "排序",
  21215. "type": "string"
  21216. },
  21217. {
  21218. "name": "taskType",
  21219. "in": "query",
  21220. "required": false,
  21221. "description": "任务类型",
  21222. "type": "string"
  21223. }
  21224. ],
  21225. "responses": {
  21226. "200": {
  21227. "description": "successful operation",
  21228. "schema": {
  21229. "type": "object",
  21230. "properties": {
  21231. "code": {
  21232. "type": "integer",
  21233. "format": "int64"
  21234. },
  21235. "data": {
  21236. "type": "string"
  21237. },
  21238. "message": {
  21239. "type": "string"
  21240. }
  21241. },
  21242. "title": "CommonResult«string»",
  21243. "$$ref": "#/definitions/CommonResult«string»"
  21244. }
  21245. }
  21246. }
  21247. }
  21248. },
  21249. "/api/admin/system/user/task/info": {
  21250. "get": {
  21251. "tags": [
  21252. "设置 -- 会员等级 -- 等级任务"
  21253. ],
  21254. "summary": "详情",
  21255. "consumes": [
  21256. "text/plain"
  21257. ],
  21258. "parameters": [
  21259. {
  21260. "name": "id",
  21261. "in": "query",
  21262. "required": false,
  21263. "description": "id",
  21264. "type": "string"
  21265. },
  21266. {
  21267. "name": "raw",
  21268. "in": "body",
  21269. "description": "raw paramter",
  21270. "schema": {
  21271. "type": "string",
  21272. "format": "binary"
  21273. }
  21274. }
  21275. ],
  21276. "responses": {
  21277. "200": {
  21278. "description": "successful operation",
  21279. "schema": {
  21280. "type": "object",
  21281. "properties": {
  21282. "code": {
  21283. "type": "integer",
  21284. "format": "int64"
  21285. },
  21286. "data": {
  21287. "type": "object",
  21288. "properties": {
  21289. "addTime": {
  21290. "type": "integer",
  21291. "format": "int32",
  21292. "description": "新增时间"
  21293. },
  21294. "id": {
  21295. "type": "integer",
  21296. "format": "int32"
  21297. },
  21298. "illustrate": {
  21299. "type": "string",
  21300. "description": "任务说明"
  21301. },
  21302. "isMust": {
  21303. "type": "boolean",
  21304. "description": "是否务必达成任务,1务必达成,0=满足其一"
  21305. },
  21306. "isShow": {
  21307. "type": "boolean",
  21308. "description": "是否显示"
  21309. },
  21310. "levelId": {
  21311. "type": "integer",
  21312. "format": "int32",
  21313. "description": "等级id"
  21314. },
  21315. "name": {
  21316. "type": "string",
  21317. "description": "任务名称"
  21318. },
  21319. "number": {
  21320. "type": "integer",
  21321. "format": "int32",
  21322. "description": "限定数"
  21323. },
  21324. "realName": {
  21325. "type": "string",
  21326. "description": "配置原名"
  21327. },
  21328. "sort": {
  21329. "type": "integer",
  21330. "format": "int32",
  21331. "description": "排序"
  21332. },
  21333. "taskType": {
  21334. "type": "string",
  21335. "description": "任务类型"
  21336. }
  21337. },
  21338. "title": "SystemUserTask对象",
  21339. "description": "等级任务设置",
  21340. "$$ref": "#/definitions/SystemUserTask对象"
  21341. },
  21342. "message": {
  21343. "type": "string"
  21344. }
  21345. },
  21346. "title": "CommonResult«SystemUserTask对象»",
  21347. "$$ref": "#/definitions/CommonResult«SystemUserTask对象»"
  21348. }
  21349. }
  21350. }
  21351. }
  21352. },
  21353. "/api/admin/system/store/update": {
  21354. "post": {
  21355. "tags": [
  21356. "设置 -- 提货点 -- 提货点"
  21357. ],
  21358. "summary": "修改",
  21359. "consumes": [
  21360. "application/json"
  21361. ],
  21362. "parameters": [
  21363. {
  21364. "name": "id",
  21365. "in": "query",
  21366. "required": false,
  21367. "description": "id",
  21368. "type": "string"
  21369. },
  21370. {
  21371. "name": "root",
  21372. "in": "body",
  21373. "description": "提货点",
  21374. "schema": {
  21375. "type": "object",
  21376. "properties": {
  21377. "address": {
  21378. "type": "string",
  21379. "description": "提货点地址省市区"
  21380. },
  21381. "dayTime": {
  21382. "type": "string",
  21383. "description": "每日营业开关时间"
  21384. },
  21385. "detailedAddress": {
  21386. "type": "string",
  21387. "description": "详细地址"
  21388. },
  21389. "image": {
  21390. "type": "string",
  21391. "description": "门店logo"
  21392. },
  21393. "introduction": {
  21394. "type": "string",
  21395. "description": "简介"
  21396. },
  21397. "latitude": {
  21398. "type": "string",
  21399. "description": "纬度"
  21400. },
  21401. "longitude": {
  21402. "type": "string",
  21403. "example": "1,2",
  21404. "description": "经度"
  21405. },
  21406. "name": {
  21407. "type": "string",
  21408. "description": "门店名称"
  21409. },
  21410. "phone": {
  21411. "type": "string",
  21412. "description": "手机号码"
  21413. },
  21414. "validTime": {
  21415. "type": "string",
  21416. "description": "核销有效日期"
  21417. }
  21418. },
  21419. "title": "SystemStoreRequest对象",
  21420. "description": "提货点",
  21421. "$$ref": "#/definitions/SystemStoreRequest对象"
  21422. }
  21423. }
  21424. ],
  21425. "responses": {
  21426. "200": {
  21427. "description": "successful operation",
  21428. "schema": {
  21429. "type": "object",
  21430. "properties": {
  21431. "code": {
  21432. "type": "integer",
  21433. "format": "int64"
  21434. },
  21435. "data": {
  21436. "type": "string"
  21437. },
  21438. "message": {
  21439. "type": "string"
  21440. }
  21441. },
  21442. "title": "CommonResult«string»",
  21443. "$$ref": "#/definitions/CommonResult«string»"
  21444. }
  21445. }
  21446. }
  21447. }
  21448. },
  21449. "/api/admin/system/store/update/status": {
  21450. "get": {
  21451. "tags": [
  21452. "设置 -- 提货点 -- 提货点"
  21453. ],
  21454. "summary": "修改门店显示状态",
  21455. "consumes": [
  21456. "text/plain"
  21457. ],
  21458. "parameters": [
  21459. {
  21460. "name": "id",
  21461. "in": "query",
  21462. "required": false,
  21463. "description": "id",
  21464. "type": "string"
  21465. },
  21466. {
  21467. "name": "status",
  21468. "in": "query",
  21469. "required": false,
  21470. "description": "status",
  21471. "type": "string"
  21472. },
  21473. {
  21474. "name": "raw",
  21475. "in": "body",
  21476. "description": "raw paramter",
  21477. "schema": {
  21478. "type": "string",
  21479. "format": "binary"
  21480. }
  21481. }
  21482. ],
  21483. "responses": {
  21484. "200": {
  21485. "description": "successful operation",
  21486. "schema": {
  21487. "type": "object",
  21488. "properties": {
  21489. "code": {
  21490. "type": "integer",
  21491. "format": "int64"
  21492. },
  21493. "data": {
  21494. "type": "string"
  21495. },
  21496. "message": {
  21497. "type": "string"
  21498. }
  21499. },
  21500. "title": "CommonResult«string»",
  21501. "$$ref": "#/definitions/CommonResult«string»"
  21502. }
  21503. }
  21504. }
  21505. }
  21506. },
  21507. "/api/admin/system/store/list": {
  21508. "get": {
  21509. "tags": [
  21510. "设置 -- 提货点 -- 提货点"
  21511. ],
  21512. "summary": "分页列表",
  21513. "consumes": [
  21514. "text/plain"
  21515. ],
  21516. "parameters": [
  21517. {
  21518. "name": "keywords",
  21519. "in": "query",
  21520. "required": false,
  21521. "description": "搜索关键字,支持 门店名称|简介|手机号码||省市区|详细地址",
  21522. "type": "string"
  21523. },
  21524. {
  21525. "name": "limit",
  21526. "in": "query",
  21527. "required": false,
  21528. "description": "每页数量",
  21529. "type": "string"
  21530. },
  21531. {
  21532. "name": "page",
  21533. "in": "query",
  21534. "required": false,
  21535. "description": "页码",
  21536. "type": "string"
  21537. },
  21538. {
  21539. "name": "status",
  21540. "in": "query",
  21541. "required": false,
  21542. "description": "状态,0隐藏,1显示,2回收站",
  21543. "type": "string"
  21544. },
  21545. {
  21546. "name": "raw",
  21547. "in": "body",
  21548. "description": "raw paramter",
  21549. "schema": {
  21550. "type": "string",
  21551. "format": "binary"
  21552. }
  21553. }
  21554. ],
  21555. "responses": {
  21556. "200": {
  21557. "description": "successful operation",
  21558. "schema": {
  21559. "type": "object",
  21560. "properties": {
  21561. "code": {
  21562. "type": "integer",
  21563. "format": "int64"
  21564. },
  21565. "data": {
  21566. "type": "object",
  21567. "properties": {
  21568. "limit": {
  21569. "type": "integer",
  21570. "format": "int32"
  21571. },
  21572. "list": {
  21573. "type": "array",
  21574. "items": {
  21575. "type": "object",
  21576. "properties": {
  21577. "address": {
  21578. "type": "string",
  21579. "description": "省市区"
  21580. },
  21581. "createTime": {
  21582. "type": "string",
  21583. "format": "date-time",
  21584. "description": "创建时间"
  21585. },
  21586. "dayTime": {
  21587. "type": "string",
  21588. "description": "每日营业开关时间"
  21589. },
  21590. "detailedAddress": {
  21591. "type": "string",
  21592. "description": "详细地址"
  21593. },
  21594. "id": {
  21595. "type": "integer",
  21596. "format": "int32"
  21597. },
  21598. "image": {
  21599. "type": "string",
  21600. "description": "门店logo"
  21601. },
  21602. "introduction": {
  21603. "type": "string",
  21604. "description": "简介"
  21605. },
  21606. "isDel": {
  21607. "type": "boolean",
  21608. "description": "是否删除"
  21609. },
  21610. "isShow": {
  21611. "type": "boolean",
  21612. "description": "是否显示"
  21613. },
  21614. "latitude": {
  21615. "type": "string",
  21616. "description": "纬度"
  21617. },
  21618. "longitude": {
  21619. "type": "string",
  21620. "description": "经度"
  21621. },
  21622. "name": {
  21623. "type": "string",
  21624. "description": "门店名称"
  21625. },
  21626. "phone": {
  21627. "type": "string",
  21628. "description": "手机号码"
  21629. },
  21630. "updateTime": {
  21631. "type": "string",
  21632. "format": "date-time",
  21633. "description": "修改时间"
  21634. },
  21635. "validTime": {
  21636. "type": "string",
  21637. "description": "核销有效日期"
  21638. }
  21639. },
  21640. "title": "SystemStore对象",
  21641. "description": "门店自提",
  21642. "$$ref": "#/definitions/SystemStore对象"
  21643. }
  21644. },
  21645. "page": {
  21646. "type": "integer",
  21647. "format": "int32"
  21648. },
  21649. "total": {
  21650. "type": "integer",
  21651. "format": "int64"
  21652. },
  21653. "totalPage": {
  21654. "type": "integer",
  21655. "format": "int32"
  21656. }
  21657. },
  21658. "title": "CommonPage«SystemStore对象»",
  21659. "$$ref": "#/definitions/CommonPage«SystemStore对象»"
  21660. },
  21661. "message": {
  21662. "type": "string"
  21663. }
  21664. },
  21665. "title": "CommonResult«CommonPage«SystemStore对象»»",
  21666. "$$ref": "#/definitions/CommonResult«CommonPage«SystemStore对象»»"
  21667. }
  21668. }
  21669. }
  21670. }
  21671. },
  21672. "/api/admin/system/store/delete": {
  21673. "get": {
  21674. "tags": [
  21675. "设置 -- 提货点 -- 提货点"
  21676. ],
  21677. "summary": "删除",
  21678. "consumes": [
  21679. "text/plain"
  21680. ],
  21681. "parameters": [
  21682. {
  21683. "name": "id",
  21684. "in": "query",
  21685. "required": false,
  21686. "description": "id",
  21687. "type": "string"
  21688. },
  21689. {
  21690. "name": "raw",
  21691. "in": "body",
  21692. "description": "raw paramter",
  21693. "schema": {
  21694. "type": "string",
  21695. "format": "binary"
  21696. }
  21697. }
  21698. ],
  21699. "responses": {
  21700. "200": {
  21701. "description": "successful operation",
  21702. "schema": {
  21703. "type": "object",
  21704. "properties": {
  21705. "code": {
  21706. "type": "integer",
  21707. "format": "int64"
  21708. },
  21709. "data": {
  21710. "type": "string"
  21711. },
  21712. "message": {
  21713. "type": "string"
  21714. }
  21715. },
  21716. "title": "CommonResult«string»",
  21717. "$$ref": "#/definitions/CommonResult«string»"
  21718. }
  21719. }
  21720. }
  21721. }
  21722. },
  21723. "/api/admin/system/store/getCount": {
  21724. "get": {
  21725. "tags": [
  21726. "设置 -- 提货点 -- 提货点"
  21727. ],
  21728. "summary": "数量",
  21729. "consumes": [
  21730. "text/plain"
  21731. ],
  21732. "parameters": [
  21733. {
  21734. "name": "raw",
  21735. "in": "body",
  21736. "description": "raw paramter",
  21737. "schema": {
  21738. "type": "string",
  21739. "format": "binary"
  21740. }
  21741. }
  21742. ],
  21743. "responses": {
  21744. "200": {
  21745. "description": "successful operation",
  21746. "schema": {
  21747. "type": "object",
  21748. "properties": {
  21749. "code": {
  21750. "type": "integer",
  21751. "format": "int64"
  21752. },
  21753. "data": {
  21754. "type": "object",
  21755. "additionalProperties": {
  21756. "type": "integer",
  21757. "format": "int32"
  21758. }
  21759. },
  21760. "message": {
  21761. "type": "string"
  21762. }
  21763. },
  21764. "title": "CommonResult«HashMap«string,int»»",
  21765. "$$ref": "#/definitions/CommonResult«HashMap«string,int»»"
  21766. }
  21767. }
  21768. }
  21769. }
  21770. },
  21771. "/api/admin/system/store/save": {
  21772. "post": {
  21773. "tags": [
  21774. "设置 -- 提货点 -- 提货点"
  21775. ],
  21776. "summary": "新增",
  21777. "consumes": [
  21778. "application/json"
  21779. ],
  21780. "parameters": [
  21781. {
  21782. "name": "root",
  21783. "in": "body",
  21784. "description": "提货点",
  21785. "schema": {
  21786. "type": "object",
  21787. "properties": {
  21788. "address": {
  21789. "type": "string",
  21790. "description": "提货点地址省市区"
  21791. },
  21792. "dayTime": {
  21793. "type": "string",
  21794. "description": "每日营业开关时间"
  21795. },
  21796. "detailedAddress": {
  21797. "type": "string",
  21798. "description": "详细地址"
  21799. },
  21800. "image": {
  21801. "type": "string",
  21802. "description": "门店logo"
  21803. },
  21804. "introduction": {
  21805. "type": "string",
  21806. "description": "简介"
  21807. },
  21808. "latitude": {
  21809. "type": "string",
  21810. "description": "纬度"
  21811. },
  21812. "longitude": {
  21813. "type": "string",
  21814. "example": "1,2",
  21815. "description": "经度"
  21816. },
  21817. "name": {
  21818. "type": "string",
  21819. "description": "门店名称"
  21820. },
  21821. "phone": {
  21822. "type": "string",
  21823. "description": "手机号码"
  21824. },
  21825. "validTime": {
  21826. "type": "string",
  21827. "description": "核销有效日期"
  21828. }
  21829. },
  21830. "title": "SystemStoreRequest对象",
  21831. "description": "提货点",
  21832. "$$ref": "#/definitions/SystemStoreRequest对象"
  21833. }
  21834. }
  21835. ],
  21836. "responses": {
  21837. "200": {
  21838. "description": "successful operation",
  21839. "schema": {
  21840. "type": "object",
  21841. "properties": {
  21842. "code": {
  21843. "type": "integer",
  21844. "format": "int64"
  21845. },
  21846. "data": {
  21847. "type": "string"
  21848. },
  21849. "message": {
  21850. "type": "string"
  21851. }
  21852. },
  21853. "title": "CommonResult«string»",
  21854. "$$ref": "#/definitions/CommonResult«string»"
  21855. }
  21856. }
  21857. }
  21858. }
  21859. },
  21860. "/api/admin/system/store/info": {
  21861. "get": {
  21862. "tags": [
  21863. "设置 -- 提货点 -- 提货点"
  21864. ],
  21865. "summary": "详情",
  21866. "consumes": [
  21867. "text/plain"
  21868. ],
  21869. "parameters": [
  21870. {
  21871. "name": "id",
  21872. "in": "query",
  21873. "required": false,
  21874. "description": "id",
  21875. "type": "string"
  21876. },
  21877. {
  21878. "name": "raw",
  21879. "in": "body",
  21880. "description": "raw paramter",
  21881. "schema": {
  21882. "type": "string",
  21883. "format": "binary"
  21884. }
  21885. }
  21886. ],
  21887. "responses": {
  21888. "200": {
  21889. "description": "successful operation",
  21890. "schema": {
  21891. "type": "object",
  21892. "properties": {
  21893. "code": {
  21894. "type": "integer",
  21895. "format": "int64"
  21896. },
  21897. "data": {
  21898. "type": "object",
  21899. "properties": {
  21900. "address": {
  21901. "type": "string",
  21902. "description": "省市区"
  21903. },
  21904. "createTime": {
  21905. "type": "string",
  21906. "format": "date-time",
  21907. "description": "创建时间"
  21908. },
  21909. "dayTime": {
  21910. "type": "string",
  21911. "description": "每日营业开关时间"
  21912. },
  21913. "detailedAddress": {
  21914. "type": "string",
  21915. "description": "详细地址"
  21916. },
  21917. "id": {
  21918. "type": "integer",
  21919. "format": "int32"
  21920. },
  21921. "image": {
  21922. "type": "string",
  21923. "description": "门店logo"
  21924. },
  21925. "introduction": {
  21926. "type": "string",
  21927. "description": "简介"
  21928. },
  21929. "isDel": {
  21930. "type": "boolean",
  21931. "description": "是否删除"
  21932. },
  21933. "isShow": {
  21934. "type": "boolean",
  21935. "description": "是否显示"
  21936. },
  21937. "latitude": {
  21938. "type": "string",
  21939. "description": "纬度"
  21940. },
  21941. "longitude": {
  21942. "type": "string",
  21943. "description": "经度"
  21944. },
  21945. "name": {
  21946. "type": "string",
  21947. "description": "门店名称"
  21948. },
  21949. "phone": {
  21950. "type": "string",
  21951. "description": "手机号码"
  21952. },
  21953. "updateTime": {
  21954. "type": "string",
  21955. "format": "date-time",
  21956. "description": "修改时间"
  21957. },
  21958. "validTime": {
  21959. "type": "string",
  21960. "description": "核销有效日期"
  21961. }
  21962. },
  21963. "title": "SystemStore对象",
  21964. "description": "门店自提",
  21965. "$$ref": "#/definitions/SystemStore对象"
  21966. },
  21967. "message": {
  21968. "type": "string"
  21969. }
  21970. },
  21971. "title": "CommonResult«SystemStore对象»",
  21972. "$$ref": "#/definitions/CommonResult«SystemStore对象»"
  21973. }
  21974. }
  21975. }
  21976. }
  21977. },
  21978. "/api/admin/system/store/staff/update": {
  21979. "post": {
  21980. "tags": [
  21981. "设置 -- 提货点 -- 核销员"
  21982. ],
  21983. "summary": "修改",
  21984. "consumes": [
  21985. "application/json"
  21986. ],
  21987. "parameters": [
  21988. {
  21989. "name": "id",
  21990. "in": "query",
  21991. "required": false,
  21992. "description": "id",
  21993. "type": "string"
  21994. },
  21995. {
  21996. "name": "root",
  21997. "in": "body",
  21998. "description": "门店店员表",
  21999. "schema": {
  22000. "type": "object",
  22001. "properties": {
  22002. "avatar": {
  22003. "type": "string",
  22004. "description": "店员头像"
  22005. },
  22006. "createTime": {
  22007. "type": "string",
  22008. "format": "date-time",
  22009. "description": "创建时间"
  22010. },
  22011. "id": {
  22012. "type": "integer",
  22013. "format": "int32"
  22014. },
  22015. "phone": {
  22016. "type": "string",
  22017. "description": "手机号码"
  22018. },
  22019. "staffName": {
  22020. "type": "string",
  22021. "description": "店员名称"
  22022. },
  22023. "status": {
  22024. "type": "integer",
  22025. "format": "int32",
  22026. "description": "状态"
  22027. },
  22028. "storeId": {
  22029. "type": "integer",
  22030. "format": "int32",
  22031. "description": "门店id"
  22032. },
  22033. "uid": {
  22034. "type": "integer",
  22035. "format": "int32",
  22036. "description": "微信用户id"
  22037. },
  22038. "updateTime": {
  22039. "type": "string",
  22040. "format": "date-time",
  22041. "description": "更新时间"
  22042. },
  22043. "verifyStatus": {
  22044. "type": "integer",
  22045. "format": "int32",
  22046. "description": "核销开关"
  22047. }
  22048. },
  22049. "title": "SystemStoreStaff对象",
  22050. "description": "门店店员表",
  22051. "$$ref": "#/definitions/SystemStoreStaff对象"
  22052. }
  22053. }
  22054. ],
  22055. "responses": {
  22056. "200": {
  22057. "description": "successful operation",
  22058. "schema": {
  22059. "type": "object",
  22060. "properties": {
  22061. "code": {
  22062. "type": "integer",
  22063. "format": "int64"
  22064. },
  22065. "data": {
  22066. "type": "string"
  22067. },
  22068. "message": {
  22069. "type": "string"
  22070. }
  22071. },
  22072. "title": "CommonResult«string»",
  22073. "$$ref": "#/definitions/CommonResult«string»"
  22074. }
  22075. }
  22076. }
  22077. }
  22078. },
  22079. "/api/admin/system/store/staff/update/status": {
  22080. "get": {
  22081. "tags": [
  22082. "设置 -- 提货点 -- 核销员"
  22083. ],
  22084. "summary": "修改状态",
  22085. "consumes": [
  22086. "text/plain"
  22087. ],
  22088. "parameters": [
  22089. {
  22090. "name": "id",
  22091. "in": "query",
  22092. "required": false,
  22093. "description": "id",
  22094. "type": "string"
  22095. },
  22096. {
  22097. "name": "status",
  22098. "in": "query",
  22099. "required": false,
  22100. "description": "status",
  22101. "type": "string"
  22102. },
  22103. {
  22104. "name": "raw",
  22105. "in": "body",
  22106. "description": "raw paramter",
  22107. "schema": {
  22108. "type": "string",
  22109. "format": "binary"
  22110. }
  22111. }
  22112. ],
  22113. "responses": {
  22114. "200": {
  22115. "description": "successful operation",
  22116. "schema": {
  22117. "type": "object",
  22118. "properties": {
  22119. "code": {
  22120. "type": "integer",
  22121. "format": "int64"
  22122. },
  22123. "data": {
  22124. "type": "string"
  22125. },
  22126. "message": {
  22127. "type": "string"
  22128. }
  22129. },
  22130. "title": "CommonResult«string»",
  22131. "$$ref": "#/definitions/CommonResult«string»"
  22132. }
  22133. }
  22134. }
  22135. }
  22136. },
  22137. "/api/admin/system/store/staff/list": {
  22138. "get": {
  22139. "tags": [
  22140. "设置 -- 提货点 -- 核销员"
  22141. ],
  22142. "summary": "分页列表",
  22143. "consumes": [
  22144. "text/plain"
  22145. ],
  22146. "parameters": [
  22147. {
  22148. "name": "limit",
  22149. "in": "query",
  22150. "required": false,
  22151. "description": "每页数量",
  22152. "type": "string"
  22153. },
  22154. {
  22155. "name": "page",
  22156. "in": "query",
  22157. "required": false,
  22158. "description": "页码",
  22159. "type": "string"
  22160. },
  22161. {
  22162. "name": "storeId",
  22163. "in": "query",
  22164. "required": false,
  22165. "description": "storeId",
  22166. "type": "string"
  22167. },
  22168. {
  22169. "name": "raw",
  22170. "in": "body",
  22171. "description": "raw paramter",
  22172. "schema": {
  22173. "type": "string",
  22174. "format": "binary"
  22175. }
  22176. }
  22177. ],
  22178. "responses": {
  22179. "200": {
  22180. "description": "successful operation",
  22181. "schema": {
  22182. "type": "object",
  22183. "properties": {
  22184. "code": {
  22185. "type": "integer",
  22186. "format": "int64"
  22187. },
  22188. "data": {
  22189. "type": "object",
  22190. "properties": {
  22191. "limit": {
  22192. "type": "integer",
  22193. "format": "int32"
  22194. },
  22195. "list": {
  22196. "type": "array",
  22197. "items": {
  22198. "type": "object",
  22199. "properties": {
  22200. "avatar": {
  22201. "type": "string",
  22202. "description": "店员头像"
  22203. },
  22204. "createTime": {
  22205. "type": "string",
  22206. "format": "date-time",
  22207. "description": "创建时间"
  22208. },
  22209. "id": {
  22210. "type": "integer",
  22211. "format": "int32"
  22212. },
  22213. "phone": {
  22214. "type": "string",
  22215. "description": "手机号码"
  22216. },
  22217. "staffName": {
  22218. "type": "string",
  22219. "description": "店员名称"
  22220. },
  22221. "status": {
  22222. "type": "integer",
  22223. "format": "int32",
  22224. "description": "状态"
  22225. },
  22226. "storeId": {
  22227. "type": "integer",
  22228. "format": "int32",
  22229. "description": "门店id"
  22230. },
  22231. "systemStore": {
  22232. "type": "object",
  22233. "properties": {
  22234. "address": {
  22235. "type": "string",
  22236. "description": "省市区"
  22237. },
  22238. "createTime": {
  22239. "type": "string",
  22240. "format": "date-time",
  22241. "description": "创建时间"
  22242. },
  22243. "dayTime": {
  22244. "type": "string",
  22245. "description": "每日营业开关时间"
  22246. },
  22247. "detailedAddress": {
  22248. "type": "string",
  22249. "description": "详细地址"
  22250. },
  22251. "id": {
  22252. "type": "integer",
  22253. "format": "int32"
  22254. },
  22255. "image": {
  22256. "type": "string",
  22257. "description": "门店logo"
  22258. },
  22259. "introduction": {
  22260. "type": "string",
  22261. "description": "简介"
  22262. },
  22263. "isDel": {
  22264. "type": "boolean",
  22265. "description": "是否删除"
  22266. },
  22267. "isShow": {
  22268. "type": "boolean",
  22269. "description": "是否显示"
  22270. },
  22271. "latitude": {
  22272. "type": "string",
  22273. "description": "纬度"
  22274. },
  22275. "longitude": {
  22276. "type": "string",
  22277. "description": "经度"
  22278. },
  22279. "name": {
  22280. "type": "string",
  22281. "description": "门店名称"
  22282. },
  22283. "phone": {
  22284. "type": "string",
  22285. "description": "手机号码"
  22286. },
  22287. "updateTime": {
  22288. "type": "string",
  22289. "format": "date-time",
  22290. "description": "修改时间"
  22291. },
  22292. "validTime": {
  22293. "type": "string",
  22294. "description": "核销有效日期"
  22295. }
  22296. },
  22297. "title": "SystemStore对象",
  22298. "description": "门店自提",
  22299. "$$ref": "#/definitions/SystemStore对象"
  22300. },
  22301. "uid": {
  22302. "type": "integer",
  22303. "format": "int32",
  22304. "description": "微信用户id"
  22305. },
  22306. "updateTime": {
  22307. "type": "string",
  22308. "format": "date-time",
  22309. "description": "更新时间"
  22310. },
  22311. "user": {
  22312. "type": "object",
  22313. "properties": {
  22314. "account": {
  22315. "type": "string",
  22316. "description": "用户账号"
  22317. },
  22318. "addIp": {
  22319. "type": "string",
  22320. "description": "添加ip"
  22321. },
  22322. "addres": {
  22323. "type": "string",
  22324. "description": "详细地址"
  22325. },
  22326. "adminid": {
  22327. "type": "integer",
  22328. "format": "int32",
  22329. "description": "管理员编号 "
  22330. },
  22331. "avatar": {
  22332. "type": "string",
  22333. "description": "用户头像"
  22334. },
  22335. "birthday": {
  22336. "type": "string",
  22337. "description": "生日"
  22338. },
  22339. "brokeragePrice": {
  22340. "type": "number",
  22341. "description": "佣金金额"
  22342. },
  22343. "cardId": {
  22344. "type": "string",
  22345. "description": "身份证号码"
  22346. },
  22347. "cleanTime": {
  22348. "type": "string",
  22349. "format": "date-time",
  22350. "description": "最后一次登录时间"
  22351. },
  22352. "createTime": {
  22353. "type": "string",
  22354. "format": "date-time",
  22355. "description": "创建时间"
  22356. },
  22357. "experience": {
  22358. "type": "integer",
  22359. "format": "int32",
  22360. "description": "用户剩余经验"
  22361. },
  22362. "groupId": {
  22363. "type": "string",
  22364. "description": "用户分组id"
  22365. },
  22366. "integral": {
  22367. "type": "number",
  22368. "description": "用户剩余积分"
  22369. },
  22370. "isPromoter": {
  22371. "type": "boolean",
  22372. "description": "是否为推广员"
  22373. },
  22374. "lastIp": {
  22375. "type": "string",
  22376. "description": "最后一次登录ip"
  22377. },
  22378. "lastLoginTime": {
  22379. "type": "string",
  22380. "format": "date-time",
  22381. "description": "最后一次登录时间"
  22382. },
  22383. "level": {
  22384. "type": "integer",
  22385. "format": "int32",
  22386. "description": "等级"
  22387. },
  22388. "loginType": {
  22389. "type": "string",
  22390. "description": "用户登陆类型,h5,wechat,routine"
  22391. },
  22392. "mark": {
  22393. "type": "string",
  22394. "description": "用户备注"
  22395. },
  22396. "nickname": {
  22397. "type": "string",
  22398. "description": "用户昵称"
  22399. },
  22400. "nowMoney": {
  22401. "type": "number",
  22402. "description": "用户余额"
  22403. },
  22404. "partnerId": {
  22405. "type": "integer",
  22406. "format": "int32",
  22407. "description": "合伙人id"
  22408. },
  22409. "path": {
  22410. "type": "string",
  22411. "description": "用户推广等级"
  22412. },
  22413. "payCount": {
  22414. "type": "integer",
  22415. "format": "int32",
  22416. "description": "用户购买次数"
  22417. },
  22418. "phone": {
  22419. "type": "string",
  22420. "description": "手机号码"
  22421. },
  22422. "realName": {
  22423. "type": "string",
  22424. "description": "真实姓名"
  22425. },
  22426. "signNum": {
  22427. "type": "integer",
  22428. "format": "int32",
  22429. "description": "连续签到天数"
  22430. },
  22431. "spreadCount": {
  22432. "type": "integer",
  22433. "format": "int32",
  22434. "description": "下级人数"
  22435. },
  22436. "spreadTime": {
  22437. "type": "string",
  22438. "format": "date-time",
  22439. "description": "推广员关联时间"
  22440. },
  22441. "spreadUid": {
  22442. "type": "integer",
  22443. "format": "int32",
  22444. "description": "推广人id"
  22445. },
  22446. "status": {
  22447. "type": "boolean",
  22448. "description": "1为正常,0为禁止"
  22449. },
  22450. "subscribe": {
  22451. "type": "boolean",
  22452. "description": "是否关注公众号"
  22453. },
  22454. "tagId": {
  22455. "type": "string",
  22456. "description": "用户标签id"
  22457. },
  22458. "uid": {
  22459. "type": "integer",
  22460. "format": "int32",
  22461. "description": "用户id"
  22462. },
  22463. "updateTime": {
  22464. "type": "string",
  22465. "format": "date-time",
  22466. "description": "创建时间"
  22467. },
  22468. "userType": {
  22469. "type": "string",
  22470. "description": "用户类型"
  22471. }
  22472. },
  22473. "title": "User对象",
  22474. "description": "用户表",
  22475. "$$ref": "#/definitions/User对象"
  22476. },
  22477. "verifyStatus": {
  22478. "type": "integer",
  22479. "format": "int32",
  22480. "description": "核销开关"
  22481. }
  22482. },
  22483. "title": "SystemStoreStaffResponse对象",
  22484. "description": "门店店员表",
  22485. "$$ref": "#/definitions/SystemStoreStaffResponse对象"
  22486. }
  22487. },
  22488. "page": {
  22489. "type": "integer",
  22490. "format": "int32"
  22491. },
  22492. "total": {
  22493. "type": "integer",
  22494. "format": "int64"
  22495. },
  22496. "totalPage": {
  22497. "type": "integer",
  22498. "format": "int32"
  22499. }
  22500. },
  22501. "title": "CommonPage«SystemStoreStaffResponse对象»",
  22502. "$$ref": "#/definitions/CommonPage«SystemStoreStaffResponse对象»"
  22503. },
  22504. "message": {
  22505. "type": "string"
  22506. }
  22507. },
  22508. "title": "CommonResult«CommonPage«SystemStoreStaffResponse对象»»",
  22509. "$$ref": "#/definitions/CommonResult«CommonPage«SystemStoreStaffResponse对象»»"
  22510. }
  22511. }
  22512. }
  22513. }
  22514. },
  22515. "/api/admin/system/store/staff/delete": {
  22516. "get": {
  22517. "tags": [
  22518. "设置 -- 提货点 -- 核销员"
  22519. ],
  22520. "summary": "删除",
  22521. "consumes": [
  22522. "text/plain"
  22523. ],
  22524. "parameters": [
  22525. {
  22526. "name": "id",
  22527. "in": "query",
  22528. "required": false,
  22529. "description": "id",
  22530. "type": "string"
  22531. },
  22532. {
  22533. "name": "raw",
  22534. "in": "body",
  22535. "description": "raw paramter",
  22536. "schema": {
  22537. "type": "string",
  22538. "format": "binary"
  22539. }
  22540. }
  22541. ],
  22542. "responses": {
  22543. "200": {
  22544. "description": "successful operation",
  22545. "schema": {
  22546. "type": "object",
  22547. "properties": {
  22548. "code": {
  22549. "type": "integer",
  22550. "format": "int64"
  22551. },
  22552. "data": {
  22553. "type": "string"
  22554. },
  22555. "message": {
  22556. "type": "string"
  22557. }
  22558. },
  22559. "title": "CommonResult«string»",
  22560. "$$ref": "#/definitions/CommonResult«string»"
  22561. }
  22562. }
  22563. }
  22564. }
  22565. },
  22566. "/api/admin/system/store/staff/save": {
  22567. "post": {
  22568. "tags": [
  22569. "设置 -- 提货点 -- 核销员"
  22570. ],
  22571. "summary": "新增",
  22572. "consumes": [
  22573. "application/json"
  22574. ],
  22575. "parameters": [
  22576. {
  22577. "name": "root",
  22578. "in": "body",
  22579. "description": "门店店员表",
  22580. "schema": {
  22581. "type": "object",
  22582. "properties": {
  22583. "avatar": {
  22584. "type": "string",
  22585. "description": "店员头像"
  22586. },
  22587. "createTime": {
  22588. "type": "string",
  22589. "format": "date-time",
  22590. "description": "创建时间"
  22591. },
  22592. "id": {
  22593. "type": "integer",
  22594. "format": "int32"
  22595. },
  22596. "phone": {
  22597. "type": "string",
  22598. "description": "手机号码"
  22599. },
  22600. "staffName": {
  22601. "type": "string",
  22602. "description": "店员名称"
  22603. },
  22604. "status": {
  22605. "type": "integer",
  22606. "format": "int32",
  22607. "description": "状态"
  22608. },
  22609. "storeId": {
  22610. "type": "integer",
  22611. "format": "int32",
  22612. "description": "门店id"
  22613. },
  22614. "uid": {
  22615. "type": "integer",
  22616. "format": "int32",
  22617. "description": "微信用户id"
  22618. },
  22619. "updateTime": {
  22620. "type": "string",
  22621. "format": "date-time",
  22622. "description": "更新时间"
  22623. },
  22624. "verifyStatus": {
  22625. "type": "integer",
  22626. "format": "int32",
  22627. "description": "核销开关"
  22628. }
  22629. },
  22630. "title": "SystemStoreStaff对象",
  22631. "description": "门店店员表",
  22632. "$$ref": "#/definitions/SystemStoreStaff对象"
  22633. }
  22634. }
  22635. ],
  22636. "responses": {
  22637. "200": {
  22638. "description": "successful operation",
  22639. "schema": {
  22640. "type": "object",
  22641. "properties": {
  22642. "code": {
  22643. "type": "integer",
  22644. "format": "int64"
  22645. },
  22646. "data": {
  22647. "type": "string"
  22648. },
  22649. "message": {
  22650. "type": "string"
  22651. }
  22652. },
  22653. "title": "CommonResult«string»",
  22654. "$$ref": "#/definitions/CommonResult«string»"
  22655. }
  22656. }
  22657. }
  22658. }
  22659. },
  22660. "/api/admin/system/store/staff/info": {
  22661. "get": {
  22662. "tags": [
  22663. "设置 -- 提货点 -- 核销员"
  22664. ],
  22665. "summary": "详情",
  22666. "consumes": [
  22667. "text/plain"
  22668. ],
  22669. "parameters": [
  22670. {
  22671. "name": "id",
  22672. "in": "query",
  22673. "required": false,
  22674. "description": "id",
  22675. "type": "string"
  22676. },
  22677. {
  22678. "name": "raw",
  22679. "in": "body",
  22680. "description": "raw paramter",
  22681. "schema": {
  22682. "type": "string",
  22683. "format": "binary"
  22684. }
  22685. }
  22686. ],
  22687. "responses": {
  22688. "200": {
  22689. "description": "successful operation",
  22690. "schema": {
  22691. "type": "object",
  22692. "properties": {
  22693. "code": {
  22694. "type": "integer",
  22695. "format": "int64"
  22696. },
  22697. "data": {
  22698. "type": "object",
  22699. "properties": {
  22700. "avatar": {
  22701. "type": "string",
  22702. "description": "店员头像"
  22703. },
  22704. "createTime": {
  22705. "type": "string",
  22706. "format": "date-time",
  22707. "description": "创建时间"
  22708. },
  22709. "id": {
  22710. "type": "integer",
  22711. "format": "int32"
  22712. },
  22713. "phone": {
  22714. "type": "string",
  22715. "description": "手机号码"
  22716. },
  22717. "staffName": {
  22718. "type": "string",
  22719. "description": "店员名称"
  22720. },
  22721. "status": {
  22722. "type": "integer",
  22723. "format": "int32",
  22724. "description": "状态"
  22725. },
  22726. "storeId": {
  22727. "type": "integer",
  22728. "format": "int32",
  22729. "description": "门店id"
  22730. },
  22731. "uid": {
  22732. "type": "integer",
  22733. "format": "int32",
  22734. "description": "微信用户id"
  22735. },
  22736. "updateTime": {
  22737. "type": "string",
  22738. "format": "date-time",
  22739. "description": "更新时间"
  22740. },
  22741. "verifyStatus": {
  22742. "type": "integer",
  22743. "format": "int32",
  22744. "description": "核销开关"
  22745. }
  22746. },
  22747. "title": "SystemStoreStaff对象",
  22748. "description": "门店店员表",
  22749. "$$ref": "#/definitions/SystemStoreStaff对象"
  22750. },
  22751. "message": {
  22752. "type": "string"
  22753. }
  22754. },
  22755. "title": "CommonResult«SystemStoreStaff对象»",
  22756. "$$ref": "#/definitions/CommonResult«SystemStoreStaff对象»"
  22757. }
  22758. }
  22759. }
  22760. }
  22761. },
  22762. "/api/admin/system/store/order/list": {
  22763. "post": {
  22764. "tags": [
  22765. "设置 -- 提货点 -- 核销订单"
  22766. ],
  22767. "summary": "分页列表",
  22768. "consumes": [
  22769. "application/json"
  22770. ],
  22771. "parameters": [
  22772. {
  22773. "name": "data",
  22774. "in": "query",
  22775. "required": false,
  22776. "description": "时间",
  22777. "type": "string"
  22778. },
  22779. {
  22780. "name": "keywords",
  22781. "in": "query",
  22782. "required": false,
  22783. "description": "关键字",
  22784. "type": "string"
  22785. },
  22786. {
  22787. "name": "limit",
  22788. "in": "query",
  22789. "required": false,
  22790. "description": "每页数量",
  22791. "type": "string"
  22792. },
  22793. {
  22794. "name": "page",
  22795. "in": "query",
  22796. "required": false,
  22797. "description": "页码",
  22798. "type": "string"
  22799. },
  22800. {
  22801. "name": "storeId",
  22802. "in": "query",
  22803. "required": false,
  22804. "description": "核销点ID",
  22805. "type": "string"
  22806. }
  22807. ],
  22808. "responses": {
  22809. "200": {
  22810. "description": "successful operation",
  22811. "schema": {
  22812. "type": "object",
  22813. "properties": {
  22814. "code": {
  22815. "type": "integer",
  22816. "format": "int64"
  22817. },
  22818. "data": {
  22819. "type": "object",
  22820. "properties": {
  22821. "list": {
  22822. "type": "object",
  22823. "properties": {
  22824. "limit": {
  22825. "type": "integer",
  22826. "format": "int32"
  22827. },
  22828. "list": {
  22829. "type": "array",
  22830. "items": {
  22831. "type": "object",
  22832. "properties": {
  22833. "backIntegral": {
  22834. "type": "number",
  22835. "description": "给用户退了多少积分"
  22836. },
  22837. "clerkName": {
  22838. "type": "string",
  22839. "description": "店员名称"
  22840. },
  22841. "createTime": {
  22842. "type": "string",
  22843. "format": "date-time",
  22844. "description": "创建时间"
  22845. },
  22846. "gainIntegral": {
  22847. "type": "number",
  22848. "description": "消费赚取积分"
  22849. },
  22850. "id": {
  22851. "type": "integer",
  22852. "format": "int32",
  22853. "description": "订单ID"
  22854. },
  22855. "isDel": {
  22856. "type": "boolean",
  22857. "description": "是否删除"
  22858. },
  22859. "isSystemDel": {
  22860. "type": "boolean",
  22861. "description": "后台是否删除"
  22862. },
  22863. "mark": {
  22864. "type": "string",
  22865. "description": "用户备注"
  22866. },
  22867. "orderId": {
  22868. "type": "string",
  22869. "description": "订单号"
  22870. },
  22871. "paid": {
  22872. "type": "boolean",
  22873. "description": "支付状态"
  22874. },
  22875. "payPostage": {
  22876. "type": "number",
  22877. "description": "支付邮费"
  22878. },
  22879. "payPrice": {
  22880. "type": "number",
  22881. "description": "实际支付金额"
  22882. },
  22883. "payTime": {
  22884. "type": "string",
  22885. "format": "date-time",
  22886. "description": "支付时间"
  22887. },
  22888. "payType": {
  22889. "type": "string",
  22890. "description": "支付方式"
  22891. },
  22892. "payTypeStr": {
  22893. "type": "string",
  22894. "description": "支付方式"
  22895. },
  22896. "productList": {
  22897. "type": "array",
  22898. "description": "商品信息",
  22899. "items": {
  22900. "type": "object",
  22901. "properties": {
  22902. "info": {
  22903. "type": "object",
  22904. "properties": {
  22905. "addTime": {
  22906. "type": "string"
  22907. },
  22908. "attrStatus": {
  22909. "type": "boolean",
  22910. "description": "商品是否有效"
  22911. },
  22912. "bargainId": {
  22913. "type": "integer",
  22914. "format": "int32",
  22915. "description": "砍价id"
  22916. },
  22917. "brokerage": {
  22918. "type": "number",
  22919. "description": "一级分佣"
  22920. },
  22921. "brokerageTwo": {
  22922. "type": "number",
  22923. "description": "二级分佣"
  22924. },
  22925. "cartNum": {
  22926. "type": "integer",
  22927. "format": "int32",
  22928. "description": "商品数量"
  22929. },
  22930. "combinationId": {
  22931. "type": "integer",
  22932. "format": "int32",
  22933. "description": "拼团id"
  22934. },
  22935. "costPrice": {
  22936. "type": "number"
  22937. },
  22938. "id": {
  22939. "type": "integer",
  22940. "format": "int64",
  22941. "description": "购物车表ID"
  22942. },
  22943. "isNew": {
  22944. "type": "boolean",
  22945. "description": "是否为立即购买"
  22946. },
  22947. "isReply": {
  22948. "type": "integer",
  22949. "format": "int32"
  22950. },
  22951. "productAttrUnique": {
  22952. "type": "string",
  22953. "description": "商品属性"
  22954. },
  22955. "productId": {
  22956. "type": "integer",
  22957. "format": "int32",
  22958. "description": "商品ID"
  22959. },
  22960. "productInfo": {
  22961. "type": "object",
  22962. "properties": {
  22963. "attrInfo": {
  22964. "type": "object",
  22965. "properties": {
  22966. "attrValue": {
  22967. "type": "string",
  22968. "description": "产品属性值和属性名对应关系"
  22969. },
  22970. "barCode": {
  22971. "type": "string",
  22972. "description": "商品条码"
  22973. },
  22974. "brokerage": {
  22975. "type": "number",
  22976. "description": "一级返佣"
  22977. },
  22978. "brokerageTwo": {
  22979. "type": "number",
  22980. "description": "二级返佣"
  22981. },
  22982. "cost": {
  22983. "type": "number",
  22984. "description": "成本价"
  22985. },
  22986. "id": {
  22987. "type": "integer",
  22988. "format": "int32",
  22989. "description": "attrId"
  22990. },
  22991. "image": {
  22992. "type": "string",
  22993. "description": "图片"
  22994. },
  22995. "otPrice": {
  22996. "type": "number",
  22997. "description": "原价"
  22998. },
  22999. "price": {
  23000. "type": "number",
  23001. "description": "属性金额"
  23002. },
  23003. "productId": {
  23004. "type": "integer",
  23005. "format": "int32",
  23006. "description": "商品ID"
  23007. },
  23008. "quota": {
  23009. "type": "integer",
  23010. "format": "int32",
  23011. "description": "活动限购数量"
  23012. },
  23013. "quotaShow": {
  23014. "type": "integer",
  23015. "format": "int32",
  23016. "description": "活动限购数量显示"
  23017. },
  23018. "sales": {
  23019. "type": "integer",
  23020. "format": "int32",
  23021. "description": "销量"
  23022. },
  23023. "stock": {
  23024. "type": "integer",
  23025. "format": "int32",
  23026. "description": "属性对应的库存"
  23027. },
  23028. "suk": {
  23029. "type": "string",
  23030. "description": "商品属性索引值 (attr_value|attr_value[|....])"
  23031. },
  23032. "type": {
  23033. "type": "integer",
  23034. "format": "int32",
  23035. "description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
  23036. },
  23037. "unique": {
  23038. "type": "string",
  23039. "description": "唯一值"
  23040. },
  23041. "volume": {
  23042. "type": "number",
  23043. "description": "体积"
  23044. },
  23045. "weight": {
  23046. "type": "number",
  23047. "description": "重量"
  23048. }
  23049. },
  23050. "title": "StoreProductAttrValue对象",
  23051. "description": "商品属性值表",
  23052. "$$ref": "#/definitions/StoreProductAttrValue对象"
  23053. },
  23054. "barCode": {
  23055. "type": "string",
  23056. "description": "商品条码(一维码)"
  23057. },
  23058. "cateId": {
  23059. "type": "string",
  23060. "description": "分类id"
  23061. },
  23062. "cost": {
  23063. "type": "number",
  23064. "description": "成本价"
  23065. },
  23066. "giveIntegral": {
  23067. "type": "number",
  23068. "description": "获得积分"
  23069. },
  23070. "id": {
  23071. "type": "integer",
  23072. "format": "int32",
  23073. "description": "商品id"
  23074. },
  23075. "image": {
  23076. "type": "string",
  23077. "description": "商品图片"
  23078. },
  23079. "isPostage": {
  23080. "type": "boolean",
  23081. "description": "是否包邮"
  23082. },
  23083. "isSub": {
  23084. "type": "boolean",
  23085. "description": "是否单独分佣"
  23086. },
  23087. "keyword": {
  23088. "type": "string",
  23089. "description": "关键字"
  23090. },
  23091. "merId": {
  23092. "type": "integer",
  23093. "format": "int32",
  23094. "description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
  23095. },
  23096. "otPrice": {
  23097. "type": "number",
  23098. "description": "市场价"
  23099. },
  23100. "postage": {
  23101. "type": "number",
  23102. "description": "邮费"
  23103. },
  23104. "price": {
  23105. "type": "number",
  23106. "description": "商品价格"
  23107. },
  23108. "sales": {
  23109. "type": "integer",
  23110. "format": "int32",
  23111. "description": "销量"
  23112. },
  23113. "sliderImage": {
  23114. "type": "string",
  23115. "description": "轮播图"
  23116. },
  23117. "sort": {
  23118. "type": "integer",
  23119. "format": "int32",
  23120. "description": "排序"
  23121. },
  23122. "stock": {
  23123. "type": "integer",
  23124. "format": "int32",
  23125. "description": "库存"
  23126. },
  23127. "storeInfo": {
  23128. "type": "string",
  23129. "description": "商品简介"
  23130. },
  23131. "storeName": {
  23132. "type": "string",
  23133. "description": "商品名称"
  23134. },
  23135. "tempId": {
  23136. "type": "integer",
  23137. "format": "int32",
  23138. "description": "运费模板ID"
  23139. },
  23140. "unitName": {
  23141. "type": "string",
  23142. "description": "单位名"
  23143. },
  23144. "vipPrice": {
  23145. "type": "number",
  23146. "description": "会员价格"
  23147. }
  23148. },
  23149. "title": "StoreProductCartProductInfoResponse对象",
  23150. "description": "商品信息,购物车列表使用",
  23151. "$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
  23152. },
  23153. "seckillId": {
  23154. "type": "integer",
  23155. "format": "int32",
  23156. "description": "秒杀商品ID"
  23157. },
  23158. "truePrice": {
  23159. "type": "number"
  23160. },
  23161. "trueStock": {
  23162. "type": "integer",
  23163. "format": "int32"
  23164. },
  23165. "type": {
  23166. "type": "string",
  23167. "description": "类型"
  23168. },
  23169. "uid": {
  23170. "type": "integer",
  23171. "format": "int32",
  23172. "description": "用户ID"
  23173. },
  23174. "vipTruePrice": {
  23175. "type": "number"
  23176. }
  23177. },
  23178. "title": "StoreCartResponse",
  23179. "description": "购物车ListResponse",
  23180. "$$ref": "#/definitions/StoreCartResponse"
  23181. },
  23182. "orderId": {
  23183. "type": "integer",
  23184. "format": "int32",
  23185. "description": "订单id"
  23186. },
  23187. "productId": {
  23188. "type": "integer",
  23189. "format": "int32",
  23190. "description": "商品ID"
  23191. },
  23192. "unique": {
  23193. "type": "string",
  23194. "description": "唯一id"
  23195. }
  23196. },
  23197. "title": "StoreOrderInfoVo对象",
  23198. "description": "订单购物详情表",
  23199. "$$ref": "#/definitions/StoreOrderInfoVo对象"
  23200. }
  23201. },
  23202. "realName": {
  23203. "type": "string",
  23204. "description": "用户姓名"
  23205. },
  23206. "refundPrice": {
  23207. "type": "number",
  23208. "description": "退款金额"
  23209. },
  23210. "refundReason": {
  23211. "type": "string",
  23212. "description": "不退款的理由"
  23213. },
  23214. "refundReasonTime": {
  23215. "type": "string",
  23216. "format": "date-time",
  23217. "description": "退款时间"
  23218. },
  23219. "refundReasonWap": {
  23220. "type": "string",
  23221. "description": "前台退款原因"
  23222. },
  23223. "refundReasonWapExplain": {
  23224. "type": "string",
  23225. "description": "退款用户说明"
  23226. },
  23227. "refundReasonWapImg": {
  23228. "type": "string",
  23229. "description": "退款图片"
  23230. },
  23231. "remark": {
  23232. "type": "string",
  23233. "description": "管理员备注"
  23234. },
  23235. "spreadInfo": {
  23236. "type": "object",
  23237. "properties": {
  23238. "id": {
  23239. "type": "integer",
  23240. "format": "int32",
  23241. "description": "推广人id"
  23242. },
  23243. "name": {
  23244. "type": "string",
  23245. "description": "推广人姓名"
  23246. }
  23247. },
  23248. "title": "StoreOrderSpreadInfoResponse对象",
  23249. "description": "推广人信息",
  23250. "$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
  23251. },
  23252. "status": {
  23253. "type": "boolean",
  23254. "description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
  23255. },
  23256. "statusStr": {
  23257. "type": "object",
  23258. "description": "订单状态",
  23259. "additionalProperties": {
  23260. "type": "string"
  23261. }
  23262. },
  23263. "storeName": {
  23264. "type": "string",
  23265. "description": "门店名称"
  23266. },
  23267. "totalPostage": {
  23268. "type": "number",
  23269. "description": "邮费"
  23270. },
  23271. "totalPrice": {
  23272. "type": "number",
  23273. "description": "订单总价"
  23274. },
  23275. "uid": {
  23276. "type": "integer",
  23277. "format": "int32",
  23278. "description": "用户id"
  23279. },
  23280. "useIntegral": {
  23281. "type": "number",
  23282. "description": "使用积分"
  23283. },
  23284. "userPhone": {
  23285. "type": "string",
  23286. "description": "用户电话"
  23287. }
  23288. },
  23289. "title": "StoreOrderItemResponse对象",
  23290. "description": "核销订单",
  23291. "$$ref": "#/definitions/StoreOrderItemResponse对象"
  23292. }
  23293. },
  23294. "page": {
  23295. "type": "integer",
  23296. "format": "int32"
  23297. },
  23298. "total": {
  23299. "type": "integer",
  23300. "format": "int64"
  23301. },
  23302. "totalPage": {
  23303. "type": "integer",
  23304. "format": "int32"
  23305. }
  23306. },
  23307. "title": "CommonPage«StoreOrderItemResponse对象»",
  23308. "$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»"
  23309. },
  23310. "orderTotalPrice": {
  23311. "type": "number",
  23312. "description": "订单总金额"
  23313. },
  23314. "refundTotal": {
  23315. "type": "integer",
  23316. "format": "int32",
  23317. "description": "退款总单数"
  23318. },
  23319. "refundTotalPrice": {
  23320. "type": "number",
  23321. "description": "退款总金额"
  23322. },
  23323. "total": {
  23324. "type": "integer",
  23325. "format": "int64",
  23326. "description": "订单总数量"
  23327. }
  23328. },
  23329. "title": "SystemWriteOffOrderResponse对象",
  23330. "description": "核销订单",
  23331. "$$ref": "#/definitions/SystemWriteOffOrderResponse对象"
  23332. },
  23333. "message": {
  23334. "type": "string"
  23335. }
  23336. },
  23337. "title": "CommonResult«SystemWriteOffOrderResponse对象»",
  23338. "$$ref": "#/definitions/CommonResult«SystemWriteOffOrderResponse对象»"
  23339. }
  23340. }
  23341. }
  23342. }
  23343. },
  23344. "/api/admin/system/role/testMenu": {
  23345. "get": {
  23346. "tags": [
  23347. "设置 -- 权限管理 -- 身份管理"
  23348. ],
  23349. "summary": "TestMenu",
  23350. "consumes": [
  23351. "text/plain"
  23352. ],
  23353. "parameters": [
  23354. {
  23355. "name": "raw",
  23356. "in": "body",
  23357. "description": "raw paramter",
  23358. "schema": {
  23359. "type": "string",
  23360. "format": "binary"
  23361. }
  23362. }
  23363. ],
  23364. "responses": {
  23365. "200": {
  23366. "description": "successful operation",
  23367. "schema": {
  23368. "type": "object",
  23369. "properties": {
  23370. "code": {
  23371. "type": "integer",
  23372. "format": "int64"
  23373. },
  23374. "data": {
  23375. "type": "object"
  23376. },
  23377. "message": {
  23378. "type": "string"
  23379. }
  23380. },
  23381. "title": "CommonResult",
  23382. "$$ref": "#/definitions/CommonResult"
  23383. }
  23384. }
  23385. }
  23386. }
  23387. },
  23388. "/api/admin/system/role/update": {
  23389. "post": {
  23390. "tags": [
  23391. "设置 -- 权限管理 -- 身份管理"
  23392. ],
  23393. "summary": "修改",
  23394. "consumes": [
  23395. "application/json"
  23396. ],
  23397. "parameters": [
  23398. {
  23399. "name": "id",
  23400. "in": "query",
  23401. "required": false,
  23402. "description": "id",
  23403. "type": "string"
  23404. },
  23405. {
  23406. "name": "level",
  23407. "in": "query",
  23408. "required": false,
  23409. "description": "身份管理名称",
  23410. "type": "string"
  23411. },
  23412. {
  23413. "name": "roleName",
  23414. "in": "query",
  23415. "required": false,
  23416. "description": "身份管理名称",
  23417. "type": "string"
  23418. },
  23419. {
  23420. "name": "rules",
  23421. "in": "query",
  23422. "required": false,
  23423. "description": "身份管理权限(menus_id)",
  23424. "type": "string"
  23425. },
  23426. {
  23427. "name": "status",
  23428. "in": "query",
  23429. "required": false,
  23430. "description": "状态",
  23431. "type": "string"
  23432. }
  23433. ],
  23434. "responses": {
  23435. "200": {
  23436. "description": "successful operation",
  23437. "schema": {
  23438. "type": "object",
  23439. "properties": {
  23440. "code": {
  23441. "type": "integer",
  23442. "format": "int64"
  23443. },
  23444. "data": {
  23445. "type": "string"
  23446. },
  23447. "message": {
  23448. "type": "string"
  23449. }
  23450. },
  23451. "title": "CommonResult«string»",
  23452. "$$ref": "#/definitions/CommonResult«string»"
  23453. }
  23454. }
  23455. }
  23456. }
  23457. },
  23458. "/api/admin/system/role/list": {
  23459. "get": {
  23460. "tags": [
  23461. "设置 -- 权限管理 -- 身份管理"
  23462. ],
  23463. "summary": "分页列表",
  23464. "consumes": [
  23465. "text/plain"
  23466. ],
  23467. "parameters": [
  23468. {
  23469. "name": "createTime",
  23470. "in": "query",
  23471. "required": false,
  23472. "description": "创建时间",
  23473. "type": "string"
  23474. },
  23475. {
  23476. "name": "level",
  23477. "in": "query",
  23478. "required": false,
  23479. "description": "身份管理名称",
  23480. "type": "string"
  23481. },
  23482. {
  23483. "name": "limit",
  23484. "in": "query",
  23485. "required": false,
  23486. "description": "每页数量",
  23487. "type": "string"
  23488. },
  23489. {
  23490. "name": "page",
  23491. "in": "query",
  23492. "required": false,
  23493. "description": "页码",
  23494. "type": "string"
  23495. },
  23496. {
  23497. "name": "roleName",
  23498. "in": "query",
  23499. "required": false,
  23500. "description": "身份管理名称",
  23501. "type": "string"
  23502. },
  23503. {
  23504. "name": "rules",
  23505. "in": "query",
  23506. "required": false,
  23507. "description": "身份管理权限(menus_id)",
  23508. "type": "string"
  23509. },
  23510. {
  23511. "name": "status",
  23512. "in": "query",
  23513. "required": false,
  23514. "description": "状态",
  23515. "type": "string"
  23516. },
  23517. {
  23518. "name": "updateTime",
  23519. "in": "query",
  23520. "required": false,
  23521. "description": "修改时间",
  23522. "type": "string"
  23523. },
  23524. {
  23525. "name": "raw",
  23526. "in": "body",
  23527. "description": "raw paramter",
  23528. "schema": {
  23529. "type": "string",
  23530. "format": "binary"
  23531. }
  23532. }
  23533. ],
  23534. "responses": {
  23535. "200": {
  23536. "description": "successful operation",
  23537. "schema": {
  23538. "type": "object",
  23539. "properties": {
  23540. "code": {
  23541. "type": "integer",
  23542. "format": "int64"
  23543. },
  23544. "data": {
  23545. "type": "object",
  23546. "properties": {
  23547. "limit": {
  23548. "type": "integer",
  23549. "format": "int32"
  23550. },
  23551. "list": {
  23552. "type": "array",
  23553. "items": {
  23554. "type": "object",
  23555. "properties": {
  23556. "createTime": {
  23557. "type": "string",
  23558. "format": "date-time",
  23559. "description": "创建时间"
  23560. },
  23561. "id": {
  23562. "type": "integer",
  23563. "format": "int32",
  23564. "description": "身份管理id"
  23565. },
  23566. "level": {
  23567. "type": "integer",
  23568. "format": "int32"
  23569. },
  23570. "roleName": {
  23571. "type": "string",
  23572. "description": "身份管理名称"
  23573. },
  23574. "rules": {
  23575. "type": "string",
  23576. "description": "身份管理权限(menus_id)"
  23577. },
  23578. "status": {
  23579. "type": "boolean",
  23580. "description": "状态"
  23581. },
  23582. "updateTime": {
  23583. "type": "string",
  23584. "format": "date-time",
  23585. "description": "修改时间"
  23586. }
  23587. },
  23588. "title": "SystemRole对象",
  23589. "description": "身份管理表",
  23590. "$$ref": "#/definitions/SystemRole对象"
  23591. }
  23592. },
  23593. "page": {
  23594. "type": "integer",
  23595. "format": "int32"
  23596. },
  23597. "total": {
  23598. "type": "integer",
  23599. "format": "int64"
  23600. },
  23601. "totalPage": {
  23602. "type": "integer",
  23603. "format": "int32"
  23604. }
  23605. },
  23606. "title": "CommonPage«SystemRole对象»",
  23607. "$$ref": "#/definitions/CommonPage«SystemRole对象»"
  23608. },
  23609. "message": {
  23610. "type": "string"
  23611. }
  23612. },
  23613. "title": "CommonResult«CommonPage«SystemRole对象»»",
  23614. "$$ref": "#/definitions/CommonResult«CommonPage«SystemRole对象»»"
  23615. }
  23616. }
  23617. }
  23618. }
  23619. },
  23620. "/api/admin/system/role/delete": {
  23621. "get": {
  23622. "tags": [
  23623. "设置 -- 权限管理 -- 身份管理"
  23624. ],
  23625. "summary": "删除",
  23626. "consumes": [
  23627. "text/plain"
  23628. ],
  23629. "parameters": [
  23630. {
  23631. "name": "id",
  23632. "in": "query",
  23633. "required": false,
  23634. "description": "id",
  23635. "type": "string"
  23636. },
  23637. {
  23638. "name": "raw",
  23639. "in": "body",
  23640. "description": "raw paramter",
  23641. "schema": {
  23642. "type": "string",
  23643. "format": "binary"
  23644. }
  23645. }
  23646. ],
  23647. "responses": {
  23648. "200": {
  23649. "description": "successful operation",
  23650. "schema": {
  23651. "type": "object",
  23652. "properties": {
  23653. "code": {
  23654. "type": "integer",
  23655. "format": "int64"
  23656. },
  23657. "data": {
  23658. "type": "string"
  23659. },
  23660. "message": {
  23661. "type": "string"
  23662. }
  23663. },
  23664. "title": "CommonResult«string»",
  23665. "$$ref": "#/definitions/CommonResult«string»"
  23666. }
  23667. }
  23668. }
  23669. }
  23670. },
  23671. "/api/admin/system/role/save": {
  23672. "post": {
  23673. "tags": [
  23674. "设置 -- 权限管理 -- 身份管理"
  23675. ],
  23676. "summary": "新增",
  23677. "consumes": [
  23678. "application/json"
  23679. ],
  23680. "parameters": [
  23681. {
  23682. "name": "level",
  23683. "in": "query",
  23684. "required": false,
  23685. "description": "身份管理名称",
  23686. "type": "string"
  23687. },
  23688. {
  23689. "name": "roleName",
  23690. "in": "query",
  23691. "required": false,
  23692. "description": "身份管理名称",
  23693. "type": "string"
  23694. },
  23695. {
  23696. "name": "rules",
  23697. "in": "query",
  23698. "required": false,
  23699. "description": "身份管理权限(menus_id)",
  23700. "type": "string"
  23701. },
  23702. {
  23703. "name": "status",
  23704. "in": "query",
  23705. "required": false,
  23706. "description": "状态",
  23707. "type": "string"
  23708. }
  23709. ],
  23710. "responses": {
  23711. "200": {
  23712. "description": "successful operation",
  23713. "schema": {
  23714. "type": "object",
  23715. "properties": {
  23716. "code": {
  23717. "type": "integer",
  23718. "format": "int64"
  23719. },
  23720. "data": {
  23721. "type": "string"
  23722. },
  23723. "message": {
  23724. "type": "string"
  23725. }
  23726. },
  23727. "title": "CommonResult«string»",
  23728. "$$ref": "#/definitions/CommonResult«string»"
  23729. }
  23730. }
  23731. }
  23732. }
  23733. },
  23734. "/api/admin/system/role/menu": {
  23735. "get": {
  23736. "tags": [
  23737. "设置 -- 权限管理 -- 身份管理"
  23738. ],
  23739. "summary": "菜单",
  23740. "consumes": [
  23741. "text/plain"
  23742. ],
  23743. "parameters": [
  23744. {
  23745. "name": "raw",
  23746. "in": "body",
  23747. "description": "raw paramter",
  23748. "schema": {
  23749. "type": "string",
  23750. "format": "binary"
  23751. }
  23752. }
  23753. ],
  23754. "responses": {
  23755. "200": {
  23756. "description": "successful operation",
  23757. "schema": {
  23758. "type": "object",
  23759. "properties": {
  23760. "code": {
  23761. "type": "integer",
  23762. "format": "int64"
  23763. },
  23764. "data": {
  23765. "type": "array",
  23766. "items": {
  23767. "type": "object",
  23768. "properties": {
  23769. "child": {
  23770. "type": "array",
  23771. "items": {
  23772. "originalRef": "CategoryTreeVo",
  23773. "$ref": "#/definitions/CategoryTreeVo"
  23774. }
  23775. },
  23776. "extra": {
  23777. "type": "string",
  23778. "description": "扩展字段"
  23779. },
  23780. "id": {
  23781. "type": "integer",
  23782. "format": "int32"
  23783. },
  23784. "name": {
  23785. "type": "string",
  23786. "description": "分类名称"
  23787. },
  23788. "path": {
  23789. "type": "string",
  23790. "description": "路径"
  23791. },
  23792. "pid": {
  23793. "type": "integer",
  23794. "format": "int32",
  23795. "description": "父级ID"
  23796. },
  23797. "sort": {
  23798. "type": "integer",
  23799. "format": "int32",
  23800. "description": "排序"
  23801. },
  23802. "status": {
  23803. "type": "boolean",
  23804. "description": "状态, 0正常,1失效"
  23805. },
  23806. "type": {
  23807. "type": "integer",
  23808. "format": "int32",
  23809. "description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
  23810. },
  23811. "url": {
  23812. "type": "string",
  23813. "description": "地址"
  23814. }
  23815. },
  23816. "title": "CategoryTreeVo",
  23817. "$$ref": "#/definitions/CategoryTreeVo"
  23818. }
  23819. },
  23820. "message": {
  23821. "type": "string"
  23822. }
  23823. },
  23824. "title": "CommonResult«List«CategoryTreeVo»»",
  23825. "$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»"
  23826. }
  23827. }
  23828. }
  23829. }
  23830. },
  23831. "/api/admin/system/role/info": {
  23832. "get": {
  23833. "tags": [
  23834. "设置 -- 权限管理 -- 身份管理"
  23835. ],
  23836. "summary": "详情",
  23837. "consumes": [
  23838. "text/plain"
  23839. ],
  23840. "parameters": [
  23841. {
  23842. "name": "id",
  23843. "in": "query",
  23844. "required": false,
  23845. "description": "id",
  23846. "type": "string"
  23847. },
  23848. {
  23849. "name": "raw",
  23850. "in": "body",
  23851. "description": "raw paramter",
  23852. "schema": {
  23853. "type": "string",
  23854. "format": "binary"
  23855. }
  23856. }
  23857. ],
  23858. "responses": {
  23859. "200": {
  23860. "description": "successful operation",
  23861. "schema": {
  23862. "type": "object",
  23863. "properties": {
  23864. "code": {
  23865. "type": "integer",
  23866. "format": "int64"
  23867. },
  23868. "data": {
  23869. "type": "object",
  23870. "properties": {
  23871. "createTime": {
  23872. "type": "string",
  23873. "format": "date-time",
  23874. "description": "创建时间"
  23875. },
  23876. "id": {
  23877. "type": "integer",
  23878. "format": "int32",
  23879. "description": "身份管理id"
  23880. },
  23881. "level": {
  23882. "type": "integer",
  23883. "format": "int32"
  23884. },
  23885. "roleName": {
  23886. "type": "string",
  23887. "description": "身份管理名称"
  23888. },
  23889. "rules": {
  23890. "type": "string",
  23891. "description": "身份管理权限(menus_id)"
  23892. },
  23893. "status": {
  23894. "type": "boolean",
  23895. "description": "状态"
  23896. },
  23897. "updateTime": {
  23898. "type": "string",
  23899. "format": "date-time",
  23900. "description": "修改时间"
  23901. }
  23902. },
  23903. "title": "SystemRole对象",
  23904. "description": "身份管理表",
  23905. "$$ref": "#/definitions/SystemRole对象"
  23906. },
  23907. "message": {
  23908. "type": "string"
  23909. }
  23910. },
  23911. "title": "CommonResult«SystemRole对象»",
  23912. "$$ref": "#/definitions/CommonResult«SystemRole对象»"
  23913. }
  23914. }
  23915. }
  23916. }
  23917. },
  23918. "/api/admin/express/shipping/region/list": {
  23919. "get": {
  23920. "tags": [
  23921. "设置 -- 物流 -- 付费"
  23922. ],
  23923. "summary": "根据模板id查询数据",
  23924. "consumes": [
  23925. "text/plain"
  23926. ],
  23927. "parameters": [
  23928. {
  23929. "name": "tempId",
  23930. "in": "query",
  23931. "required": false,
  23932. "description": "tempId",
  23933. "type": "string"
  23934. },
  23935. {
  23936. "name": "raw",
  23937. "in": "body",
  23938. "description": "raw paramter",
  23939. "schema": {
  23940. "type": "string",
  23941. "format": "binary"
  23942. }
  23943. }
  23944. ],
  23945. "responses": {
  23946. "200": {
  23947. "description": "successful operation",
  23948. "schema": {
  23949. "type": "object",
  23950. "properties": {
  23951. "code": {
  23952. "type": "integer",
  23953. "format": "int64"
  23954. },
  23955. "data": {
  23956. "type": "array",
  23957. "items": {
  23958. "type": "object",
  23959. "required": [
  23960. "cityId",
  23961. "first",
  23962. "firstPrice",
  23963. "renewal",
  23964. "renewalPrice"
  23965. ],
  23966. "properties": {
  23967. "cityId": {
  23968. "type": "string",
  23969. "example": "1,2,3,4",
  23970. "description": "城市ID, 多个逗号分割。全国 all"
  23971. },
  23972. "first": {
  23973. "type": "number",
  23974. "example": 0.1,
  23975. "description": "首件"
  23976. },
  23977. "firstPrice": {
  23978. "type": "number",
  23979. "example": 0.1,
  23980. "description": "首件运费"
  23981. },
  23982. "renewal": {
  23983. "type": "number",
  23984. "example": 0.1,
  23985. "description": "续件"
  23986. },
  23987. "renewalPrice": {
  23988. "type": "number",
  23989. "example": 0.1,
  23990. "description": "续件运费"
  23991. },
  23992. "title": {
  23993. "type": "string",
  23994. "description": "城市名称描述"
  23995. },
  23996. "uniqid": {
  23997. "type": "string",
  23998. "description": "分组唯一值"
  23999. }
  24000. },
  24001. "title": "ShippingTemplatesRegionRequest对象",
  24002. "description": "付费",
  24003. "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
  24004. }
  24005. },
  24006. "message": {
  24007. "type": "string"
  24008. }
  24009. },
  24010. "title": "CommonResult«List«ShippingTemplatesRegionRequest对象»»",
  24011. "$$ref": "#/definitions/CommonResult«List«ShippingTemplatesRegionRequest对象»»"
  24012. }
  24013. }
  24014. }
  24015. }
  24016. },
  24017. "/api/admin/express/shipping/free/list": {
  24018. "get": {
  24019. "tags": [
  24020. "设置 -- 物流 -- 免费"
  24021. ],
  24022. "summary": "根据模板id查询数据",
  24023. "consumes": [
  24024. "text/plain"
  24025. ],
  24026. "parameters": [
  24027. {
  24028. "name": "tempId",
  24029. "in": "query",
  24030. "required": false,
  24031. "description": "tempId",
  24032. "type": "string"
  24033. },
  24034. {
  24035. "name": "raw",
  24036. "in": "body",
  24037. "description": "raw paramter",
  24038. "schema": {
  24039. "type": "string",
  24040. "format": "binary"
  24041. }
  24042. }
  24043. ],
  24044. "responses": {
  24045. "200": {
  24046. "description": "successful operation",
  24047. "schema": {
  24048. "type": "object",
  24049. "properties": {
  24050. "code": {
  24051. "type": "integer",
  24052. "format": "int64"
  24053. },
  24054. "data": {
  24055. "type": "array",
  24056. "items": {
  24057. "type": "object",
  24058. "required": [
  24059. "cityId",
  24060. "number",
  24061. "price"
  24062. ],
  24063. "properties": {
  24064. "cityId": {
  24065. "type": "string",
  24066. "example": "1,2,3,4",
  24067. "description": "城市ID, 多个逗号分割。 全国 all"
  24068. },
  24069. "number": {
  24070. "type": "integer",
  24071. "format": "int32",
  24072. "example": 1,
  24073. "description": "包邮件数"
  24074. },
  24075. "price": {
  24076. "type": "number",
  24077. "example": 0.1,
  24078. "description": "包邮金额"
  24079. },
  24080. "title": {
  24081. "type": "string",
  24082. "description": "城市名称描述"
  24083. }
  24084. },
  24085. "title": "ShippingTemplatesFreeRequest对象",
  24086. "description": "免费",
  24087. "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
  24088. }
  24089. },
  24090. "message": {
  24091. "type": "string"
  24092. }
  24093. },
  24094. "title": "CommonResult«List«ShippingTemplatesFreeRequest对象»»",
  24095. "$$ref": "#/definitions/CommonResult«List«ShippingTemplatesFreeRequest对象»»"
  24096. }
  24097. }
  24098. }
  24099. }
  24100. },
  24101. "/api/admin/express/update": {
  24102. "post": {
  24103. "tags": [
  24104. "设置 -- 物流 -- 公司"
  24105. ],
  24106. "summary": "修改",
  24107. "consumes": [
  24108. "application/json"
  24109. ],
  24110. "parameters": [
  24111. {
  24112. "name": "code",
  24113. "in": "query",
  24114. "required": false,
  24115. "description": "快递公司简称",
  24116. "type": "string"
  24117. },
  24118. {
  24119. "name": "id",
  24120. "in": "query",
  24121. "required": false,
  24122. "description": "快递ID",
  24123. "type": "string"
  24124. },
  24125. {
  24126. "name": "isShow",
  24127. "in": "query",
  24128. "required": false,
  24129. "description": "是否显示",
  24130. "type": "string"
  24131. },
  24132. {
  24133. "name": "name",
  24134. "in": "query",
  24135. "required": false,
  24136. "description": "快递公司全称",
  24137. "type": "string"
  24138. },
  24139. {
  24140. "name": "sort",
  24141. "in": "query",
  24142. "required": false,
  24143. "description": "排序",
  24144. "type": "string"
  24145. }
  24146. ],
  24147. "responses": {
  24148. "200": {
  24149. "description": "successful operation",
  24150. "schema": {
  24151. "type": "object",
  24152. "properties": {
  24153. "code": {
  24154. "type": "integer",
  24155. "format": "int64"
  24156. },
  24157. "data": {
  24158. "type": "string"
  24159. },
  24160. "message": {
  24161. "type": "string"
  24162. }
  24163. },
  24164. "title": "CommonResult«string»",
  24165. "$$ref": "#/definitions/CommonResult«string»"
  24166. }
  24167. }
  24168. }
  24169. }
  24170. },
  24171. "/api/admin/express/list": {
  24172. "get": {
  24173. "tags": [
  24174. "设置 -- 物流 -- 公司"
  24175. ],
  24176. "summary": "分页列表",
  24177. "consumes": [
  24178. "text/plain"
  24179. ],
  24180. "parameters": [
  24181. {
  24182. "name": "isShow",
  24183. "in": "query",
  24184. "required": false,
  24185. "description": "是否显示",
  24186. "type": "string"
  24187. },
  24188. {
  24189. "name": "keywords",
  24190. "in": "query",
  24191. "required": false,
  24192. "description": "搜索关键字",
  24193. "type": "string"
  24194. },
  24195. {
  24196. "name": "limit",
  24197. "in": "query",
  24198. "required": false,
  24199. "description": "每页数量",
  24200. "type": "string"
  24201. },
  24202. {
  24203. "name": "page",
  24204. "in": "query",
  24205. "required": false,
  24206. "description": "页码",
  24207. "type": "string"
  24208. },
  24209. {
  24210. "name": "raw",
  24211. "in": "body",
  24212. "description": "raw paramter",
  24213. "schema": {
  24214. "type": "string",
  24215. "format": "binary"
  24216. }
  24217. }
  24218. ],
  24219. "responses": {
  24220. "200": {
  24221. "description": "successful operation",
  24222. "schema": {
  24223. "type": "object",
  24224. "properties": {
  24225. "code": {
  24226. "type": "integer",
  24227. "format": "int64"
  24228. },
  24229. "data": {
  24230. "type": "object",
  24231. "properties": {
  24232. "limit": {
  24233. "type": "integer",
  24234. "format": "int32"
  24235. },
  24236. "list": {
  24237. "type": "array",
  24238. "items": {
  24239. "type": "object",
  24240. "properties": {
  24241. "code": {
  24242. "type": "string",
  24243. "description": "快递公司简称"
  24244. },
  24245. "id": {
  24246. "type": "integer",
  24247. "format": "int32",
  24248. "description": "快递公司id"
  24249. },
  24250. "isShow": {
  24251. "type": "boolean",
  24252. "description": "是否显示"
  24253. },
  24254. "name": {
  24255. "type": "string",
  24256. "description": "快递公司全称"
  24257. },
  24258. "sort": {
  24259. "type": "integer",
  24260. "format": "int32",
  24261. "description": "排序"
  24262. }
  24263. },
  24264. "title": "Express对象",
  24265. "description": "快递公司表",
  24266. "$$ref": "#/definitions/Express对象"
  24267. }
  24268. },
  24269. "page": {
  24270. "type": "integer",
  24271. "format": "int32"
  24272. },
  24273. "total": {
  24274. "type": "integer",
  24275. "format": "int64"
  24276. },
  24277. "totalPage": {
  24278. "type": "integer",
  24279. "format": "int32"
  24280. }
  24281. },
  24282. "title": "CommonPage«Express对象»",
  24283. "$$ref": "#/definitions/CommonPage«Express对象»"
  24284. },
  24285. "message": {
  24286. "type": "string"
  24287. }
  24288. },
  24289. "title": "CommonResult«CommonPage«Express对象»»",
  24290. "$$ref": "#/definitions/CommonResult«CommonPage«Express对象»»"
  24291. }
  24292. }
  24293. }
  24294. }
  24295. },
  24296. "/api/admin/express/delete": {
  24297. "get": {
  24298. "tags": [
  24299. "设置 -- 物流 -- 公司"
  24300. ],
  24301. "summary": "删除",
  24302. "consumes": [
  24303. "text/plain"
  24304. ],
  24305. "parameters": [
  24306. {
  24307. "name": "id",
  24308. "in": "query",
  24309. "required": false,
  24310. "description": "快递ID",
  24311. "type": "string"
  24312. },
  24313. {
  24314. "name": "raw",
  24315. "in": "body",
  24316. "description": "raw paramter",
  24317. "schema": {
  24318. "type": "string",
  24319. "format": "binary"
  24320. }
  24321. }
  24322. ],
  24323. "responses": {
  24324. "200": {
  24325. "description": "successful operation",
  24326. "schema": {
  24327. "type": "object",
  24328. "properties": {
  24329. "code": {
  24330. "type": "integer",
  24331. "format": "int64"
  24332. },
  24333. "data": {
  24334. "type": "string"
  24335. },
  24336. "message": {
  24337. "type": "string"
  24338. }
  24339. },
  24340. "title": "CommonResult«string»",
  24341. "$$ref": "#/definitions/CommonResult«string»"
  24342. }
  24343. }
  24344. }
  24345. }
  24346. },
  24347. "/api/admin/express/save": {
  24348. "post": {
  24349. "tags": [
  24350. "设置 -- 物流 -- 公司"
  24351. ],
  24352. "summary": "新增",
  24353. "consumes": [
  24354. "application/json"
  24355. ],
  24356. "parameters": [
  24357. {
  24358. "name": "code",
  24359. "in": "query",
  24360. "required": false,
  24361. "description": "快递公司简称",
  24362. "type": "string"
  24363. },
  24364. {
  24365. "name": "isShow",
  24366. "in": "query",
  24367. "required": false,
  24368. "description": "是否显示",
  24369. "type": "string"
  24370. },
  24371. {
  24372. "name": "name",
  24373. "in": "query",
  24374. "required": false,
  24375. "description": "快递公司全称",
  24376. "type": "string"
  24377. },
  24378. {
  24379. "name": "sort",
  24380. "in": "query",
  24381. "required": false,
  24382. "description": "排序",
  24383. "type": "string"
  24384. }
  24385. ],
  24386. "responses": {
  24387. "200": {
  24388. "description": "successful operation",
  24389. "schema": {
  24390. "type": "object",
  24391. "properties": {
  24392. "code": {
  24393. "type": "integer",
  24394. "format": "int64"
  24395. },
  24396. "data": {
  24397. "type": "string"
  24398. },
  24399. "message": {
  24400. "type": "string"
  24401. }
  24402. },
  24403. "title": "CommonResult«string»",
  24404. "$$ref": "#/definitions/CommonResult«string»"
  24405. }
  24406. }
  24407. }
  24408. }
  24409. },
  24410. "/api/admin/express/info": {
  24411. "get": {
  24412. "tags": [
  24413. "设置 -- 物流 -- 公司"
  24414. ],
  24415. "summary": "详情",
  24416. "consumes": [
  24417. "text/plain"
  24418. ],
  24419. "parameters": [
  24420. {
  24421. "name": "id",
  24422. "in": "query",
  24423. "required": false,
  24424. "description": "快递ID",
  24425. "type": "string"
  24426. },
  24427. {
  24428. "name": "raw",
  24429. "in": "body",
  24430. "description": "raw paramter",
  24431. "schema": {
  24432. "type": "string",
  24433. "format": "binary"
  24434. }
  24435. }
  24436. ],
  24437. "responses": {
  24438. "200": {
  24439. "description": "successful operation",
  24440. "schema": {
  24441. "type": "object",
  24442. "properties": {
  24443. "code": {
  24444. "type": "integer",
  24445. "format": "int64"
  24446. },
  24447. "data": {
  24448. "type": "object",
  24449. "properties": {
  24450. "code": {
  24451. "type": "string",
  24452. "description": "快递公司简称"
  24453. },
  24454. "id": {
  24455. "type": "integer",
  24456. "format": "int32",
  24457. "description": "快递公司id"
  24458. },
  24459. "isShow": {
  24460. "type": "boolean",
  24461. "description": "是否显示"
  24462. },
  24463. "name": {
  24464. "type": "string",
  24465. "description": "快递公司全称"
  24466. },
  24467. "sort": {
  24468. "type": "integer",
  24469. "format": "int32",
  24470. "description": "排序"
  24471. }
  24472. },
  24473. "title": "Express对象",
  24474. "description": "快递公司表",
  24475. "$$ref": "#/definitions/Express对象"
  24476. },
  24477. "message": {
  24478. "type": "string"
  24479. }
  24480. },
  24481. "title": "CommonResult«Express对象»",
  24482. "$$ref": "#/definitions/CommonResult«Express对象»"
  24483. }
  24484. }
  24485. }
  24486. }
  24487. },
  24488. "/api/admin/express/shipping/templates/update": {
  24489. "post": {
  24490. "tags": [
  24491. "设置 -- 物流 -- 模板"
  24492. ],
  24493. "summary": "修改",
  24494. "consumes": [
  24495. "application/json"
  24496. ],
  24497. "parameters": [
  24498. {
  24499. "name": "id",
  24500. "in": "query",
  24501. "required": false,
  24502. "description": "id",
  24503. "type": "string"
  24504. },
  24505. {
  24506. "name": "root",
  24507. "in": "body",
  24508. "description": "模板",
  24509. "schema": {
  24510. "type": "object",
  24511. "required": [
  24512. "appoint",
  24513. "name",
  24514. "shippingTemplatesFreeRequestList",
  24515. "shippingTemplatesRegionRequestList",
  24516. "type"
  24517. ],
  24518. "properties": {
  24519. "appoint": {
  24520. "type": "boolean",
  24521. "example": false,
  24522. "description": "指定包邮"
  24523. },
  24524. "name": {
  24525. "type": "string",
  24526. "description": "模板名称"
  24527. },
  24528. "shippingTemplatesFreeRequestList": {
  24529. "type": "array",
  24530. "description": "指定包邮设置",
  24531. "items": {
  24532. "type": "object",
  24533. "required": [
  24534. "cityId",
  24535. "number",
  24536. "price"
  24537. ],
  24538. "properties": {
  24539. "cityId": {
  24540. "type": "string",
  24541. "example": "1,2,3,4",
  24542. "description": "城市ID, 多个逗号分割。 全国 all"
  24543. },
  24544. "number": {
  24545. "type": "integer",
  24546. "format": "int32",
  24547. "example": 1,
  24548. "description": "包邮件数"
  24549. },
  24550. "price": {
  24551. "type": "number",
  24552. "example": 0.1,
  24553. "description": "包邮金额"
  24554. },
  24555. "title": {
  24556. "type": "string",
  24557. "description": "城市名称描述"
  24558. }
  24559. },
  24560. "title": "ShippingTemplatesFreeRequest对象",
  24561. "description": "免费",
  24562. "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
  24563. }
  24564. },
  24565. "shippingTemplatesRegionRequestList": {
  24566. "type": "array",
  24567. "description": "配送区域及运费",
  24568. "items": {
  24569. "type": "object",
  24570. "required": [
  24571. "cityId",
  24572. "first",
  24573. "firstPrice",
  24574. "renewal",
  24575. "renewalPrice"
  24576. ],
  24577. "properties": {
  24578. "cityId": {
  24579. "type": "string",
  24580. "example": "1,2,3,4",
  24581. "description": "城市ID, 多个逗号分割。全国 all"
  24582. },
  24583. "first": {
  24584. "type": "number",
  24585. "example": 0.1,
  24586. "description": "首件"
  24587. },
  24588. "firstPrice": {
  24589. "type": "number",
  24590. "example": 0.1,
  24591. "description": "首件运费"
  24592. },
  24593. "renewal": {
  24594. "type": "number",
  24595. "example": 0.1,
  24596. "description": "续件"
  24597. },
  24598. "renewalPrice": {
  24599. "type": "number",
  24600. "example": 0.1,
  24601. "description": "续件运费"
  24602. },
  24603. "title": {
  24604. "type": "string",
  24605. "description": "城市名称描述"
  24606. },
  24607. "uniqid": {
  24608. "type": "string",
  24609. "description": "分组唯一值"
  24610. }
  24611. },
  24612. "title": "ShippingTemplatesRegionRequest对象",
  24613. "description": "付费",
  24614. "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
  24615. }
  24616. },
  24617. "sort": {
  24618. "type": "integer",
  24619. "format": "int32",
  24620. "example": 0,
  24621. "description": "排序"
  24622. },
  24623. "type": {
  24624. "type": "integer",
  24625. "format": "int32",
  24626. "example": 1,
  24627. "description": "计费方式 1(按件数), 2(按重量),3(按体积)"
  24628. }
  24629. },
  24630. "title": "ShippingTemplatesRequest对象",
  24631. "description": "模板",
  24632. "$$ref": "#/definitions/ShippingTemplatesRequest对象"
  24633. }
  24634. }
  24635. ],
  24636. "responses": {
  24637. "200": {
  24638. "description": "successful operation",
  24639. "schema": {
  24640. "type": "object",
  24641. "properties": {
  24642. "code": {
  24643. "type": "integer",
  24644. "format": "int64"
  24645. },
  24646. "data": {
  24647. "type": "string"
  24648. },
  24649. "message": {
  24650. "type": "string"
  24651. }
  24652. },
  24653. "title": "CommonResult«string»",
  24654. "$$ref": "#/definitions/CommonResult«string»"
  24655. }
  24656. }
  24657. }
  24658. }
  24659. },
  24660. "/api/admin/express/shipping/templates/list": {
  24661. "get": {
  24662. "tags": [
  24663. "设置 -- 物流 -- 模板"
  24664. ],
  24665. "summary": "分页列表",
  24666. "consumes": [
  24667. "text/plain"
  24668. ],
  24669. "parameters": [
  24670. {
  24671. "name": "limit",
  24672. "in": "query",
  24673. "required": false,
  24674. "description": "每页数量",
  24675. "type": "string"
  24676. },
  24677. {
  24678. "name": "name",
  24679. "in": "query",
  24680. "required": false,
  24681. "description": "模板名称",
  24682. "type": "string"
  24683. },
  24684. {
  24685. "name": "page",
  24686. "in": "query",
  24687. "required": false,
  24688. "description": "页码",
  24689. "type": "string"
  24690. },
  24691. {
  24692. "name": "raw",
  24693. "in": "body",
  24694. "description": "raw paramter",
  24695. "schema": {
  24696. "type": "string",
  24697. "format": "binary"
  24698. }
  24699. }
  24700. ],
  24701. "responses": {
  24702. "200": {
  24703. "description": "successful operation",
  24704. "schema": {
  24705. "type": "object",
  24706. "properties": {
  24707. "code": {
  24708. "type": "integer",
  24709. "format": "int64"
  24710. },
  24711. "data": {
  24712. "type": "object",
  24713. "properties": {
  24714. "limit": {
  24715. "type": "integer",
  24716. "format": "int32"
  24717. },
  24718. "list": {
  24719. "type": "array",
  24720. "items": {
  24721. "type": "object",
  24722. "properties": {
  24723. "appoint": {
  24724. "type": "boolean",
  24725. "description": "指定包邮"
  24726. },
  24727. "createTime": {
  24728. "type": "string",
  24729. "format": "date-time",
  24730. "description": "创建时间"
  24731. },
  24732. "id": {
  24733. "type": "integer",
  24734. "format": "int32",
  24735. "description": "编号"
  24736. },
  24737. "name": {
  24738. "type": "string",
  24739. "description": "模板名称"
  24740. },
  24741. "sort": {
  24742. "type": "integer",
  24743. "format": "int32",
  24744. "description": "排序"
  24745. },
  24746. "type": {
  24747. "type": "integer",
  24748. "format": "int32",
  24749. "description": "计费方式"
  24750. },
  24751. "updateTime": {
  24752. "type": "string",
  24753. "format": "date-time",
  24754. "description": "修改时间"
  24755. }
  24756. },
  24757. "title": "ShippingTemplates对象",
  24758. "$$ref": "#/definitions/ShippingTemplates对象"
  24759. }
  24760. },
  24761. "page": {
  24762. "type": "integer",
  24763. "format": "int32"
  24764. },
  24765. "total": {
  24766. "type": "integer",
  24767. "format": "int64"
  24768. },
  24769. "totalPage": {
  24770. "type": "integer",
  24771. "format": "int32"
  24772. }
  24773. },
  24774. "title": "CommonPage«ShippingTemplates对象»",
  24775. "$$ref": "#/definitions/CommonPage«ShippingTemplates对象»"
  24776. },
  24777. "message": {
  24778. "type": "string"
  24779. }
  24780. },
  24781. "title": "CommonResult«CommonPage«ShippingTemplates对象»»",
  24782. "$$ref": "#/definitions/CommonResult«CommonPage«ShippingTemplates对象»»"
  24783. }
  24784. }
  24785. }
  24786. }
  24787. },
  24788. "/api/admin/express/shipping/templates/delete": {
  24789. "get": {
  24790. "tags": [
  24791. "设置 -- 物流 -- 模板"
  24792. ],
  24793. "summary": "删除",
  24794. "consumes": [
  24795. "text/plain"
  24796. ],
  24797. "parameters": [
  24798. {
  24799. "name": "id",
  24800. "in": "query",
  24801. "required": false,
  24802. "description": "id",
  24803. "type": "string"
  24804. },
  24805. {
  24806. "name": "raw",
  24807. "in": "body",
  24808. "description": "raw paramter",
  24809. "schema": {
  24810. "type": "string",
  24811. "format": "binary"
  24812. }
  24813. }
  24814. ],
  24815. "responses": {
  24816. "200": {
  24817. "description": "successful operation",
  24818. "schema": {
  24819. "type": "object",
  24820. "properties": {
  24821. "code": {
  24822. "type": "integer",
  24823. "format": "int64"
  24824. },
  24825. "data": {
  24826. "type": "string"
  24827. },
  24828. "message": {
  24829. "type": "string"
  24830. }
  24831. },
  24832. "title": "CommonResult«string»",
  24833. "$$ref": "#/definitions/CommonResult«string»"
  24834. }
  24835. }
  24836. }
  24837. }
  24838. },
  24839. "/api/admin/express/shipping/templates/save": {
  24840. "post": {
  24841. "tags": [
  24842. "设置 -- 物流 -- 模板"
  24843. ],
  24844. "summary": "新增",
  24845. "consumes": [
  24846. "application/json"
  24847. ],
  24848. "parameters": [
  24849. {
  24850. "name": "root",
  24851. "in": "body",
  24852. "description": "模板",
  24853. "schema": {
  24854. "type": "object",
  24855. "required": [
  24856. "appoint",
  24857. "name",
  24858. "shippingTemplatesFreeRequestList",
  24859. "shippingTemplatesRegionRequestList",
  24860. "type"
  24861. ],
  24862. "properties": {
  24863. "appoint": {
  24864. "type": "boolean",
  24865. "example": false,
  24866. "description": "指定包邮"
  24867. },
  24868. "name": {
  24869. "type": "string",
  24870. "description": "模板名称"
  24871. },
  24872. "shippingTemplatesFreeRequestList": {
  24873. "type": "array",
  24874. "description": "指定包邮设置",
  24875. "items": {
  24876. "type": "object",
  24877. "required": [
  24878. "cityId",
  24879. "number",
  24880. "price"
  24881. ],
  24882. "properties": {
  24883. "cityId": {
  24884. "type": "string",
  24885. "example": "1,2,3,4",
  24886. "description": "城市ID, 多个逗号分割。 全国 all"
  24887. },
  24888. "number": {
  24889. "type": "integer",
  24890. "format": "int32",
  24891. "example": 1,
  24892. "description": "包邮件数"
  24893. },
  24894. "price": {
  24895. "type": "number",
  24896. "example": 0.1,
  24897. "description": "包邮金额"
  24898. },
  24899. "title": {
  24900. "type": "string",
  24901. "description": "城市名称描述"
  24902. }
  24903. },
  24904. "title": "ShippingTemplatesFreeRequest对象",
  24905. "description": "免费",
  24906. "$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
  24907. }
  24908. },
  24909. "shippingTemplatesRegionRequestList": {
  24910. "type": "array",
  24911. "description": "配送区域及运费",
  24912. "items": {
  24913. "type": "object",
  24914. "required": [
  24915. "cityId",
  24916. "first",
  24917. "firstPrice",
  24918. "renewal",
  24919. "renewalPrice"
  24920. ],
  24921. "properties": {
  24922. "cityId": {
  24923. "type": "string",
  24924. "example": "1,2,3,4",
  24925. "description": "城市ID, 多个逗号分割。全国 all"
  24926. },
  24927. "first": {
  24928. "type": "number",
  24929. "example": 0.1,
  24930. "description": "首件"
  24931. },
  24932. "firstPrice": {
  24933. "type": "number",
  24934. "example": 0.1,
  24935. "description": "首件运费"
  24936. },
  24937. "renewal": {
  24938. "type": "number",
  24939. "example": 0.1,
  24940. "description": "续件"
  24941. },
  24942. "renewalPrice": {
  24943. "type": "number",
  24944. "example": 0.1,
  24945. "description": "续件运费"
  24946. },
  24947. "title": {
  24948. "type": "string",
  24949. "description": "城市名称描述"
  24950. },
  24951. "uniqid": {
  24952. "type": "string",
  24953. "description": "分组唯一值"
  24954. }
  24955. },
  24956. "title": "ShippingTemplatesRegionRequest对象",
  24957. "description": "付费",
  24958. "$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
  24959. }
  24960. },
  24961. "sort": {
  24962. "type": "integer",
  24963. "format": "int32",
  24964. "example": 0,
  24965. "description": "排序"
  24966. },
  24967. "type": {
  24968. "type": "integer",
  24969. "format": "int32",
  24970. "example": 1,
  24971. "description": "计费方式 1(按件数), 2(按重量),3(按体积)"
  24972. }
  24973. },
  24974. "title": "ShippingTemplatesRequest对象",
  24975. "description": "模板",
  24976. "$$ref": "#/definitions/ShippingTemplatesRequest对象"
  24977. }
  24978. }
  24979. ],
  24980. "responses": {
  24981. "200": {
  24982. "description": "successful operation",
  24983. "schema": {
  24984. "type": "object",
  24985. "properties": {
  24986. "code": {
  24987. "type": "integer",
  24988. "format": "int64"
  24989. },
  24990. "data": {
  24991. "type": "string"
  24992. },
  24993. "message": {
  24994. "type": "string"
  24995. }
  24996. },
  24997. "title": "CommonResult«string»",
  24998. "$$ref": "#/definitions/CommonResult«string»"
  24999. }
  25000. }
  25001. }
  25002. }
  25003. },
  25004. "/api/admin/express/shipping/templates/info": {
  25005. "get": {
  25006. "tags": [
  25007. "设置 -- 物流 -- 模板"
  25008. ],
  25009. "summary": "详情",
  25010. "consumes": [
  25011. "text/plain"
  25012. ],
  25013. "parameters": [
  25014. {
  25015. "name": "id",
  25016. "in": "query",
  25017. "required": false,
  25018. "description": "id",
  25019. "type": "string"
  25020. },
  25021. {
  25022. "name": "raw",
  25023. "in": "body",
  25024. "description": "raw paramter",
  25025. "schema": {
  25026. "type": "string",
  25027. "format": "binary"
  25028. }
  25029. }
  25030. ],
  25031. "responses": {
  25032. "200": {
  25033. "description": "successful operation",
  25034. "schema": {
  25035. "type": "object",
  25036. "properties": {
  25037. "code": {
  25038. "type": "integer",
  25039. "format": "int64"
  25040. },
  25041. "data": {
  25042. "type": "object",
  25043. "properties": {
  25044. "appoint": {
  25045. "type": "boolean",
  25046. "description": "指定包邮"
  25047. },
  25048. "createTime": {
  25049. "type": "string",
  25050. "format": "date-time",
  25051. "description": "创建时间"
  25052. },
  25053. "id": {
  25054. "type": "integer",
  25055. "format": "int32",
  25056. "description": "编号"
  25057. },
  25058. "name": {
  25059. "type": "string",
  25060. "description": "模板名称"
  25061. },
  25062. "sort": {
  25063. "type": "integer",
  25064. "format": "int32",
  25065. "description": "排序"
  25066. },
  25067. "type": {
  25068. "type": "integer",
  25069. "format": "int32",
  25070. "description": "计费方式"
  25071. },
  25072. "updateTime": {
  25073. "type": "string",
  25074. "format": "date-time",
  25075. "description": "修改时间"
  25076. }
  25077. },
  25078. "title": "ShippingTemplates对象",
  25079. "$$ref": "#/definitions/ShippingTemplates对象"
  25080. },
  25081. "message": {
  25082. "type": "string"
  25083. }
  25084. },
  25085. "title": "CommonResult«ShippingTemplates对象»",
  25086. "$$ref": "#/definitions/CommonResult«ShippingTemplates对象»"
  25087. }
  25088. }
  25089. }
  25090. }
  25091. },
  25092. "/api/admin/system/log/update": {
  25093. "post": {
  25094. "tags": [
  25095. "设置 -- 管理员操作记录"
  25096. ],
  25097. "summary": "修改",
  25098. "consumes": [
  25099. "application/json"
  25100. ],
  25101. "parameters": [
  25102. {
  25103. "name": "addTime",
  25104. "in": "query",
  25105. "required": false,
  25106. "description": "操作时间",
  25107. "type": "string"
  25108. },
  25109. {
  25110. "name": "adminId",
  25111. "in": "query",
  25112. "required": false,
  25113. "description": "管理员id",
  25114. "type": "string"
  25115. },
  25116. {
  25117. "name": "adminName",
  25118. "in": "query",
  25119. "required": false,
  25120. "description": "管理员姓名",
  25121. "type": "string"
  25122. },
  25123. {
  25124. "name": "id",
  25125. "in": "query",
  25126. "required": false,
  25127. "description": "id",
  25128. "type": "string"
  25129. },
  25130. {
  25131. "name": "id",
  25132. "in": "query",
  25133. "required": false,
  25134. "description": "管理员操作记录ID",
  25135. "type": "string"
  25136. },
  25137. {
  25138. "name": "ip",
  25139. "in": "query",
  25140. "required": false,
  25141. "description": "登录IP",
  25142. "type": "string"
  25143. },
  25144. {
  25145. "name": "merchantId",
  25146. "in": "query",
  25147. "required": false,
  25148. "description": "商户id",
  25149. "type": "string"
  25150. },
  25151. {
  25152. "name": "method",
  25153. "in": "query",
  25154. "required": false,
  25155. "description": "访问类型",
  25156. "type": "string"
  25157. },
  25158. {
  25159. "name": "page",
  25160. "in": "query",
  25161. "required": false,
  25162. "description": "行为",
  25163. "type": "string"
  25164. },
  25165. {
  25166. "name": "path",
  25167. "in": "query",
  25168. "required": false,
  25169. "description": "链接",
  25170. "type": "string"
  25171. },
  25172. {
  25173. "name": "type",
  25174. "in": "query",
  25175. "required": false,
  25176. "description": "类型",
  25177. "type": "string"
  25178. }
  25179. ],
  25180. "responses": {
  25181. "200": {
  25182. "description": "successful operation",
  25183. "schema": {
  25184. "type": "object",
  25185. "properties": {
  25186. "code": {
  25187. "type": "integer",
  25188. "format": "int64"
  25189. },
  25190. "data": {
  25191. "type": "string"
  25192. },
  25193. "message": {
  25194. "type": "string"
  25195. }
  25196. },
  25197. "title": "CommonResult«string»",
  25198. "$$ref": "#/definitions/CommonResult«string»"
  25199. }
  25200. }
  25201. }
  25202. }
  25203. },
  25204. "/api/admin/system/log/list": {
  25205. "get": {
  25206. "tags": [
  25207. "设置 -- 管理员操作记录"
  25208. ],
  25209. "summary": "分页列表",
  25210. "consumes": [
  25211. "text/plain"
  25212. ],
  25213. "parameters": [
  25214. {
  25215. "name": "addTime",
  25216. "in": "query",
  25217. "required": false,
  25218. "description": "操作时间",
  25219. "type": "string"
  25220. },
  25221. {
  25222. "name": "adminId",
  25223. "in": "query",
  25224. "required": false,
  25225. "description": "管理员id",
  25226. "type": "string"
  25227. },
  25228. {
  25229. "name": "adminName",
  25230. "in": "query",
  25231. "required": false,
  25232. "description": "管理员姓名",
  25233. "type": "string"
  25234. },
  25235. {
  25236. "name": "id",
  25237. "in": "query",
  25238. "required": false,
  25239. "description": "管理员操作记录ID",
  25240. "type": "string"
  25241. },
  25242. {
  25243. "name": "ip",
  25244. "in": "query",
  25245. "required": false,
  25246. "description": "登录IP",
  25247. "type": "string"
  25248. },
  25249. {
  25250. "name": "limit",
  25251. "in": "query",
  25252. "required": false,
  25253. "description": "每页数量",
  25254. "type": "string"
  25255. },
  25256. {
  25257. "name": "merchantId",
  25258. "in": "query",
  25259. "required": false,
  25260. "description": "商户id",
  25261. "type": "string"
  25262. },
  25263. {
  25264. "name": "method",
  25265. "in": "query",
  25266. "required": false,
  25267. "description": "访问类型",
  25268. "type": "string"
  25269. },
  25270. {
  25271. "name": "page",
  25272. "in": "query",
  25273. "required": false,
  25274. "description": "行为",
  25275. "type": "string"
  25276. },
  25277. {
  25278. "name": "page",
  25279. "in": "query",
  25280. "required": false,
  25281. "description": "页码",
  25282. "type": "string"
  25283. },
  25284. {
  25285. "name": "path",
  25286. "in": "query",
  25287. "required": false,
  25288. "description": "链接",
  25289. "type": "string"
  25290. },
  25291. {
  25292. "name": "type",
  25293. "in": "query",
  25294. "required": false,
  25295. "description": "类型",
  25296. "type": "string"
  25297. },
  25298. {
  25299. "name": "raw",
  25300. "in": "body",
  25301. "description": "raw paramter",
  25302. "schema": {
  25303. "type": "string",
  25304. "format": "binary"
  25305. }
  25306. }
  25307. ],
  25308. "responses": {
  25309. "200": {
  25310. "description": "successful operation",
  25311. "schema": {
  25312. "type": "object",
  25313. "properties": {
  25314. "code": {
  25315. "type": "integer",
  25316. "format": "int64"
  25317. },
  25318. "data": {
  25319. "type": "object",
  25320. "properties": {
  25321. "limit": {
  25322. "type": "integer",
  25323. "format": "int32"
  25324. },
  25325. "list": {
  25326. "type": "array",
  25327. "items": {
  25328. "type": "object",
  25329. "properties": {
  25330. "addTime": {
  25331. "type": "integer",
  25332. "format": "int32",
  25333. "description": "操作时间"
  25334. },
  25335. "adminId": {
  25336. "type": "integer",
  25337. "format": "int32",
  25338. "description": "管理员id"
  25339. },
  25340. "adminName": {
  25341. "type": "string",
  25342. "description": "管理员姓名"
  25343. },
  25344. "id": {
  25345. "type": "integer",
  25346. "format": "int32",
  25347. "description": "管理员操作记录ID"
  25348. },
  25349. "ip": {
  25350. "type": "string",
  25351. "description": "登录IP"
  25352. },
  25353. "merchantId": {
  25354. "type": "integer",
  25355. "format": "int32",
  25356. "description": "商户id"
  25357. },
  25358. "method": {
  25359. "type": "string",
  25360. "description": "访问类型"
  25361. },
  25362. "page": {
  25363. "type": "string",
  25364. "description": "行为"
  25365. },
  25366. "path": {
  25367. "type": "string",
  25368. "description": "链接"
  25369. },
  25370. "type": {
  25371. "type": "string",
  25372. "description": "类型"
  25373. }
  25374. },
  25375. "title": "SystemLog对象",
  25376. "description": "管理员操作记录表",
  25377. "$$ref": "#/definitions/SystemLog对象"
  25378. }
  25379. },
  25380. "page": {
  25381. "type": "integer",
  25382. "format": "int32"
  25383. },
  25384. "total": {
  25385. "type": "integer",
  25386. "format": "int64"
  25387. },
  25388. "totalPage": {
  25389. "type": "integer",
  25390. "format": "int32"
  25391. }
  25392. },
  25393. "title": "CommonPage«SystemLog对象»",
  25394. "$$ref": "#/definitions/CommonPage«SystemLog对象»"
  25395. },
  25396. "message": {
  25397. "type": "string"
  25398. }
  25399. },
  25400. "title": "CommonResult«CommonPage«SystemLog对象»»",
  25401. "$$ref": "#/definitions/CommonResult«CommonPage«SystemLog对象»»"
  25402. }
  25403. }
  25404. }
  25405. }
  25406. },
  25407. "/api/admin/system/log/delete": {
  25408. "get": {
  25409. "tags": [
  25410. "设置 -- 管理员操作记录"
  25411. ],
  25412. "summary": "删除",
  25413. "consumes": [
  25414. "text/plain"
  25415. ],
  25416. "parameters": [
  25417. {
  25418. "name": "id",
  25419. "in": "query",
  25420. "required": false,
  25421. "description": "id",
  25422. "type": "string"
  25423. },
  25424. {
  25425. "name": "raw",
  25426. "in": "body",
  25427. "description": "raw paramter",
  25428. "schema": {
  25429. "type": "string",
  25430. "format": "binary"
  25431. }
  25432. }
  25433. ],
  25434. "responses": {
  25435. "200": {
  25436. "description": "successful operation",
  25437. "schema": {
  25438. "type": "object",
  25439. "properties": {
  25440. "code": {
  25441. "type": "integer",
  25442. "format": "int64"
  25443. },
  25444. "data": {
  25445. "type": "string"
  25446. },
  25447. "message": {
  25448. "type": "string"
  25449. }
  25450. },
  25451. "title": "CommonResult«string»",
  25452. "$$ref": "#/definitions/CommonResult«string»"
  25453. }
  25454. }
  25455. }
  25456. }
  25457. },
  25458. "/api/admin/system/log/save": {
  25459. "post": {
  25460. "tags": [
  25461. "设置 -- 管理员操作记录"
  25462. ],
  25463. "summary": "新增",
  25464. "consumes": [
  25465. "application/json"
  25466. ],
  25467. "parameters": [
  25468. {
  25469. "name": "addTime",
  25470. "in": "query",
  25471. "required": false,
  25472. "description": "操作时间",
  25473. "type": "string"
  25474. },
  25475. {
  25476. "name": "adminId",
  25477. "in": "query",
  25478. "required": false,
  25479. "description": "管理员id",
  25480. "type": "string"
  25481. },
  25482. {
  25483. "name": "adminName",
  25484. "in": "query",
  25485. "required": false,
  25486. "description": "管理员姓名",
  25487. "type": "string"
  25488. },
  25489. {
  25490. "name": "id",
  25491. "in": "query",
  25492. "required": false,
  25493. "description": "管理员操作记录ID",
  25494. "type": "string"
  25495. },
  25496. {
  25497. "name": "ip",
  25498. "in": "query",
  25499. "required": false,
  25500. "description": "登录IP",
  25501. "type": "string"
  25502. },
  25503. {
  25504. "name": "merchantId",
  25505. "in": "query",
  25506. "required": false,
  25507. "description": "商户id",
  25508. "type": "string"
  25509. },
  25510. {
  25511. "name": "method",
  25512. "in": "query",
  25513. "required": false,
  25514. "description": "访问类型",
  25515. "type": "string"
  25516. },
  25517. {
  25518. "name": "page",
  25519. "in": "query",
  25520. "required": false,
  25521. "description": "行为",
  25522. "type": "string"
  25523. },
  25524. {
  25525. "name": "path",
  25526. "in": "query",
  25527. "required": false,
  25528. "description": "链接",
  25529. "type": "string"
  25530. },
  25531. {
  25532. "name": "type",
  25533. "in": "query",
  25534. "required": false,
  25535. "description": "类型",
  25536. "type": "string"
  25537. }
  25538. ],
  25539. "responses": {
  25540. "200": {
  25541. "description": "successful operation",
  25542. "schema": {
  25543. "type": "object",
  25544. "properties": {
  25545. "code": {
  25546. "type": "integer",
  25547. "format": "int64"
  25548. },
  25549. "data": {
  25550. "type": "string"
  25551. },
  25552. "message": {
  25553. "type": "string"
  25554. }
  25555. },
  25556. "title": "CommonResult«string»",
  25557. "$$ref": "#/definitions/CommonResult«string»"
  25558. }
  25559. }
  25560. }
  25561. }
  25562. },
  25563. "/api/admin/system/log/info": {
  25564. "get": {
  25565. "tags": [
  25566. "设置 -- 管理员操作记录"
  25567. ],
  25568. "summary": "详情",
  25569. "consumes": [
  25570. "text/plain"
  25571. ],
  25572. "parameters": [
  25573. {
  25574. "name": "id",
  25575. "in": "query",
  25576. "required": false,
  25577. "description": "id",
  25578. "type": "string"
  25579. },
  25580. {
  25581. "name": "raw",
  25582. "in": "body",
  25583. "description": "raw paramter",
  25584. "schema": {
  25585. "type": "string",
  25586. "format": "binary"
  25587. }
  25588. }
  25589. ],
  25590. "responses": {
  25591. "200": {
  25592. "description": "successful operation",
  25593. "schema": {
  25594. "type": "object",
  25595. "properties": {
  25596. "code": {
  25597. "type": "integer",
  25598. "format": "int64"
  25599. },
  25600. "data": {
  25601. "type": "object",
  25602. "properties": {
  25603. "addTime": {
  25604. "type": "integer",
  25605. "format": "int32",
  25606. "description": "操作时间"
  25607. },
  25608. "adminId": {
  25609. "type": "integer",
  25610. "format": "int32",
  25611. "description": "管理员id"
  25612. },
  25613. "adminName": {
  25614. "type": "string",
  25615. "description": "管理员姓名"
  25616. },
  25617. "id": {
  25618. "type": "integer",
  25619. "format": "int32",
  25620. "description": "管理员操作记录ID"
  25621. },
  25622. "ip": {
  25623. "type": "string",
  25624. "description": "登录IP"
  25625. },
  25626. "merchantId": {
  25627. "type": "integer",
  25628. "format": "int32",
  25629. "description": "商户id"
  25630. },
  25631. "method": {
  25632. "type": "string",
  25633. "description": "访问类型"
  25634. },
  25635. "page": {
  25636. "type": "string",
  25637. "description": "行为"
  25638. },
  25639. "path": {
  25640. "type": "string",
  25641. "description": "链接"
  25642. },
  25643. "type": {
  25644. "type": "string",
  25645. "description": "类型"
  25646. }
  25647. },
  25648. "title": "SystemLog对象",
  25649. "description": "管理员操作记录表",
  25650. "$$ref": "#/definitions/SystemLog对象"
  25651. },
  25652. "message": {
  25653. "type": "string"
  25654. }
  25655. },
  25656. "title": "CommonResult«SystemLog对象»",
  25657. "$$ref": "#/definitions/CommonResult«SystemLog对象»"
  25658. }
  25659. }
  25660. }
  25661. }
  25662. },
  25663. "/api/admin/system/group/update": {
  25664. "post": {
  25665. "tags": [
  25666. "设置 -- 组合数据"
  25667. ],
  25668. "summary": "修改",
  25669. "consumes": [
  25670. "application/json"
  25671. ],
  25672. "parameters": [
  25673. {
  25674. "name": "formId",
  25675. "in": "query",
  25676. "required": false,
  25677. "description": "form 表单 id",
  25678. "type": "string"
  25679. },
  25680. {
  25681. "name": "id",
  25682. "in": "query",
  25683. "required": false,
  25684. "description": "id",
  25685. "type": "string"
  25686. },
  25687. {
  25688. "name": "info",
  25689. "in": "query",
  25690. "required": false,
  25691. "description": "简介",
  25692. "type": "string"
  25693. },
  25694. {
  25695. "name": "name",
  25696. "in": "query",
  25697. "required": false,
  25698. "description": "数据组名称",
  25699. "type": "string"
  25700. }
  25701. ],
  25702. "responses": {
  25703. "200": {
  25704. "description": "successful operation",
  25705. "schema": {
  25706. "type": "object",
  25707. "properties": {
  25708. "code": {
  25709. "type": "integer",
  25710. "format": "int64"
  25711. },
  25712. "data": {
  25713. "type": "string"
  25714. },
  25715. "message": {
  25716. "type": "string"
  25717. }
  25718. },
  25719. "title": "CommonResult«string»",
  25720. "$$ref": "#/definitions/CommonResult«string»"
  25721. }
  25722. }
  25723. }
  25724. }
  25725. },
  25726. "/api/admin/system/group/list": {
  25727. "get": {
  25728. "tags": [
  25729. "设置 -- 组合数据"
  25730. ],
  25731. "summary": "分页列表",
  25732. "consumes": [
  25733. "text/plain"
  25734. ],
  25735. "parameters": [
  25736. {
  25737. "name": "keywords",
  25738. "in": "query",
  25739. "required": false,
  25740. "description": "关键字",
  25741. "type": "string"
  25742. },
  25743. {
  25744. "name": "limit",
  25745. "in": "query",
  25746. "required": false,
  25747. "description": "每页数量",
  25748. "type": "string"
  25749. },
  25750. {
  25751. "name": "page",
  25752. "in": "query",
  25753. "required": false,
  25754. "description": "页码",
  25755. "type": "string"
  25756. },
  25757. {
  25758. "name": "raw",
  25759. "in": "body",
  25760. "description": "raw paramter",
  25761. "schema": {
  25762. "type": "string",
  25763. "format": "binary"
  25764. }
  25765. }
  25766. ],
  25767. "responses": {
  25768. "200": {
  25769. "description": "successful operation",
  25770. "schema": {
  25771. "type": "object",
  25772. "properties": {
  25773. "code": {
  25774. "type": "integer",
  25775. "format": "int64"
  25776. },
  25777. "data": {
  25778. "type": "object",
  25779. "properties": {
  25780. "limit": {
  25781. "type": "integer",
  25782. "format": "int32"
  25783. },
  25784. "list": {
  25785. "type": "array",
  25786. "items": {
  25787. "type": "object",
  25788. "properties": {
  25789. "createTime": {
  25790. "type": "string",
  25791. "format": "date-time",
  25792. "description": "创建时间"
  25793. },
  25794. "formId": {
  25795. "type": "integer",
  25796. "format": "int32",
  25797. "description": "form 表单 id"
  25798. },
  25799. "id": {
  25800. "type": "integer",
  25801. "format": "int32",
  25802. "description": "组合数据ID"
  25803. },
  25804. "info": {
  25805. "type": "string",
  25806. "description": "简介"
  25807. },
  25808. "name": {
  25809. "type": "string",
  25810. "description": "数据组名称"
  25811. },
  25812. "updateTime": {
  25813. "type": "string",
  25814. "format": "date-time",
  25815. "description": "更新时间"
  25816. }
  25817. },
  25818. "title": "SystemGroup对象",
  25819. "description": "组合数据表",
  25820. "$$ref": "#/definitions/SystemGroup对象"
  25821. }
  25822. },
  25823. "page": {
  25824. "type": "integer",
  25825. "format": "int32"
  25826. },
  25827. "total": {
  25828. "type": "integer",
  25829. "format": "int64"
  25830. },
  25831. "totalPage": {
  25832. "type": "integer",
  25833. "format": "int32"
  25834. }
  25835. },
  25836. "title": "CommonPage«SystemGroup对象»",
  25837. "$$ref": "#/definitions/CommonPage«SystemGroup对象»"
  25838. },
  25839. "message": {
  25840. "type": "string"
  25841. }
  25842. },
  25843. "title": "CommonResult«CommonPage«SystemGroup对象»»",
  25844. "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroup对象»»"
  25845. }
  25846. }
  25847. }
  25848. }
  25849. },
  25850. "/api/admin/system/group/delete": {
  25851. "get": {
  25852. "tags": [
  25853. "设置 -- 组合数据"
  25854. ],
  25855. "summary": "删除",
  25856. "consumes": [
  25857. "text/plain"
  25858. ],
  25859. "parameters": [
  25860. {
  25861. "name": "id",
  25862. "in": "query",
  25863. "required": false,
  25864. "description": "id",
  25865. "type": "string"
  25866. },
  25867. {
  25868. "name": "raw",
  25869. "in": "body",
  25870. "description": "raw paramter",
  25871. "schema": {
  25872. "type": "string",
  25873. "format": "binary"
  25874. }
  25875. }
  25876. ],
  25877. "responses": {
  25878. "200": {
  25879. "description": "successful operation",
  25880. "schema": {
  25881. "type": "object",
  25882. "properties": {
  25883. "code": {
  25884. "type": "integer",
  25885. "format": "int64"
  25886. },
  25887. "data": {
  25888. "type": "string"
  25889. },
  25890. "message": {
  25891. "type": "string"
  25892. }
  25893. },
  25894. "title": "CommonResult«string»",
  25895. "$$ref": "#/definitions/CommonResult«string»"
  25896. }
  25897. }
  25898. }
  25899. }
  25900. },
  25901. "/api/admin/system/group/save": {
  25902. "post": {
  25903. "tags": [
  25904. "设置 -- 组合数据"
  25905. ],
  25906. "summary": "新增",
  25907. "consumes": [
  25908. "application/json"
  25909. ],
  25910. "parameters": [
  25911. {
  25912. "name": "formId",
  25913. "in": "query",
  25914. "required": false,
  25915. "description": "form 表单 id",
  25916. "type": "string"
  25917. },
  25918. {
  25919. "name": "info",
  25920. "in": "query",
  25921. "required": false,
  25922. "description": "简介",
  25923. "type": "string"
  25924. },
  25925. {
  25926. "name": "name",
  25927. "in": "query",
  25928. "required": false,
  25929. "description": "数据组名称",
  25930. "type": "string"
  25931. }
  25932. ],
  25933. "responses": {
  25934. "200": {
  25935. "description": "successful operation",
  25936. "schema": {
  25937. "type": "object",
  25938. "properties": {
  25939. "code": {
  25940. "type": "integer",
  25941. "format": "int64"
  25942. },
  25943. "data": {
  25944. "type": "string"
  25945. },
  25946. "message": {
  25947. "type": "string"
  25948. }
  25949. },
  25950. "title": "CommonResult«string»",
  25951. "$$ref": "#/definitions/CommonResult«string»"
  25952. }
  25953. }
  25954. }
  25955. }
  25956. },
  25957. "/api/admin/system/group/info": {
  25958. "get": {
  25959. "tags": [
  25960. "设置 -- 组合数据"
  25961. ],
  25962. "summary": "详情",
  25963. "consumes": [
  25964. "text/plain"
  25965. ],
  25966. "parameters": [
  25967. {
  25968. "name": "id",
  25969. "in": "query",
  25970. "required": false,
  25971. "description": "id",
  25972. "type": "string"
  25973. },
  25974. {
  25975. "name": "raw",
  25976. "in": "body",
  25977. "description": "raw paramter",
  25978. "schema": {
  25979. "type": "string",
  25980. "format": "binary"
  25981. }
  25982. }
  25983. ],
  25984. "responses": {
  25985. "200": {
  25986. "description": "successful operation",
  25987. "schema": {
  25988. "type": "object",
  25989. "properties": {
  25990. "code": {
  25991. "type": "integer",
  25992. "format": "int64"
  25993. },
  25994. "data": {
  25995. "type": "object",
  25996. "properties": {
  25997. "createTime": {
  25998. "type": "string",
  25999. "format": "date-time",
  26000. "description": "创建时间"
  26001. },
  26002. "formId": {
  26003. "type": "integer",
  26004. "format": "int32",
  26005. "description": "form 表单 id"
  26006. },
  26007. "id": {
  26008. "type": "integer",
  26009. "format": "int32",
  26010. "description": "组合数据ID"
  26011. },
  26012. "info": {
  26013. "type": "string",
  26014. "description": "简介"
  26015. },
  26016. "name": {
  26017. "type": "string",
  26018. "description": "数据组名称"
  26019. },
  26020. "updateTime": {
  26021. "type": "string",
  26022. "format": "date-time",
  26023. "description": "更新时间"
  26024. }
  26025. },
  26026. "title": "SystemGroup对象",
  26027. "description": "组合数据表",
  26028. "$$ref": "#/definitions/SystemGroup对象"
  26029. },
  26030. "message": {
  26031. "type": "string"
  26032. }
  26033. },
  26034. "title": "CommonResult«SystemGroup对象»",
  26035. "$$ref": "#/definitions/CommonResult«SystemGroup对象»"
  26036. }
  26037. }
  26038. }
  26039. }
  26040. },
  26041. "/api/admin/system/group/data/update": {
  26042. "post": {
  26043. "tags": [
  26044. "设置 -- 组合数据 -- 详情"
  26045. ],
  26046. "summary": "修改",
  26047. "consumes": [
  26048. "application/json"
  26049. ],
  26050. "parameters": [
  26051. {
  26052. "name": "id",
  26053. "in": "query",
  26054. "required": false,
  26055. "description": "id",
  26056. "type": "string"
  26057. },
  26058. {
  26059. "name": "root",
  26060. "in": "body",
  26061. "description": "组合数据详情表",
  26062. "schema": {
  26063. "type": "object",
  26064. "properties": {
  26065. "form": {
  26066. "type": "object",
  26067. "required": [
  26068. "fields",
  26069. "id",
  26070. "sort"
  26071. ],
  26072. "properties": {
  26073. "fields": {
  26074. "type": "array",
  26075. "description": "字段值列表",
  26076. "items": {
  26077. "type": "object",
  26078. "required": [
  26079. "name",
  26080. "title",
  26081. "value"
  26082. ],
  26083. "properties": {
  26084. "name": {
  26085. "type": "string",
  26086. "description": "字段名称"
  26087. },
  26088. "title": {
  26089. "type": "string",
  26090. "description": "字段显示文字"
  26091. },
  26092. "value": {
  26093. "type": "string",
  26094. "description": "字段值"
  26095. }
  26096. },
  26097. "title": "SystemFormItemCheckRequest对象",
  26098. "description": "表单字段明细",
  26099. "$$ref": "#/definitions/SystemFormItemCheckRequest对象"
  26100. }
  26101. },
  26102. "id": {
  26103. "type": "integer",
  26104. "format": "int32",
  26105. "description": "表单名称"
  26106. },
  26107. "sort": {
  26108. "type": "integer",
  26109. "format": "int32",
  26110. "description": "排序"
  26111. },
  26112. "status": {
  26113. "type": "boolean",
  26114. "description": "状态(1:开启;0:关闭;)"
  26115. }
  26116. },
  26117. "title": "SystemFormCheckRequest对象",
  26118. "description": "整体保存表单数据",
  26119. "$$ref": "#/definitions/SystemFormCheckRequest对象"
  26120. },
  26121. "gid": {
  26122. "type": "integer",
  26123. "format": "int32",
  26124. "description": "对应的数据组id"
  26125. }
  26126. },
  26127. "title": "SystemGroupDataRequest对象",
  26128. "description": "组合数据详情表",
  26129. "$$ref": "#/definitions/SystemGroupDataRequest对象"
  26130. }
  26131. }
  26132. ],
  26133. "responses": {
  26134. "200": {
  26135. "description": "successful operation",
  26136. "schema": {
  26137. "type": "object",
  26138. "properties": {
  26139. "code": {
  26140. "type": "integer",
  26141. "format": "int64"
  26142. },
  26143. "data": {
  26144. "type": "string"
  26145. },
  26146. "message": {
  26147. "type": "string"
  26148. }
  26149. },
  26150. "title": "CommonResult«string»",
  26151. "$$ref": "#/definitions/CommonResult«string»"
  26152. }
  26153. }
  26154. }
  26155. }
  26156. },
  26157. "/api/admin/system/group/data/list": {
  26158. "get": {
  26159. "tags": [
  26160. "设置 -- 组合数据 -- 详情"
  26161. ],
  26162. "summary": "分页列表",
  26163. "consumes": [
  26164. "text/plain"
  26165. ],
  26166. "parameters": [
  26167. {
  26168. "name": "gid",
  26169. "in": "query",
  26170. "required": false,
  26171. "description": "分组id",
  26172. "type": "string"
  26173. },
  26174. {
  26175. "name": "keywords",
  26176. "in": "query",
  26177. "required": false,
  26178. "description": "关键字",
  26179. "type": "string"
  26180. },
  26181. {
  26182. "name": "limit",
  26183. "in": "query",
  26184. "required": false,
  26185. "description": "每页数量",
  26186. "type": "string"
  26187. },
  26188. {
  26189. "name": "page",
  26190. "in": "query",
  26191. "required": false,
  26192. "description": "页码",
  26193. "type": "string"
  26194. },
  26195. {
  26196. "name": "status",
  26197. "in": "query",
  26198. "required": false,
  26199. "description": "状态(1:开启;2:关闭;)",
  26200. "type": "string"
  26201. },
  26202. {
  26203. "name": "raw",
  26204. "in": "body",
  26205. "description": "raw paramter",
  26206. "schema": {
  26207. "type": "string",
  26208. "format": "binary"
  26209. }
  26210. }
  26211. ],
  26212. "responses": {
  26213. "200": {
  26214. "description": "successful operation",
  26215. "schema": {
  26216. "type": "object",
  26217. "properties": {
  26218. "code": {
  26219. "type": "integer",
  26220. "format": "int64"
  26221. },
  26222. "data": {
  26223. "type": "object",
  26224. "properties": {
  26225. "limit": {
  26226. "type": "integer",
  26227. "format": "int32"
  26228. },
  26229. "list": {
  26230. "type": "array",
  26231. "items": {
  26232. "type": "object",
  26233. "properties": {
  26234. "createTime": {
  26235. "type": "string",
  26236. "format": "date-time",
  26237. "description": "创建时间"
  26238. },
  26239. "gid": {
  26240. "type": "integer",
  26241. "format": "int32",
  26242. "description": "对应的数据组id"
  26243. },
  26244. "id": {
  26245. "type": "integer",
  26246. "format": "int32",
  26247. "description": "组合数据详情ID"
  26248. },
  26249. "sort": {
  26250. "type": "integer",
  26251. "format": "int32",
  26252. "description": "数据排序"
  26253. },
  26254. "status": {
  26255. "type": "boolean",
  26256. "description": "状态(1:开启;0:关闭;)"
  26257. },
  26258. "updateTime": {
  26259. "type": "string",
  26260. "format": "date-time",
  26261. "description": "更新时间"
  26262. },
  26263. "value": {
  26264. "type": "string",
  26265. "description": "数据组对应的数据值(json数据)"
  26266. }
  26267. },
  26268. "title": "SystemGroupData对象",
  26269. "description": "组合数据详情表",
  26270. "$$ref": "#/definitions/SystemGroupData对象"
  26271. }
  26272. },
  26273. "page": {
  26274. "type": "integer",
  26275. "format": "int32"
  26276. },
  26277. "total": {
  26278. "type": "integer",
  26279. "format": "int64"
  26280. },
  26281. "totalPage": {
  26282. "type": "integer",
  26283. "format": "int32"
  26284. }
  26285. },
  26286. "title": "CommonPage«SystemGroupData对象»",
  26287. "$$ref": "#/definitions/CommonPage«SystemGroupData对象»"
  26288. },
  26289. "message": {
  26290. "type": "string"
  26291. }
  26292. },
  26293. "title": "CommonResult«CommonPage«SystemGroupData对象»»",
  26294. "$$ref": "#/definitions/CommonResult«CommonPage«SystemGroupData对象»»"
  26295. }
  26296. }
  26297. }
  26298. }
  26299. },
  26300. "/api/admin/system/group/data/delete": {
  26301. "get": {
  26302. "tags": [
  26303. "设置 -- 组合数据 -- 详情"
  26304. ],
  26305. "summary": "删除",
  26306. "consumes": [
  26307. "text/plain"
  26308. ],
  26309. "parameters": [
  26310. {
  26311. "name": "id",
  26312. "in": "query",
  26313. "required": false,
  26314. "description": "id",
  26315. "type": "string"
  26316. },
  26317. {
  26318. "name": "raw",
  26319. "in": "body",
  26320. "description": "raw paramter",
  26321. "schema": {
  26322. "type": "string",
  26323. "format": "binary"
  26324. }
  26325. }
  26326. ],
  26327. "responses": {
  26328. "200": {
  26329. "description": "successful operation",
  26330. "schema": {
  26331. "type": "object",
  26332. "properties": {
  26333. "code": {
  26334. "type": "integer",
  26335. "format": "int64"
  26336. },
  26337. "data": {
  26338. "type": "string"
  26339. },
  26340. "message": {
  26341. "type": "string"
  26342. }
  26343. },
  26344. "title": "CommonResult«string»",
  26345. "$$ref": "#/definitions/CommonResult«string»"
  26346. }
  26347. }
  26348. }
  26349. }
  26350. },
  26351. "/api/admin/system/group/data/save": {
  26352. "post": {
  26353. "tags": [
  26354. "设置 -- 组合数据 -- 详情"
  26355. ],
  26356. "summary": "新增",
  26357. "consumes": [
  26358. "application/json"
  26359. ],
  26360. "parameters": [
  26361. {
  26362. "name": "root",
  26363. "in": "body",
  26364. "description": "组合数据详情表",
  26365. "schema": {
  26366. "type": "object",
  26367. "properties": {
  26368. "form": {
  26369. "type": "object",
  26370. "required": [
  26371. "fields",
  26372. "id",
  26373. "sort"
  26374. ],
  26375. "properties": {
  26376. "fields": {
  26377. "type": "array",
  26378. "description": "字段值列表",
  26379. "items": {
  26380. "type": "object",
  26381. "required": [
  26382. "name",
  26383. "title",
  26384. "value"
  26385. ],
  26386. "properties": {
  26387. "name": {
  26388. "type": "string",
  26389. "description": "字段名称"
  26390. },
  26391. "title": {
  26392. "type": "string",
  26393. "description": "字段显示文字"
  26394. },
  26395. "value": {
  26396. "type": "string",
  26397. "description": "字段值"
  26398. }
  26399. },
  26400. "title": "SystemFormItemCheckRequest对象",
  26401. "description": "表单字段明细",
  26402. "$$ref": "#/definitions/SystemFormItemCheckRequest对象"
  26403. }
  26404. },
  26405. "id": {
  26406. "type": "integer",
  26407. "format": "int32",
  26408. "description": "表单名称"
  26409. },
  26410. "sort": {
  26411. "type": "integer",
  26412. "format": "int32",
  26413. "description": "排序"
  26414. },
  26415. "status": {
  26416. "type": "boolean",
  26417. "description": "状态(1:开启;0:关闭;)"
  26418. }
  26419. },
  26420. "title": "SystemFormCheckRequest对象",
  26421. "description": "整体保存表单数据",
  26422. "$$ref": "#/definitions/SystemFormCheckRequest对象"
  26423. },
  26424. "gid": {
  26425. "type": "integer",
  26426. "format": "int32",
  26427. "description": "对应的数据组id"
  26428. }
  26429. },
  26430. "title": "SystemGroupDataRequest对象",
  26431. "description": "组合数据详情表",
  26432. "$$ref": "#/definitions/SystemGroupDataRequest对象"
  26433. }
  26434. }
  26435. ],
  26436. "responses": {
  26437. "200": {
  26438. "description": "successful operation",
  26439. "schema": {
  26440. "type": "object",
  26441. "properties": {
  26442. "code": {
  26443. "type": "integer",
  26444. "format": "int64"
  26445. },
  26446. "data": {
  26447. "type": "string"
  26448. },
  26449. "message": {
  26450. "type": "string"
  26451. }
  26452. },
  26453. "title": "CommonResult«string»",
  26454. "$$ref": "#/definitions/CommonResult«string»"
  26455. }
  26456. }
  26457. }
  26458. }
  26459. },
  26460. "/api/admin/system/group/data/info": {
  26461. "get": {
  26462. "tags": [
  26463. "设置 -- 组合数据 -- 详情"
  26464. ],
  26465. "summary": "详情",
  26466. "consumes": [
  26467. "text/plain"
  26468. ],
  26469. "parameters": [
  26470. {
  26471. "name": "id",
  26472. "in": "query",
  26473. "required": false,
  26474. "description": "id",
  26475. "type": "string"
  26476. },
  26477. {
  26478. "name": "raw",
  26479. "in": "body",
  26480. "description": "raw paramter",
  26481. "schema": {
  26482. "type": "string",
  26483. "format": "binary"
  26484. }
  26485. }
  26486. ],
  26487. "responses": {
  26488. "200": {
  26489. "description": "successful operation",
  26490. "schema": {
  26491. "type": "object",
  26492. "properties": {
  26493. "code": {
  26494. "type": "integer",
  26495. "format": "int64"
  26496. },
  26497. "data": {
  26498. "type": "object",
  26499. "properties": {
  26500. "createTime": {
  26501. "type": "string",
  26502. "format": "date-time",
  26503. "description": "创建时间"
  26504. },
  26505. "gid": {
  26506. "type": "integer",
  26507. "format": "int32",
  26508. "description": "对应的数据组id"
  26509. },
  26510. "id": {
  26511. "type": "integer",
  26512. "format": "int32",
  26513. "description": "组合数据详情ID"
  26514. },
  26515. "sort": {
  26516. "type": "integer",
  26517. "format": "int32",
  26518. "description": "数据排序"
  26519. },
  26520. "status": {
  26521. "type": "boolean",
  26522. "description": "状态(1:开启;0:关闭;)"
  26523. },
  26524. "updateTime": {
  26525. "type": "string",
  26526. "format": "date-time",
  26527. "description": "更新时间"
  26528. },
  26529. "value": {
  26530. "type": "string",
  26531. "description": "数据组对应的数据值(json数据)"
  26532. }
  26533. },
  26534. "title": "SystemGroupData对象",
  26535. "description": "组合数据详情表",
  26536. "$$ref": "#/definitions/SystemGroupData对象"
  26537. },
  26538. "message": {
  26539. "type": "string"
  26540. }
  26541. },
  26542. "title": "CommonResult«SystemGroupData对象»",
  26543. "$$ref": "#/definitions/CommonResult«SystemGroupData对象»"
  26544. }
  26545. }
  26546. }
  26547. }
  26548. },
  26549. "/api/admin/system/form/temp/update": {
  26550. "post": {
  26551. "tags": [
  26552. "设置 -- 表单模板"
  26553. ],
  26554. "summary": "修改",
  26555. "consumes": [
  26556. "application/json"
  26557. ],
  26558. "parameters": [
  26559. {
  26560. "name": "id",
  26561. "in": "query",
  26562. "required": false,
  26563. "description": "id",
  26564. "type": "string"
  26565. },
  26566. {
  26567. "name": "root",
  26568. "in": "body",
  26569. "description": "表单模板",
  26570. "schema": {
  26571. "type": "object",
  26572. "required": [
  26573. "content",
  26574. "info",
  26575. "name"
  26576. ],
  26577. "properties": {
  26578. "content": {
  26579. "type": "string",
  26580. "description": "表单内容"
  26581. },
  26582. "info": {
  26583. "type": "string",
  26584. "description": "表单简介"
  26585. },
  26586. "name": {
  26587. "type": "string",
  26588. "description": "表单名称"
  26589. }
  26590. },
  26591. "title": "SystemFormTempRequest对象",
  26592. "description": "表单模板",
  26593. "$$ref": "#/definitions/SystemFormTempRequest对象"
  26594. }
  26595. }
  26596. ],
  26597. "responses": {
  26598. "200": {
  26599. "description": "successful operation",
  26600. "schema": {
  26601. "type": "object",
  26602. "properties": {
  26603. "code": {
  26604. "type": "integer",
  26605. "format": "int64"
  26606. },
  26607. "data": {
  26608. "type": "string"
  26609. },
  26610. "message": {
  26611. "type": "string"
  26612. }
  26613. },
  26614. "title": "CommonResult«string»",
  26615. "$$ref": "#/definitions/CommonResult«string»"
  26616. }
  26617. }
  26618. }
  26619. }
  26620. },
  26621. "/api/admin/system/form/temp/list": {
  26622. "get": {
  26623. "tags": [
  26624. "设置 -- 表单模板"
  26625. ],
  26626. "summary": "分页列表",
  26627. "consumes": [
  26628. "text/plain"
  26629. ],
  26630. "parameters": [
  26631. {
  26632. "name": "keywords",
  26633. "in": "query",
  26634. "required": false,
  26635. "description": "搜索关键字",
  26636. "type": "string"
  26637. },
  26638. {
  26639. "name": "limit",
  26640. "in": "query",
  26641. "required": false,
  26642. "description": "每页数量",
  26643. "type": "string"
  26644. },
  26645. {
  26646. "name": "page",
  26647. "in": "query",
  26648. "required": false,
  26649. "description": "页码",
  26650. "type": "string"
  26651. },
  26652. {
  26653. "name": "raw",
  26654. "in": "body",
  26655. "description": "raw paramter",
  26656. "schema": {
  26657. "type": "string",
  26658. "format": "binary"
  26659. }
  26660. }
  26661. ],
  26662. "responses": {
  26663. "200": {
  26664. "description": "successful operation",
  26665. "schema": {
  26666. "type": "object",
  26667. "properties": {
  26668. "code": {
  26669. "type": "integer",
  26670. "format": "int64"
  26671. },
  26672. "data": {
  26673. "type": "object",
  26674. "properties": {
  26675. "limit": {
  26676. "type": "integer",
  26677. "format": "int32"
  26678. },
  26679. "list": {
  26680. "type": "array",
  26681. "items": {
  26682. "type": "object",
  26683. "properties": {
  26684. "content": {
  26685. "type": "string",
  26686. "description": "表单内容"
  26687. },
  26688. "createTime": {
  26689. "type": "string",
  26690. "format": "date-time",
  26691. "description": "创建时间"
  26692. },
  26693. "id": {
  26694. "type": "integer",
  26695. "format": "int32",
  26696. "description": "表单模板id"
  26697. },
  26698. "info": {
  26699. "type": "string",
  26700. "description": "表单简介"
  26701. },
  26702. "name": {
  26703. "type": "string",
  26704. "description": "表单名称"
  26705. },
  26706. "updateTime": {
  26707. "type": "string",
  26708. "format": "date-time",
  26709. "description": "更新时间"
  26710. }
  26711. },
  26712. "title": "SystemFormTemp对象",
  26713. "description": "表单模板",
  26714. "$$ref": "#/definitions/SystemFormTemp对象"
  26715. }
  26716. },
  26717. "page": {
  26718. "type": "integer",
  26719. "format": "int32"
  26720. },
  26721. "total": {
  26722. "type": "integer",
  26723. "format": "int64"
  26724. },
  26725. "totalPage": {
  26726. "type": "integer",
  26727. "format": "int32"
  26728. }
  26729. },
  26730. "title": "CommonPage«SystemFormTemp对象»",
  26731. "$$ref": "#/definitions/CommonPage«SystemFormTemp对象»"
  26732. },
  26733. "message": {
  26734. "type": "string"
  26735. }
  26736. },
  26737. "title": "CommonResult«CommonPage«SystemFormTemp对象»»",
  26738. "$$ref": "#/definitions/CommonResult«CommonPage«SystemFormTemp对象»»"
  26739. }
  26740. }
  26741. }
  26742. }
  26743. },
  26744. "/api/admin/system/form/temp/save": {
  26745. "post": {
  26746. "tags": [
  26747. "设置 -- 表单模板"
  26748. ],
  26749. "summary": "新增",
  26750. "consumes": [
  26751. "application/json"
  26752. ],
  26753. "parameters": [
  26754. {
  26755. "name": "root",
  26756. "in": "body",
  26757. "description": "表单模板",
  26758. "schema": {
  26759. "type": "object",
  26760. "required": [
  26761. "content",
  26762. "info",
  26763. "name"
  26764. ],
  26765. "properties": {
  26766. "content": {
  26767. "type": "string",
  26768. "description": "表单内容"
  26769. },
  26770. "info": {
  26771. "type": "string",
  26772. "description": "表单简介"
  26773. },
  26774. "name": {
  26775. "type": "string",
  26776. "description": "表单名称"
  26777. }
  26778. },
  26779. "title": "SystemFormTempRequest对象",
  26780. "description": "表单模板",
  26781. "$$ref": "#/definitions/SystemFormTempRequest对象"
  26782. }
  26783. }
  26784. ],
  26785. "responses": {
  26786. "200": {
  26787. "description": "successful operation",
  26788. "schema": {
  26789. "type": "object",
  26790. "properties": {
  26791. "code": {
  26792. "type": "integer",
  26793. "format": "int64"
  26794. },
  26795. "data": {
  26796. "type": "string"
  26797. },
  26798. "message": {
  26799. "type": "string"
  26800. }
  26801. },
  26802. "title": "CommonResult«string»",
  26803. "$$ref": "#/definitions/CommonResult«string»"
  26804. }
  26805. }
  26806. }
  26807. }
  26808. },
  26809. "/api/admin/system/form/temp/info": {
  26810. "get": {
  26811. "tags": [
  26812. "设置 -- 表单模板"
  26813. ],
  26814. "summary": "详情",
  26815. "consumes": [
  26816. "text/plain"
  26817. ],
  26818. "parameters": [
  26819. {
  26820. "name": "id",
  26821. "in": "query",
  26822. "required": false,
  26823. "description": "id",
  26824. "type": "string"
  26825. },
  26826. {
  26827. "name": "raw",
  26828. "in": "body",
  26829. "description": "raw paramter",
  26830. "schema": {
  26831. "type": "string",
  26832. "format": "binary"
  26833. }
  26834. }
  26835. ],
  26836. "responses": {
  26837. "200": {
  26838. "description": "successful operation",
  26839. "schema": {
  26840. "type": "object",
  26841. "properties": {
  26842. "code": {
  26843. "type": "integer",
  26844. "format": "int64"
  26845. },
  26846. "data": {
  26847. "type": "object",
  26848. "properties": {
  26849. "content": {
  26850. "type": "string",
  26851. "description": "表单内容"
  26852. },
  26853. "createTime": {
  26854. "type": "string",
  26855. "format": "date-time",
  26856. "description": "创建时间"
  26857. },
  26858. "id": {
  26859. "type": "integer",
  26860. "format": "int32",
  26861. "description": "表单模板id"
  26862. },
  26863. "info": {
  26864. "type": "string",
  26865. "description": "表单简介"
  26866. },
  26867. "name": {
  26868. "type": "string",
  26869. "description": "表单名称"
  26870. },
  26871. "updateTime": {
  26872. "type": "string",
  26873. "format": "date-time",
  26874. "description": "更新时间"
  26875. }
  26876. },
  26877. "title": "SystemFormTemp对象",
  26878. "description": "表单模板",
  26879. "$$ref": "#/definitions/SystemFormTemp对象"
  26880. },
  26881. "message": {
  26882. "type": "string"
  26883. }
  26884. },
  26885. "title": "CommonResult«SystemFormTemp对象»",
  26886. "$$ref": "#/definitions/CommonResult«SystemFormTemp对象»"
  26887. }
  26888. }
  26889. }
  26890. }
  26891. },
  26892. "/api/admin/system/notice/update": {
  26893. "post": {
  26894. "tags": [
  26895. "设置 -- 通知记录 -- 通知模板"
  26896. ],
  26897. "summary": "修改",
  26898. "consumes": [
  26899. "application/json"
  26900. ],
  26901. "parameters": [
  26902. {
  26903. "name": "icon",
  26904. "in": "query",
  26905. "required": false,
  26906. "description": "图标",
  26907. "type": "string"
  26908. },
  26909. {
  26910. "name": "id",
  26911. "in": "query",
  26912. "required": false,
  26913. "description": "id",
  26914. "type": "string"
  26915. },
  26916. {
  26917. "name": "id",
  26918. "in": "query",
  26919. "required": false,
  26920. "description": "通知模板id",
  26921. "type": "string"
  26922. },
  26923. {
  26924. "name": "pushAdmin",
  26925. "in": "query",
  26926. "required": false,
  26927. "description": "通知管理员id",
  26928. "type": "string"
  26929. },
  26930. {
  26931. "name": "status",
  26932. "in": "query",
  26933. "required": false,
  26934. "description": "状态",
  26935. "type": "string"
  26936. },
  26937. {
  26938. "name": "tableTitle",
  26939. "in": "query",
  26940. "required": false,
  26941. "description": "通知数据",
  26942. "type": "string"
  26943. },
  26944. {
  26945. "name": "template",
  26946. "in": "query",
  26947. "required": false,
  26948. "description": "通知模板",
  26949. "type": "string"
  26950. },
  26951. {
  26952. "name": "title",
  26953. "in": "query",
  26954. "required": false,
  26955. "description": "通知标题",
  26956. "type": "string"
  26957. },
  26958. {
  26959. "name": "type",
  26960. "in": "query",
  26961. "required": false,
  26962. "description": "通知类型",
  26963. "type": "string"
  26964. },
  26965. {
  26966. "name": "url",
  26967. "in": "query",
  26968. "required": false,
  26969. "description": "链接",
  26970. "type": "string"
  26971. }
  26972. ],
  26973. "responses": {
  26974. "200": {
  26975. "description": "successful operation",
  26976. "schema": {
  26977. "type": "object",
  26978. "properties": {
  26979. "code": {
  26980. "type": "integer",
  26981. "format": "int64"
  26982. },
  26983. "data": {
  26984. "type": "string"
  26985. },
  26986. "message": {
  26987. "type": "string"
  26988. }
  26989. },
  26990. "title": "CommonResult«string»",
  26991. "$$ref": "#/definitions/CommonResult«string»"
  26992. }
  26993. }
  26994. }
  26995. }
  26996. },
  26997. "/api/admin/system/notice/list": {
  26998. "get": {
  26999. "tags": [
  27000. "设置 -- 通知记录 -- 通知模板"
  27001. ],
  27002. "summary": "分页列表",
  27003. "consumes": [
  27004. "text/plain"
  27005. ],
  27006. "parameters": [
  27007. {
  27008. "name": "icon",
  27009. "in": "query",
  27010. "required": false,
  27011. "description": "图标",
  27012. "type": "string"
  27013. },
  27014. {
  27015. "name": "id",
  27016. "in": "query",
  27017. "required": false,
  27018. "description": "通知模板id",
  27019. "type": "string"
  27020. },
  27021. {
  27022. "name": "limit",
  27023. "in": "query",
  27024. "required": false,
  27025. "description": "每页数量",
  27026. "type": "string"
  27027. },
  27028. {
  27029. "name": "page",
  27030. "in": "query",
  27031. "required": false,
  27032. "description": "页码",
  27033. "type": "string"
  27034. },
  27035. {
  27036. "name": "pushAdmin",
  27037. "in": "query",
  27038. "required": false,
  27039. "description": "通知管理员id",
  27040. "type": "string"
  27041. },
  27042. {
  27043. "name": "status",
  27044. "in": "query",
  27045. "required": false,
  27046. "description": "状态",
  27047. "type": "string"
  27048. },
  27049. {
  27050. "name": "tableTitle",
  27051. "in": "query",
  27052. "required": false,
  27053. "description": "通知数据",
  27054. "type": "string"
  27055. },
  27056. {
  27057. "name": "template",
  27058. "in": "query",
  27059. "required": false,
  27060. "description": "通知模板",
  27061. "type": "string"
  27062. },
  27063. {
  27064. "name": "title",
  27065. "in": "query",
  27066. "required": false,
  27067. "description": "通知标题",
  27068. "type": "string"
  27069. },
  27070. {
  27071. "name": "type",
  27072. "in": "query",
  27073. "required": false,
  27074. "description": "通知类型",
  27075. "type": "string"
  27076. },
  27077. {
  27078. "name": "url",
  27079. "in": "query",
  27080. "required": false,
  27081. "description": "链接",
  27082. "type": "string"
  27083. },
  27084. {
  27085. "name": "raw",
  27086. "in": "body",
  27087. "description": "raw paramter",
  27088. "schema": {
  27089. "type": "string",
  27090. "format": "binary"
  27091. }
  27092. }
  27093. ],
  27094. "responses": {
  27095. "200": {
  27096. "description": "successful operation",
  27097. "schema": {
  27098. "type": "object",
  27099. "properties": {
  27100. "code": {
  27101. "type": "integer",
  27102. "format": "int64"
  27103. },
  27104. "data": {
  27105. "type": "object",
  27106. "properties": {
  27107. "limit": {
  27108. "type": "integer",
  27109. "format": "int32"
  27110. },
  27111. "list": {
  27112. "type": "array",
  27113. "items": {
  27114. "type": "object",
  27115. "properties": {
  27116. "icon": {
  27117. "type": "string",
  27118. "description": "图标"
  27119. },
  27120. "id": {
  27121. "type": "integer",
  27122. "format": "int32",
  27123. "description": "通知模板id"
  27124. },
  27125. "pushAdmin": {
  27126. "type": "string",
  27127. "description": "通知管理员id"
  27128. },
  27129. "status": {
  27130. "type": "boolean",
  27131. "description": "状态"
  27132. },
  27133. "tableTitle": {
  27134. "type": "string",
  27135. "description": "通知数据"
  27136. },
  27137. "template": {
  27138. "type": "string",
  27139. "description": "通知模板"
  27140. },
  27141. "title": {
  27142. "type": "string",
  27143. "description": "通知标题"
  27144. },
  27145. "type": {
  27146. "type": "string",
  27147. "description": "通知类型"
  27148. },
  27149. "url": {
  27150. "type": "string",
  27151. "description": "链接"
  27152. }
  27153. },
  27154. "title": "SystemNotice对象",
  27155. "description": "通知模板表",
  27156. "$$ref": "#/definitions/SystemNotice对象"
  27157. }
  27158. },
  27159. "page": {
  27160. "type": "integer",
  27161. "format": "int32"
  27162. },
  27163. "total": {
  27164. "type": "integer",
  27165. "format": "int64"
  27166. },
  27167. "totalPage": {
  27168. "type": "integer",
  27169. "format": "int32"
  27170. }
  27171. },
  27172. "title": "CommonPage«SystemNotice对象»",
  27173. "$$ref": "#/definitions/CommonPage«SystemNotice对象»"
  27174. },
  27175. "message": {
  27176. "type": "string"
  27177. }
  27178. },
  27179. "title": "CommonResult«CommonPage«SystemNotice对象»»",
  27180. "$$ref": "#/definitions/CommonResult«CommonPage«SystemNotice对象»»"
  27181. }
  27182. }
  27183. }
  27184. }
  27185. },
  27186. "/api/admin/system/notice/delete": {
  27187. "get": {
  27188. "tags": [
  27189. "设置 -- 通知记录 -- 通知模板"
  27190. ],
  27191. "summary": "删除",
  27192. "consumes": [
  27193. "text/plain"
  27194. ],
  27195. "parameters": [
  27196. {
  27197. "name": "id",
  27198. "in": "query",
  27199. "required": false,
  27200. "description": "id",
  27201. "type": "string"
  27202. },
  27203. {
  27204. "name": "raw",
  27205. "in": "body",
  27206. "description": "raw paramter",
  27207. "schema": {
  27208. "type": "string",
  27209. "format": "binary"
  27210. }
  27211. }
  27212. ],
  27213. "responses": {
  27214. "200": {
  27215. "description": "successful operation",
  27216. "schema": {
  27217. "type": "object",
  27218. "properties": {
  27219. "code": {
  27220. "type": "integer",
  27221. "format": "int64"
  27222. },
  27223. "data": {
  27224. "type": "string"
  27225. },
  27226. "message": {
  27227. "type": "string"
  27228. }
  27229. },
  27230. "title": "CommonResult«string»",
  27231. "$$ref": "#/definitions/CommonResult«string»"
  27232. }
  27233. }
  27234. }
  27235. }
  27236. },
  27237. "/api/admin/system/notice/save": {
  27238. "post": {
  27239. "tags": [
  27240. "设置 -- 通知记录 -- 通知模板"
  27241. ],
  27242. "summary": "新增",
  27243. "consumes": [
  27244. "application/json"
  27245. ],
  27246. "parameters": [
  27247. {
  27248. "name": "icon",
  27249. "in": "query",
  27250. "required": false,
  27251. "description": "图标",
  27252. "type": "string"
  27253. },
  27254. {
  27255. "name": "id",
  27256. "in": "query",
  27257. "required": false,
  27258. "description": "通知模板id",
  27259. "type": "string"
  27260. },
  27261. {
  27262. "name": "pushAdmin",
  27263. "in": "query",
  27264. "required": false,
  27265. "description": "通知管理员id",
  27266. "type": "string"
  27267. },
  27268. {
  27269. "name": "status",
  27270. "in": "query",
  27271. "required": false,
  27272. "description": "状态",
  27273. "type": "string"
  27274. },
  27275. {
  27276. "name": "tableTitle",
  27277. "in": "query",
  27278. "required": false,
  27279. "description": "通知数据",
  27280. "type": "string"
  27281. },
  27282. {
  27283. "name": "template",
  27284. "in": "query",
  27285. "required": false,
  27286. "description": "通知模板",
  27287. "type": "string"
  27288. },
  27289. {
  27290. "name": "title",
  27291. "in": "query",
  27292. "required": false,
  27293. "description": "通知标题",
  27294. "type": "string"
  27295. },
  27296. {
  27297. "name": "type",
  27298. "in": "query",
  27299. "required": false,
  27300. "description": "通知类型",
  27301. "type": "string"
  27302. },
  27303. {
  27304. "name": "url",
  27305. "in": "query",
  27306. "required": false,
  27307. "description": "链接",
  27308. "type": "string"
  27309. }
  27310. ],
  27311. "responses": {
  27312. "200": {
  27313. "description": "successful operation",
  27314. "schema": {
  27315. "type": "object",
  27316. "properties": {
  27317. "code": {
  27318. "type": "integer",
  27319. "format": "int64"
  27320. },
  27321. "data": {
  27322. "type": "string"
  27323. },
  27324. "message": {
  27325. "type": "string"
  27326. }
  27327. },
  27328. "title": "CommonResult«string»",
  27329. "$$ref": "#/definitions/CommonResult«string»"
  27330. }
  27331. }
  27332. }
  27333. }
  27334. },
  27335. "/api/admin/system/notice/info": {
  27336. "get": {
  27337. "tags": [
  27338. "设置 -- 通知记录 -- 通知模板"
  27339. ],
  27340. "summary": "详情",
  27341. "consumes": [
  27342. "text/plain"
  27343. ],
  27344. "parameters": [
  27345. {
  27346. "name": "id",
  27347. "in": "query",
  27348. "required": false,
  27349. "description": "id",
  27350. "type": "string"
  27351. },
  27352. {
  27353. "name": "raw",
  27354. "in": "body",
  27355. "description": "raw paramter",
  27356. "schema": {
  27357. "type": "string",
  27358. "format": "binary"
  27359. }
  27360. }
  27361. ],
  27362. "responses": {
  27363. "200": {
  27364. "description": "successful operation",
  27365. "schema": {
  27366. "type": "object",
  27367. "properties": {
  27368. "code": {
  27369. "type": "integer",
  27370. "format": "int64"
  27371. },
  27372. "data": {
  27373. "type": "object",
  27374. "properties": {
  27375. "icon": {
  27376. "type": "string",
  27377. "description": "图标"
  27378. },
  27379. "id": {
  27380. "type": "integer",
  27381. "format": "int32",
  27382. "description": "通知模板id"
  27383. },
  27384. "pushAdmin": {
  27385. "type": "string",
  27386. "description": "通知管理员id"
  27387. },
  27388. "status": {
  27389. "type": "boolean",
  27390. "description": "状态"
  27391. },
  27392. "tableTitle": {
  27393. "type": "string",
  27394. "description": "通知数据"
  27395. },
  27396. "template": {
  27397. "type": "string",
  27398. "description": "通知模板"
  27399. },
  27400. "title": {
  27401. "type": "string",
  27402. "description": "通知标题"
  27403. },
  27404. "type": {
  27405. "type": "string",
  27406. "description": "通知类型"
  27407. },
  27408. "url": {
  27409. "type": "string",
  27410. "description": "链接"
  27411. }
  27412. },
  27413. "title": "SystemNotice对象",
  27414. "description": "通知模板表",
  27415. "$$ref": "#/definitions/SystemNotice对象"
  27416. },
  27417. "message": {
  27418. "type": "string"
  27419. }
  27420. },
  27421. "title": "CommonResult«SystemNotice对象»",
  27422. "$$ref": "#/definitions/CommonResult«SystemNotice对象»"
  27423. }
  27424. }
  27425. }
  27426. }
  27427. },
  27428. "/api/admin/user/topUpLog/list": {
  27429. "get": {
  27430. "tags": [
  27431. "财务 -- 充值"
  27432. ],
  27433. "summary": "分页列表",
  27434. "consumes": [
  27435. "text/plain"
  27436. ],
  27437. "parameters": [
  27438. {
  27439. "name": "endTime",
  27440. "in": "query",
  27441. "required": false,
  27442. "description": "结束时间",
  27443. "type": "string"
  27444. },
  27445. {
  27446. "name": "keywords",
  27447. "in": "query",
  27448. "required": false,
  27449. "description": "搜索关键字",
  27450. "type": "string"
  27451. },
  27452. {
  27453. "name": "limit",
  27454. "in": "query",
  27455. "required": false,
  27456. "description": "每页数量",
  27457. "type": "string"
  27458. },
  27459. {
  27460. "name": "page",
  27461. "in": "query",
  27462. "required": false,
  27463. "description": "页码",
  27464. "type": "string"
  27465. },
  27466. {
  27467. "name": "paid",
  27468. "in": "query",
  27469. "required": false,
  27470. "description": "是否充值",
  27471. "type": "string"
  27472. },
  27473. {
  27474. "name": "startTime",
  27475. "in": "query",
  27476. "required": false,
  27477. "description": "添加时间",
  27478. "type": "string"
  27479. },
  27480. {
  27481. "name": "status",
  27482. "in": "query",
  27483. "required": false,
  27484. "description": "-1 未通过 0 审核中 1 已提现",
  27485. "type": "string"
  27486. },
  27487. {
  27488. "name": "raw",
  27489. "in": "body",
  27490. "description": "raw paramter",
  27491. "schema": {
  27492. "type": "string",
  27493. "format": "binary"
  27494. }
  27495. }
  27496. ],
  27497. "responses": {
  27498. "200": {
  27499. "description": "successful operation",
  27500. "schema": {
  27501. "type": "object",
  27502. "properties": {
  27503. "code": {
  27504. "type": "integer",
  27505. "format": "int64"
  27506. },
  27507. "data": {
  27508. "type": "object",
  27509. "properties": {
  27510. "limit": {
  27511. "type": "integer",
  27512. "format": "int32"
  27513. },
  27514. "list": {
  27515. "type": "array",
  27516. "items": {
  27517. "type": "object",
  27518. "properties": {
  27519. "createTime": {
  27520. "type": "string",
  27521. "format": "date-time",
  27522. "description": "充值时间"
  27523. },
  27524. "givePrice": {
  27525. "type": "number",
  27526. "description": "购买赠送金额"
  27527. },
  27528. "id": {
  27529. "type": "integer",
  27530. "format": "int32"
  27531. },
  27532. "orderId": {
  27533. "type": "string",
  27534. "description": "订单号"
  27535. },
  27536. "paid": {
  27537. "type": "boolean",
  27538. "description": "是否充值"
  27539. },
  27540. "payTime": {
  27541. "type": "string",
  27542. "format": "date-time",
  27543. "description": "充值支付时间"
  27544. },
  27545. "price": {
  27546. "type": "number",
  27547. "description": "充值金额"
  27548. },
  27549. "rechargeType": {
  27550. "type": "string",
  27551. "description": "充值类型"
  27552. },
  27553. "refundPrice": {
  27554. "type": "number",
  27555. "description": "退款金额"
  27556. },
  27557. "uid": {
  27558. "type": "integer",
  27559. "format": "int32",
  27560. "description": "充值用户UID"
  27561. }
  27562. },
  27563. "title": "UserRecharge对象",
  27564. "description": "用户充值表",
  27565. "$$ref": "#/definitions/UserRecharge对象"
  27566. }
  27567. },
  27568. "page": {
  27569. "type": "integer",
  27570. "format": "int32"
  27571. },
  27572. "total": {
  27573. "type": "integer",
  27574. "format": "int64"
  27575. },
  27576. "totalPage": {
  27577. "type": "integer",
  27578. "format": "int32"
  27579. }
  27580. },
  27581. "title": "CommonPage«UserRecharge对象»",
  27582. "$$ref": "#/definitions/CommonPage«UserRecharge对象»"
  27583. },
  27584. "message": {
  27585. "type": "string"
  27586. }
  27587. },
  27588. "title": "CommonResult«CommonPage«UserRecharge对象»»",
  27589. "$$ref": "#/definitions/CommonResult«CommonPage«UserRecharge对象»»"
  27590. }
  27591. }
  27592. }
  27593. }
  27594. },
  27595. "/api/admin/user/topUpLog/delete": {
  27596. "get": {
  27597. "tags": [
  27598. "财务 -- 充值"
  27599. ],
  27600. "summary": "删除",
  27601. "consumes": [
  27602. "text/plain"
  27603. ],
  27604. "parameters": [
  27605. {
  27606. "name": "id",
  27607. "in": "query",
  27608. "required": false,
  27609. "description": "id",
  27610. "type": "string"
  27611. },
  27612. {
  27613. "name": "raw",
  27614. "in": "body",
  27615. "description": "raw paramter",
  27616. "schema": {
  27617. "type": "string",
  27618. "format": "binary"
  27619. }
  27620. }
  27621. ],
  27622. "responses": {
  27623. "200": {
  27624. "description": "successful operation",
  27625. "schema": {
  27626. "type": "object",
  27627. "properties": {
  27628. "code": {
  27629. "type": "integer",
  27630. "format": "int64"
  27631. },
  27632. "data": {
  27633. "type": "string"
  27634. },
  27635. "message": {
  27636. "type": "string"
  27637. }
  27638. },
  27639. "title": "CommonResult«string»",
  27640. "$$ref": "#/definitions/CommonResult«string»"
  27641. }
  27642. }
  27643. }
  27644. }
  27645. },
  27646. "/api/admin/user/topUpLog/balance": {
  27647. "post": {
  27648. "tags": [
  27649. "财务 -- 充值"
  27650. ],
  27651. "summary": "提现总金额",
  27652. "consumes": [
  27653. "application/json"
  27654. ],
  27655. "parameters": [],
  27656. "responses": {
  27657. "200": {
  27658. "description": "successful operation",
  27659. "schema": {
  27660. "type": "object",
  27661. "properties": {
  27662. "code": {
  27663. "type": "integer",
  27664. "format": "int64"
  27665. },
  27666. "data": {
  27667. "type": "object",
  27668. "additionalProperties": {
  27669. "type": "number"
  27670. }
  27671. },
  27672. "message": {
  27673. "type": "string"
  27674. }
  27675. },
  27676. "title": "CommonResult«HashMap«string,bigdecimal»»",
  27677. "$$ref": "#/definitions/CommonResult«HashMap«string,bigdecimal»»"
  27678. }
  27679. }
  27680. }
  27681. }
  27682. },
  27683. "/api/admin/finance/apply/update": {
  27684. "post": {
  27685. "tags": [
  27686. "财务 -- 提现申请"
  27687. ],
  27688. "summary": "修改",
  27689. "consumes": [
  27690. "application/json"
  27691. ],
  27692. "parameters": [
  27693. {
  27694. "name": "alipayCode",
  27695. "in": "query",
  27696. "required": false,
  27697. "description": "支付宝账号",
  27698. "type": "string"
  27699. },
  27700. {
  27701. "name": "bankCode",
  27702. "in": "query",
  27703. "required": false,
  27704. "description": "银行卡",
  27705. "type": "string"
  27706. },
  27707. {
  27708. "name": "bankname",
  27709. "in": "query",
  27710. "required": false,
  27711. "description": "提现银行名称",
  27712. "type": "string"
  27713. },
  27714. {
  27715. "name": "extractPrice",
  27716. "in": "query",
  27717. "required": false,
  27718. "description": "提现金额",
  27719. "type": "string"
  27720. },
  27721. {
  27722. "name": "extractType",
  27723. "in": "query",
  27724. "required": false,
  27725. "description": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信",
  27726. "type": "string"
  27727. },
  27728. {
  27729. "name": "id",
  27730. "in": "query",
  27731. "required": false,
  27732. "description": "id",
  27733. "type": "string"
  27734. },
  27735. {
  27736. "name": "realName",
  27737. "in": "query",
  27738. "required": false,
  27739. "description": "姓名",
  27740. "type": "string"
  27741. },
  27742. {
  27743. "name": "wechat",
  27744. "in": "query",
  27745. "required": false,
  27746. "description": "微信号",
  27747. "type": "string"
  27748. }
  27749. ],
  27750. "responses": {
  27751. "200": {
  27752. "description": "successful operation",
  27753. "schema": {
  27754. "type": "object",
  27755. "properties": {
  27756. "code": {
  27757. "type": "integer",
  27758. "format": "int64"
  27759. },
  27760. "data": {
  27761. "type": "string"
  27762. },
  27763. "message": {
  27764. "type": "string"
  27765. }
  27766. },
  27767. "title": "CommonResult«string»",
  27768. "$$ref": "#/definitions/CommonResult«string»"
  27769. }
  27770. }
  27771. }
  27772. }
  27773. },
  27774. "/api/admin/finance/apply/list": {
  27775. "get": {
  27776. "tags": [
  27777. "财务 -- 提现申请"
  27778. ],
  27779. "summary": "分页列表",
  27780. "consumes": [
  27781. "text/plain"
  27782. ],
  27783. "parameters": [
  27784. {
  27785. "name": "endTime",
  27786. "in": "query",
  27787. "required": false,
  27788. "description": "结束时间",
  27789. "type": "string"
  27790. },
  27791. {
  27792. "name": "extractType",
  27793. "in": "query",
  27794. "required": false,
  27795. "description": "bank = 银行卡 alipay = 支付宝wx=微信",
  27796. "type": "string"
  27797. },
  27798. {
  27799. "name": "keywords",
  27800. "in": "query",
  27801. "required": false,
  27802. "description": "搜索关键字",
  27803. "type": "string"
  27804. },
  27805. {
  27806. "name": "limit",
  27807. "in": "query",
  27808. "required": false,
  27809. "description": "每页数量",
  27810. "type": "string"
  27811. },
  27812. {
  27813. "name": "page",
  27814. "in": "query",
  27815. "required": false,
  27816. "description": "页码",
  27817. "type": "string"
  27818. },
  27819. {
  27820. "name": "startTime",
  27821. "in": "query",
  27822. "required": false,
  27823. "description": "添加时间",
  27824. "type": "string"
  27825. },
  27826. {
  27827. "name": "status",
  27828. "in": "query",
  27829. "required": false,
  27830. "description": "-1 未通过 0 审核中 1 已提现",
  27831. "type": "string"
  27832. },
  27833. {
  27834. "name": "raw",
  27835. "in": "body",
  27836. "description": "raw paramter",
  27837. "schema": {
  27838. "type": "string",
  27839. "format": "binary"
  27840. }
  27841. }
  27842. ],
  27843. "responses": {
  27844. "200": {
  27845. "description": "successful operation",
  27846. "schema": {
  27847. "type": "object",
  27848. "properties": {
  27849. "code": {
  27850. "type": "integer",
  27851. "format": "int64"
  27852. },
  27853. "data": {
  27854. "type": "object",
  27855. "properties": {
  27856. "limit": {
  27857. "type": "integer",
  27858. "format": "int32"
  27859. },
  27860. "list": {
  27861. "type": "array",
  27862. "items": {
  27863. "type": "object",
  27864. "properties": {
  27865. "alipayCode": {
  27866. "type": "string",
  27867. "description": "支付宝账号"
  27868. },
  27869. "balance": {
  27870. "type": "number",
  27871. "description": "金额"
  27872. },
  27873. "bankAddress": {
  27874. "type": "string",
  27875. "description": "开户地址"
  27876. },
  27877. "bankCode": {
  27878. "type": "string",
  27879. "description": "银行卡"
  27880. },
  27881. "createTime": {
  27882. "type": "string",
  27883. "format": "date-time",
  27884. "description": "创建时间"
  27885. },
  27886. "extractPrice": {
  27887. "type": "number",
  27888. "description": "提现金额"
  27889. },
  27890. "extractType": {
  27891. "type": "string",
  27892. "description": "bank = 银行卡 alipay = 支付宝wx=微信"
  27893. },
  27894. "failMsg": {
  27895. "type": "string",
  27896. "description": "无效原因"
  27897. },
  27898. "failTime": {
  27899. "type": "string",
  27900. "format": "date-time",
  27901. "description": "失败时间"
  27902. },
  27903. "id": {
  27904. "type": "integer",
  27905. "format": "int32"
  27906. },
  27907. "mark": {
  27908. "type": "string",
  27909. "description": "备注"
  27910. },
  27911. "realName": {
  27912. "type": "string",
  27913. "description": "名称"
  27914. },
  27915. "status": {
  27916. "type": "integer",
  27917. "format": "int32",
  27918. "description": "-1 未通过 0 审核中 1 已提现"
  27919. },
  27920. "uid": {
  27921. "type": "integer",
  27922. "format": "int32"
  27923. },
  27924. "updateTime": {
  27925. "type": "string",
  27926. "format": "date-time",
  27927. "description": "更新时间"
  27928. },
  27929. "wechat": {
  27930. "type": "string",
  27931. "description": "微信号"
  27932. }
  27933. },
  27934. "title": "UserExtract对象",
  27935. "description": "用户提现表",
  27936. "$$ref": "#/definitions/UserExtract对象"
  27937. }
  27938. },
  27939. "page": {
  27940. "type": "integer",
  27941. "format": "int32"
  27942. },
  27943. "total": {
  27944. "type": "integer",
  27945. "format": "int64"
  27946. },
  27947. "totalPage": {
  27948. "type": "integer",
  27949. "format": "int32"
  27950. }
  27951. },
  27952. "title": "CommonPage«UserExtract对象»",
  27953. "$$ref": "#/definitions/CommonPage«UserExtract对象»"
  27954. },
  27955. "message": {
  27956. "type": "string"
  27957. }
  27958. },
  27959. "title": "CommonResult«CommonPage«UserExtract对象»»",
  27960. "$$ref": "#/definitions/CommonResult«CommonPage«UserExtract对象»»"
  27961. }
  27962. }
  27963. }
  27964. }
  27965. },
  27966. "/api/admin/finance/apply/balance": {
  27967. "post": {
  27968. "tags": [
  27969. "财务 -- 提现申请"
  27970. ],
  27971. "summary": "提现总金额",
  27972. "consumes": [
  27973. "application/json"
  27974. ],
  27975. "parameters": [],
  27976. "responses": {
  27977. "200": {
  27978. "description": "successful operation",
  27979. "schema": {
  27980. "type": "object",
  27981. "properties": {
  27982. "code": {
  27983. "type": "integer",
  27984. "format": "int64"
  27985. },
  27986. "data": {
  27987. "type": "object",
  27988. "properties": {
  27989. "commissionTotal": {
  27990. "type": "number",
  27991. "description": "佣金总金额"
  27992. },
  27993. "toBeWithdrawn": {
  27994. "type": "number"
  27995. },
  27996. "unDrawn": {
  27997. "type": "number",
  27998. "description": "未提现"
  27999. },
  28000. "withdrawn": {
  28001. "type": "number",
  28002. "description": "已提现"
  28003. }
  28004. },
  28005. "title": "BalanceResponse对象",
  28006. "description": "提现金额",
  28007. "$$ref": "#/definitions/BalanceResponse对象"
  28008. },
  28009. "message": {
  28010. "type": "string"
  28011. }
  28012. },
  28013. "title": "CommonResult«BalanceResponse对象»",
  28014. "$$ref": "#/definitions/CommonResult«BalanceResponse对象»"
  28015. }
  28016. }
  28017. }
  28018. }
  28019. },
  28020. "/api/admin/finance/founds/monitor/list/user": {
  28021. "get": {
  28022. "tags": [
  28023. "财务 -- 资金监控"
  28024. ],
  28025. "summary": "佣金记录",
  28026. "consumes": [
  28027. "text/plain"
  28028. ],
  28029. "parameters": [
  28030. {
  28031. "name": "endTime",
  28032. "in": "query",
  28033. "required": false,
  28034. "type": "string"
  28035. },
  28036. {
  28037. "name": "keywords",
  28038. "in": "query",
  28039. "required": false,
  28040. "description": "搜索关键字",
  28041. "type": "string"
  28042. },
  28043. {
  28044. "name": "limit",
  28045. "in": "query",
  28046. "required": false,
  28047. "description": "每页数量",
  28048. "type": "string"
  28049. },
  28050. {
  28051. "name": "max",
  28052. "in": "query",
  28053. "required": false,
  28054. "description": "最大佣金",
  28055. "type": "string"
  28056. },
  28057. {
  28058. "name": "min",
  28059. "in": "query",
  28060. "required": false,
  28061. "description": "最小佣金",
  28062. "type": "string"
  28063. },
  28064. {
  28065. "name": "page",
  28066. "in": "query",
  28067. "required": false,
  28068. "description": "页码",
  28069. "type": "string"
  28070. },
  28071. {
  28072. "name": "sort",
  28073. "in": "query",
  28074. "required": false,
  28075. "description": "排序 asc/desc",
  28076. "type": "string"
  28077. },
  28078. {
  28079. "name": "type",
  28080. "in": "query",
  28081. "required": false,
  28082. "description": "类型",
  28083. "type": "string"
  28084. },
  28085. {
  28086. "name": "raw",
  28087. "in": "body",
  28088. "description": "raw paramter",
  28089. "schema": {
  28090. "type": "string",
  28091. "format": "binary"
  28092. }
  28093. }
  28094. ],
  28095. "responses": {
  28096. "200": {
  28097. "description": "successful operation",
  28098. "schema": {
  28099. "type": "object",
  28100. "properties": {
  28101. "code": {
  28102. "type": "integer",
  28103. "format": "int64"
  28104. },
  28105. "data": {
  28106. "type": "object",
  28107. "properties": {
  28108. "limit": {
  28109. "type": "integer",
  28110. "format": "int32"
  28111. },
  28112. "list": {
  28113. "type": "array",
  28114. "items": {
  28115. "type": "object",
  28116. "properties": {
  28117. "brokerage": {
  28118. "type": "number",
  28119. "description": "账户佣金"
  28120. },
  28121. "nickname": {
  28122. "type": "string",
  28123. "description": "昵称"
  28124. },
  28125. "nowMoney": {
  28126. "type": "number",
  28127. "description": "账户余额"
  28128. },
  28129. "totalBrokerage": {
  28130. "type": "number",
  28131. "description": "账户总佣金"
  28132. },
  28133. "totalExtract": {
  28134. "type": "number",
  28135. "description": "提现总金额"
  28136. },
  28137. "uid": {
  28138. "type": "integer",
  28139. "format": "int32",
  28140. "description": "充值用户UID"
  28141. }
  28142. },
  28143. "title": "UserFundsMonitor对象",
  28144. "description": "佣金",
  28145. "$$ref": "#/definitions/UserFundsMonitor对象"
  28146. }
  28147. },
  28148. "page": {
  28149. "type": "integer",
  28150. "format": "int32"
  28151. },
  28152. "total": {
  28153. "type": "integer",
  28154. "format": "int64"
  28155. },
  28156. "totalPage": {
  28157. "type": "integer",
  28158. "format": "int32"
  28159. }
  28160. },
  28161. "title": "CommonPage«UserFundsMonitor对象»",
  28162. "$$ref": "#/definitions/CommonPage«UserFundsMonitor对象»"
  28163. },
  28164. "message": {
  28165. "type": "string"
  28166. }
  28167. },
  28168. "title": "CommonResult«CommonPage«UserFundsMonitor对象»»",
  28169. "$$ref": "#/definitions/CommonResult«CommonPage«UserFundsMonitor对象»»"
  28170. }
  28171. }
  28172. }
  28173. }
  28174. },
  28175. "/api/admin/finance/founds/monitor/list": {
  28176. "get": {
  28177. "tags": [
  28178. "财务 -- 资金监控"
  28179. ],
  28180. "summary": "资金监控",
  28181. "consumes": [
  28182. "text/plain"
  28183. ],
  28184. "parameters": [
  28185. {
  28186. "name": "category",
  28187. "in": "query",
  28188. "required": false,
  28189. "description": "类型",
  28190. "type": "string"
  28191. },
  28192. {
  28193. "name": "dateLimit",
  28194. "in": "query",
  28195. "required": false,
  28196. "description": "添加时间",
  28197. "type": "string"
  28198. },
  28199. {
  28200. "name": "keywords",
  28201. "in": "query",
  28202. "required": false,
  28203. "description": "搜索关键字",
  28204. "type": "string"
  28205. },
  28206. {
  28207. "name": "limit",
  28208. "in": "query",
  28209. "required": false,
  28210. "description": "每页数量",
  28211. "type": "string"
  28212. },
  28213. {
  28214. "name": "linkId",
  28215. "in": "query",
  28216. "required": false,
  28217. "description": "关联id",
  28218. "type": "string"
  28219. },
  28220. {
  28221. "name": "max",
  28222. "in": "query",
  28223. "required": false,
  28224. "description": "最大佣金",
  28225. "type": "string"
  28226. },
  28227. {
  28228. "name": "min",
  28229. "in": "query",
  28230. "required": false,
  28231. "description": "最小佣金",
  28232. "type": "string"
  28233. },
  28234. {
  28235. "name": "page",
  28236. "in": "query",
  28237. "required": false,
  28238. "description": "页码",
  28239. "type": "string"
  28240. },
  28241. {
  28242. "name": "pm",
  28243. "in": "query",
  28244. "required": false,
  28245. "description": "操作类型",
  28246. "type": "string"
  28247. },
  28248. {
  28249. "name": "sort",
  28250. "in": "query",
  28251. "required": false,
  28252. "description": "排序 asc/desc",
  28253. "type": "string"
  28254. },
  28255. {
  28256. "name": "type",
  28257. "in": "query",
  28258. "required": false,
  28259. "description": "类型",
  28260. "type": "string"
  28261. },
  28262. {
  28263. "name": "uid",
  28264. "in": "query",
  28265. "required": false,
  28266. "description": "用户id list",
  28267. "type": "string"
  28268. },
  28269. {
  28270. "name": "userIdList",
  28271. "in": "query",
  28272. "required": false,
  28273. "description": "用户id list",
  28274. "type": "string"
  28275. },
  28276. {
  28277. "name": "raw",
  28278. "in": "body",
  28279. "description": "raw paramter",
  28280. "schema": {
  28281. "type": "string",
  28282. "format": "binary"
  28283. }
  28284. }
  28285. ],
  28286. "responses": {
  28287. "200": {
  28288. "description": "successful operation",
  28289. "schema": {
  28290. "type": "object",
  28291. "properties": {
  28292. "code": {
  28293. "type": "integer",
  28294. "format": "int64"
  28295. },
  28296. "data": {
  28297. "type": "object",
  28298. "properties": {
  28299. "limit": {
  28300. "type": "integer",
  28301. "format": "int32"
  28302. },
  28303. "list": {
  28304. "type": "array",
  28305. "items": {
  28306. "type": "object",
  28307. "properties": {
  28308. "add_time": {
  28309. "type": "string",
  28310. "format": "date-time",
  28311. "description": "创建时间"
  28312. },
  28313. "balance": {
  28314. "type": "number",
  28315. "description": "剩余"
  28316. },
  28317. "category": {
  28318. "type": "string",
  28319. "description": "明细种类"
  28320. },
  28321. "createTime": {
  28322. "type": "string",
  28323. "format": "date-time",
  28324. "description": "创建时间"
  28325. },
  28326. "id": {
  28327. "type": "integer",
  28328. "format": "int32",
  28329. "description": "用户账单id"
  28330. },
  28331. "linkId": {
  28332. "type": "string",
  28333. "description": "关联id"
  28334. },
  28335. "mark": {
  28336. "type": "string",
  28337. "description": "备注"
  28338. },
  28339. "nickName": {
  28340. "type": "string",
  28341. "description": "用户呢成"
  28342. },
  28343. "number": {
  28344. "type": "number",
  28345. "description": "明细数字"
  28346. },
  28347. "pm": {
  28348. "type": "integer",
  28349. "format": "int32",
  28350. "description": "0 = 支出 1 = 获得"
  28351. },
  28352. "status": {
  28353. "type": "integer",
  28354. "format": "int32",
  28355. "description": "0 = 带确定 1 = 有效 -1 = 无效"
  28356. },
  28357. "title": {
  28358. "type": "string",
  28359. "description": "账单标题"
  28360. },
  28361. "type": {
  28362. "type": "string",
  28363. "description": "明细类型"
  28364. },
  28365. "uid": {
  28366. "type": "integer",
  28367. "format": "int32",
  28368. "description": "用户uid"
  28369. },
  28370. "updateTime": {
  28371. "type": "string",
  28372. "format": "date-time",
  28373. "description": "创建时间"
  28374. }
  28375. },
  28376. "title": "UserBill对象",
  28377. "description": "用户账单表",
  28378. "$$ref": "#/definitions/UserBill对象"
  28379. }
  28380. },
  28381. "page": {
  28382. "type": "integer",
  28383. "format": "int32"
  28384. },
  28385. "total": {
  28386. "type": "integer",
  28387. "format": "int64"
  28388. },
  28389. "totalPage": {
  28390. "type": "integer",
  28391. "format": "int32"
  28392. }
  28393. },
  28394. "title": "CommonPage«UserBill对象»",
  28395. "$$ref": "#/definitions/CommonPage«UserBill对象»"
  28396. },
  28397. "message": {
  28398. "type": "string"
  28399. }
  28400. },
  28401. "title": "CommonResult«CommonPage«UserBill对象»»",
  28402. "$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
  28403. }
  28404. }
  28405. }
  28406. }
  28407. },
  28408. "/api/admin/system/attachment/update": {
  28409. "post": {
  28410. "tags": [
  28411. "附件管理"
  28412. ],
  28413. "summary": "修改",
  28414. "consumes": [
  28415. "application/json"
  28416. ],
  28417. "parameters": [
  28418. {
  28419. "name": "id",
  28420. "in": "query",
  28421. "required": false,
  28422. "description": "id",
  28423. "type": "string"
  28424. },
  28425. {
  28426. "name": "root",
  28427. "in": "body",
  28428. "schema": {
  28429. "type": "object",
  28430. "properties": {
  28431. "attDir": {
  28432. "type": "string",
  28433. "description": "附件路径"
  28434. },
  28435. "attId": {
  28436. "type": "integer",
  28437. "format": "int32"
  28438. },
  28439. "attSize": {
  28440. "type": "string",
  28441. "description": "附件大小"
  28442. },
  28443. "attType": {
  28444. "type": "string",
  28445. "description": "附件类型"
  28446. },
  28447. "createTime": {
  28448. "type": "string",
  28449. "format": "date-time",
  28450. "description": "创建时间"
  28451. },
  28452. "imageType": {
  28453. "type": "integer",
  28454. "format": "int32",
  28455. "description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
  28456. },
  28457. "model": {
  28458. "type": "string",
  28459. "description": "模块,store"
  28460. },
  28461. "moduleType": {
  28462. "type": "integer",
  28463. "format": "int32",
  28464. "description": "图片上传模块类型 1 后台上传 2 用户生成"
  28465. },
  28466. "name": {
  28467. "type": "string",
  28468. "description": "附件名称"
  28469. },
  28470. "rootDir": {
  28471. "type": "string",
  28472. "description": "服务器上存储的绝对地址"
  28473. },
  28474. "sattDir": {
  28475. "type": "string",
  28476. "description": "压缩图片路径"
  28477. }
  28478. },
  28479. "title": "SystemAttachmentRequest",
  28480. "$$ref": "#/definitions/SystemAttachmentRequest"
  28481. }
  28482. }
  28483. ],
  28484. "responses": {
  28485. "200": {
  28486. "description": "successful operation",
  28487. "schema": {
  28488. "type": "object",
  28489. "properties": {
  28490. "code": {
  28491. "type": "integer",
  28492. "format": "int64"
  28493. },
  28494. "data": {
  28495. "type": "string"
  28496. },
  28497. "message": {
  28498. "type": "string"
  28499. }
  28500. },
  28501. "title": "CommonResult«string»",
  28502. "$$ref": "#/definitions/CommonResult«string»"
  28503. }
  28504. }
  28505. }
  28506. }
  28507. },
  28508. "/api/admin/system/attachment/list": {
  28509. "get": {
  28510. "tags": [
  28511. "附件管理"
  28512. ],
  28513. "summary": "分页列表",
  28514. "consumes": [
  28515. "text/plain"
  28516. ],
  28517. "parameters": [
  28518. {
  28519. "name": "limit",
  28520. "in": "query",
  28521. "required": false,
  28522. "description": "每页数量",
  28523. "type": "string"
  28524. },
  28525. {
  28526. "name": "page",
  28527. "in": "query",
  28528. "required": false,
  28529. "description": "页码",
  28530. "type": "string"
  28531. },
  28532. {
  28533. "name": "pid",
  28534. "in": "query",
  28535. "required": false,
  28536. "description": "pid",
  28537. "type": "string"
  28538. },
  28539. {
  28540. "name": "raw",
  28541. "in": "body",
  28542. "description": "raw paramter",
  28543. "schema": {
  28544. "type": "string",
  28545. "format": "binary"
  28546. }
  28547. }
  28548. ],
  28549. "responses": {
  28550. "200": {
  28551. "description": "successful operation",
  28552. "schema": {
  28553. "type": "object",
  28554. "properties": {
  28555. "code": {
  28556. "type": "integer",
  28557. "format": "int64"
  28558. },
  28559. "data": {
  28560. "type": "object",
  28561. "properties": {
  28562. "limit": {
  28563. "type": "integer",
  28564. "format": "int32"
  28565. },
  28566. "list": {
  28567. "type": "array",
  28568. "items": {
  28569. "type": "object",
  28570. "properties": {
  28571. "attDir": {
  28572. "type": "string",
  28573. "description": "附件路径"
  28574. },
  28575. "attId": {
  28576. "type": "integer",
  28577. "format": "int32"
  28578. },
  28579. "attSize": {
  28580. "type": "string",
  28581. "description": "附件大小"
  28582. },
  28583. "attType": {
  28584. "type": "string",
  28585. "description": "附件类型"
  28586. },
  28587. "createTime": {
  28588. "type": "string",
  28589. "format": "date-time",
  28590. "description": "创建时间"
  28591. },
  28592. "imageType": {
  28593. "type": "integer",
  28594. "format": "int32",
  28595. "description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
  28596. },
  28597. "name": {
  28598. "type": "string",
  28599. "description": "附件名称"
  28600. },
  28601. "pid": {
  28602. "type": "integer",
  28603. "format": "int32",
  28604. "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列"
  28605. },
  28606. "sattDir": {
  28607. "type": "string",
  28608. "description": "压缩图片路径"
  28609. },
  28610. "updateTime": {
  28611. "type": "string",
  28612. "format": "date-time",
  28613. "description": "更新时间"
  28614. }
  28615. },
  28616. "title": "SystemAttachment对象",
  28617. "description": "附件管理表",
  28618. "$$ref": "#/definitions/SystemAttachment对象"
  28619. }
  28620. },
  28621. "page": {
  28622. "type": "integer",
  28623. "format": "int32"
  28624. },
  28625. "total": {
  28626. "type": "integer",
  28627. "format": "int64"
  28628. },
  28629. "totalPage": {
  28630. "type": "integer",
  28631. "format": "int32"
  28632. }
  28633. },
  28634. "title": "CommonPage«SystemAttachment对象»",
  28635. "$$ref": "#/definitions/CommonPage«SystemAttachment对象»"
  28636. },
  28637. "message": {
  28638. "type": "string"
  28639. }
  28640. },
  28641. "title": "CommonResult«CommonPage«SystemAttachment对象»»",
  28642. "$$ref": "#/definitions/CommonResult«CommonPage«SystemAttachment对象»»"
  28643. }
  28644. }
  28645. }
  28646. }
  28647. },
  28648. "/api/admin/system/attachment/delete/{ids}": {
  28649. "get": {
  28650. "tags": [
  28651. "附件管理"
  28652. ],
  28653. "summary": "删除",
  28654. "consumes": [
  28655. "text/plain"
  28656. ],
  28657. "parameters": [
  28658. {
  28659. "name": "ids",
  28660. "in": "path",
  28661. "description": "ids",
  28662. "required": true,
  28663. "type": "string"
  28664. },
  28665. {
  28666. "name": "raw",
  28667. "in": "body",
  28668. "description": "raw paramter",
  28669. "schema": {
  28670. "type": "string",
  28671. "format": "binary"
  28672. }
  28673. }
  28674. ],
  28675. "responses": {
  28676. "200": {
  28677. "description": "successful operation",
  28678. "schema": {
  28679. "type": "object",
  28680. "properties": {
  28681. "code": {
  28682. "type": "integer",
  28683. "format": "int64"
  28684. },
  28685. "data": {
  28686. "type": "string"
  28687. },
  28688. "message": {
  28689. "type": "string"
  28690. }
  28691. },
  28692. "title": "CommonResult«string»",
  28693. "$$ref": "#/definitions/CommonResult«string»"
  28694. }
  28695. }
  28696. }
  28697. }
  28698. },
  28699. "/api/admin/system/attachment/save": {
  28700. "post": {
  28701. "tags": [
  28702. "附件管理"
  28703. ],
  28704. "summary": "新增",
  28705. "consumes": [
  28706. "application/json"
  28707. ],
  28708. "parameters": [
  28709. {
  28710. "name": "root",
  28711. "in": "body",
  28712. "schema": {
  28713. "type": "object",
  28714. "properties": {
  28715. "attDir": {
  28716. "type": "string",
  28717. "description": "附件路径"
  28718. },
  28719. "attId": {
  28720. "type": "integer",
  28721. "format": "int32"
  28722. },
  28723. "attSize": {
  28724. "type": "string",
  28725. "description": "附件大小"
  28726. },
  28727. "attType": {
  28728. "type": "string",
  28729. "description": "附件类型"
  28730. },
  28731. "createTime": {
  28732. "type": "string",
  28733. "format": "date-time",
  28734. "description": "创建时间"
  28735. },
  28736. "imageType": {
  28737. "type": "integer",
  28738. "format": "int32",
  28739. "description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
  28740. },
  28741. "model": {
  28742. "type": "string",
  28743. "description": "模块,store"
  28744. },
  28745. "moduleType": {
  28746. "type": "integer",
  28747. "format": "int32",
  28748. "description": "图片上传模块类型 1 后台上传 2 用户生成"
  28749. },
  28750. "name": {
  28751. "type": "string",
  28752. "description": "附件名称"
  28753. },
  28754. "rootDir": {
  28755. "type": "string",
  28756. "description": "服务器上存储的绝对地址"
  28757. },
  28758. "sattDir": {
  28759. "type": "string",
  28760. "description": "压缩图片路径"
  28761. }
  28762. },
  28763. "title": "SystemAttachmentRequest",
  28764. "$$ref": "#/definitions/SystemAttachmentRequest"
  28765. }
  28766. }
  28767. ],
  28768. "responses": {
  28769. "200": {
  28770. "description": "successful operation",
  28771. "schema": {
  28772. "type": "object",
  28773. "properties": {
  28774. "code": {
  28775. "type": "integer",
  28776. "format": "int64"
  28777. },
  28778. "data": {
  28779. "type": "string"
  28780. },
  28781. "message": {
  28782. "type": "string"
  28783. }
  28784. },
  28785. "title": "CommonResult«string»",
  28786. "$$ref": "#/definitions/CommonResult«string»"
  28787. }
  28788. }
  28789. }
  28790. }
  28791. },
  28792. "/api/admin/system/attachment/move": {
  28793. "post": {
  28794. "tags": [
  28795. "附件管理"
  28796. ],
  28797. "summary": "更改图片目录",
  28798. "consumes": [
  28799. "application/json"
  28800. ],
  28801. "parameters": [
  28802. {
  28803. "name": "root",
  28804. "in": "body",
  28805. "schema": {
  28806. "type": "object",
  28807. "properties": {
  28808. "attrId": {
  28809. "type": "integer",
  28810. "format": "int32"
  28811. },
  28812. "pid": {
  28813. "type": "integer",
  28814. "format": "int32"
  28815. }
  28816. },
  28817. "title": "SystemAttachmentMoveRequest",
  28818. "$$ref": "#/definitions/SystemAttachmentMoveRequest"
  28819. }
  28820. }
  28821. ],
  28822. "responses": {
  28823. "200": {
  28824. "description": "successful operation",
  28825. "schema": {
  28826. "type": "object",
  28827. "properties": {
  28828. "code": {
  28829. "type": "integer",
  28830. "format": "int64"
  28831. },
  28832. "data": {
  28833. "type": "string"
  28834. },
  28835. "message": {
  28836. "type": "string"
  28837. }
  28838. },
  28839. "title": "CommonResult«string»",
  28840. "$$ref": "#/definitions/CommonResult«string»"
  28841. }
  28842. }
  28843. }
  28844. }
  28845. },
  28846. "/api/admin/system/attachment/info/{id}": {
  28847. "get": {
  28848. "tags": [
  28849. "附件管理"
  28850. ],
  28851. "summary": "详情",
  28852. "consumes": [
  28853. "text/plain"
  28854. ],
  28855. "parameters": [
  28856. {
  28857. "name": "id",
  28858. "in": "path",
  28859. "description": "id",
  28860. "required": true,
  28861. "type": "string"
  28862. },
  28863. {
  28864. "name": "raw",
  28865. "in": "body",
  28866. "description": "raw paramter",
  28867. "schema": {
  28868. "type": "string",
  28869. "format": "binary"
  28870. }
  28871. }
  28872. ],
  28873. "responses": {
  28874. "200": {
  28875. "description": "successful operation",
  28876. "schema": {
  28877. "type": "object",
  28878. "properties": {
  28879. "code": {
  28880. "type": "integer",
  28881. "format": "int64"
  28882. },
  28883. "data": {
  28884. "type": "object",
  28885. "properties": {
  28886. "attDir": {
  28887. "type": "string",
  28888. "description": "附件路径"
  28889. },
  28890. "attId": {
  28891. "type": "integer",
  28892. "format": "int32"
  28893. },
  28894. "attSize": {
  28895. "type": "string",
  28896. "description": "附件大小"
  28897. },
  28898. "attType": {
  28899. "type": "string",
  28900. "description": "附件类型"
  28901. },
  28902. "createTime": {
  28903. "type": "string",
  28904. "format": "date-time",
  28905. "description": "创建时间"
  28906. },
  28907. "imageType": {
  28908. "type": "integer",
  28909. "format": "int32",
  28910. "description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
  28911. },
  28912. "name": {
  28913. "type": "string",
  28914. "description": "附件名称"
  28915. },
  28916. "pid": {
  28917. "type": "integer",
  28918. "format": "int32",
  28919. "description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列"
  28920. },
  28921. "sattDir": {
  28922. "type": "string",
  28923. "description": "压缩图片路径"
  28924. },
  28925. "updateTime": {
  28926. "type": "string",
  28927. "format": "date-time",
  28928. "description": "更新时间"
  28929. }
  28930. },
  28931. "title": "SystemAttachment对象",
  28932. "description": "附件管理表",
  28933. "$$ref": "#/definitions/SystemAttachment对象"
  28934. },
  28935. "message": {
  28936. "type": "string"
  28937. }
  28938. },
  28939. "title": "CommonResult«SystemAttachment对象»",
  28940. "$$ref": "#/definitions/CommonResult«SystemAttachment对象»"
  28941. }
  28942. }
  28943. }
  28944. }
  28945. },
  28946. "/api/admin/validate/code/check": {
  28947. "get": {
  28948. "tags": [
  28949. "验证码服务"
  28950. ],
  28951. "summary": "检测验证码",
  28952. "consumes": [
  28953. "text/plain"
  28954. ],
  28955. "parameters": [
  28956. {
  28957. "name": "code",
  28958. "in": "query",
  28959. "required": false,
  28960. "description": "code",
  28961. "type": "string"
  28962. },
  28963. {
  28964. "name": "key",
  28965. "in": "query",
  28966. "required": false,
  28967. "description": "key",
  28968. "type": "string"
  28969. },
  28970. {
  28971. "name": "raw",
  28972. "in": "body",
  28973. "description": "raw paramter",
  28974. "schema": {
  28975. "type": "string",
  28976. "format": "binary"
  28977. }
  28978. }
  28979. ],
  28980. "responses": {
  28981. "200": {
  28982. "description": "successful operation",
  28983. "schema": {
  28984. "type": "object",
  28985. "properties": {
  28986. "code": {
  28987. "type": "integer",
  28988. "format": "int64"
  28989. },
  28990. "data": {
  28991. "type": "boolean"
  28992. },
  28993. "message": {
  28994. "type": "string"
  28995. }
  28996. },
  28997. "title": "CommonResult«boolean»",
  28998. "$$ref": "#/definitions/CommonResult«boolean»"
  28999. }
  29000. }
  29001. }
  29002. }
  29003. },
  29004. "/api/admin/validate/code/get": {
  29005. "get": {
  29006. "tags": [
  29007. "验证码服务"
  29008. ],
  29009. "summary": "获取验证码",
  29010. "consumes": [
  29011. "text/plain"
  29012. ],
  29013. "parameters": [
  29014. {
  29015. "name": "raw",
  29016. "in": "body",
  29017. "description": "raw paramter",
  29018. "schema": {
  29019. "type": "string",
  29020. "format": "binary"
  29021. }
  29022. }
  29023. ],
  29024. "responses": {
  29025. "200": {
  29026. "description": "successful operation",
  29027. "schema": {
  29028. "type": "object",
  29029. "properties": {
  29030. "code": {
  29031. "type": "integer",
  29032. "format": "int64"
  29033. },
  29034. "data": {
  29035. "type": "object",
  29036. "required": [
  29037. "code",
  29038. "key"
  29039. ],
  29040. "properties": {
  29041. "code": {
  29042. "type": "string",
  29043. "description": "code"
  29044. },
  29045. "key": {
  29046. "type": "string",
  29047. "description": "key"
  29048. }
  29049. },
  29050. "title": "ValidateCode对象",
  29051. "description": "验证码类",
  29052. "$$ref": "#/definitions/ValidateCode对象"
  29053. },
  29054. "message": {
  29055. "type": "string"
  29056. }
  29057. },
  29058. "title": "CommonResult«ValidateCode对象»",
  29059. "$$ref": "#/definitions/CommonResult«ValidateCode对象»"
  29060. }
  29061. }
  29062. }
  29063. }
  29064. }
  29065. }
  29066. }