api_data.json 218 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133
  1. [
  2. {
  3. "type": "get",
  4. "url": "/api/agent/version",
  5. "title": "获取配置信息(version)",
  6. "description": "<p>获取配置信息(version)</p>",
  7. "group": "Agent",
  8. "permission": [
  9. {
  10. "name": "Passport"
  11. }
  12. ],
  13. "version": "0.1.0",
  14. "success": {
  15. "examples": [
  16. {
  17. "title": "Success-Response:",
  18. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"version\": []版本信息\n }\n}",
  19. "type": "json"
  20. }
  21. ]
  22. },
  23. "error": {
  24. "examples": [
  25. {
  26. "title": "Error-Response:",
  27. "content": "HTTP/1.1 400 Bad Request\n可能出现的错误代码:\n1000 运营商非法",
  28. "type": "json"
  29. }
  30. ]
  31. },
  32. "filename": "app/Http/Controllers/Api/V1/CompanyController.php",
  33. "groupTitle": "Agent",
  34. "name": "GetApiAgentVersion"
  35. },
  36. {
  37. "type": "get",
  38. "url": "/api/album/add_agent",
  39. "title": "申请经销商(add_agent)",
  40. "description": "<p>申请经销商(add_agent)</p>",
  41. "group": "Album",
  42. "permission": [
  43. {
  44. "name": "none"
  45. }
  46. ],
  47. "version": "0.1.0",
  48. "parameter": {
  49. "fields": {
  50. "Parameter": [
  51. {
  52. "group": "Parameter",
  53. "type": "int",
  54. "optional": true,
  55. "field": "store_id",
  56. "description": "<p>商户id</p>"
  57. },
  58. {
  59. "group": "Parameter",
  60. "type": "int",
  61. "optional": true,
  62. "field": "realname",
  63. "description": "<p>姓名</p>"
  64. },
  65. {
  66. "group": "Parameter",
  67. "type": "int",
  68. "optional": true,
  69. "field": "address",
  70. "description": "<p>地址</p>"
  71. },
  72. {
  73. "group": "Parameter",
  74. "type": "double",
  75. "optional": true,
  76. "field": "lat",
  77. "description": "<p>lat</p>"
  78. },
  79. {
  80. "group": "Parameter",
  81. "type": "double",
  82. "optional": true,
  83. "field": "lon",
  84. "description": "<p>lon</p>"
  85. },
  86. {
  87. "group": "Parameter",
  88. "type": "int",
  89. "optional": true,
  90. "field": "phone",
  91. "description": "<p>电话</p>"
  92. }
  93. ]
  94. }
  95. },
  96. "success": {
  97. "examples": [
  98. {
  99. "title": "Success-Response:",
  100. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": []//返回信息\n}",
  101. "type": "json"
  102. }
  103. ]
  104. },
  105. "error": {
  106. "examples": [
  107. {
  108. "title": "Error-Response:",
  109. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  110. "type": "json"
  111. }
  112. ]
  113. },
  114. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  115. "groupTitle": "Album",
  116. "name": "GetApiAlbumAdd_agent"
  117. },
  118. {
  119. "type": "get",
  120. "url": "/api/album/add_favorite",
  121. "title": "添加收藏(add_favorite)",
  122. "description": "<p>添加收藏(favorite_list)</p>",
  123. "group": "Album",
  124. "permission": [
  125. {
  126. "name": "none"
  127. }
  128. ],
  129. "version": "0.1.0",
  130. "parameter": {
  131. "fields": {
  132. "Parameter": [
  133. {
  134. "group": "Parameter",
  135. "type": "int",
  136. "optional": true,
  137. "field": "store_id",
  138. "description": "<p>商户id</p>"
  139. },
  140. {
  141. "group": "Parameter",
  142. "type": "int",
  143. "optional": true,
  144. "field": "product_id",
  145. "description": "<p>商品id</p>"
  146. }
  147. ]
  148. }
  149. },
  150. "success": {
  151. "examples": [
  152. {
  153. "title": "Success-Response:",
  154. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": []//返回信息\n}",
  155. "type": "json"
  156. }
  157. ]
  158. },
  159. "error": {
  160. "examples": [
  161. {
  162. "title": "Error-Response:",
  163. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  164. "type": "json"
  165. }
  166. ]
  167. },
  168. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  169. "groupTitle": "Album",
  170. "name": "GetApiAlbumAdd_favorite"
  171. },
  172. {
  173. "type": "get",
  174. "url": "/api/album/cat",
  175. "title": "分类列表(cat)",
  176. "description": "<p>画册分类(cat)</p>",
  177. "group": "Album",
  178. "permission": [
  179. {
  180. "name": "none"
  181. }
  182. ],
  183. "version": "0.1.0",
  184. "parameter": {
  185. "fields": {
  186. "Parameter": [
  187. {
  188. "group": "Parameter",
  189. "type": "int",
  190. "optional": true,
  191. "field": "parent_id",
  192. "description": "<p>一级菜单传0 二级菜单的id从一级菜单里面获取</p>"
  193. },
  194. {
  195. "group": "Parameter",
  196. "type": "int",
  197. "optional": true,
  198. "field": "store_id",
  199. "description": "<p>商户id 模拟值为0</p>"
  200. }
  201. ]
  202. }
  203. },
  204. "success": {
  205. "examples": [
  206. {
  207. "title": "Success-Response:",
  208. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 9,\n \"name\": \"圣地亚哥\",\n \"parent_id\": 0,\n \"level\": \"00\",\n \"pic_url\": \"http://admin.xcx.com/upload/images/20180518/af6cc8fd71241744ccd638afc6ac25f2.png\",\n \"created_at\": \"2018-05-19 14:55:48\",\n \"updated_at\": \"2018-05-19 14:55:48\",\n \"store_id\": 0,\n \"deleted_at\": null,\n \"sort\": 0\n }\n ]\n}",
  209. "type": "json"
  210. }
  211. ]
  212. },
  213. "error": {
  214. "examples": [
  215. {
  216. "title": "Error-Response:",
  217. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  218. "type": "json"
  219. }
  220. ]
  221. },
  222. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  223. "groupTitle": "Album",
  224. "name": "GetApiAlbumCat"
  225. },
  226. {
  227. "type": "get",
  228. "url": "/api/album/checklogin",
  229. "title": "登陆应用(checklogin)",
  230. "description": "<p>登陆应用(checklogin)</p>",
  231. "group": "Album",
  232. "permission": [
  233. {
  234. "name": "none"
  235. }
  236. ],
  237. "version": "0.1.0",
  238. "parameter": {
  239. "fields": {
  240. "Parameter": [
  241. {
  242. "group": "Parameter",
  243. "type": "int",
  244. "optional": true,
  245. "field": "store_id",
  246. "description": "<p>商户id 模拟值为0</p>"
  247. }
  248. ]
  249. }
  250. },
  251. "success": {
  252. "examples": [
  253. {
  254. "title": "Success-Response:",
  255. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n\n }\n}",
  256. "type": "json"
  257. }
  258. ]
  259. },
  260. "error": {
  261. "examples": [
  262. {
  263. "title": "Error-Response:",
  264. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  265. "type": "json"
  266. }
  267. ]
  268. },
  269. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  270. "groupTitle": "Album",
  271. "name": "GetApiAlbumChecklogin"
  272. },
  273. {
  274. "type": "get",
  275. "url": "/api/album/customer-goods",
  276. "title": "获取客户浏览商品统计(customer-goods)",
  277. "description": "<p>获取客户浏览商品统计(customer-goods)</p>",
  278. "group": "Album",
  279. "permission": [
  280. {
  281. "name": "none"
  282. }
  283. ],
  284. "version": "0.1.0",
  285. "parameter": {
  286. "fields": {
  287. "Parameter": [
  288. {
  289. "group": "Parameter",
  290. "type": "int",
  291. "optional": true,
  292. "field": "store_id",
  293. "description": "<p>商户id</p>"
  294. }
  295. ]
  296. }
  297. },
  298. "success": {
  299. "examples": [
  300. {
  301. "title": "Success-Response:",
  302. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n {\n \"name\":\n \"count\":\n },\n ]\n}",
  303. "type": "json"
  304. }
  305. ]
  306. },
  307. "error": {
  308. "examples": [
  309. {
  310. "title": "Error-Response:",
  311. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  312. "type": "json"
  313. }
  314. ]
  315. },
  316. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  317. "groupTitle": "Album",
  318. "name": "GetApiAlbumCustomerGoods"
  319. },
  320. {
  321. "type": "get",
  322. "url": "/api/album/favorite_del",
  323. "title": "收藏删除(favorite_del)",
  324. "description": "<p>收藏删除(favorite_del)</p>",
  325. "group": "Album",
  326. "permission": [
  327. {
  328. "name": "none"
  329. }
  330. ],
  331. "version": "0.1.0",
  332. "parameter": {
  333. "fields": {
  334. "Parameter": [
  335. {
  336. "group": "Parameter",
  337. "type": "int",
  338. "optional": true,
  339. "field": "store_id",
  340. "description": "<p>商户id 模拟值为0</p>"
  341. },
  342. {
  343. "group": "Parameter",
  344. "type": "int",
  345. "optional": true,
  346. "field": "favorite_id",
  347. "description": "<p>收藏id</p>"
  348. }
  349. ]
  350. }
  351. },
  352. "success": {
  353. "examples": [
  354. {
  355. "title": "Success-Response:",
  356. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[]//返回状态\n}",
  357. "type": "json"
  358. }
  359. ]
  360. },
  361. "error": {
  362. "examples": [
  363. {
  364. "title": "Error-Response:",
  365. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  366. "type": "json"
  367. }
  368. ]
  369. },
  370. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  371. "groupTitle": "Album",
  372. "name": "GetApiAlbumFavorite_del"
  373. },
  374. {
  375. "type": "get",
  376. "url": "/api/album/favorite_list",
  377. "title": "收藏列表(favorite_list)",
  378. "description": "<p>收藏列表(favorite_list)</p>",
  379. "group": "Album",
  380. "permission": [
  381. {
  382. "name": "none"
  383. }
  384. ],
  385. "version": "0.1.0",
  386. "parameter": {
  387. "fields": {
  388. "Parameter": [
  389. {
  390. "group": "Parameter",
  391. "type": "int",
  392. "optional": true,
  393. "field": "store_id",
  394. "description": "<p>商户id 模拟值为0</p>"
  395. }
  396. ]
  397. }
  398. },
  399. "success": {
  400. "examples": [
  401. {
  402. "title": "Success-Response:",
  403. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 4,\n \"user_id\": 1,\n \"deleted_at\": null,\n \"created_at\": \"2018-10-29 15:51:47\",\n \"updated_at\": \"2018-10-29 15:53:15\",\n \"product_id\": 3,\n \"store_id\": 0,\n \"goods\": {\n \"id\": 3,\n \"store_id\": 0,\n \"cat_id\": 9,\n \"specifications_img\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"style\": \"纯白\",\n \"sort\": 11,\n \"cover_pic\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"hot_cake\": 1,\n \"news\": 1,\n \"detail\": \"<p>达达娃达娃达娃大青蛙大全大是大非如果v率v恶策但是许多女性的项目部的不行么法可没副本副本副本么方便</p>\",\n \"created_at\": \"2018-05-19 15:09:04\",\n \"updated_at\": \"2018-05-19 15:09:04\",\n \"deleted_at\": null,\n \"install_img\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"简约\",\n \"detail_pic\": \"\"\n }\n }\n ]\n}",
  404. "type": "json"
  405. }
  406. ]
  407. },
  408. "error": {
  409. "examples": [
  410. {
  411. "title": "Error-Response:",
  412. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  413. "type": "json"
  414. }
  415. ]
  416. },
  417. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  418. "groupTitle": "Album",
  419. "name": "GetApiAlbumFavorite_list"
  420. },
  421. {
  422. "type": "get",
  423. "url": "/api/album/get-agent-address",
  424. "title": "获取经销商地址(get-agent-address)",
  425. "description": "<p>获取经销商地址(get-agent-address)</p>",
  426. "group": "Album",
  427. "permission": [
  428. {
  429. "name": "none"
  430. }
  431. ],
  432. "version": "0.1.0",
  433. "success": {
  434. "examples": [
  435. {
  436. "title": "Success-Response:",
  437. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"realname\":\n \"phone\":\n \"address\":\n ]\n}",
  438. "type": "json"
  439. }
  440. ]
  441. },
  442. "error": {
  443. "examples": [
  444. {
  445. "title": "Error-Response:",
  446. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  447. "type": "json"
  448. }
  449. ]
  450. },
  451. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  452. "groupTitle": "Album",
  453. "name": "GetApiAlbumGetAgentAddress"
  454. },
  455. {
  456. "type": "get",
  457. "url": "/api/album/get-banner",
  458. "title": "获取banner和視頻(get-banner)",
  459. "description": "<p>获取banner和視頻(get-banner)</p>",
  460. "group": "Album",
  461. "permission": [
  462. {
  463. "name": "none"
  464. }
  465. ],
  466. "version": "0.1.0",
  467. "success": {
  468. "examples": [
  469. {
  470. "title": "Success-Response:",
  471. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"video\":{\n 'url':22222,\n 'name':22222,\n 'type':22222,\n 'agent_id':22222,\n }\n \"banner\":{\n 'url':22222,\n 'name':22222,\n 'type':22222,\n 'agent_id':22222,\n },\n ]\n}",
  472. "type": "json"
  473. }
  474. ]
  475. },
  476. "error": {
  477. "examples": [
  478. {
  479. "title": "Error-Response:",
  480. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  481. "type": "json"
  482. }
  483. ]
  484. },
  485. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  486. "groupTitle": "Album",
  487. "name": "GetApiAlbumGetBanner"
  488. },
  489. {
  490. "type": "get",
  491. "url": "/api/album/get-customer",
  492. "title": "获取客户信息(get-customer)",
  493. "description": "<p>获取客户信息(get-customer)</p>",
  494. "group": "Album",
  495. "permission": [
  496. {
  497. "name": "none"
  498. }
  499. ],
  500. "version": "0.1.0",
  501. "parameter": {
  502. "fields": {
  503. "Parameter": [
  504. {
  505. "group": "Parameter",
  506. "type": "int",
  507. "optional": true,
  508. "field": "store_id",
  509. "description": "<p>商户id</p>"
  510. },
  511. {
  512. "group": "Parameter",
  513. "type": "string",
  514. "optional": true,
  515. "field": "openid_id",
  516. "description": "<p>open_id</p>"
  517. }
  518. ]
  519. }
  520. },
  521. "success": {
  522. "examples": [
  523. {
  524. "title": "Success-Response:",
  525. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"comment\":\n \"address\":\n \"phone\":\n \"tips\":\n ]\n}",
  526. "type": "json"
  527. }
  528. ]
  529. },
  530. "error": {
  531. "examples": [
  532. {
  533. "title": "Error-Response:",
  534. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  535. "type": "json"
  536. }
  537. ]
  538. },
  539. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  540. "groupTitle": "Album",
  541. "name": "GetApiAlbumGetCustomer"
  542. },
  543. {
  544. "type": "get",
  545. "url": "/api/album/get-user-info",
  546. "title": "获取客户详细(get-user-info)",
  547. "description": "<p>获取客户详细(get-user-info)</p>",
  548. "group": "Album",
  549. "permission": [
  550. {
  551. "name": "AUTH"
  552. }
  553. ],
  554. "version": "0.1.0",
  555. "success": {
  556. "examples": [
  557. {
  558. "title": "Success-Response:",
  559. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n {\n \"username\":\n \"is_dealer\":\n ...\n },\n ]\n}",
  560. "type": "json"
  561. }
  562. ]
  563. },
  564. "error": {
  565. "examples": [
  566. {
  567. "title": "Error-Response:",
  568. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  569. "type": "json"
  570. }
  571. ]
  572. },
  573. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  574. "groupTitle": "Album",
  575. "name": "GetApiAlbumGetUserInfo"
  576. },
  577. {
  578. "type": "get",
  579. "url": "/api/album/goods",
  580. "title": "商品列表(goods)",
  581. "description": "<p>商品列表(goods)</p>",
  582. "group": "Album",
  583. "permission": [
  584. {
  585. "name": "none"
  586. }
  587. ],
  588. "version": "0.1.0",
  589. "parameter": {
  590. "fields": {
  591. "Parameter": [
  592. {
  593. "group": "Parameter",
  594. "type": "int",
  595. "optional": true,
  596. "field": "cat_id",
  597. "description": "<p>分类id</p>"
  598. },
  599. {
  600. "group": "Parameter",
  601. "type": "string",
  602. "optional": true,
  603. "field": "keywords",
  604. "description": "<p>关键词.</p>"
  605. },
  606. {
  607. "group": "Parameter",
  608. "type": "int",
  609. "optional": true,
  610. "field": "style",
  611. "description": "<p>风格</p>"
  612. }
  613. ]
  614. }
  615. },
  616. "success": {
  617. "examples": [
  618. {
  619. "title": "Success-Response:",
  620. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"goods\": [\n {\n \"id\": 3,\n \"cover_pic\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"简约\",\n \"style\": \"纯白\",\n \"hot_cake\": 1,\n \"news\": 1,\n \"price\": \"\"\n }\n ],\n \"name\": 品牌名\n }\n}",
  621. "type": "json"
  622. }
  623. ]
  624. },
  625. "error": {
  626. "examples": [
  627. {
  628. "title": "Error-Response:",
  629. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  630. "type": "json"
  631. }
  632. ]
  633. },
  634. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  635. "groupTitle": "Album",
  636. "name": "GetApiAlbumGoods"
  637. },
  638. {
  639. "type": "get",
  640. "url": "/api/album/goods-detail",
  641. "title": "商品详细(goods-detail)",
  642. "description": "<p>商品列表(goods-detail)</p>",
  643. "group": "Album",
  644. "permission": [
  645. {
  646. "name": "none"
  647. }
  648. ],
  649. "version": "0.1.0",
  650. "parameter": {
  651. "fields": {
  652. "Parameter": [
  653. {
  654. "group": "Parameter",
  655. "type": "int",
  656. "optional": true,
  657. "field": "goods_id",
  658. "description": "<p>商品id</p>"
  659. },
  660. {
  661. "group": "Parameter",
  662. "type": "int",
  663. "optional": true,
  664. "field": "store_id",
  665. "description": "<p>商户id 模拟值为0</p>"
  666. }
  667. ]
  668. }
  669. },
  670. "success": {
  671. "examples": [
  672. {
  673. "title": "Success-Response:",
  674. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"id\": 3,\n \"store_id\": 0,\n \"cat_id\": 9,\n \"specifications_img\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"style\": \"纯白\",\n \"sort\": 11,\n \"cover_pic\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"hot_cake\": 1,\n \"news\": 1,\n \"detail\": \"<p>达达娃达娃达娃大青蛙大全大是大非如果v率v恶策但是许多女性的项目部的不行么法可没副本副本副本么方便</p>\",\n \"created_at\": \"2018-05-19 15:09:04\",\n \"updated_at\": \"2018-05-19 15:09:04\",\n \"deleted_at\": null,\n \"install_img\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"简约\",\n \"detail_pic\": \"\"\n \"price\": \"\",\n \"price_default\": \"\",\n \"mobile\": \"\",\n \"address\": \"\",\n \"realname\": \"\",\n \"is_favorite\": 1,\n \"favorite_id\": 4\n }\n}",
  675. "type": "json"
  676. }
  677. ]
  678. },
  679. "error": {
  680. "examples": [
  681. {
  682. "title": "Error-Response:",
  683. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  684. "type": "json"
  685. }
  686. ]
  687. },
  688. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  689. "groupTitle": "Album",
  690. "name": "GetApiAlbumGoodsDetail"
  691. },
  692. {
  693. "type": "get",
  694. "url": "/api/album/save_form_id",
  695. "title": "添加Form_id(save_form_id)",
  696. "description": "<p>添加Form_id(save_form_id)</p>",
  697. "group": "Album",
  698. "permission": [
  699. {
  700. "name": "none"
  701. }
  702. ],
  703. "version": "0.1.0",
  704. "parameter": {
  705. "fields": {
  706. "Parameter": [
  707. {
  708. "group": "Parameter",
  709. "type": "int",
  710. "optional": true,
  711. "field": "store_id",
  712. "description": "<p>商户id</p>"
  713. },
  714. {
  715. "group": "Parameter",
  716. "type": "int",
  717. "optional": true,
  718. "field": "form_id",
  719. "description": "<p>form_id</p>"
  720. }
  721. ]
  722. }
  723. },
  724. "success": {
  725. "examples": [
  726. {
  727. "title": "Success-Response:",
  728. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": []//返回信息\n}",
  729. "type": "json"
  730. }
  731. ]
  732. },
  733. "error": {
  734. "examples": [
  735. {
  736. "title": "Error-Response:",
  737. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  738. "type": "json"
  739. }
  740. ]
  741. },
  742. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  743. "groupTitle": "Album",
  744. "name": "GetApiAlbumSave_form_id"
  745. },
  746. {
  747. "type": "get",
  748. "url": "/api/album/set-price",
  749. "title": "经销商修改价格(set-price)",
  750. "description": "<p>画册(set-price)</p>",
  751. "group": "Album",
  752. "permission": [
  753. {
  754. "name": "none"
  755. }
  756. ],
  757. "version": "0.1.0",
  758. "parameter": {
  759. "fields": {
  760. "Parameter": [
  761. {
  762. "group": "Parameter",
  763. "type": "int",
  764. "optional": true,
  765. "field": "goods_id",
  766. "description": "<p>商品id</p>"
  767. },
  768. {
  769. "group": "Parameter",
  770. "type": "int",
  771. "optional": true,
  772. "field": "store_id",
  773. "description": "<p>商户id 模拟值为0</p>"
  774. },
  775. {
  776. "group": "Parameter",
  777. "type": "double",
  778. "optional": true,
  779. "field": "price",
  780. "description": "<p>价格</p>"
  781. }
  782. ]
  783. }
  784. },
  785. "success": {
  786. "examples": [
  787. {
  788. "title": "Success-Response:",
  789. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"msg\":返回信息,\n \"data\":修改后价格\n ]\n}",
  790. "type": "json"
  791. }
  792. ]
  793. },
  794. "error": {
  795. "examples": [
  796. {
  797. "title": "Error-Response:",
  798. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  799. "type": "json"
  800. }
  801. ]
  802. },
  803. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  804. "groupTitle": "Album",
  805. "name": "GetApiAlbumSetPrice"
  806. },
  807. {
  808. "type": "get",
  809. "url": "/api/album/style",
  810. "title": "属性列表(style)",
  811. "description": "<p>分类样式(style)</p>",
  812. "group": "Album",
  813. "permission": [
  814. {
  815. "name": "none"
  816. }
  817. ],
  818. "version": "0.1.0",
  819. "parameter": {
  820. "fields": {
  821. "Parameter": [
  822. {
  823. "group": "Parameter",
  824. "type": "int",
  825. "optional": true,
  826. "field": "store_id",
  827. "description": "<p>商户id 模拟值为0</p>"
  828. }
  829. ]
  830. }
  831. },
  832. "success": {
  833. "examples": [
  834. {
  835. "title": "Success-Response:",
  836. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 2,\n \"name\": \"1111\",\n \"deleted_at\": null,\n \"created_at\": \"2018-06-05 17:35:08\",\n \"updated_at\": \"2018-06-05 17:35:08\",\n \"store_id\": 0\n }\n ]\n}",
  837. "type": "json"
  838. }
  839. ]
  840. },
  841. "error": {
  842. "examples": [
  843. {
  844. "title": "Error-Response:",
  845. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  846. "type": "json"
  847. }
  848. ]
  849. },
  850. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  851. "groupTitle": "Album",
  852. "name": "GetApiAlbumStyle"
  853. },
  854. {
  855. "type": "post",
  856. "url": "/api/album/agent_price_set",
  857. "title": "厂家价格设置(agent_price_set)",
  858. "description": "<p>厂家价格设置(agent_price_set)</p>",
  859. "group": "Album",
  860. "permission": [
  861. {
  862. "name": "AUTH"
  863. }
  864. ],
  865. "version": "0.1.0",
  866. "parameter": {
  867. "fields": {
  868. "Parameter": [
  869. {
  870. "group": "Parameter",
  871. "type": "int",
  872. "optional": true,
  873. "field": "store_id",
  874. "description": "<p>商户id</p>"
  875. },
  876. {
  877. "group": "Parameter",
  878. "type": "int",
  879. "optional": true,
  880. "field": "point",
  881. "description": "<p>价格设置比例 为0不设置</p>"
  882. },
  883. {
  884. "group": "Parameter",
  885. "type": "int",
  886. "optional": true,
  887. "field": "is_show_ma_price",
  888. "description": "<p>厂家价格是否可见 0 不可见 1 可见</p>"
  889. }
  890. ]
  891. }
  892. },
  893. "success": {
  894. "examples": [
  895. {
  896. "title": "Success-Response:",
  897. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"success\",\n \"data\":[]\n}",
  898. "type": "json"
  899. }
  900. ]
  901. },
  902. "error": {
  903. "examples": [
  904. {
  905. "title": "Error-Response:",
  906. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  907. "type": "json"
  908. }
  909. ]
  910. },
  911. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  912. "groupTitle": "Album",
  913. "name": "PostApiAlbumAgent_price_set"
  914. },
  915. {
  916. "type": "post",
  917. "url": "/api/album/customer-goods-detail",
  918. "title": "获取客户浏览商品详细(customer-goods-detail)",
  919. "description": "<p>获取客户浏览商品详细(customer-goods-detail)</p>",
  920. "group": "Album",
  921. "permission": [
  922. {
  923. "name": "none"
  924. }
  925. ],
  926. "version": "0.1.0",
  927. "parameter": {
  928. "fields": {
  929. "Parameter": [
  930. {
  931. "group": "Parameter",
  932. "type": "int",
  933. "optional": true,
  934. "field": "store_id",
  935. "description": "<p>商户id</p>"
  936. },
  937. {
  938. "group": "Parameter",
  939. "type": "string",
  940. "optional": true,
  941. "field": "open_id",
  942. "description": "<p>openid</p>"
  943. }
  944. ]
  945. }
  946. },
  947. "success": {
  948. "examples": [
  949. {
  950. "title": "Success-Response:",
  951. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n {\n \"name\":\n \"time\":\n \"style\":\n \"cat\":\n },\n ]\n}",
  952. "type": "json"
  953. }
  954. ]
  955. },
  956. "error": {
  957. "examples": [
  958. {
  959. "title": "Error-Response:",
  960. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  961. "type": "json"
  962. }
  963. ]
  964. },
  965. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  966. "groupTitle": "Album",
  967. "name": "PostApiAlbumCustomerGoodsDetail"
  968. },
  969. {
  970. "type": "post",
  971. "url": "/api/album/get-cart-of-watch",
  972. "title": "客户浏览情况概览(get-cart-of-watch)",
  973. "description": "<p>客户浏览情况概览(get-cart-of-watch)</p>",
  974. "group": "Album",
  975. "permission": [
  976. {
  977. "name": "none"
  978. }
  979. ],
  980. "version": "0.1.0",
  981. "parameter": {
  982. "fields": {
  983. "Parameter": [
  984. {
  985. "group": "Parameter",
  986. "type": "int",
  987. "optional": true,
  988. "field": "store_id",
  989. "description": "<p>商户id 模拟值为0</p>"
  990. }
  991. ]
  992. }
  993. },
  994. "success": {
  995. "examples": [
  996. {
  997. "title": "Success-Response:",
  998. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n \"count_today\":0,\n \"count_all\":0,\n \"count_share\":0,\n \"user\": {\n \"username\":\"王小贱\",\n \"avatar\":\"awdawdawdawdawdawd\",头像\n \"phone\":\"1123123123123\"\n \"open_id\":\"1123123123123\"\n }\n \"count\":6,\n \"action\":[\n \"type1\":1,\n \"type2\":1,\n \"type3\":1,\n \"type4\":1,\n \"type5\":1,\n \"type6\":1,\n \"type7\":1,\n ]\n ]\n}",
  999. "type": "json"
  1000. }
  1001. ]
  1002. },
  1003. "error": {
  1004. "examples": [
  1005. {
  1006. "title": "Error-Response:",
  1007. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1008. "type": "json"
  1009. }
  1010. ]
  1011. },
  1012. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1013. "groupTitle": "Album",
  1014. "name": "PostApiAlbumGetCartOfWatch"
  1015. },
  1016. {
  1017. "type": "post",
  1018. "url": "/api/album/get-count-favorite",
  1019. "title": "获取客户收藏商品详细(get-count-favorite)",
  1020. "description": "<p>获取客户收藏商品详细(get-count-favorite)</p>",
  1021. "group": "Album",
  1022. "permission": [
  1023. {
  1024. "name": "AUTH"
  1025. }
  1026. ],
  1027. "version": "0.1.0",
  1028. "parameter": {
  1029. "fields": {
  1030. "Parameter": [
  1031. {
  1032. "group": "Parameter",
  1033. "type": "int",
  1034. "optional": true,
  1035. "field": "store_id",
  1036. "description": "<p>商户id</p>"
  1037. }
  1038. ]
  1039. }
  1040. },
  1041. "success": {
  1042. "examples": [
  1043. {
  1044. "title": "Success-Response:",
  1045. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n {\n \"name\":\n \"count\":\n \"product_id\":\n },\n ]\n}",
  1046. "type": "json"
  1047. }
  1048. ]
  1049. },
  1050. "error": {
  1051. "examples": [
  1052. {
  1053. "title": "Error-Response:",
  1054. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1055. "type": "json"
  1056. }
  1057. ]
  1058. },
  1059. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1060. "groupTitle": "Album",
  1061. "name": "PostApiAlbumGetCountFavorite"
  1062. },
  1063. {
  1064. "type": "post",
  1065. "url": "/api/album/get-watch-recored",
  1066. "title": "查看客户浏览情况(get-watch-recored)",
  1067. "description": "<p>查看客户浏览情况(get-watch-recored)</p>",
  1068. "group": "Album",
  1069. "permission": [
  1070. {
  1071. "name": "none"
  1072. }
  1073. ],
  1074. "version": "0.1.0",
  1075. "parameter": {
  1076. "fields": {
  1077. "Parameter": [
  1078. {
  1079. "group": "Parameter",
  1080. "type": "int",
  1081. "optional": true,
  1082. "field": "store_id",
  1083. "description": "<p>商户id 模拟值为0</p>"
  1084. },
  1085. {
  1086. "group": "Parameter",
  1087. "type": "int",
  1088. "optional": true,
  1089. "field": "type",
  1090. "description": "<p>查询方式 1 按用户 2 按时间 3 按类型</p>"
  1091. },
  1092. {
  1093. "group": "Parameter",
  1094. "type": "int",
  1095. "optional": true,
  1096. "field": "user_id",
  1097. "description": "<p>user_id</p>"
  1098. },
  1099. {
  1100. "group": "Parameter",
  1101. "type": "int",
  1102. "optional": true,
  1103. "field": "action",
  1104. "description": "<p>行为类型 1 收藏 2查看类目 3查看商品 4登陆 5点击图片 6 点击导航 7一键拨号</p>"
  1105. },
  1106. {
  1107. "group": "Parameter",
  1108. "type": "int",
  1109. "optional": true,
  1110. "field": "start_time",
  1111. "description": "<p>查询开始时间</p>"
  1112. },
  1113. {
  1114. "group": "Parameter",
  1115. "type": "int",
  1116. "optional": true,
  1117. "field": "end_time",
  1118. "description": "<p>查询结束时间</p>"
  1119. }
  1120. ]
  1121. }
  1122. },
  1123. "success": {
  1124. "examples": [
  1125. {
  1126. "title": "Success-Response:",
  1127. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n \"type1\":{ 1 收藏 2查看类目 3查看商品 4登陆 5点击图片 6 点击导航 7一键拨号\n \"time\": 2018-1-1 10:10:12,\n \"action\": '做了什么什么都做',\n \"user\": [\n \"username\":\"王小贱\",\n \"avatar\":\"awdawdawdawdawdawd\",头像\n \"phone\":\"1123123123123\"\n ]\n }\n ...\n \"count\":6;\n ]\n}",
  1128. "type": "json"
  1129. }
  1130. ]
  1131. },
  1132. "error": {
  1133. "examples": [
  1134. {
  1135. "title": "Error-Response:",
  1136. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1137. "type": "json"
  1138. }
  1139. ]
  1140. },
  1141. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1142. "groupTitle": "Album",
  1143. "name": "PostApiAlbumGetWatchRecored"
  1144. },
  1145. {
  1146. "type": "post",
  1147. "url": "/api/album/get_data_cat",
  1148. "title": "获取分类访问数据(get_data_cat)",
  1149. "description": "<p>获取分类访问数据(get_data_cat)</p>",
  1150. "group": "Album",
  1151. "permission": [
  1152. {
  1153. "name": "需要登录"
  1154. }
  1155. ],
  1156. "version": "0.1.0",
  1157. "parameter": {
  1158. "fields": {
  1159. "Parameter": [
  1160. {
  1161. "group": "Parameter",
  1162. "type": "int",
  1163. "optional": true,
  1164. "field": "store_id",
  1165. "description": "<p>商户id 模拟值为0</p>"
  1166. },
  1167. {
  1168. "group": "Parameter",
  1169. "type": "int",
  1170. "optional": true,
  1171. "field": "parent_id",
  1172. "description": ""
  1173. }
  1174. ]
  1175. }
  1176. },
  1177. "success": {
  1178. "examples": [
  1179. {
  1180. "title": "Success-Response:",
  1181. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"1\": [\n 'name':'asdawd',\n 'point':'asdawd',\n 'num':'1',\n ],\n }\n ]\n}",
  1182. "type": "json"
  1183. }
  1184. ]
  1185. },
  1186. "error": {
  1187. "examples": [
  1188. {
  1189. "title": "Error-Response:",
  1190. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1191. "type": "json"
  1192. }
  1193. ]
  1194. },
  1195. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1196. "groupTitle": "Album",
  1197. "name": "PostApiAlbumGet_data_cat"
  1198. },
  1199. {
  1200. "type": "post",
  1201. "url": "/api/album/get_data_cat_single",
  1202. "title": "单用户获取分类访问数据(get_data_cat_single)",
  1203. "description": "<p>单用户获取分类访问数据(get_data_cat_single)</p>",
  1204. "group": "Album",
  1205. "permission": [
  1206. {
  1207. "name": "需要登录"
  1208. }
  1209. ],
  1210. "version": "0.1.0",
  1211. "parameter": {
  1212. "fields": {
  1213. "Parameter": [
  1214. {
  1215. "group": "Parameter",
  1216. "type": "int",
  1217. "optional": true,
  1218. "field": "store_id",
  1219. "description": "<p>商户id 模拟值为0</p>"
  1220. },
  1221. {
  1222. "group": "Parameter",
  1223. "type": "int",
  1224. "optional": true,
  1225. "field": "open_id",
  1226. "description": ""
  1227. },
  1228. {
  1229. "group": "Parameter",
  1230. "type": "int",
  1231. "optional": true,
  1232. "field": "parent_id",
  1233. "description": ""
  1234. }
  1235. ]
  1236. }
  1237. },
  1238. "success": {
  1239. "examples": [
  1240. {
  1241. "title": "Success-Response:",
  1242. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"1\": [\n 'name':'asdawd',\n 'point':'asdawd',\n 'num':'1',\n ],\n }\n ]\n}",
  1243. "type": "json"
  1244. }
  1245. ]
  1246. },
  1247. "error": {
  1248. "examples": [
  1249. {
  1250. "title": "Error-Response:",
  1251. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1252. "type": "json"
  1253. }
  1254. ]
  1255. },
  1256. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1257. "groupTitle": "Album",
  1258. "name": "PostApiAlbumGet_data_cat_single"
  1259. },
  1260. {
  1261. "type": "post",
  1262. "url": "/api/album/get_data_goods",
  1263. "title": "获取访问数据(get_data_goods)",
  1264. "description": "<p>获取访问数据(get_data_goods)</p>",
  1265. "group": "Album",
  1266. "permission": [
  1267. {
  1268. "name": "需要登录"
  1269. }
  1270. ],
  1271. "version": "0.1.0",
  1272. "parameter": {
  1273. "fields": {
  1274. "Parameter": [
  1275. {
  1276. "group": "Parameter",
  1277. "type": "int",
  1278. "optional": true,
  1279. "field": "store_id",
  1280. "description": "<p>商户id 模拟值为0</p>"
  1281. }
  1282. ]
  1283. }
  1284. },
  1285. "success": {
  1286. "examples": [
  1287. {
  1288. "title": "Success-Response:",
  1289. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"1\": [\n 'name':'asdawd',\n 'point':'asdawd',\n 'num':'1',\n ],\n }\n ]\n}",
  1290. "type": "json"
  1291. }
  1292. ]
  1293. },
  1294. "error": {
  1295. "examples": [
  1296. {
  1297. "title": "Error-Response:",
  1298. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1299. "type": "json"
  1300. }
  1301. ]
  1302. },
  1303. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1304. "groupTitle": "Album",
  1305. "name": "PostApiAlbumGet_data_goods"
  1306. },
  1307. {
  1308. "type": "post",
  1309. "url": "/api/album/get_statistical",
  1310. "title": "获取分享记录(get-statistical)",
  1311. "description": "<p>获取分享记录(get-statistical)</p>",
  1312. "group": "Album",
  1313. "permission": [
  1314. {
  1315. "name": "AUTH"
  1316. }
  1317. ],
  1318. "version": "0.1.0",
  1319. "parameter": {
  1320. "fields": {
  1321. "Parameter": [
  1322. {
  1323. "group": "Parameter",
  1324. "type": "int",
  1325. "optional": true,
  1326. "field": "store_id",
  1327. "description": "<p>商户id</p>"
  1328. },
  1329. {
  1330. "group": "Parameter",
  1331. "type": "int",
  1332. "optional": true,
  1333. "field": "open_id",
  1334. "description": "<p>open_id</p>"
  1335. },
  1336. {
  1337. "group": "Parameter",
  1338. "type": "int",
  1339. "optional": true,
  1340. "field": "type",
  1341. "description": "<p>1 尺寸统计 2拨打电话 3 分享</p>"
  1342. }
  1343. ]
  1344. }
  1345. },
  1346. "success": {
  1347. "examples": [
  1348. {
  1349. "title": "Success-Response:",
  1350. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"success\",\n \"data\":[\n {\n 'content':xxxxx,\n 'time':xxx-xx-xx,\n },\n ]\n}",
  1351. "type": "json"
  1352. }
  1353. ]
  1354. },
  1355. "error": {
  1356. "examples": [
  1357. {
  1358. "title": "Error-Response:",
  1359. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1360. "type": "json"
  1361. }
  1362. ]
  1363. },
  1364. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1365. "groupTitle": "Album",
  1366. "name": "PostApiAlbumGet_statistical"
  1367. },
  1368. {
  1369. "type": "post",
  1370. "url": "/api/album/set-customer",
  1371. "title": "设置客户信息(set-customer)",
  1372. "description": "<p>设置客户信息(set-customer)</p>",
  1373. "group": "Album",
  1374. "permission": [
  1375. {
  1376. "name": "none"
  1377. }
  1378. ],
  1379. "version": "0.1.0",
  1380. "parameter": {
  1381. "fields": {
  1382. "Parameter": [
  1383. {
  1384. "group": "Parameter",
  1385. "type": "int",
  1386. "optional": true,
  1387. "field": "store_id",
  1388. "description": "<p>商户id</p>"
  1389. },
  1390. {
  1391. "group": "Parameter",
  1392. "type": "string",
  1393. "optional": true,
  1394. "field": "openid_id",
  1395. "description": "<p>openid</p>"
  1396. },
  1397. {
  1398. "group": "Parameter",
  1399. "type": "string",
  1400. "optional": true,
  1401. "field": "key",
  1402. "description": "<p>键</p>"
  1403. },
  1404. {
  1405. "group": "Parameter",
  1406. "type": "string",
  1407. "optional": true,
  1408. "field": "value",
  1409. "description": "<p>值</p>"
  1410. }
  1411. ]
  1412. }
  1413. },
  1414. "success": {
  1415. "examples": [
  1416. {
  1417. "title": "Success-Response:",
  1418. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"address\":\n \"comment\":\n \"phone\":\n \"tips\":\n ]\n}",
  1419. "type": "json"
  1420. }
  1421. ]
  1422. },
  1423. "error": {
  1424. "examples": [
  1425. {
  1426. "title": "Error-Response:",
  1427. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1428. "type": "json"
  1429. }
  1430. ]
  1431. },
  1432. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1433. "groupTitle": "Album",
  1434. "name": "PostApiAlbumSetCustomer"
  1435. },
  1436. {
  1437. "type": "post",
  1438. "url": "/api/album/set-phone",
  1439. "title": "获取用户号码(set-phone)",
  1440. "description": "<p>获取用户号码(set-phone)</p>",
  1441. "group": "Album",
  1442. "permission": [
  1443. {
  1444. "name": "none"
  1445. }
  1446. ],
  1447. "version": "0.1.0",
  1448. "parameter": {
  1449. "fields": {
  1450. "Parameter": [
  1451. {
  1452. "group": "Parameter",
  1453. "type": "int",
  1454. "optional": true,
  1455. "field": "store_id",
  1456. "description": "<p>商户id 模拟值为0</p>"
  1457. },
  1458. {
  1459. "group": "Parameter",
  1460. "type": "string",
  1461. "optional": true,
  1462. "field": "code",
  1463. "description": "<p>code</p>"
  1464. },
  1465. {
  1466. "group": "Parameter",
  1467. "type": "string",
  1468. "optional": true,
  1469. "field": "iv",
  1470. "description": "<p>偏移量</p>"
  1471. },
  1472. {
  1473. "group": "Parameter",
  1474. "type": "string",
  1475. "optional": true,
  1476. "field": "encrypted",
  1477. "description": "<p>加密参数</p>"
  1478. }
  1479. ]
  1480. }
  1481. },
  1482. "success": {
  1483. "examples": [
  1484. {
  1485. "title": "Success-Response:",
  1486. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"msg\":返回信息,\n ]\n}",
  1487. "type": "json"
  1488. }
  1489. ]
  1490. },
  1491. "error": {
  1492. "examples": [
  1493. {
  1494. "title": "Error-Response:",
  1495. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1496. "type": "json"
  1497. }
  1498. ]
  1499. },
  1500. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1501. "groupTitle": "Album",
  1502. "name": "PostApiAlbumSetPhone"
  1503. },
  1504. {
  1505. "type": "post",
  1506. "url": "/api/album/set-watch",
  1507. "title": "获取用户操作记录(set-watch)",
  1508. "description": "<p>获取用户操作记录(set-watch)</p>",
  1509. "group": "Album",
  1510. "permission": [
  1511. {
  1512. "name": "none"
  1513. }
  1514. ],
  1515. "version": "0.1.0",
  1516. "parameter": {
  1517. "fields": {
  1518. "Parameter": [
  1519. {
  1520. "group": "Parameter",
  1521. "type": "int",
  1522. "optional": true,
  1523. "field": "store_id",
  1524. "description": "<p>商户id 模拟值为0</p>"
  1525. },
  1526. {
  1527. "group": "Parameter",
  1528. "type": "string",
  1529. "optional": true,
  1530. "field": "detail",
  1531. "description": "<p>详细</p>"
  1532. },
  1533. {
  1534. "group": "Parameter",
  1535. "type": "string",
  1536. "optional": true,
  1537. "field": "type",
  1538. "description": "<p>5点击图片 6 点击导航 7一键拨号</p>"
  1539. }
  1540. ]
  1541. }
  1542. },
  1543. "success": {
  1544. "examples": [
  1545. {
  1546. "title": "Success-Response:",
  1547. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"msg\":返回信息,\n ]\n}",
  1548. "type": "json"
  1549. }
  1550. ]
  1551. },
  1552. "error": {
  1553. "examples": [
  1554. {
  1555. "title": "Error-Response:",
  1556. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1557. "type": "json"
  1558. }
  1559. ]
  1560. },
  1561. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1562. "groupTitle": "Album",
  1563. "name": "PostApiAlbumSetWatch"
  1564. },
  1565. {
  1566. "type": "post",
  1567. "url": "/api/album/statistical",
  1568. "title": "记录分享次数(statistical)",
  1569. "description": "<p>记录分享次数(statistical)</p>",
  1570. "group": "Album",
  1571. "permission": [
  1572. {
  1573. "name": "AUTH"
  1574. }
  1575. ],
  1576. "version": "0.1.0",
  1577. "parameter": {
  1578. "fields": {
  1579. "Parameter": [
  1580. {
  1581. "group": "Parameter",
  1582. "type": "int",
  1583. "optional": true,
  1584. "field": "store_id",
  1585. "description": "<p>商户id</p>"
  1586. },
  1587. {
  1588. "group": "Parameter",
  1589. "type": "int",
  1590. "optional": true,
  1591. "field": "goods_id",
  1592. "description": "<p>商品id</p>"
  1593. }
  1594. ]
  1595. }
  1596. },
  1597. "success": {
  1598. "examples": [
  1599. {
  1600. "title": "Success-Response:",
  1601. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"success\",\n \"data\":[]\n}",
  1602. "type": "json"
  1603. }
  1604. ]
  1605. },
  1606. "error": {
  1607. "examples": [
  1608. {
  1609. "title": "Error-Response:",
  1610. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1611. "type": "json"
  1612. }
  1613. ]
  1614. },
  1615. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1616. "groupTitle": "Album",
  1617. "name": "PostApiAlbumStatistical"
  1618. },
  1619. {
  1620. "type": "post",
  1621. "url": "/api/album/xyx_login",
  1622. "title": "登陆(xyx_login)",
  1623. "description": "<p>登陆(xyx_login)</p>",
  1624. "group": "Album",
  1625. "permission": [
  1626. {
  1627. "name": "none"
  1628. }
  1629. ],
  1630. "version": "0.1.0",
  1631. "parameter": {
  1632. "fields": {
  1633. "Parameter": [
  1634. {
  1635. "group": "Parameter",
  1636. "type": "int",
  1637. "optional": true,
  1638. "field": "code",
  1639. "description": ""
  1640. },
  1641. {
  1642. "group": "Parameter",
  1643. "type": "int",
  1644. "optional": true,
  1645. "field": "agent_id",
  1646. "description": "<p>经销商id</p>"
  1647. },
  1648. {
  1649. "group": "Parameter",
  1650. "type": "int",
  1651. "optional": true,
  1652. "field": "store_id",
  1653. "description": "<p>商户id</p>"
  1654. }
  1655. ]
  1656. }
  1657. },
  1658. "success": {
  1659. "examples": [
  1660. {
  1661. "title": "Success-Response:",
  1662. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImIyNGI3MzY3MDNmZDg3MGFjNTg2MWIxNDUzMDcyYjljYzFmNmJhMzE2NTAxZWVlNGYzM2M5MTIzNzFmNGYzZjg2MTY1M2YxMjE2YzE4OTFiIn0.eyJhdWQiOiI5IiwianRpIjoiYjI0YjczNjcwM2ZkODcwYWM1ODYxYjE0NTMwNzJiOWNjMWY2YmEzMTY1MDFlZWU0ZjMzYzkxMjM3MWY0ZjNmODYxNjUzZjEyMTZjMTg5MWIiLCJpYXQiOjE1NDA3OTYyMTYsIm5iZiI6MTU0MDc5NjIxNiwiZXhwIjoxNTcyMzMyMjE1LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.Ruihvl_HMCAHx9XDfeckz48Q_72kfG7vWDsqDrZWbrjq-yuNpM3LrUF-nlsKjedo97BwU_Apz-jnGVqr0ONKZlH-aBKDmIgM2aUZfFADsHhHNJH_oU2fMe1bOrjfUp-PJxfVWQS8c8h5RYmeqtzAYCKaD4P7OZbLmOX0YosKghpaGtiyE65s6jtrOXRhAzXAhYsZToQNBMokFVRqGih9EWuVp6EVwRtI3cb4IV6iQf08cX9DGlLLBJJzLWR5ZWgxJLAGrj5iMCWBl4JKVR8Fsy-xnx3EtrB7ODpJH6hB_u3XnUSAFuaG-KzMPLsj45iqg2hy53er2xtcfAowQFsPoAbZZu0n8c9hWt4GLemR6N1iZ3LBViv3tL5BK52pinQzAnmvltAhJP1YhfTOOjzkxcYVh2JeJagufEoxeeUarMMn21gQSFEzKFCimI7zZQxhT9leLpUn51DLD8Mu87NpYb3JN-JFbOlIDA7bDN3bNto7uuSuC4eBwPo3Ge0StuW4kjHsDTcrVF2He_8FdrPcPpGcvQsXQgv4vwlEhbL8dTlrOodum7H_tY_qUxUG1pEg6bfpn_82ej-AOSc9xi0nrhdcS9y_Z68rcwOJu8esI1pXm9TeQdZIDG85y_t74At8XN6oFcIM__6_dTne_3DHwijW-uOLupNky-5J4ILmZck\",\n \"user\": {\n \"user_id\": 1,\n \"is_agent\": 1,\n \"agent_id\": 4\n }\n }\n}",
  1663. "type": "json"
  1664. }
  1665. ]
  1666. },
  1667. "error": {
  1668. "examples": [
  1669. {
  1670. "title": "Error-Response:",
  1671. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1672. "type": "json"
  1673. }
  1674. ]
  1675. },
  1676. "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
  1677. "groupTitle": "Album",
  1678. "name": "PostApiAlbumXyx_login"
  1679. },
  1680. {
  1681. "type": "post",
  1682. "url": "/api/album_post/del",
  1683. "title": "删除海报(del) 已废弃",
  1684. "description": "<p>删除海报(del)</p>",
  1685. "group": "Album_Post",
  1686. "permission": [
  1687. {
  1688. "name": "需要登录"
  1689. }
  1690. ],
  1691. "version": "0.1.0",
  1692. "parameter": {
  1693. "fields": {
  1694. "Parameter": [
  1695. {
  1696. "group": "Parameter",
  1697. "type": "string",
  1698. "optional": true,
  1699. "field": "url",
  1700. "description": "<p>图片</p>"
  1701. }
  1702. ]
  1703. }
  1704. },
  1705. "success": {
  1706. "examples": [
  1707. {
  1708. "title": "Success-Response:",
  1709. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n}",
  1710. "type": "json"
  1711. }
  1712. ]
  1713. },
  1714. "error": {
  1715. "examples": [
  1716. {
  1717. "title": "Error-Response:",
  1718. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1719. "type": "json"
  1720. }
  1721. ]
  1722. },
  1723. "filename": "app/Http/Controllers/Api/V1/AlbumPosterController.php",
  1724. "groupTitle": "Album_Post",
  1725. "name": "PostApiAlbum_postDel"
  1726. },
  1727. {
  1728. "type": "post",
  1729. "url": "/api/album_post/download",
  1730. "title": "下载海报(download)",
  1731. "description": "<p>生成海报(download)</p>",
  1732. "group": "Album_Post",
  1733. "permission": [
  1734. {
  1735. "name": "需要登录"
  1736. }
  1737. ],
  1738. "version": "0.1.0",
  1739. "parameter": {
  1740. "fields": {
  1741. "Parameter": [
  1742. {
  1743. "group": "Parameter",
  1744. "type": "int",
  1745. "optional": true,
  1746. "field": "store_id",
  1747. "description": "<p>商户id</p>"
  1748. },
  1749. {
  1750. "group": "Parameter",
  1751. "type": "int",
  1752. "optional": true,
  1753. "field": "poster_id",
  1754. "description": "<p>海报id</p>"
  1755. }
  1756. ]
  1757. }
  1758. },
  1759. "success": {
  1760. "examples": [
  1761. {
  1762. "title": "Success-Response:",
  1763. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": []\n}",
  1764. "type": "json"
  1765. }
  1766. ]
  1767. },
  1768. "error": {
  1769. "examples": [
  1770. {
  1771. "title": "Error-Response:",
  1772. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1773. "type": "json"
  1774. }
  1775. ]
  1776. },
  1777. "filename": "app/Http/Controllers/Api/V1/AlbumPosterController.php",
  1778. "groupTitle": "Album_Post",
  1779. "name": "PostApiAlbum_postDownload"
  1780. },
  1781. {
  1782. "type": "post",
  1783. "url": "/api/album_post/info",
  1784. "title": "获取海报数据(info)",
  1785. "description": "<p>获取海报数据(info)</p>",
  1786. "group": "Album_Post",
  1787. "permission": [
  1788. {
  1789. "name": "需要登录"
  1790. }
  1791. ],
  1792. "version": "0.1.0",
  1793. "parameter": {
  1794. "fields": {
  1795. "Parameter": [
  1796. {
  1797. "group": "Parameter",
  1798. "type": "int",
  1799. "optional": true,
  1800. "field": "store_id",
  1801. "description": "<p>商户id</p>"
  1802. }
  1803. ]
  1804. }
  1805. },
  1806. "success": {
  1807. "examples": [
  1808. {
  1809. "title": "Success-Response:",
  1810. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n 'posters':'asdawd', //海报\n 'words':'asdawd', //话术\n 'introduce':'222', //介绍\n 'share':'xxx' //分享图片\n 'phone':'xxx' //电话\n 'username':'xxx' //姓名\n 'title':'xxx' //分享标题\n 'qrcode':'xxx' //二维码\n ]\n}",
  1811. "type": "json"
  1812. }
  1813. ]
  1814. },
  1815. "error": {
  1816. "examples": [
  1817. {
  1818. "title": "Error-Response:",
  1819. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  1820. "type": "json"
  1821. }
  1822. ]
  1823. },
  1824. "filename": "app/Http/Controllers/Api/V1/AlbumPosterController.php",
  1825. "groupTitle": "Album_Post",
  1826. "name": "PostApiAlbum_postInfo"
  1827. },
  1828. {
  1829. "type": "get",
  1830. "url": "/api/attachment/delete/{md5}",
  1831. "title": "删除文件(图片)",
  1832. "description": "<p>删除文件(图片)</p>",
  1833. "group": "Attachment",
  1834. "permission": [
  1835. {
  1836. "name": "Passport"
  1837. }
  1838. ],
  1839. "version": "0.1.0",
  1840. "parameter": {
  1841. "fields": {
  1842. "Parameter": [
  1843. {
  1844. "group": "Parameter",
  1845. "type": "string",
  1846. "optional": false,
  1847. "field": "md5",
  1848. "description": "<p>图片md5码</p>"
  1849. }
  1850. ]
  1851. }
  1852. },
  1853. "success": {
  1854. "examples": [
  1855. {
  1856. "title": "Success-Response:",
  1857. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"result\": true/false\n }\n}",
  1858. "type": "json"
  1859. }
  1860. ]
  1861. },
  1862. "error": {
  1863. "examples": [
  1864. {
  1865. "title": "Error-Response:",
  1866. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 205 ATTACHMENT_DELETE_FAILED 删除附件文件失败\n 206 ATTACHMENT_RECORD_DELETE_FAILED 删除附件记录失败\n 1203 ATTACHMENT_NOT_EXIST 附件不存在",
  1867. "type": "json"
  1868. }
  1869. ]
  1870. },
  1871. "filename": "app/Http/Controllers/Api/V1/AttachmentController.php",
  1872. "groupTitle": "Attachment",
  1873. "name": "GetApiAttachmentDeleteMd5"
  1874. },
  1875. {
  1876. "type": "get",
  1877. "url": "/api/attachment/download/{md5}",
  1878. "title": "下载文件(图片)",
  1879. "description": "<p>下载文件(图片)(get code)</p>",
  1880. "group": "Attachment",
  1881. "permission": [
  1882. {
  1883. "name": "none"
  1884. }
  1885. ],
  1886. "version": "0.1.0",
  1887. "parameter": {
  1888. "fields": {
  1889. "Parameter": [
  1890. {
  1891. "group": "Parameter",
  1892. "type": "string",
  1893. "optional": false,
  1894. "field": "md5",
  1895. "description": "<p>图片md5码</p>"
  1896. }
  1897. ]
  1898. }
  1899. },
  1900. "success": {
  1901. "examples": [
  1902. {
  1903. "title": "Success-Response:",
  1904. "content": "HTTP/1.1 200 OK\n{\n 文件二进制码\n}",
  1905. "type": "json"
  1906. }
  1907. ]
  1908. },
  1909. "error": {
  1910. "examples": [
  1911. {
  1912. "title": "Error-Response:",
  1913. "content": "HTTP/1.1 404 Not found",
  1914. "type": "json"
  1915. }
  1916. ]
  1917. },
  1918. "filename": "app/Http/Controllers/Api/V1/AttachmentController.php",
  1919. "groupTitle": "Attachment",
  1920. "name": "GetApiAttachmentDownloadMd5"
  1921. },
  1922. {
  1923. "type": "post",
  1924. "url": "/api/attachment/upload",
  1925. "title": "通用上传接口",
  1926. "description": "<p>通用上传接口</p>",
  1927. "group": "Attachment",
  1928. "permission": [
  1929. {
  1930. "name": "none"
  1931. }
  1932. ],
  1933. "version": "0.1.0",
  1934. "parameter": {
  1935. "fields": {
  1936. "Parameter": [
  1937. {
  1938. "group": "Parameter",
  1939. "type": "string",
  1940. "optional": false,
  1941. "field": "tag",
  1942. "description": "<p>附件标签 avatar video dream</p>"
  1943. },
  1944. {
  1945. "group": "Parameter",
  1946. "type": "File",
  1947. "optional": false,
  1948. "field": "file",
  1949. "description": "<p>附件(可以多个,使用file.xxx,可返回多个)[默认大小【10M】, 类型图片png jpg gif,视频类型mp4]</p>"
  1950. }
  1951. ]
  1952. }
  1953. },
  1954. "success": {
  1955. "examples": [
  1956. {
  1957. "title": "Success-Response:",
  1958. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": [\n \"md5\": \"57c0fe723e1d7f7b0e45fd455aee19f2\",\n \"url\": \"http://dev.xxg.com/upload/upload/20180727/57c0fe723e1d7f7b0e45fd455aee19f2.jpg\"\n ]\n}",
  1959. "type": "json"
  1960. }
  1961. ]
  1962. },
  1963. "error": {
  1964. "examples": [
  1965. {
  1966. "title": "Error-Response:",
  1967. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 200 SAVE_USER_FAILED 保存用户数据失败\n 201 ATTACHMENT_MKDIR_FAILED 创建附件目录失败\n 202 ATTACHMENT_UPLOAD_INVALID 上传附件文件无效\n 203 ATTACHMENT_SAVE_FAILED 保存附件失败\n 204 ATTACHMENT_MOVE_FAILED 移动附件失败\n 205 ATTACHMENT_DELETE_FAILED 删除附件文件失败\n 206 ATTACHMENT_RECORD_DELETE_FAILED 删除附件记录失败\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确\n 1101 INCORRECT_VERIFY_CODE 输入验证码错误\n 1105 USER_DOES_NOT_EXIST 用户不存在\n 1200 ATTACHMENT_UPLOAD_FAILED 附件上传失败\n 1201 ATTACHMENT_SIZE_EXCEEDED 附件大小超过限制\n 1202 ATTACHMENT_MIME_NOT_ALLOWED 附件类型不允许\n 1203 ATTACHMENT_NOT_EXIST 附件不存在",
  1968. "type": "json"
  1969. }
  1970. ]
  1971. },
  1972. "filename": "app/Http/Controllers/Api/V1/AttachmentController.php",
  1973. "groupTitle": "Attachment",
  1974. "name": "PostApiAttachmentUpload"
  1975. },
  1976. {
  1977. "type": "post",
  1978. "url": "/api/auth/login",
  1979. "title": "微信登陆入口(login)",
  1980. "description": "<p>微信登陆入口(login)</p>",
  1981. "group": "Auth",
  1982. "permission": [
  1983. {
  1984. "name": "none"
  1985. }
  1986. ],
  1987. "version": "0.1.0",
  1988. "parameter": {
  1989. "fields": {
  1990. "Parameter": [
  1991. {
  1992. "group": "Parameter",
  1993. "type": "string",
  1994. "optional": false,
  1995. "field": "code",
  1996. "description": "<p>登录凭证</p>"
  1997. },
  1998. {
  1999. "group": "Parameter",
  2000. "type": "string",
  2001. "optional": false,
  2002. "field": "nickname",
  2003. "description": "<p>微信昵称</p>"
  2004. },
  2005. {
  2006. "group": "Parameter",
  2007. "type": "string",
  2008. "optional": false,
  2009. "field": "avatar",
  2010. "description": "<p>微信头像</p>"
  2011. },
  2012. {
  2013. "group": "Parameter",
  2014. "type": "string",
  2015. "optional": false,
  2016. "field": "appid",
  2017. "description": "<p>appid</p>"
  2018. }
  2019. ]
  2020. }
  2021. },
  2022. "success": {
  2023. "examples": [
  2024. {
  2025. "title": "Success-Response:",
  2026. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdjYWUyYzFmYTUwMTIyZDI0ZTRiYTZhZGZhNmQxYmZlOWNiMzIxMTBmYWJlZjNjYzIyNmViZjRmNGExNWM3NjllNmU2ZTNiYWE5OGNhOWUzIn0.eyJhdWQiOiIxIiwianRpIjoiN2NhZTJjMWZhNTAxMjJkMjRlNGJhNmFkZmE2ZDFiZmU5Y2IzMjExMGZhYmVmM2NjMjI2ZWJmNGY0YTE1Yzc2OWU2ZTZlM2JhYTk4Y2E5ZTMiLCJpYXQiOjE0NzU0MTE1NTgsIm5iZiI6MTQ3NTQxMTU1OCwiZXhwIjo0NjMxMDg1MTU4LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.E9YGEzuRUOk02aV1EiWLJ_pD0hKoCyW0k_sGy63hM3u5X8K_HI1kVhaU6JNLqLZeszIAroTEDB8XMgZKAqTLlwtL8PLCJcuDoxfk1BRHbfjhDheTsahBysKGalvNEpzRCrGlao0mS0Cg9qDpEsndtypPFS8sfaflToOzbJjiSK2DvQiHSH8xZI3zHJTezgZMz-pB_hPTxp8ajdv0ve1gWtWjs3vERr0Y91X4hngO8X7LuXtAYtfxGZRIye12YE7TuLBMYzj8CCfiRt7Smhyf4palNW5mzKlZpa2l87n6NQ14Iy4oMzQ2PON1j_swrosuE2yZohGOn6fDdSCBRdJ6dLD_emjBdQCQOoB63R7BbhFZgvFX25TjzFJ7r9AdVMiGmebuRKEVSZV_JCGu1C71OIbQk-UK35s00gSr2fmJGBbN2cZTXBRTJpfuMZ_ihFYEZrvVq_Ih2X0xkd36JUuxaUld1BXRgPZvH-9jBuhe0YW2OOlgwpdm6ZB8BMcuS4ftLoi6FipgzFqfIuy-0ZqPMDnJaG7Gycrdpxza00mgOFxYxJtqwZNsUWFRZEVU881l6VC_cy294YXSPQxUwEoyKg-G5Pm8AEB9bqv5z4EU4B8-XTd3zKNqtNba_snHbc711i4EytCiZfYSjNB1hwenq45YYOAhPTwOpFI0kxyRazc\",\n \"user\": {\n \"id\": 1,\n \"name\": \"15888888888\",\n \"email\": \"abcdefg@gmail.com\",\n \"phone\": \"15888888888\",\n \"avatar\": null,\n \"last_ip\": null,\n \"created_at\": \"2016-09-30 00:45:13\",\n \"updated_at\": \"2016-09-29 16:43:36\"\n }\n }\n}",
  2027. "type": "json"
  2028. }
  2029. ]
  2030. },
  2031. "error": {
  2032. "examples": [
  2033. {
  2034. "title": "Error-Response:",
  2035. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确\n 1102 INCORRECT_USER_OR_PASS 用户名或密码不正确",
  2036. "type": "json"
  2037. }
  2038. ]
  2039. },
  2040. "filename": "app/Http/Controllers/Api/V1/AuthController.php",
  2041. "groupTitle": "Auth",
  2042. "name": "PostApiAuthLogin"
  2043. },
  2044. {
  2045. "type": "get",
  2046. "url": "/api/album_boss/boss_interactive",
  2047. "title": "经销商互动排名(boss_interactive)",
  2048. "description": "<p>经销商互动排名(boss_interactive)</p>",
  2049. "group": "Boss",
  2050. "permission": [
  2051. {
  2052. "name": "none"
  2053. }
  2054. ],
  2055. "version": "0.1.0",
  2056. "parameter": {
  2057. "fields": {
  2058. "Parameter": [
  2059. {
  2060. "group": "Parameter",
  2061. "type": "int",
  2062. "optional": true,
  2063. "field": "store_id",
  2064. "description": "<p>商户id</p>"
  2065. }
  2066. ]
  2067. }
  2068. },
  2069. "success": {
  2070. "examples": [
  2071. {
  2072. "title": "Success-Response:",
  2073. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"realname\" : 释迦摩尼,\n \"interactive\" : 111\n \"avatar\" : 111\n }\n ]\n}",
  2074. "type": "json"
  2075. }
  2076. ]
  2077. },
  2078. "error": {
  2079. "examples": [
  2080. {
  2081. "title": "Error-Response:",
  2082. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2083. "type": "json"
  2084. }
  2085. ]
  2086. },
  2087. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2088. "groupTitle": "Boss",
  2089. "name": "GetApiAlbum_bossBoss_interactive"
  2090. },
  2091. {
  2092. "type": "get",
  2093. "url": "/api/album_boss/get_top",
  2094. "title": "经销商排行榜(get_top)",
  2095. "description": "<p>经销商排行榜(get_top)</p>",
  2096. "group": "Boss",
  2097. "permission": [
  2098. {
  2099. "name": "none"
  2100. }
  2101. ],
  2102. "version": "0.1.0",
  2103. "parameter": {
  2104. "fields": {
  2105. "Parameter": [
  2106. {
  2107. "group": "Parameter",
  2108. "type": "int",
  2109. "optional": true,
  2110. "field": "store_id",
  2111. "description": "<p>商户id</p>"
  2112. }
  2113. ]
  2114. }
  2115. },
  2116. "success": {
  2117. "examples": [
  2118. {
  2119. "title": "Success-Response:",
  2120. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"agent\": [\n {\n \"id\": 3,\n \"avatar\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"张三\",\n \"get_count\": \"客户数量\",\n }\n ],\n }\n}",
  2121. "type": "json"
  2122. }
  2123. ]
  2124. },
  2125. "error": {
  2126. "examples": [
  2127. {
  2128. "title": "Error-Response:",
  2129. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2130. "type": "json"
  2131. }
  2132. ]
  2133. },
  2134. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2135. "groupTitle": "Boss",
  2136. "name": "GetApiAlbum_bossGet_top"
  2137. },
  2138. {
  2139. "type": "post",
  2140. "url": "/api/album_boss/agent_analysis",
  2141. "title": "经销商分析(agent_analysis)",
  2142. "description": "<p>经销商分析(agent_analysis)</p>",
  2143. "group": "Boss",
  2144. "permission": [
  2145. {
  2146. "name": "none"
  2147. }
  2148. ],
  2149. "version": "0.1.0",
  2150. "parameter": {
  2151. "fields": {
  2152. "Parameter": [
  2153. {
  2154. "group": "Parameter",
  2155. "type": "int",
  2156. "optional": true,
  2157. "field": "store_id",
  2158. "description": "<p>商户id</p>"
  2159. }
  2160. ]
  2161. }
  2162. },
  2163. "success": {
  2164. "examples": [
  2165. {
  2166. "title": "Success-Response:",
  2167. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"realname\" : 释迦摩尼,\n \"pointCount\" : 111\n \"callCount\" : 111\n \"favoriteCount\" : 111\n \"get_count\" : 111\n \"share_times\" : 111\n \"newCount\" : 111\n }\n ]\n}",
  2168. "type": "json"
  2169. }
  2170. ]
  2171. },
  2172. "error": {
  2173. "examples": [
  2174. {
  2175. "title": "Error-Response:",
  2176. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2177. "type": "json"
  2178. }
  2179. ]
  2180. },
  2181. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2182. "groupTitle": "Boss",
  2183. "name": "PostApiAlbum_bossAgent_analysis"
  2184. },
  2185. {
  2186. "type": "post",
  2187. "url": "/api/album_boss/agent_customer",
  2188. "title": "经销商客户(agent_customer)",
  2189. "description": "<p>经销商客户(agent_customer)</p>",
  2190. "group": "Boss",
  2191. "permission": [
  2192. {
  2193. "name": "none"
  2194. }
  2195. ],
  2196. "version": "0.1.0",
  2197. "parameter": {
  2198. "fields": {
  2199. "Parameter": [
  2200. {
  2201. "group": "Parameter",
  2202. "type": "int",
  2203. "optional": true,
  2204. "field": "store_id",
  2205. "description": "<p>商户id</p>"
  2206. },
  2207. {
  2208. "group": "Parameter",
  2209. "type": "int",
  2210. "optional": true,
  2211. "field": "agent_id",
  2212. "description": "<p>经销商id</p>"
  2213. },
  2214. {
  2215. "group": "Parameter",
  2216. "type": "int",
  2217. "optional": true,
  2218. "field": "pageNum",
  2219. "description": "<p>分页</p>"
  2220. }
  2221. ]
  2222. }
  2223. },
  2224. "success": {
  2225. "examples": [
  2226. {
  2227. "title": "Success-Response:",
  2228. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"agent\": [\n {\n \"id\": 3,\n \"avatar\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"张三\",\n \"address\": \"四川省\",\n \"phone\": \"8208208820\",\n \"lon\": \"100.123123\",\n \"lat\": \"123.123123\",\n }\n ],\n \"customer\": [\n {\n \"id\": 3,\n \"avatar\": \"http://admin.xcx.com/upload/images/20180519/02f2dbe0e1046d7cea8b3b52d5642fb8.jpg\",\n \"name\": \"张三\",\n \"address\": \"四川省甘肃市\"\n }\n ]\n }\n}",
  2229. "type": "json"
  2230. }
  2231. ]
  2232. },
  2233. "error": {
  2234. "examples": [
  2235. {
  2236. "title": "Error-Response:",
  2237. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2238. "type": "json"
  2239. }
  2240. ]
  2241. },
  2242. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2243. "groupTitle": "Boss",
  2244. "name": "PostApiAlbum_bossAgent_customer"
  2245. },
  2246. {
  2247. "type": "post",
  2248. "url": "/api/album_boss/agent_overview_active",
  2249. "title": "经销商总览活跃客户(agent_overview_active)",
  2250. "description": "<p>经销商总览活跃客户(agent_overview_active)</p>",
  2251. "group": "Boss",
  2252. "permission": [
  2253. {
  2254. "name": "none"
  2255. }
  2256. ],
  2257. "version": "0.1.0",
  2258. "parameter": {
  2259. "fields": {
  2260. "Parameter": [
  2261. {
  2262. "group": "Parameter",
  2263. "type": "int",
  2264. "optional": true,
  2265. "field": "store_id",
  2266. "description": "<p>商户id</p>"
  2267. }
  2268. ]
  2269. }
  2270. },
  2271. "success": {
  2272. "examples": [
  2273. {
  2274. "title": "Success-Response:",
  2275. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"activeCustomers\": [\n {\n \"day\" : 03/25,\n \"num\" : 111\n }\n ],\n }\n}",
  2276. "type": "json"
  2277. }
  2278. ]
  2279. },
  2280. "error": {
  2281. "examples": [
  2282. {
  2283. "title": "Error-Response:",
  2284. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2285. "type": "json"
  2286. }
  2287. ]
  2288. },
  2289. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2290. "groupTitle": "Boss",
  2291. "name": "PostApiAlbum_bossAgent_overview_active"
  2292. },
  2293. {
  2294. "type": "post",
  2295. "url": "/api/album_boss/agent_overview_call",
  2296. "title": "经销商总览咨询(agent_overview_call)",
  2297. "description": "<p>经销商总览咨询(agent_overview_call)</p>",
  2298. "group": "Boss",
  2299. "permission": [
  2300. {
  2301. "name": "none"
  2302. }
  2303. ],
  2304. "version": "0.1.0",
  2305. "parameter": {
  2306. "fields": {
  2307. "Parameter": [
  2308. {
  2309. "group": "Parameter",
  2310. "type": "int",
  2311. "optional": true,
  2312. "field": "store_id",
  2313. "description": "<p>商户id</p>"
  2314. },
  2315. {
  2316. "group": "Parameter",
  2317. "type": "int",
  2318. "optional": true,
  2319. "field": "day",
  2320. "description": "<p>天数</p>"
  2321. }
  2322. ]
  2323. }
  2324. },
  2325. "success": {
  2326. "examples": [
  2327. {
  2328. "title": "Success-Response:",
  2329. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"callCustomers\": [\n {\n \"day\" : 03/25,\n \"num\" : 111\n }\n ]\n }\n}",
  2330. "type": "json"
  2331. }
  2332. ]
  2333. },
  2334. "error": {
  2335. "examples": [
  2336. {
  2337. "title": "Error-Response:",
  2338. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2339. "type": "json"
  2340. }
  2341. ]
  2342. },
  2343. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2344. "groupTitle": "Boss",
  2345. "name": "PostApiAlbum_bossAgent_overview_call"
  2346. },
  2347. {
  2348. "type": "post",
  2349. "url": "/api/album_boss/agent_overview_favorite",
  2350. "title": "经销商总览兴趣占比(agent_overview_favorite)",
  2351. "description": "<p>经销商总览兴趣占比(agent_overview_favorite)</p>",
  2352. "group": "Boss",
  2353. "permission": [
  2354. {
  2355. "name": "none"
  2356. }
  2357. ],
  2358. "version": "0.1.0",
  2359. "parameter": {
  2360. "fields": {
  2361. "Parameter": [
  2362. {
  2363. "group": "Parameter",
  2364. "type": "int",
  2365. "optional": true,
  2366. "field": "store_id",
  2367. "description": "<p>商户id</p>"
  2368. },
  2369. {
  2370. "group": "Parameter",
  2371. "type": "int",
  2372. "optional": true,
  2373. "field": "parent_id",
  2374. "description": "<p>商户id</p>"
  2375. },
  2376. {
  2377. "group": "Parameter",
  2378. "type": "int",
  2379. "optional": true,
  2380. "field": "start",
  2381. "description": "<p>开始时间</p>"
  2382. },
  2383. {
  2384. "group": "Parameter",
  2385. "type": "int",
  2386. "optional": true,
  2387. "field": "end",
  2388. "description": "<p>结束时间</p>"
  2389. }
  2390. ]
  2391. }
  2392. },
  2393. "success": {
  2394. "examples": [
  2395. {
  2396. "title": "Success-Response:",
  2397. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"arrFavorite\": [\n {\n 'name':'asdawd',\n 'point':'asdawd',\n 'num':'1',\n }\n ]\n }\n}",
  2398. "type": "json"
  2399. }
  2400. ]
  2401. },
  2402. "error": {
  2403. "examples": [
  2404. {
  2405. "title": "Error-Response:",
  2406. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2407. "type": "json"
  2408. }
  2409. ]
  2410. },
  2411. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2412. "groupTitle": "Boss",
  2413. "name": "PostApiAlbum_bossAgent_overview_favorite"
  2414. },
  2415. {
  2416. "type": "post",
  2417. "url": "/api/album_boss/agent_overview_funnel",
  2418. "title": "经销商总览漏斗(agent_overview_funnel)",
  2419. "description": "<p>经销商总览漏斗(agent_overview_funnel)</p>",
  2420. "group": "Boss",
  2421. "permission": [
  2422. {
  2423. "name": "none"
  2424. }
  2425. ],
  2426. "version": "0.1.0",
  2427. "parameter": {
  2428. "fields": {
  2429. "Parameter": [
  2430. {
  2431. "group": "Parameter",
  2432. "type": "int",
  2433. "optional": true,
  2434. "field": "store_id",
  2435. "description": "<p>商户id</p>"
  2436. }
  2437. ]
  2438. }
  2439. },
  2440. "success": {
  2441. "examples": [
  2442. {
  2443. "title": "Success-Response:",
  2444. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"customerFollow\":11,\n \"shareCount\":11,\n \"totalCustomerCount\":11,\n }\n}",
  2445. "type": "json"
  2446. }
  2447. ]
  2448. },
  2449. "error": {
  2450. "examples": [
  2451. {
  2452. "title": "Error-Response:",
  2453. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2454. "type": "json"
  2455. }
  2456. ]
  2457. },
  2458. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2459. "groupTitle": "Boss",
  2460. "name": "PostApiAlbum_bossAgent_overview_funnel"
  2461. },
  2462. {
  2463. "type": "post",
  2464. "url": "/api/album_boss/agent_overview_left",
  2465. "title": "经销商总览左侧(agent_overview_left)",
  2466. "description": "<p>经销商总览左侧(agent_overview_left)</p>",
  2467. "group": "Boss",
  2468. "permission": [
  2469. {
  2470. "name": "none"
  2471. }
  2472. ],
  2473. "version": "0.1.0",
  2474. "parameter": {
  2475. "fields": {
  2476. "Parameter": [
  2477. {
  2478. "group": "Parameter",
  2479. "type": "int",
  2480. "optional": true,
  2481. "field": "store_id",
  2482. "description": "<p>商户id</p>"
  2483. },
  2484. {
  2485. "group": "Parameter",
  2486. "type": "int",
  2487. "optional": true,
  2488. "field": "start",
  2489. "description": "<p>开始时间</p>"
  2490. },
  2491. {
  2492. "group": "Parameter",
  2493. "type": "int",
  2494. "optional": true,
  2495. "field": "end",
  2496. "description": "<p>结束时间</p>"
  2497. }
  2498. ]
  2499. }
  2500. },
  2501. "success": {
  2502. "examples": [
  2503. {
  2504. "title": "Success-Response:",
  2505. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"customerFollow\":11,\n \"downloadCount\":11,\n \"shareCount\":11,\n \"newCustomerCount\":11,\n \"totalCustomerCount\":11,\n }\n}",
  2506. "type": "json"
  2507. }
  2508. ]
  2509. },
  2510. "error": {
  2511. "examples": [
  2512. {
  2513. "title": "Error-Response:",
  2514. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2515. "type": "json"
  2516. }
  2517. ]
  2518. },
  2519. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2520. "groupTitle": "Boss",
  2521. "name": "PostApiAlbum_bossAgent_overview_left"
  2522. },
  2523. {
  2524. "type": "post",
  2525. "url": "/api/album_boss/agent_overview_new",
  2526. "title": "经销商总览新增客户(agent_overview_new)",
  2527. "description": "<p>经销商总览新增客户(agent_overview_new)</p>",
  2528. "group": "Boss",
  2529. "permission": [
  2530. {
  2531. "name": "none"
  2532. }
  2533. ],
  2534. "version": "0.1.0",
  2535. "parameter": {
  2536. "fields": {
  2537. "Parameter": [
  2538. {
  2539. "group": "Parameter",
  2540. "type": "int",
  2541. "optional": true,
  2542. "field": "store_id",
  2543. "description": "<p>商户id</p>"
  2544. },
  2545. {
  2546. "group": "Parameter",
  2547. "type": "int",
  2548. "optional": true,
  2549. "field": "day",
  2550. "description": "<p>天数</p>"
  2551. }
  2552. ]
  2553. }
  2554. },
  2555. "success": {
  2556. "examples": [
  2557. {
  2558. "title": "Success-Response:",
  2559. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"newCustomers\": [\n {\n \"day\" : 03/25,\n \"num\" : 111\n }\n ]\n }\n}",
  2560. "type": "json"
  2561. }
  2562. ]
  2563. },
  2564. "error": {
  2565. "examples": [
  2566. {
  2567. "title": "Error-Response:",
  2568. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2569. "type": "json"
  2570. }
  2571. ]
  2572. },
  2573. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2574. "groupTitle": "Boss",
  2575. "name": "PostApiAlbum_bossAgent_overview_new"
  2576. },
  2577. {
  2578. "type": "post",
  2579. "url": "/api/album_boss/agent_statistical",
  2580. "title": "经销商数据(agent_statistical)",
  2581. "description": "<p>经销商数据(agent_statistical)</p>",
  2582. "group": "Boss",
  2583. "permission": [
  2584. {
  2585. "name": "none"
  2586. }
  2587. ],
  2588. "version": "0.1.0",
  2589. "parameter": {
  2590. "fields": {
  2591. "Parameter": [
  2592. {
  2593. "group": "Parameter",
  2594. "type": "int",
  2595. "optional": true,
  2596. "field": "store_id",
  2597. "description": "<p>商户id</p>"
  2598. },
  2599. {
  2600. "group": "Parameter",
  2601. "type": "int",
  2602. "optional": true,
  2603. "field": "agent_id",
  2604. "description": "<p>经销商id</p>"
  2605. },
  2606. {
  2607. "group": "Parameter",
  2608. "type": "int",
  2609. "optional": true,
  2610. "field": "start",
  2611. "description": "<p>开始时间</p>"
  2612. },
  2613. {
  2614. "group": "Parameter",
  2615. "type": "int",
  2616. "optional": true,
  2617. "field": "end",
  2618. "description": "<p>结束时间</p>"
  2619. }
  2620. ]
  2621. }
  2622. },
  2623. "success": {
  2624. "examples": [
  2625. {
  2626. "title": "Success-Response:",
  2627. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"favoriteCount\":11,\n \"downloadCount\":11,\n \"shareCount\":11,\n \"newCustomerCount\":11,\n \"totalCustomerCount\":11,\n }\n}",
  2628. "type": "json"
  2629. }
  2630. ]
  2631. },
  2632. "error": {
  2633. "examples": [
  2634. {
  2635. "title": "Error-Response:",
  2636. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2637. "type": "json"
  2638. }
  2639. ]
  2640. },
  2641. "filename": "app/Http/Controllers/Api/V1/AlbumBossController.php",
  2642. "groupTitle": "Boss",
  2643. "name": "PostApiAlbum_bossAgent_statistical"
  2644. },
  2645. {
  2646. "type": "get",
  2647. "url": "/api/car/delete",
  2648. "title": "删除",
  2649. "description": "<p>删除</p>",
  2650. "group": "Car",
  2651. "parameter": {
  2652. "fields": {
  2653. "Parameter": [
  2654. {
  2655. "group": "Parameter",
  2656. "type": "int",
  2657. "optional": false,
  2658. "field": "ids",
  2659. "description": "<p>主键id 数组</p>"
  2660. }
  2661. ]
  2662. }
  2663. },
  2664. "permission": [
  2665. {
  2666. "name": "none"
  2667. }
  2668. ],
  2669. "version": "0.1.0",
  2670. "success": {
  2671. "examples": [
  2672. {
  2673. "title": "Success-Response:",
  2674. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": 2005\n }",
  2675. "type": "json"
  2676. }
  2677. ]
  2678. },
  2679. "error": {
  2680. "examples": [
  2681. {
  2682. "title": "Error-Response:",
  2683. "content": "HTTP/1.1 400 Bad Request",
  2684. "type": "json"
  2685. }
  2686. ]
  2687. },
  2688. "filename": "app/Http/Controllers/Api/V1/CarController.php",
  2689. "groupTitle": "Car",
  2690. "name": "GetApiCarDelete"
  2691. },
  2692. {
  2693. "type": "get",
  2694. "url": "/api/car/index",
  2695. "title": "购物车",
  2696. "description": "<p>购物车</p>",
  2697. "group": "Car",
  2698. "parameter": {
  2699. "fields": {
  2700. "Parameter": [
  2701. {
  2702. "group": "Parameter",
  2703. "type": "string",
  2704. "optional": false,
  2705. "field": "appid",
  2706. "description": "<p>appid</p>"
  2707. }
  2708. ]
  2709. }
  2710. },
  2711. "permission": [
  2712. {
  2713. "name": "none"
  2714. }
  2715. ],
  2716. "version": "0.1.0",
  2717. "success": {
  2718. "examples": [
  2719. {
  2720. "title": "Success-Response:",
  2721. "content": " HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"goods_num\": 2, 加入购物车商品的数量\n \"created_at\": null,\n \"goods\": {\n \"name\": \"商品1\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n \"status\": 1,\n \"price\": 101100, 商品价格(分)\n \"sale_number\": 91, 已售数量\n \"stock\": 200, 总库存\n }\n },\n ],\n \"first_page_url\": \"http://www.s1.com/api/car/index?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://www.s1.com/api/car/index?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://www.s1.com/api/car/index\",\n \"per_page\": 15,\n \"prev_page_url\": null,\n \"to\": 2,\n \"total\": 2\n }\n }",
  2722. "type": "json"
  2723. }
  2724. ]
  2725. },
  2726. "error": {
  2727. "examples": [
  2728. {
  2729. "title": "Error-Response:",
  2730. "content": "HTTP/1.1 400 Bad Request",
  2731. "type": "json"
  2732. }
  2733. ]
  2734. },
  2735. "filename": "app/Http/Controllers/Api/V1/CarController.php",
  2736. "groupTitle": "Car",
  2737. "name": "GetApiCarIndex"
  2738. },
  2739. {
  2740. "type": "post",
  2741. "url": "/api/car/update",
  2742. "title": "编辑",
  2743. "description": "<p>编辑(修改购物车商品数量)</p>",
  2744. "group": "Car",
  2745. "parameter": {
  2746. "fields": {
  2747. "Parameter": [
  2748. {
  2749. "group": "Parameter",
  2750. "type": "int",
  2751. "optional": false,
  2752. "field": "id",
  2753. "description": "<p>商品id</p>"
  2754. },
  2755. {
  2756. "group": "Parameter",
  2757. "type": "int",
  2758. "optional": false,
  2759. "field": "number",
  2760. "description": "<p>购买数量</p>"
  2761. }
  2762. ]
  2763. }
  2764. },
  2765. "permission": [
  2766. {
  2767. "name": "none"
  2768. }
  2769. ],
  2770. "version": "0.1.0",
  2771. "success": {
  2772. "examples": [
  2773. {
  2774. "title": "Success-Response:",
  2775. "content": " HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": 2005\n }",
  2776. "type": "json"
  2777. }
  2778. ]
  2779. },
  2780. "error": {
  2781. "examples": [
  2782. {
  2783. "title": "Error-Response:",
  2784. "content": "HTTP/1.1 400 Bad Request",
  2785. "type": "json"
  2786. }
  2787. ]
  2788. },
  2789. "filename": "app/Http/Controllers/Api/V1/CarController.php",
  2790. "groupTitle": "Car",
  2791. "name": "PostApiCarUpdate"
  2792. },
  2793. {
  2794. "type": "get",
  2795. "url": "/api/card/honor",
  2796. "title": "个人荣誉(honor)",
  2797. "description": "<p>个人荣誉(honor)</p>",
  2798. "group": "Card",
  2799. "permission": [
  2800. {
  2801. "name": "none"
  2802. }
  2803. ],
  2804. "version": "0.1.0",
  2805. "parameter": {
  2806. "fields": {
  2807. "Parameter": [
  2808. {
  2809. "group": "Parameter",
  2810. "type": "int",
  2811. "optional": false,
  2812. "field": "user_id",
  2813. "description": "<p>user_id</p>"
  2814. }
  2815. ]
  2816. }
  2817. },
  2818. "success": {
  2819. "examples": [
  2820. {
  2821. "title": "Success-Response:",
  2822. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"honor\": []//个人荣誉\n }\n}",
  2823. "type": "json"
  2824. }
  2825. ]
  2826. },
  2827. "error": {
  2828. "examples": [
  2829. {
  2830. "title": "Error-Response:",
  2831. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2832. "type": "json"
  2833. }
  2834. ]
  2835. },
  2836. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  2837. "groupTitle": "Card",
  2838. "name": "GetApiCardHonor"
  2839. },
  2840. {
  2841. "type": "get",
  2842. "url": "/api/card/index",
  2843. "title": "名片主页(index)",
  2844. "description": "<p>公司详情(index)</p>",
  2845. "group": "Card",
  2846. "permission": [
  2847. {
  2848. "name": "none"
  2849. }
  2850. ],
  2851. "version": "0.1.0",
  2852. "parameter": {
  2853. "fields": {
  2854. "Parameter": [
  2855. {
  2856. "group": "Parameter",
  2857. "type": "int",
  2858. "optional": false,
  2859. "field": "user_id",
  2860. "description": "<p>user_id</p>"
  2861. }
  2862. ]
  2863. }
  2864. },
  2865. "success": {
  2866. "examples": [
  2867. {
  2868. "title": "Success-Response:",
  2869. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"banner\": []//轮播图\n \"project\": []//经营项目\n \"trend\": []//个人动态\n \"info\": []//个人详情\n }\n}",
  2870. "type": "json"
  2871. }
  2872. ]
  2873. },
  2874. "error": {
  2875. "examples": [
  2876. {
  2877. "title": "Error-Response:",
  2878. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2879. "type": "json"
  2880. }
  2881. ]
  2882. },
  2883. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  2884. "groupTitle": "Card",
  2885. "name": "GetApiCardIndex"
  2886. },
  2887. {
  2888. "type": "get",
  2889. "url": "/api/card/info",
  2890. "title": "个人详情(info)",
  2891. "description": "<p>个人详情(info)</p>",
  2892. "group": "Card",
  2893. "permission": [
  2894. {
  2895. "name": "none"
  2896. }
  2897. ],
  2898. "version": "0.1.0",
  2899. "parameter": {
  2900. "fields": {
  2901. "Parameter": [
  2902. {
  2903. "group": "Parameter",
  2904. "type": "int",
  2905. "optional": false,
  2906. "field": "user_id",
  2907. "description": "<p>user_id</p>"
  2908. }
  2909. ]
  2910. }
  2911. },
  2912. "success": {
  2913. "examples": [
  2914. {
  2915. "title": "Success-Response:",
  2916. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"info\": []//个人详情\n }\n}",
  2917. "type": "json"
  2918. }
  2919. ]
  2920. },
  2921. "error": {
  2922. "examples": [
  2923. {
  2924. "title": "Error-Response:",
  2925. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2926. "type": "json"
  2927. }
  2928. ]
  2929. },
  2930. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  2931. "groupTitle": "Card",
  2932. "name": "GetApiCardInfo"
  2933. },
  2934. {
  2935. "type": "get",
  2936. "url": "/api/card/progress",
  2937. "title": "个人经历(progress)",
  2938. "description": "<p>个人经历(progress)</p>",
  2939. "group": "Card",
  2940. "permission": [
  2941. {
  2942. "name": "none"
  2943. }
  2944. ],
  2945. "version": "0.1.0",
  2946. "parameter": {
  2947. "fields": {
  2948. "Parameter": [
  2949. {
  2950. "group": "Parameter",
  2951. "type": "int",
  2952. "optional": false,
  2953. "field": "user_id",
  2954. "description": "<p>user_id</p>"
  2955. }
  2956. ]
  2957. }
  2958. },
  2959. "success": {
  2960. "examples": [
  2961. {
  2962. "title": "Success-Response:",
  2963. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"progress\": []//个人经历\n }\n}",
  2964. "type": "json"
  2965. }
  2966. ]
  2967. },
  2968. "error": {
  2969. "examples": [
  2970. {
  2971. "title": "Error-Response:",
  2972. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  2973. "type": "json"
  2974. }
  2975. ]
  2976. },
  2977. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  2978. "groupTitle": "Card",
  2979. "name": "GetApiCardProgress"
  2980. },
  2981. {
  2982. "type": "get",
  2983. "url": "/api/card/project",
  2984. "title": "经营项目(project)",
  2985. "description": "<p>经营项目(project)</p>",
  2986. "group": "Card",
  2987. "permission": [
  2988. {
  2989. "name": "none"
  2990. }
  2991. ],
  2992. "version": "0.1.0",
  2993. "parameter": {
  2994. "fields": {
  2995. "Parameter": [
  2996. {
  2997. "group": "Parameter",
  2998. "type": "int",
  2999. "optional": false,
  3000. "field": "user_id",
  3001. "description": "<p>user_id</p>"
  3002. }
  3003. ]
  3004. }
  3005. },
  3006. "success": {
  3007. "examples": [
  3008. {
  3009. "title": "Success-Response:",
  3010. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"project\": []//经营项目\n }\n}",
  3011. "type": "json"
  3012. }
  3013. ]
  3014. },
  3015. "error": {
  3016. "examples": [
  3017. {
  3018. "title": "Error-Response:",
  3019. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3020. "type": "json"
  3021. }
  3022. ]
  3023. },
  3024. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  3025. "groupTitle": "Card",
  3026. "name": "GetApiCardProject"
  3027. },
  3028. {
  3029. "type": "get",
  3030. "url": "/api/card/projectDetail",
  3031. "title": "经营项目详情(projectDetail)",
  3032. "description": "<p>经营项目详情(projectDetail)</p>",
  3033. "group": "Card",
  3034. "permission": [
  3035. {
  3036. "name": "none"
  3037. }
  3038. ],
  3039. "version": "0.1.0",
  3040. "parameter": {
  3041. "fields": {
  3042. "Parameter": [
  3043. {
  3044. "group": "Parameter",
  3045. "type": "int",
  3046. "optional": false,
  3047. "field": "user_id",
  3048. "description": "<p>user_id</p>"
  3049. },
  3050. {
  3051. "group": "Parameter",
  3052. "type": "int",
  3053. "optional": false,
  3054. "field": "pro_id",
  3055. "description": "<p>项目ID</p>"
  3056. }
  3057. ]
  3058. }
  3059. },
  3060. "success": {
  3061. "examples": [
  3062. {
  3063. "title": "Success-Response:",
  3064. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"project\": []//经营项目\n }\n}",
  3065. "type": "json"
  3066. }
  3067. ]
  3068. },
  3069. "error": {
  3070. "examples": [
  3071. {
  3072. "title": "Error-Response:",
  3073. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3074. "type": "json"
  3075. }
  3076. ]
  3077. },
  3078. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  3079. "groupTitle": "Card",
  3080. "name": "GetApiCardProjectdetail"
  3081. },
  3082. {
  3083. "type": "get",
  3084. "url": "/api/card/setting",
  3085. "title": "基础设置",
  3086. "description": "<p>基础设置</p>",
  3087. "group": "Card",
  3088. "permission": [
  3089. {
  3090. "name": "none"
  3091. }
  3092. ],
  3093. "version": "0.1.0",
  3094. "parameter": {
  3095. "fields": {
  3096. "Parameter": [
  3097. {
  3098. "group": "Parameter",
  3099. "type": "int",
  3100. "optional": false,
  3101. "field": "user_id",
  3102. "description": "<p>user_id</p>"
  3103. }
  3104. ]
  3105. }
  3106. },
  3107. "success": {
  3108. "examples": [
  3109. {
  3110. "title": "Success-Response:",
  3111. "content": "HTTP/1.1 200 OK",
  3112. "type": "json"
  3113. }
  3114. ]
  3115. },
  3116. "error": {
  3117. "examples": [
  3118. {
  3119. "title": "Error-Response:",
  3120. "content": "HTTP/1.1 400 Bad Request",
  3121. "type": "json"
  3122. }
  3123. ]
  3124. },
  3125. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  3126. "groupTitle": "Card",
  3127. "name": "GetApiCardSetting"
  3128. },
  3129. {
  3130. "type": "get",
  3131. "url": "/api/card/trend",
  3132. "title": "所有动态(trend)",
  3133. "description": "<p>所有动态(trend)</p>",
  3134. "group": "Card",
  3135. "permission": [
  3136. {
  3137. "name": "none"
  3138. }
  3139. ],
  3140. "version": "0.1.0",
  3141. "parameter": {
  3142. "fields": {
  3143. "Parameter": [
  3144. {
  3145. "group": "Parameter",
  3146. "type": "int",
  3147. "optional": false,
  3148. "field": "user_id",
  3149. "description": "<p>user_id</p>"
  3150. }
  3151. ]
  3152. }
  3153. },
  3154. "success": {
  3155. "examples": [
  3156. {
  3157. "title": "Success-Response:",
  3158. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"trend\": []//所有动态\n }\n}",
  3159. "type": "json"
  3160. }
  3161. ]
  3162. },
  3163. "error": {
  3164. "examples": [
  3165. {
  3166. "title": "Error-Response:",
  3167. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3168. "type": "json"
  3169. }
  3170. ]
  3171. },
  3172. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  3173. "groupTitle": "Card",
  3174. "name": "GetApiCardTrend"
  3175. },
  3176. {
  3177. "type": "get",
  3178. "url": "/api/card/trendDetail",
  3179. "title": "个人动态详情(trendDetail)",
  3180. "description": "<p>个人动态详情(trendDetail)</p>",
  3181. "group": "Card",
  3182. "permission": [
  3183. {
  3184. "name": "none"
  3185. }
  3186. ],
  3187. "version": "0.1.0",
  3188. "parameter": {
  3189. "fields": {
  3190. "Parameter": [
  3191. {
  3192. "group": "Parameter",
  3193. "type": "int",
  3194. "optional": false,
  3195. "field": "user_id",
  3196. "description": "<p>user_id</p>"
  3197. },
  3198. {
  3199. "group": "Parameter",
  3200. "type": "int",
  3201. "optional": false,
  3202. "field": "trend_id",
  3203. "description": "<p>动态ID</p>"
  3204. }
  3205. ]
  3206. }
  3207. },
  3208. "success": {
  3209. "examples": [
  3210. {
  3211. "title": "Success-Response:",
  3212. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"trend\": []//经营项目\n }\n}",
  3213. "type": "json"
  3214. }
  3215. ]
  3216. },
  3217. "error": {
  3218. "examples": [
  3219. {
  3220. "title": "Error-Response:",
  3221. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3222. "type": "json"
  3223. }
  3224. ]
  3225. },
  3226. "filename": "app/Http/Controllers/Api/V1/CardController.php",
  3227. "groupTitle": "Card",
  3228. "name": "GetApiCardTrenddetail"
  3229. },
  3230. {
  3231. "type": "get",
  3232. "url": "/api/cate/index",
  3233. "title": "分类",
  3234. "description": "<p>分类</p>",
  3235. "group": "Cate",
  3236. "parameter": {
  3237. "fields": {
  3238. "Parameter": [
  3239. {
  3240. "group": "Parameter",
  3241. "type": "string",
  3242. "optional": false,
  3243. "field": "appid",
  3244. "description": "<p>appid</p>"
  3245. },
  3246. {
  3247. "group": "Parameter",
  3248. "type": "int",
  3249. "optional": true,
  3250. "field": "page",
  3251. "defaultValue": "1",
  3252. "description": "<p>页码(分页参数)</p>"
  3253. },
  3254. {
  3255. "group": "Parameter",
  3256. "type": "int",
  3257. "optional": true,
  3258. "field": "id",
  3259. "description": "<p>分类 id</p>"
  3260. }
  3261. ]
  3262. }
  3263. },
  3264. "permission": [
  3265. {
  3266. "name": "none"
  3267. }
  3268. ],
  3269. "version": "0.1.0",
  3270. "success": {
  3271. "examples": [
  3272. {
  3273. "title": "Success-Response:",
  3274. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"cates\": [\n {\n \"id\": 1,\n \"name\": \"首页分类1\",\n \"pic\": \"/upload/goods/cate/20171013/2454820f914e59dd4a90b575cd47e03c.jpg\",\n },\n {\n \"id\": 3,\n \"name\": \"首页分类2\",\n \"pic\": \"/upload/goods/cate/20171013/0e67c1d32c450c5ccd0a9aae5ec9ab96.jpg\",\n }\n ],\n \"goods\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"name\": \"商品1\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n }\n ],\n \"first_page_url\": \"http://www.s1.com/api/cate/index?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://www.s1.com/api/cate/index?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://www.s1.com/api/cate/index\",\n \"per_page\": 10,\n \"prev_page_url\": null,\n \"to\": 1,\n \"total\": 1\n }\n }\n }",
  3275. "type": "json"
  3276. }
  3277. ]
  3278. },
  3279. "error": {
  3280. "examples": [
  3281. {
  3282. "title": "Error-Response:",
  3283. "content": "HTTP/1.1 400 Bad Request",
  3284. "type": "json"
  3285. }
  3286. ]
  3287. },
  3288. "filename": "app/Http/Controllers/Api/V1/CateController.php",
  3289. "groupTitle": "Cate",
  3290. "name": "GetApiCateIndex"
  3291. },
  3292. {
  3293. "type": "get",
  3294. "url": "/api/company/info",
  3295. "title": "公司详情(info)",
  3296. "description": "<p>公司详情(info)</p>",
  3297. "group": "Company",
  3298. "permission": [
  3299. {
  3300. "name": "none"
  3301. }
  3302. ],
  3303. "version": "0.1.0",
  3304. "parameter": {
  3305. "fields": {
  3306. "Parameter": [
  3307. {
  3308. "group": "Parameter",
  3309. "type": "string",
  3310. "optional": false,
  3311. "field": "appid",
  3312. "description": "<p>appid</p>"
  3313. }
  3314. ]
  3315. }
  3316. },
  3317. "success": {
  3318. "examples": [
  3319. {
  3320. "title": "Success-Response:",
  3321. "content": "HTTP/1.1 200 OK\n{\n \"state\": true,\n \"code\": 0,\n \"message\": \"\",\n \"data\": {\n \"info\": []//公司详情\n }\n}",
  3322. "type": "json"
  3323. }
  3324. ]
  3325. },
  3326. "error": {
  3327. "examples": [
  3328. {
  3329. "title": "Error-Response:",
  3330. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3331. "type": "json"
  3332. }
  3333. ]
  3334. },
  3335. "filename": "app/Http/Controllers/Api/V1/CompanyController.php",
  3336. "groupTitle": "Company",
  3337. "name": "GetApiCompanyInfo"
  3338. },
  3339. {
  3340. "type": "get",
  3341. "url": "/api/find/index",
  3342. "title": "发现",
  3343. "description": "<p>发现</p>",
  3344. "group": "Find",
  3345. "parameter": {
  3346. "fields": {
  3347. "Parameter": [
  3348. {
  3349. "group": "Parameter",
  3350. "type": "string",
  3351. "optional": false,
  3352. "field": "appid",
  3353. "description": "<p>appid</p>"
  3354. },
  3355. {
  3356. "group": "Parameter",
  3357. "type": "int",
  3358. "optional": true,
  3359. "field": "page",
  3360. "description": "<p>分页参数</p>"
  3361. }
  3362. ]
  3363. }
  3364. },
  3365. "permission": [
  3366. {
  3367. "name": "none"
  3368. }
  3369. ],
  3370. "version": "0.1.0",
  3371. "success": {
  3372. "examples": [
  3373. {
  3374. "title": "Success-Response:",
  3375. "content": " HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"title\": \"test\",\n \"pic\": \"/upload/article/20171013/91a15c6f30ad510db5165dad5ac1fff9.jpg\",\n \"info\": \"驱蚊器翁\",\n \"viewed\": 0,\n \"sort\": 1,\n \"created_at\": \"2017-10-13 03:34:02\",\n \"updated_at\": \"2017-10-13 03:34:02\"\n },\n ],\n \"first_page_url\": \"http://www.s1.com/api/find/index?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://www.s1.com/api/find/index?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://www.s1.com/api/find/index\",\n \"per_page\": 10,\n \"prev_page_url\": null,\n \"to\": 3,\n \"total\": 3\n }\n}",
  3376. "type": "json"
  3377. }
  3378. ]
  3379. },
  3380. "error": {
  3381. "examples": [
  3382. {
  3383. "title": "Error-Response:",
  3384. "content": "HTTP/1.1 400 Bad Request",
  3385. "type": "json"
  3386. }
  3387. ]
  3388. },
  3389. "filename": "app/Http/Controllers/Api/V1/FindController.php",
  3390. "groupTitle": "Find",
  3391. "name": "GetApiFindIndex"
  3392. },
  3393. {
  3394. "type": "get",
  3395. "url": "/api/furniture/add_comments",
  3396. "title": "添加新闻评论",
  3397. "description": "<p>添加新闻评论(news_list)</p>",
  3398. "group": "Furniture",
  3399. "permission": [
  3400. {
  3401. "name": "Passport"
  3402. }
  3403. ],
  3404. "version": "0.1.0",
  3405. "parameter": {
  3406. "fields": {
  3407. "Parameter": [
  3408. {
  3409. "group": "Parameter",
  3410. "type": "int",
  3411. "optional": false,
  3412. "field": "store_id",
  3413. "description": "<p>商户ID</p>"
  3414. },
  3415. {
  3416. "group": "Parameter",
  3417. "type": "int",
  3418. "optional": false,
  3419. "field": "news_id",
  3420. "description": "<p>新闻ID</p>"
  3421. },
  3422. {
  3423. "group": "Parameter",
  3424. "type": "int",
  3425. "optional": false,
  3426. "field": "content",
  3427. "description": "<p>评论内容</p>"
  3428. },
  3429. {
  3430. "group": "Parameter",
  3431. "type": "int",
  3432. "optional": false,
  3433. "field": "comments_id",
  3434. "description": "<p>被回复的评论ID。对新闻评论:0; 对评论回复:被回复的评论的具体ID</p>"
  3435. }
  3436. ]
  3437. }
  3438. },
  3439. "success": {
  3440. "examples": [
  3441. {
  3442. "title": "Success-Response:",
  3443. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"res\": []//结果\n\n }\n}",
  3444. "type": "json"
  3445. }
  3446. ]
  3447. },
  3448. "error": {
  3449. "examples": [
  3450. {
  3451. "title": "Error-Response:",
  3452. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确\n 401 token已过期,请重新登录",
  3453. "type": "json"
  3454. }
  3455. ]
  3456. },
  3457. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3458. "groupTitle": "Furniture",
  3459. "name": "GetApiFurnitureAdd_comments"
  3460. },
  3461. {
  3462. "type": "get",
  3463. "url": "/api/furniture/addtolike",
  3464. "title": "新闻点赞",
  3465. "description": "<p>新闻点赞</p>",
  3466. "group": "Furniture",
  3467. "permission": [
  3468. {
  3469. "name": "None"
  3470. }
  3471. ],
  3472. "version": "0.1.0",
  3473. "parameter": {
  3474. "fields": {
  3475. "Parameter": [
  3476. {
  3477. "group": "Parameter",
  3478. "type": "int",
  3479. "optional": false,
  3480. "field": "store_id",
  3481. "description": "<p>商户ID</p>"
  3482. },
  3483. {
  3484. "group": "Parameter",
  3485. "type": "int",
  3486. "optional": false,
  3487. "field": "news_id",
  3488. "description": "<p>新闻ID</p>"
  3489. },
  3490. {
  3491. "group": "Parameter",
  3492. "type": "int",
  3493. "optional": true,
  3494. "field": "like",
  3495. "description": "<p>喜欢 (参数:1)</p>"
  3496. }
  3497. ]
  3498. }
  3499. },
  3500. "success": {
  3501. "examples": [
  3502. {
  3503. "title": "Success-Response:",
  3504. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"res\": []//结果\n\n }\n}",
  3505. "type": "json"
  3506. }
  3507. ]
  3508. },
  3509. "error": {
  3510. "examples": [
  3511. {
  3512. "title": "Error-Response:",
  3513. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3514. "type": "json"
  3515. }
  3516. ]
  3517. },
  3518. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3519. "groupTitle": "Furniture",
  3520. "name": "GetApiFurnitureAddtolike"
  3521. },
  3522. {
  3523. "type": "get",
  3524. "url": "/api/furniture/getmorecomments",
  3525. "title": "获取全部评论/回复",
  3526. "description": "<p>获取全部评论/回复(getmorecomments)</p>",
  3527. "group": "Furniture",
  3528. "permission": [
  3529. {
  3530. "name": "none"
  3531. }
  3532. ],
  3533. "version": "0.1.0",
  3534. "parameter": {
  3535. "fields": {
  3536. "Parameter": [
  3537. {
  3538. "group": "Parameter",
  3539. "type": "int",
  3540. "optional": false,
  3541. "field": "store_id",
  3542. "description": "<p>商户id</p>"
  3543. },
  3544. {
  3545. "group": "Parameter",
  3546. "type": "int",
  3547. "optional": false,
  3548. "field": "id",
  3549. "description": "<p>评论/回复 id</p>"
  3550. }
  3551. ]
  3552. }
  3553. },
  3554. "success": {
  3555. "examples": [
  3556. {
  3557. "title": "Success-Response:",
  3558. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n comments\": {\n \"id\": 13,\n \"store_id\": 2,\n \"user_id\": 6,\n \"comments_id\": 0, //被评论id 0:表示对新闻评论\n \"content\": \"adff\",\n \"created_at\": \"2018-06-14 15:49:38\",\n \"updated_at\": \"2018-06-14 15:49:38\",\n \"news_id\": 5, //新闻id\n \"deleted_at\": null,\n \"sys_reply\": \"\",\n \"username\": \"Wesley\",\n \"avatar\": \"https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLnEDDuGRN9Dl7icBbph1JRvmQ7x2D4tiaGGVHApGAu9FCy9yb1bOcboIctAjRsyic4Ucn3z7K3QCUyg/132\",\n },\n \"comments_replys\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 13,\n \"store_id\": 2,\n \"user_id\": 6,\n \"comments_id\": 13, //被评论id 0:表示对新闻评论\n \"content\": \"adff\",\n \"created_at\": \"2018-06-14 15:49:38\",\n \"updated_at\": \"2018-06-14 15:49:38\",\n \"news_id\": 5, //新闻id\n \"deleted_at\": null,\n \"sys_reply\": \"\",\n \"username\": \"Wesley\",\n \"avatar\": \"https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLnEDDuGRN9Dl7icBbph1JRvmQ7x2D4tiaGGVHApGAu9FCy9yb1bOcboIctAjRsyic4Ucn3z7K3QCUyg/132\",\n \"replys\": {\n \"current_page\": 1,\n \"data\": [],\n \"first_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n \"from\": null,\n \"last_page\": 1,\n \"last_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://localhost:8082/api/furniture/news_detail\",\n \"per_page\": 5,\n \"prev_page_url\": null,\n \"to\": null,\n \"total\": 0\n}\n}\n],\n\"first_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n\"from\": 1,\n\"last_page\": 1,\n\"last_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n\"next_page_url\": null,\n\"path\": \"http://localhost:8082/api/furniture/news_detail\",\n\"per_page\": 5,\n\"prev_page_url\": null,\n\"to\": 1,\n\"total\": 1\n\n }\n}",
  3559. "type": "json"
  3560. }
  3561. ]
  3562. },
  3563. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3564. "groupTitle": "Furniture",
  3565. "name": "GetApiFurnitureGetmorecomments"
  3566. },
  3567. {
  3568. "type": "get",
  3569. "url": "/api/furniture/goods_list",
  3570. "title": "获取产品列表",
  3571. "description": "<p>获取产品列表(goods_list)</p>",
  3572. "group": "Furniture",
  3573. "permission": [
  3574. {
  3575. "name": "none"
  3576. }
  3577. ],
  3578. "version": "0.1.0",
  3579. "parameter": {
  3580. "fields": {
  3581. "Parameter": [
  3582. {
  3583. "group": "Parameter",
  3584. "type": "int",
  3585. "optional": false,
  3586. "field": "store_id",
  3587. "description": "<p>商户id 模拟值为1</p>"
  3588. }
  3589. ]
  3590. }
  3591. },
  3592. "success": {
  3593. "examples": [
  3594. {
  3595. "title": "Success-Response:",
  3596. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n...\n {\n \"id\": 1,\n \"goods_id\":12 //要跳转的小程序id\n \"name\": \"床垫测试\",\n \"img\": \"http://s1.xcx.com/upload/img/20180720/70f926022b933658d269106172e18bf0.png\",\n \"sort\": 99,\n \"status\": 1,\n \"store_id\": 1,\n \"created_at\": \"2018-07-20 14:56:42\",\n \"updated_at\": \"2018-07-20 17:36:23\",\n \"price\": 199\n }\n...\n ],\n \"first_page_url\": \"http://s1.xcx.com/api/furniture/goods_list?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://s1.xcx.com/api/furniture/goods_list?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://s1.xcx.com/api/furniture/goods_list\",\n \"per_page\": 5,\n \"prev_page_url\": null,\n \"to\": 4,\n \"total\": 4\n }\n}",
  3597. "type": "json"
  3598. }
  3599. ]
  3600. },
  3601. "error": {
  3602. "examples": [
  3603. {
  3604. "title": "Error-Response:",
  3605. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3606. "type": "json"
  3607. }
  3608. ]
  3609. },
  3610. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3611. "groupTitle": "Furniture",
  3612. "name": "GetApiFurnitureGoods_list"
  3613. },
  3614. {
  3615. "type": "get",
  3616. "url": "/api/furniture/newgoods_index",
  3617. "title": "新品发布详情",
  3618. "description": "<p>获取新品发布详情(news_index)</p>",
  3619. "group": "Furniture",
  3620. "permission": [
  3621. {
  3622. "name": "none"
  3623. }
  3624. ],
  3625. "version": "0.1.0",
  3626. "parameter": {
  3627. "fields": {
  3628. "Parameter": [
  3629. {
  3630. "group": "Parameter",
  3631. "type": "int",
  3632. "optional": false,
  3633. "field": "store_id",
  3634. "description": "<p>商户id 模拟值为1</p>"
  3635. },
  3636. {
  3637. "group": "Parameter",
  3638. "type": "int",
  3639. "optional": false,
  3640. "field": "id",
  3641. "description": "<p>新品id 模拟值为1</p>"
  3642. }
  3643. ]
  3644. }
  3645. },
  3646. "success": {
  3647. "examples": [
  3648. {
  3649. "title": "Success-Response:",
  3650. "content": "{\n\"status\": true,\n\"status_code\": 0,\n\"message\": \"\",\n\"data\": {\n\"newgoods\": {\n\"id\": 1,\n\"title\": \"新品测试1\", //标题\n\"thumb\": \"https://t6.9026.com/upload/img/20181119/4ee5baa103921e9d40e1c291d3c64f29.jpg\", //缩略图\n\"content\": \"<p>这是一个新品测试</p>\", //详情\n\"comments_field_1\": \"外观\", //评价1字段名称\n\"comments_field_2\": \"实用性\",\n\"comments_field_3\": \"质感\",\n\"comments_field_4\": \"舒适度\",\n\"sort\": 100,\n\"created_at\": \"2018-12-20 10:13:14\",\n\"updated_at\": \"2018-12-20 10:13:14\",\n\"store_id\": 1,\n\"comments_avg_1\": \"5.0000\", //字段1平均分\n\"comments_avg_2\": \"4.0000\",\n\"comments_avg_3\": \"3.0000\",\n\"comments_avg_4\": \"3.0000\"\n},\n\"comments\": [\n{\n\"id\": 2,\n\"user_id\": 152,\n\"newgoods_id\": 1,\n\"comments_field_1\": 5, //字段1评分\n\"comments_field_2\": 4,\n\"comments_field_3\": 3,\n\"comments_field_4\": 3,\n\"content\": \"第一条评价\", //评价详情\n \"picture\": [ //图片\n \"https://t6.9026.com/upload/img/20181119/4ee5baa103921e9d40e1c291d3c64f29.jpg\",\n \"https://t6.9026.com/upload/img/20181119/4ee5baa103921e9d40e1c291d3c64f29.jpg\",\n \"https://t6.9026.com/upload/img/\"\n],\n\"response\": null, //商家回复\n\"created_at\": null,\n\"updated_at\": null,\n\"store_id\": 1,\n\"username\": \"哈哈哈\", //用户姓名\n\"avatar\": \"https://wx.qlogo.cn/mmopen/vi_32/yx8xw9O4WzvbGFLlqyRRNiciaNKM8V2wiasXrPCGUdB26D060FXUeIwiaAVzoOMibXUE9jhPkLsUz1UIpaTv71mYM4A/132\" //用户头像\n}\n]\n}\n}",
  3651. "type": "json"
  3652. }
  3653. ]
  3654. },
  3655. "error": {
  3656. "examples": [
  3657. {
  3658. "title": "Error-Response:",
  3659. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3660. "type": "json"
  3661. }
  3662. ]
  3663. },
  3664. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3665. "groupTitle": "Furniture",
  3666. "name": "GetApiFurnitureNewgoods_index"
  3667. },
  3668. {
  3669. "type": "get",
  3670. "url": "/api/furniture/newgoods_list",
  3671. "title": "新品发布列表",
  3672. "description": "<p>获取新品发布列表(news_list)</p>",
  3673. "group": "Furniture",
  3674. "permission": [
  3675. {
  3676. "name": "none"
  3677. }
  3678. ],
  3679. "version": "0.1.0",
  3680. "parameter": {
  3681. "fields": {
  3682. "Parameter": [
  3683. {
  3684. "group": "Parameter",
  3685. "type": "int",
  3686. "optional": false,
  3687. "field": "store_id",
  3688. "description": "<p>商户id 模拟值为1</p>"
  3689. }
  3690. ]
  3691. }
  3692. },
  3693. "success": {
  3694. "examples": [
  3695. {
  3696. "title": "Success-Response:",
  3697. "content": "{\n\"status\": true,\n\"status_code\": 0,\n\"message\": \"\",\n\"data\": {\n\"current_page\": 1,\n\"data\": [\n {\n \"id\": 1, //id\n \"title\": \"新品测试1\", //标题\n \"thumb\": \"https://t6.9026.com/upload/img/20181119/4ee5baa103921e9d40e1c291d3c64f29.jpg\", //缩略图\n \"content\": \"<p>这是一个新品测试</p>\", //详情\n \"comments_field_1\": \"外观\", //用户自定义的评价字段\n \"comments_field_2\": \"实用性\",\n \"comments_field_3\": \"质感\",\n \"comments_field_4\": \"舒适度\",\n \"sort\": 100,\n \"created_at\": \"2018-12-20 10:13:14\",\n \"updated_at\": \"2018-12-20 10:13:14\",\n \"store_id\": 1,\n \"comments_total\": 2, //评价总量\n }\n ],\n \"first_page_url\": \"http://local.furniture.com/api/furniture/newgoods_list?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://local.furniture.com/api/furniture/newgoods_list?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://local.furniture.com/api/furniture/newgoods_list\",\n \"per_page\": 10,\n \"prev_page_url\": null,\n \"to\": 1,\n \"total\": 1\n }\n}",
  3698. "type": "json"
  3699. }
  3700. ]
  3701. },
  3702. "error": {
  3703. "examples": [
  3704. {
  3705. "title": "Error-Response:",
  3706. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3707. "type": "json"
  3708. }
  3709. ]
  3710. },
  3711. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3712. "groupTitle": "Furniture",
  3713. "name": "GetApiFurnitureNewgoods_list"
  3714. },
  3715. {
  3716. "type": "get",
  3717. "url": "/api/furniture/news_detail",
  3718. "title": "获取新闻详情",
  3719. "description": "<p>获取新闻详情(news_detail)</p>",
  3720. "group": "Furniture",
  3721. "permission": [
  3722. {
  3723. "name": "none"
  3724. }
  3725. ],
  3726. "version": "0.1.0",
  3727. "parameter": {
  3728. "fields": {
  3729. "Parameter": [
  3730. {
  3731. "group": "Parameter",
  3732. "type": "int",
  3733. "optional": false,
  3734. "field": "store_id",
  3735. "description": "<p>商户id</p>"
  3736. },
  3737. {
  3738. "group": "Parameter",
  3739. "type": "int",
  3740. "optional": false,
  3741. "field": "newsid",
  3742. "description": "<p>新闻id</p>"
  3743. }
  3744. ]
  3745. }
  3746. },
  3747. "success": {
  3748. "examples": [
  3749. {
  3750. "title": "Success-Response:",
  3751. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n news\": {\n \"id\": 5,\n \"store_id\": 2,\n \"title\": \"测试时\",\n \"thumb\": null,\n \"content\": \"<p>啊师傅阿凡达</p>\",\n \"bad\": 0, //淘汰\n \"commonly\": 0, //一般\n \"like\": 0, //喜欢\n \"viewed\": 0, //浏览次数\n \"sort\": 87,\n \"created_at\": \"2018-05-28 09:33:01\",\n \"updated_at\": \"2018-05-28 09:33:01\",\n \"avatar\": \"https://u3.9026.com/upload/common/20171013/137d21eb6dbaca67475c8ca27640dcfc.png\"\n },\n \"news_comments\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 13,\n \"store_id\": 2,\n \"user_id\": 6,\n \"comments_id\": 0, //被评论id 0:表示对新闻评论\n \"content\": \"adff\",\n \"created_at\": \"2018-06-14 15:49:38\",\n \"updated_at\": \"2018-06-14 15:49:38\",\n \"news_id\": 5, //新闻id\n \"deleted_at\": null,\n \"sys_reply\": \"\",\n \"username\": \"Wesley\",\n \"avatar\": \"https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLnEDDuGRN9Dl7icBbph1JRvmQ7x2D4tiaGGVHApGAu9FCy9yb1bOcboIctAjRsyic4Ucn3z7K3QCUyg/132\",\n \"replys\": {\n \"current_page\": 1,\n \"data\": [],\n \"first_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n \"from\": null,\n \"last_page\": 1,\n \"last_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://localhost:8082/api/furniture/news_detail\",\n \"per_page\": 5,\n \"prev_page_url\": null,\n \"to\": null,\n \"total\": 0\n}\n}\n],\n\"first_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n\"from\": 1,\n\"last_page\": 1,\n\"last_page_url\": \"http://localhost:8082/api/furniture/news_detail?page=1\",\n\"next_page_url\": null,\n\"path\": \"http://localhost:8082/api/furniture/news_detail\",\n\"per_page\": 5,\n\"prev_page_url\": null,\n\"to\": 1,\n\"total\": 1\n\n }\n}",
  3752. "type": "json"
  3753. }
  3754. ]
  3755. },
  3756. "error": {
  3757. "examples": [
  3758. {
  3759. "title": "Error-Response:",
  3760. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3761. "type": "json"
  3762. }
  3763. ]
  3764. },
  3765. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3766. "groupTitle": "Furniture",
  3767. "name": "GetApiFurnitureNews_detail"
  3768. },
  3769. {
  3770. "type": "get",
  3771. "url": "/api/furniture/news_list",
  3772. "title": "获取新闻列表",
  3773. "description": "<p>获取新闻列表(news_list)</p>",
  3774. "group": "Furniture",
  3775. "permission": [
  3776. {
  3777. "name": "none"
  3778. }
  3779. ],
  3780. "version": "0.1.0",
  3781. "parameter": {
  3782. "fields": {
  3783. "Parameter": [
  3784. {
  3785. "group": "Parameter",
  3786. "type": "int",
  3787. "optional": false,
  3788. "field": "store_id",
  3789. "description": "<p>商户id 模拟值为1</p>"
  3790. }
  3791. ]
  3792. }
  3793. },
  3794. "success": {
  3795. "examples": [
  3796. {
  3797. "title": "Success-Response:",
  3798. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1, //当前页\n \"data\": [\n...\n {\n \"id\": 1,\n \"store_id\": 1,\n \"title\": \"123123\",\n \"thumb\": \"http://s1.xcx.com/upload/agent_pic/20180702/19b0e148f1c9f2b6c3667c81bb06a687.jpg\",\n \"content\": \"<p>1232123123123</p>\",\n \"bad\": 0,\n \"commonly\": 0,\n \"like\": 0,\n \"viewed\": 133,\n \"sort\": 127,\n \"created_at\": \"2018-05-24 15:21:42\",\n \"updated_at\": \"2018-07-20 16:58:48\"\n },\n...\n ],\n \"first_page_url\": \"http://s1.xcx.com/api/furniture/news_list?page=1\", //首页url\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://s1.xcx.com/api/furniture/news_list?page=1\", //尾页url\n \"next_page_url\": null, //下一页url\n \"path\": \"http://s1.xcx.com/api/furniture/news_list\",\n \"per_page\": 5,\n \"prev_page_url\": null, //上一页url\n \"to\": 3,\n \"total\": 3\n\n }\n}",
  3799. "type": "json"
  3800. }
  3801. ]
  3802. },
  3803. "error": {
  3804. "examples": [
  3805. {
  3806. "title": "Error-Response:",
  3807. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3808. "type": "json"
  3809. }
  3810. ]
  3811. },
  3812. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3813. "groupTitle": "Furniture",
  3814. "name": "GetApiFurnitureNews_list"
  3815. },
  3816. {
  3817. "type": "post",
  3818. "url": "/api/furniture/newgoods_addbooking",
  3819. "title": "新品发布添加预售",
  3820. "description": "<p>添加预售(newgoods_addbooking)</p>",
  3821. "group": "Furniture",
  3822. "permission": [
  3823. {
  3824. "name": "passport"
  3825. }
  3826. ],
  3827. "version": "0.1.0",
  3828. "parameter": {
  3829. "fields": {
  3830. "Parameter": [
  3831. {
  3832. "group": "Parameter",
  3833. "type": "int",
  3834. "optional": false,
  3835. "field": "store_id",
  3836. "description": "<p>商户id 模拟值为1</p>"
  3837. },
  3838. {
  3839. "group": "Parameter",
  3840. "type": "int",
  3841. "optional": false,
  3842. "field": "newgoods_id",
  3843. "description": "<p>新品id 模拟值为1</p>"
  3844. },
  3845. {
  3846. "group": "Parameter",
  3847. "type": "int",
  3848. "optional": false,
  3849. "field": "phone",
  3850. "description": "<p>电话</p>"
  3851. },
  3852. {
  3853. "group": "Parameter",
  3854. "type": "string",
  3855. "optional": false,
  3856. "field": "receiver_name",
  3857. "description": "<p>姓名</p>"
  3858. },
  3859. {
  3860. "group": "Parameter",
  3861. "type": "string",
  3862. "optional": false,
  3863. "field": "receiver_address",
  3864. "description": "<p>地址</p>"
  3865. }
  3866. ]
  3867. }
  3868. },
  3869. "success": {
  3870. "examples": [
  3871. {
  3872. "title": "Success-Response:",
  3873. "content": "{\n\"status\": true,\n\"status_code\": 0,\n\"message\": \"\",\n\"data\": {\n\"store_id\": \"1\",\n\"newgoods_id\": \"1\",\n\"phone\": 15178654534,\n\"receiver_name\": '陈',\n\"receiver_address\": '丽都路700号',\n\"updated_at\": \"2018-12-20 16:56:46\",\n\"created_at\": \"2018-12-20 16:56:46\",\n\"id\": 3\n}\n}",
  3874. "type": "json"
  3875. }
  3876. ]
  3877. },
  3878. "error": {
  3879. "examples": [
  3880. {
  3881. "title": "Error-Response:",
  3882. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3883. "type": "json"
  3884. }
  3885. ]
  3886. },
  3887. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3888. "groupTitle": "Furniture",
  3889. "name": "PostApiFurnitureNewgoods_addbooking"
  3890. },
  3891. {
  3892. "type": "post",
  3893. "url": "/api/furniture/newgoods_addcomment",
  3894. "title": "新品发布添加评论",
  3895. "description": "<p>添加评论(newgoods_addcomment)</p>",
  3896. "group": "Furniture",
  3897. "permission": [
  3898. {
  3899. "name": "passport"
  3900. }
  3901. ],
  3902. "version": "0.1.0",
  3903. "parameter": {
  3904. "fields": {
  3905. "Parameter": [
  3906. {
  3907. "group": "Parameter",
  3908. "type": "int",
  3909. "optional": false,
  3910. "field": "store_id",
  3911. "description": "<p>商户id 模拟值为1</p>"
  3912. },
  3913. {
  3914. "group": "Parameter",
  3915. "type": "int",
  3916. "optional": false,
  3917. "field": "newgoods_id",
  3918. "description": "<p>新品id 模拟值为1</p>"
  3919. },
  3920. {
  3921. "group": "Parameter",
  3922. "type": "int",
  3923. "optional": false,
  3924. "field": "comments_field_1",
  3925. "description": "<p>字段1评分 1-5</p>"
  3926. },
  3927. {
  3928. "group": "Parameter",
  3929. "type": "int",
  3930. "optional": false,
  3931. "field": "comments_field_2",
  3932. "description": "<p>字段1评分 1-5</p>"
  3933. },
  3934. {
  3935. "group": "Parameter",
  3936. "type": "int",
  3937. "optional": false,
  3938. "field": "comments_field_3",
  3939. "description": "<p>字段1评分 1-5</p>"
  3940. },
  3941. {
  3942. "group": "Parameter",
  3943. "type": "int",
  3944. "optional": false,
  3945. "field": "comments_field_4",
  3946. "description": "<p>字段1评分 1-5</p>"
  3947. },
  3948. {
  3949. "group": "Parameter",
  3950. "type": "string",
  3951. "optional": true,
  3952. "field": "content",
  3953. "description": "<p>评论详情</p>"
  3954. },
  3955. {
  3956. "group": "Parameter",
  3957. "type": "array",
  3958. "optional": true,
  3959. "field": "picture",
  3960. "description": "<p>图片</p>"
  3961. }
  3962. ]
  3963. }
  3964. },
  3965. "success": {
  3966. "examples": [
  3967. {
  3968. "title": "Success-Response:",
  3969. "content": "{\n\"status\": true,\n\"status_code\": 0,\n\"message\": \"\",\n\"data\": {\n\"store_id\": \"1\",\n\"newgoods_id\": \"1\",\n\"comments_field_1\": \"3\",\n\"comments_field_2\": \"4\",\n\"comments_field_3\": \"5\",\n\"comments_field_4\": \"2\",\n\"user_id\": 151,\n\"updated_at\": \"2018-12-20 16:56:46\",\n\"created_at\": \"2018-12-20 16:56:46\",\n\"id\": 3\n}\n}",
  3970. "type": "json"
  3971. }
  3972. ]
  3973. },
  3974. "error": {
  3975. "examples": [
  3976. {
  3977. "title": "Error-Response:",
  3978. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  3979. "type": "json"
  3980. }
  3981. ]
  3982. },
  3983. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  3984. "groupTitle": "Furniture",
  3985. "name": "PostApiFurnitureNewgoods_addcomment"
  3986. },
  3987. {
  3988. "type": "post",
  3989. "url": "/api/furniture/setting",
  3990. "title": "首页基本设置",
  3991. "description": "<p>首页基本设置</p>",
  3992. "group": "Furniture",
  3993. "permission": [
  3994. {
  3995. "name": "none"
  3996. }
  3997. ],
  3998. "version": "0.1.0",
  3999. "parameter": {
  4000. "fields": {
  4001. "Parameter": [
  4002. {
  4003. "group": "Parameter",
  4004. "type": "string",
  4005. "optional": false,
  4006. "field": "store_id",
  4007. "description": "<p>店铺ID</p>"
  4008. }
  4009. ]
  4010. }
  4011. },
  4012. "success": {
  4013. "examples": [
  4014. {
  4015. "title": "Success-Response:",
  4016. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"setting\": {\n \"name\": \"某某厂家\",\n \"goods_app_id\": \"afdasfa\", //商品要跳转的appid\n \"goods_app_path\": \"page/goods/goods\", //商品要跳转的url\n \"illustrated_name\": \"在线画册\",\n \"avatar\": \"http://s1.xcx.com/upload/s1test/20180716/bb123f13bf8a42f0a86b55e7bf861400.png\",\n \"notice\": \"这是一条公告测试!\",\n \"advertising_pic\": \"\"\n },\n \"banner\": [ //轮播图\n...\n {\n \"id\": 4,\n \"store_id\": 1,\n \"pic_url\": \"https://u3.9026.com/upload/temp_pic/20171013/da1d53cd93bfa4c8ed34939314ca18fb.jpg\",\n \"title\": \"轮播图测试\",\n \"page_url\": \"news/news\",\n \"sort\": 87,\n }\n...\n ],\n \"navbar\": [ //底部导航栏\n...\n {\n \"id\": 9,\n \"store_id\": 1,\n \"name\": \"联系我们\",\n \"url\": \"/pages/index/index\",\n \"open_type\": \"1\",\n \"pic_url\": \"http://s1.xcx.com/upload/agent_show/20180702/7e638f0ca464f8096fba8a658b49d556.png\",\n \"sort\": 100,\n \"created_at\": \"2018-07-16 16:05:29\",\n \"updated_at\": \"2018-07-20 18:08:37\",\n \"deleted_at\": null,\n \"mobile\": \"13407570861\",\n \"address\": null,\n \"app_id\": null,\n \"state\": 0,\n \"lon\": null,\n \"lat\": null\n }\n...\n ],\n\"menus\": [ //顶部导航栏\n...\n {\n \"id\": 9,\n \"store_id\": 1,\n \"name\": \"联系我们\",\n \"url\": \"/pages/index/index\",\n \"open_type\": \"1\",\n \"pic_url\": \"http://s1.xcx.com/upload/agent_show/20180702/7e638f0ca464f8096fba8a658b49d556.png\",\n \"sort\": 100,\n \"created_at\": \"2018-07-16 16:05:29\",\n \"updated_at\": \"2018-07-20 18:08:37\",\n \"deleted_at\": null,\n \"mobile\": \"13407570861\",\n \"address\": null,\n \"app_id\": null,\n \"state\": 1,\n \"lon\": null,\n \"lat\": null\n }\n...\n ]\n\n }\n}",
  4017. "type": "json"
  4018. }
  4019. ]
  4020. },
  4021. "error": {
  4022. "examples": [
  4023. {
  4024. "title": "Error-Response:",
  4025. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4026. "type": "json"
  4027. }
  4028. ]
  4029. },
  4030. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4031. "groupTitle": "Furniture",
  4032. "name": "PostApiFurnitureSetting"
  4033. },
  4034. {
  4035. "type": "get",
  4036. "url": "/api/furniture/getattr",
  4037. "title": "获取产品属性",
  4038. "description": "<p>获取产品属性</p>",
  4039. "group": "Furniture_Service",
  4040. "permission": [
  4041. {
  4042. "name": "none"
  4043. }
  4044. ],
  4045. "version": "0.1.0",
  4046. "parameter": {
  4047. "fields": {
  4048. "Parameter": [
  4049. {
  4050. "group": "Parameter",
  4051. "type": "string",
  4052. "optional": false,
  4053. "field": "store_id",
  4054. "description": ""
  4055. },
  4056. {
  4057. "group": "Parameter",
  4058. "type": "string",
  4059. "optional": true,
  4060. "field": "id",
  4061. "description": "<p>默认获取品类,传品类id获取该品类的型号,传型号id获取该型号的颜色</p>"
  4062. }
  4063. ]
  4064. }
  4065. },
  4066. "success": {
  4067. "examples": [
  4068. {
  4069. "title": "Success-Response:",
  4070. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n...\n {\n \"id\": 1,\n \"name\": \"冰箱\",\n \"pid\": 0,\n \"attr_type\": 0,\n \"sort\": 100,\n \"store_id\": 1,\n \"deleted_at\": null,\n \"created_at\": \"2018-06-28 02:55:26\",\n \"updated_at\": \"2018-06-28 02:59:29\"\n },\n...\n ]\n}",
  4071. "type": "json"
  4072. }
  4073. ]
  4074. },
  4075. "error": {
  4076. "examples": [
  4077. {
  4078. "title": "Error-Response:",
  4079. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4080. "type": "json"
  4081. }
  4082. ]
  4083. },
  4084. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4085. "groupTitle": "Furniture_Service",
  4086. "name": "GetApiFurnitureGetattr"
  4087. },
  4088. {
  4089. "type": "get",
  4090. "url": "/api/furniture/getfurnitureads",
  4091. "title": "获取首页广告",
  4092. "description": "<p>获取首页广告</p>",
  4093. "group": "Furniture_Service",
  4094. "permission": [
  4095. {
  4096. "name": "none"
  4097. }
  4098. ],
  4099. "version": "0.1.0",
  4100. "parameter": {
  4101. "fields": {
  4102. "Parameter": [
  4103. {
  4104. "group": "Parameter",
  4105. "type": "string",
  4106. "optional": false,
  4107. "field": "store_id",
  4108. "description": ""
  4109. }
  4110. ]
  4111. }
  4112. },
  4113. "success": {
  4114. "examples": [
  4115. {
  4116. "title": "Success-Response:",
  4117. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"furniture_ads_pic\": \"http://s1.xcx.com/upload/img/20180720/70f926022b933658d269106172e18bf0.png\"\n }\n}",
  4118. "type": "json"
  4119. }
  4120. ]
  4121. },
  4122. "error": {
  4123. "examples": [
  4124. {
  4125. "title": "Error-Response:",
  4126. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4127. "type": "json"
  4128. }
  4129. ]
  4130. },
  4131. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4132. "groupTitle": "Furniture_Service",
  4133. "name": "GetApiFurnitureGetfurnitureads"
  4134. },
  4135. {
  4136. "type": "get",
  4137. "url": "/api/furniture/getorder",
  4138. "title": "获取订单信息",
  4139. "description": "<p>获取订单</p>",
  4140. "group": "Furniture_Service",
  4141. "permission": [
  4142. {
  4143. "name": "none"
  4144. }
  4145. ],
  4146. "version": "0.1.0",
  4147. "parameter": {
  4148. "fields": {
  4149. "Parameter": [
  4150. {
  4151. "group": "Parameter",
  4152. "type": "string",
  4153. "optional": false,
  4154. "field": "store_id",
  4155. "description": ""
  4156. },
  4157. {
  4158. "group": "Parameter",
  4159. "type": "string",
  4160. "optional": true,
  4161. "field": "user_id",
  4162. "description": "<p>(填写user_id,查询用户个人订单,不填则查询店铺订单)</p>"
  4163. },
  4164. {
  4165. "group": "Parameter",
  4166. "type": "string",
  4167. "optional": true,
  4168. "field": "status",
  4169. "description": "<p>(可填) (选填 0:待审核;1:待生产;2:生产中;3:待发货;4:运输中/未签收 5:已签收/待评价 6:已评价 7:已取消 null:全部订单 8:生产部全部订单/个人待发货订单 9:包装部全部订单)</p>"
  4170. },
  4171. {
  4172. "group": "Parameter",
  4173. "type": "string",
  4174. "optional": true,
  4175. "field": "expected",
  4176. "description": "<p>(1:查询逾期的订单)</p>"
  4177. }
  4178. ]
  4179. }
  4180. },
  4181. "success": {
  4182. "examples": [
  4183. {
  4184. "title": "Success-Response:",
  4185. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n...\n {\n \"id\": 1,\n \"sno\": \"s1001\",\n \"qrcode\": \"qr.png\",\n \"status\": 1,\n \"category\": \"冰箱\",\n \"type\": \"s1002\",\n \"color\": \"白色\",\n \"picture\": \"1.ipg\",\n \"question\": \"问题测试\",\n \"customer_name\": \"wesley\",\n \"customer_phone\": \"18380257014\",\n \"customer_address\": \"成都市新都区\",\n \"user_id\": 1,\n \"producer_id\": null,\n \"packer_id\": null,\n \"price\": 50,\n \"expected_time\": \"2018-07-05\",\n \"remark\": null,\n \"store_id\": 1,\n \"created_at\": \"2018-07-03 17:18:26\",\n \"updated_at\": \"2018-07-05 14:53:42\"\n }\n...\n ],\n \"first_page_url\": \"http://s1.xcx.com/api/furniture/getorder?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://s1.xcx.com/api/furniture/getorder?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://s1.xcx.com/api/furniture/getorder\",\n \"per_page\": 5,\n \"prev_page_url\": null,\n \"to\": 2,\n \"total\": 2 //订单数量\n }\n}",
  4186. "type": "json"
  4187. }
  4188. ]
  4189. },
  4190. "error": {
  4191. "examples": [
  4192. {
  4193. "title": "Error-Response:",
  4194. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4195. "type": "json"
  4196. }
  4197. ]
  4198. },
  4199. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4200. "groupTitle": "Furniture_Service",
  4201. "name": "GetApiFurnitureGetorder"
  4202. },
  4203. {
  4204. "type": "get",
  4205. "url": "/api/furniture/getorderdetail",
  4206. "title": "获取订单详情",
  4207. "description": "<p>获取订单详情</p>",
  4208. "group": "Furniture_Service",
  4209. "permission": [
  4210. {
  4211. "name": "Passport"
  4212. }
  4213. ],
  4214. "version": "0.1.0",
  4215. "parameter": {
  4216. "fields": {
  4217. "Parameter": [
  4218. {
  4219. "group": "Parameter",
  4220. "type": "string",
  4221. "optional": false,
  4222. "field": "store_id",
  4223. "description": ""
  4224. },
  4225. {
  4226. "group": "Parameter",
  4227. "type": "string",
  4228. "optional": false,
  4229. "field": "order_id",
  4230. "description": ""
  4231. }
  4232. ]
  4233. }
  4234. },
  4235. "success": {
  4236. "examples": [
  4237. {
  4238. "title": "Success-Response:",
  4239. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"order\": { //订单详情\n \"id\": 1,\n \"sno\": \"s1001\",\n \"qrcode\": \"qr.png\",\n \"status\": 1,\n \"category\": \"冰箱\",\n \"type\": \"s1002\",\n \"color\": \"白色\",\n \"question\": \"问题测试\",\n \"customer_name\": \"wesley\",\n \"customer_phone\": \"18380257014\",\n \"customer_address\": \"成都市新都区\",\n \"user_id\": 1,\n \"producer_id\": null,\n \"packer_id\": null,\n \"price\": 50,\n \"expected_time\": \"2018-07-05\",\n \"remark\": null, //备注\n \"store_id\": 1,\n \"deleted_at\": null,\n \"created_at\": \"2018-07-03 17:18:26\",\n \"updated_at\": \"2018-07-05 14:53:42\",\n \"pcture\": [\n \"1.png\",\n \"2.png\"\n ]\n },\n \"progress\": [ //订单进度\n...\n {\n \"created_at\": \"2018-08-02 17:31:14\",\n \"description\": \"订单已提交,等待审核\",\n \"status\": 0\n }\n...\n ],\n \"parts\": [ //订单配件\n...\n {\n \"name\": \"螺丝刀\",\n \"count\": 1\n },\n...\n ]\n }\n}",
  4240. "type": "json"
  4241. }
  4242. ]
  4243. },
  4244. "error": {
  4245. "examples": [
  4246. {
  4247. "title": "Error-Response:",
  4248. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4249. "type": "json"
  4250. }
  4251. ]
  4252. },
  4253. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4254. "groupTitle": "Furniture_Service",
  4255. "name": "GetApiFurnitureGetorderdetail"
  4256. },
  4257. {
  4258. "type": "get",
  4259. "url": "/api/furniture/getprogress",
  4260. "title": "订单进度统计",
  4261. "description": "<p>订单进度统计</p>",
  4262. "group": "Furniture_Service",
  4263. "permission": [
  4264. {
  4265. "name": "none"
  4266. }
  4267. ],
  4268. "version": "0.1.0",
  4269. "parameter": {
  4270. "fields": {
  4271. "Parameter": [
  4272. {
  4273. "group": "Parameter",
  4274. "type": "string",
  4275. "optional": false,
  4276. "field": "store_id",
  4277. "description": ""
  4278. },
  4279. {
  4280. "group": "Parameter",
  4281. "type": "string",
  4282. "optional": true,
  4283. "field": "user_id",
  4284. "description": "<p>(查询用户个人各个订单状态数量时带上此参数)</p>"
  4285. },
  4286. {
  4287. "group": "Parameter",
  4288. "type": "string",
  4289. "optional": true,
  4290. "field": "status",
  4291. "description": "<p>( 0:待审核;1:待生产;2:生产中;3:待发货;4:未签收,不填写则返回所有状态下的订单数量)</p>"
  4292. },
  4293. {
  4294. "group": "Parameter",
  4295. "type": "string",
  4296. "optional": true,
  4297. "field": "expected",
  4298. "description": "<p>1:逾期)</p>"
  4299. }
  4300. ]
  4301. }
  4302. },
  4303. "success": {
  4304. "examples": [
  4305. {
  4306. "title": "Success-Response:",
  4307. "content": "HTTP/1.1 200 OK 所有状态统计\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"\"count\": [\n {\n \"status\": 0, //订单状态\n \"total\": 1 //改状态订单数量\n },\n {\n \"status\": 1,\n \"total\": ''\n },\n \"status\": 2,\n \"total\": ''\n },\n \"status\": 3,\n \"total\": ''\n },\n \"status\": 4,\n \"total\": ''\n },\n {\n \"expected\": 1,\n \"total\": 1\n }\n ]\n }\n}",
  4308. "type": "json"
  4309. },
  4310. {
  4311. "title": "Success-Response:",
  4312. "content": "HTTP/1.1 200 OK 具体状态下统计图\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"count\": [\n...\n {\n \"customer_name\": \"\", //联系人姓名\n \"days\": \"\" //该状态维持天数\n }\n...\n ]\n }\n}",
  4313. "type": "json"
  4314. }
  4315. ]
  4316. },
  4317. "error": {
  4318. "examples": [
  4319. {
  4320. "title": "Error-Response:",
  4321. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4322. "type": "json"
  4323. }
  4324. ]
  4325. },
  4326. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4327. "groupTitle": "Furniture_Service",
  4328. "name": "GetApiFurnitureGetprogress"
  4329. },
  4330. {
  4331. "type": "get",
  4332. "url": "/api/furniture/getreviewcount",
  4333. "title": "评价统计",
  4334. "description": "<p>评价统计</p>",
  4335. "group": "Furniture_Service",
  4336. "permission": [
  4337. {
  4338. "name": "none"
  4339. }
  4340. ],
  4341. "version": "0.1.0",
  4342. "parameter": {
  4343. "fields": {
  4344. "Parameter": [
  4345. {
  4346. "group": "Parameter",
  4347. "type": "string",
  4348. "optional": false,
  4349. "field": "store_id",
  4350. "description": ""
  4351. },
  4352. {
  4353. "group": "Parameter",
  4354. "type": "string",
  4355. "optional": true,
  4356. "field": "days",
  4357. "description": "<p>(必填 0:今天;7:7天内;30:30天内</p>"
  4358. }
  4359. ]
  4360. }
  4361. },
  4362. "success": {
  4363. "examples": [
  4364. {
  4365. "title": "Success-Response:",
  4366. "content": "HTTP/1.1 200 OK 所有状态统计\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"verifier\": [ //客服部\n {\n \"verifier_review\": 0, 评价等级:0:好评 1:中评 2:差评\n \"verifier\": 7 评价数量\n },\n {\n \"verifier_review\": 1,\n \"verifier\": 5\n },\n ],\n \"producer\": [ //生产部\n {\n \"producer_review\": 0,\n \"producer\": 1\n },\n ...\n ],\n \"packer\": [ //包装部\n {\n \"producer_review\": 0,\n \"producer\": 1\n },\n ...\n ]\n }\n}",
  4367. "type": "json"
  4368. }
  4369. ]
  4370. },
  4371. "error": {
  4372. "examples": [
  4373. {
  4374. "title": "Error-Response:",
  4375. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4376. "type": "json"
  4377. }
  4378. ]
  4379. },
  4380. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4381. "groupTitle": "Furniture_Service",
  4382. "name": "GetApiFurnitureGetreviewcount"
  4383. },
  4384. {
  4385. "type": "get",
  4386. "url": "/api/furniture/ordercount",
  4387. "title": "按产品/品类统计",
  4388. "description": "<p>按产品/品类统计</p>",
  4389. "group": "Furniture_Service",
  4390. "permission": [
  4391. {
  4392. "name": "none"
  4393. }
  4394. ],
  4395. "version": "0.1.0",
  4396. "parameter": {
  4397. "fields": {
  4398. "Parameter": [
  4399. {
  4400. "group": "Parameter",
  4401. "type": "string",
  4402. "optional": false,
  4403. "field": "store_id",
  4404. "description": ""
  4405. },
  4406. {
  4407. "group": "Parameter",
  4408. "type": "string",
  4409. "optional": true,
  4410. "field": "type",
  4411. "description": "<p>按产品统计,可选值:1</p>"
  4412. },
  4413. {
  4414. "group": "Parameter",
  4415. "type": "string",
  4416. "optional": true,
  4417. "field": "category",
  4418. "description": "<p>按品类统计,与type二选一,不能与type同时传值。可选值:1(所有品类)具体品类的值(统计具体品类)</p>"
  4419. },
  4420. {
  4421. "group": "Parameter",
  4422. "type": "string",
  4423. "optional": true,
  4424. "field": "days",
  4425. "description": "<p>可选:0,7,30</p>"
  4426. }
  4427. ]
  4428. }
  4429. },
  4430. "success": {
  4431. "examples": [
  4432. {
  4433. "title": "Success-Response:",
  4434. "content": "HTTP/1.1 200 OK 所有状态统计\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n...\n {\n \"days\": \"2018-07-03\", //日期\n \"count\": 2, //数量\n \"category\": \"冰箱\", //品类\n \"type\": \"s1002\" //产品型号\n },\n...\n }\n}",
  4435. "type": "json"
  4436. }
  4437. ]
  4438. },
  4439. "error": {
  4440. "examples": [
  4441. {
  4442. "title": "Error-Response:",
  4443. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4444. "type": "json"
  4445. }
  4446. ]
  4447. },
  4448. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4449. "groupTitle": "Furniture_Service",
  4450. "name": "GetApiFurnitureOrdercount"
  4451. },
  4452. {
  4453. "type": "get",
  4454. "url": "/api/furniture/searchlist",
  4455. "title": "产品订单搜索列表页",
  4456. "description": "<p>产品订单搜索列表页</p>",
  4457. "group": "Furniture_Service",
  4458. "permission": [
  4459. {
  4460. "name": "none"
  4461. }
  4462. ],
  4463. "version": "0.1.0",
  4464. "parameter": {
  4465. "fields": {
  4466. "Parameter": [
  4467. {
  4468. "group": "Parameter",
  4469. "type": "string",
  4470. "optional": false,
  4471. "field": "store_id",
  4472. "description": ""
  4473. },
  4474. {
  4475. "group": "Parameter",
  4476. "type": "string",
  4477. "optional": true,
  4478. "field": "keyword",
  4479. "description": "<p>搜索关键字</p>"
  4480. }
  4481. ]
  4482. }
  4483. },
  4484. "success": {
  4485. "examples": [
  4486. {
  4487. "title": "Success-Response:",
  4488. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n...\n {\n \"id\": 1,\n \"sno\": \"s1001\",\n \"qrcode\": \"qr.png\",\n \"status\": 1,\n \"category\": \"冰箱\",\n \"type\": \"s1002\",\n \"color\": \"白色\",\n \"picture\": \"1.ipg\",\n \"question\": \"问题测试\",\n \"customer_name\": \"wesley\",\n \"customer_phone\": \"18380257014\",\n \"customer_address\": \"成都市新都区\",\n \"user_id\": 1,\n \"producer_id\": null,\n \"packer_id\": null,\n \"price\": 50,\n \"expected_time\": \"2018-07-05\",\n \"remark\": null,\n \"store_id\": 1,\n \"created_at\": \"2018-07-03 17:18:26\",\n \"updated_at\": \"2018-07-05 14:53:42\"\n }\n...\n ],\n \"first_page_url\": \"http://s1.xcx.com/api/furniture/getorder?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://s1.xcx.com/api/furniture/getorder?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://s1.xcx.com/api/furniture/getorder\",\n \"per_page\": 5,\n \"prev_page_url\": null,\n \"to\": 2,\n \"total\": 2 //订单数量\n }\n}",
  4489. "type": "json"
  4490. }
  4491. ]
  4492. },
  4493. "error": {
  4494. "examples": [
  4495. {
  4496. "title": "Error-Response:",
  4497. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4498. "type": "json"
  4499. }
  4500. ]
  4501. },
  4502. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4503. "groupTitle": "Furniture_Service",
  4504. "name": "GetApiFurnitureSearchlist"
  4505. },
  4506. {
  4507. "type": "post",
  4508. "url": "/api/furniture/addreview",
  4509. "title": "添加评论",
  4510. "description": "<p>添加评论</p>",
  4511. "group": "Furniture_Service",
  4512. "permission": [
  4513. {
  4514. "name": "Passport"
  4515. }
  4516. ],
  4517. "version": "0.1.0",
  4518. "parameter": {
  4519. "fields": {
  4520. "Parameter": [
  4521. {
  4522. "group": "Parameter",
  4523. "type": "string",
  4524. "optional": false,
  4525. "field": "store_id",
  4526. "description": ""
  4527. },
  4528. {
  4529. "group": "Parameter",
  4530. "type": "int",
  4531. "optional": false,
  4532. "field": "order_id",
  4533. "description": ""
  4534. },
  4535. {
  4536. "group": "Parameter",
  4537. "type": "int",
  4538. "optional": false,
  4539. "field": "verifier_review",
  4540. "description": "<p>客服部评论:0:好评;1:中评:2:差评</p>"
  4541. },
  4542. {
  4543. "group": "Parameter",
  4544. "type": "int",
  4545. "optional": false,
  4546. "field": "producer_review",
  4547. "description": "<p>生产部部评论:0:好评;1:中评:2:差评</p>"
  4548. },
  4549. {
  4550. "group": "Parameter",
  4551. "type": "int",
  4552. "optional": false,
  4553. "field": "packer_review",
  4554. "description": "<p>包装部评论:0:好评;1:中评:2:差评</p>"
  4555. },
  4556. {
  4557. "group": "Parameter",
  4558. "type": "int",
  4559. "optional": true,
  4560. "field": "description",
  4561. "description": "<p>评论描述</p>"
  4562. },
  4563. {
  4564. "group": "Parameter",
  4565. "type": "int",
  4566. "optional": true,
  4567. "field": "picture",
  4568. "description": "<p>图片</p>"
  4569. }
  4570. ]
  4571. }
  4572. },
  4573. "success": {
  4574. "examples": [
  4575. {
  4576. "title": "Success-Response:",
  4577. "content": "HTTP/1.1 200 OK 添加评论成功\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"store_id\": \"1\",\n \"verifier_review\": \"0\",\n \"producer_review\": \"0\",\n \"packer_review\": \"1\",\n \"order_id\": \"1\",\n \"updated_at\": \"2018-07-26 15:03:33\",\n \"created_at\": \"2018-07-26 15:03:33\",\n \"id\": 5\n }\n}",
  4578. "type": "json"
  4579. }
  4580. ]
  4581. },
  4582. "error": {
  4583. "examples": [
  4584. {
  4585. "title": "Error-Response:",
  4586. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4587. "type": "json"
  4588. }
  4589. ]
  4590. },
  4591. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4592. "groupTitle": "Furniture_Service",
  4593. "name": "PostApiFurnitureAddreview"
  4594. },
  4595. {
  4596. "type": "post",
  4597. "url": "/api/furniture/createorder",
  4598. "title": "创建售后订单",
  4599. "description": "<p>创建售后订单</p>",
  4600. "group": "Furniture_Service",
  4601. "permission": [
  4602. {
  4603. "name": "Passport"
  4604. }
  4605. ],
  4606. "version": "0.1.0",
  4607. "parameter": {
  4608. "fields": {
  4609. "Parameter": [
  4610. {
  4611. "group": "Parameter",
  4612. "type": "string",
  4613. "optional": false,
  4614. "field": "store_id",
  4615. "description": "<p>Store_id</p>"
  4616. },
  4617. {
  4618. "group": "Parameter",
  4619. "type": "string",
  4620. "optional": false,
  4621. "field": "category",
  4622. "description": "<p>产品类别</p>"
  4623. },
  4624. {
  4625. "group": "Parameter",
  4626. "type": "string",
  4627. "optional": false,
  4628. "field": "type",
  4629. "description": "<p>产品型号</p>"
  4630. },
  4631. {
  4632. "group": "Parameter",
  4633. "type": "string",
  4634. "optional": true,
  4635. "field": "color",
  4636. "description": "<p>产品颜色</p>"
  4637. },
  4638. {
  4639. "group": "Parameter",
  4640. "type": "string",
  4641. "optional": false,
  4642. "field": "question",
  4643. "description": "<p>问题描述</p>"
  4644. },
  4645. {
  4646. "group": "Parameter",
  4647. "type": "string",
  4648. "optional": true,
  4649. "field": "picture",
  4650. "description": "<p>图片</p>"
  4651. },
  4652. {
  4653. "group": "Parameter",
  4654. "type": "string",
  4655. "optional": false,
  4656. "field": "customer_name",
  4657. "description": "<p>联系人姓名</p>"
  4658. },
  4659. {
  4660. "group": "Parameter",
  4661. "type": "string",
  4662. "optional": false,
  4663. "field": "customer_phone",
  4664. "description": "<p>联系人电话</p>"
  4665. },
  4666. {
  4667. "group": "Parameter",
  4668. "type": "string",
  4669. "optional": false,
  4670. "field": "customer_address",
  4671. "description": "<p>联系人地址</p>"
  4672. }
  4673. ]
  4674. }
  4675. },
  4676. "success": {
  4677. "examples": [
  4678. {
  4679. "title": "Success-Response:",
  4680. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"category\": [\n\n ]\n }\n}",
  4681. "type": "json"
  4682. }
  4683. ]
  4684. },
  4685. "error": {
  4686. "examples": [
  4687. {
  4688. "title": "Error-Response:",
  4689. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4690. "type": "json"
  4691. }
  4692. ]
  4693. },
  4694. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4695. "groupTitle": "Furniture_Service",
  4696. "name": "PostApiFurnitureCreateorder"
  4697. },
  4698. {
  4699. "type": "post",
  4700. "url": "/api/furniture/getphonenumber",
  4701. "title": "获取手机号",
  4702. "description": "<p>获取手机号</p>",
  4703. "group": "Furniture_Service",
  4704. "permission": [
  4705. {
  4706. "name": "none"
  4707. }
  4708. ],
  4709. "version": "0.1.0",
  4710. "parameter": {
  4711. "fields": {
  4712. "Parameter": [
  4713. {
  4714. "group": "Parameter",
  4715. "type": "string",
  4716. "optional": false,
  4717. "field": "store_id",
  4718. "description": ""
  4719. },
  4720. {
  4721. "group": "Parameter",
  4722. "type": "string",
  4723. "optional": false,
  4724. "field": "session_key",
  4725. "description": ""
  4726. },
  4727. {
  4728. "group": "Parameter",
  4729. "type": "string",
  4730. "optional": false,
  4731. "field": "iv",
  4732. "description": ""
  4733. },
  4734. {
  4735. "group": "Parameter",
  4736. "type": "string",
  4737. "optional": false,
  4738. "field": "encryptData",
  4739. "description": ""
  4740. }
  4741. ]
  4742. }
  4743. },
  4744. "success": {
  4745. "examples": [
  4746. {
  4747. "title": "Success-Response:",
  4748. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"decryptedData\": [\n\n ]\n\n }\n\n}",
  4749. "type": "json"
  4750. }
  4751. ]
  4752. },
  4753. "error": {
  4754. "examples": [
  4755. {
  4756. "title": "Error-Response:",
  4757. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4758. "type": "json"
  4759. }
  4760. ]
  4761. },
  4762. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4763. "groupTitle": "Furniture_Service",
  4764. "name": "PostApiFurnitureGetphonenumber"
  4765. },
  4766. {
  4767. "type": "post",
  4768. "url": "/api/furniture/printorder",
  4769. "title": "打印订单",
  4770. "description": "<p>打印订单</p>",
  4771. "group": "Furniture_Service",
  4772. "permission": [
  4773. {
  4774. "name": "none"
  4775. }
  4776. ],
  4777. "version": "0.1.0",
  4778. "parameter": {
  4779. "fields": {
  4780. "Parameter": [
  4781. {
  4782. "group": "Parameter",
  4783. "type": "string",
  4784. "optional": false,
  4785. "field": "store_id",
  4786. "description": ""
  4787. },
  4788. {
  4789. "group": "Parameter",
  4790. "type": "string",
  4791. "optional": false,
  4792. "field": "order_id",
  4793. "description": ""
  4794. },
  4795. {
  4796. "group": "Parameter",
  4797. "type": "int",
  4798. "optional": false,
  4799. "field": "role",
  4800. "description": "<p>1:生产部</p>"
  4801. }
  4802. ]
  4803. }
  4804. },
  4805. "success": {
  4806. "examples": [
  4807. {
  4808. "title": "Success-Response:",
  4809. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"code\": 200,\n \"msg\": \"打印成功!\"\n }\n}",
  4810. "type": "json"
  4811. }
  4812. ]
  4813. },
  4814. "error": {
  4815. "examples": [
  4816. {
  4817. "title": "Error-Response:",
  4818. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4819. "type": "json"
  4820. }
  4821. ]
  4822. },
  4823. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4824. "groupTitle": "Furniture_Service",
  4825. "name": "PostApiFurniturePrintorder"
  4826. },
  4827. {
  4828. "type": "post",
  4829. "url": "/api/furniture/saveformid",
  4830. "title": "保存formid",
  4831. "description": "<p>保存formid</p>",
  4832. "group": "Furniture_Service",
  4833. "permission": [
  4834. {
  4835. "name": "none"
  4836. }
  4837. ],
  4838. "version": "0.1.0",
  4839. "parameter": {
  4840. "fields": {
  4841. "Parameter": [
  4842. {
  4843. "group": "Parameter",
  4844. "type": "string",
  4845. "optional": false,
  4846. "field": "store_id",
  4847. "description": ""
  4848. },
  4849. {
  4850. "group": "Parameter",
  4851. "type": "string",
  4852. "optional": false,
  4853. "field": "openid",
  4854. "description": ""
  4855. },
  4856. {
  4857. "group": "Parameter",
  4858. "type": "string",
  4859. "optional": false,
  4860. "field": "formid",
  4861. "description": ""
  4862. }
  4863. ]
  4864. }
  4865. },
  4866. "success": {
  4867. "examples": [
  4868. {
  4869. "title": "Success-Response:",
  4870. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"code\": 200,\n \"msg\": \"添加成功\"\n}\n}",
  4871. "type": "json"
  4872. }
  4873. ]
  4874. },
  4875. "error": {
  4876. "examples": [
  4877. {
  4878. "title": "Error-Response:",
  4879. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  4880. "type": "json"
  4881. }
  4882. ]
  4883. },
  4884. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4885. "groupTitle": "Furniture_Service",
  4886. "name": "PostApiFurnitureSaveformid"
  4887. },
  4888. {
  4889. "type": "post",
  4890. "url": "/api/furniture/service_login",
  4891. "title": "登陆(login)",
  4892. "description": "<p>登陆(login)</p>",
  4893. "group": "Furniture_Service",
  4894. "permission": [
  4895. {
  4896. "name": "none"
  4897. }
  4898. ],
  4899. "version": "0.1.0",
  4900. "parameter": {
  4901. "fields": {
  4902. "Parameter": [
  4903. {
  4904. "group": "Parameter",
  4905. "type": "string",
  4906. "optional": false,
  4907. "field": "code",
  4908. "description": "<p>小程序登录生成的code</p>"
  4909. },
  4910. {
  4911. "group": "Parameter",
  4912. "type": "string",
  4913. "optional": false,
  4914. "field": "nickName",
  4915. "description": "<p>微信昵称</p>"
  4916. },
  4917. {
  4918. "group": "Parameter",
  4919. "type": "string",
  4920. "optional": false,
  4921. "field": "avatar",
  4922. "description": "<p>微信头像</p>"
  4923. }
  4924. ]
  4925. }
  4926. },
  4927. "success": {
  4928. "examples": [
  4929. {
  4930. "title": "Success-Response:",
  4931. "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n\"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjUzMzYwMzNlNzIwOTE3YjE0NDc4YjgxMWY5MmI4MjBmMThlNDgxNjJjZGFkYmEwNGI3ZjliZTNmZjRlMTY2YjU4NGU4MzJhN2RmYzY2ZTcxIn0.eyJhdWQiOiIxIiwianRpIjoiNTMzNjAzM2U3MjA5MTdiMTQ0NzhiODExZjkyYjgyMGYxOGU0ODE2MmNkYWRiYTA0YjdmOWJlM2ZmNGUxNjZiNTg0ZTgzMmE3ZGZjNjZlNzEiLCJpYXQiOjE1MzI0MjA3NDAsIm5iZiI6MTUzMjQyMDc0MCwiZXhwIjoxNTYzOTU2NzQwLCJzdWIiOiIyIiwic2NvcGVzIjpbXX0.YnuRiJI9jlt-KeQ480UEpLWCUU8FEJvlTRtAdjOlP0BWmcdo0E9rGS4hriYnpfJOn09Cw0aRYuc4dgQYL_JWD2fodlGg1LRIvPTOtvM5TiwM86kQJawvfFw7X7p9nOhxrFa5Tyir0cdTcV0SmQbq8KIptjdR8j7wUTByKhONexBXtNnlZSpw70ckTQrAstkn97IDwPo04hhGhf6eDPc8ler0HONiAVqbRvvNG6yHShJarP1hxyXrYN2BM0N7dtLD_8Sr8XaXL6ie4rRFVM4fNwpn74DkiDwXY6-5Xet6mzPvvzARAmU5vJ7JHhcL1N7m7poNp6YCx_mZAZ1z8PGDKrtQWoVeAmIxo7qtI6jvgvUpEFnJQ-KHCunXflNBL-vIYW4o3llnYqku1pcBdAUfkYLjYUgB3EZio280_8q-6Q24VAMiHZ58AjYvHHJJssdOa3dVHGD9Iq2z1dWR6gmZ4MgGCunCcAe9L_CbDm7VtMq3nKj4a1WScRiMD5nlKAHgy4O32rtNXqDr5T-eV-QNa4ZOv4VZ1AR-WE4RkO4ArKPaFxgSa9mak98PU8NHcPaJ_B3eDbvtwtMloTXWSQP08cmUPXKjEwXvszdkUt-ZWirw5Sd22h3qMdCI3gcvzT4_rnDKCEk37P09fUIK8LZrS4s2xOhueHziMzheAF0QekI\",\n \"user\": {\n \"id\": 2,\n \"store_id\": 1,\n \"username\": \"roger\",\n \"role\": 0, //用户类型:0:普通用户;1:生产部 2:包装部 3:经理\n \"wechat_open_id\": \"olAS94uwfTdsL3nDnvG67p_v5Vks\",\n \"avatar\": \"https://wx.qlogo.cn/mmopen/vi_32/IOcxico8l4A7W3qxDeA53Id5kVAj2ibUGvQib9QibicTp5c1RNshDj6EKz2PKWp3reHfib0xxT4wa7jJzcb7a4EggkVw/132\",\n \"is_dealer\": 0 //是否经销商 0:不是 1:是\n },\n \"session_key\": 'pGgENkTGXLQD4hPuTF8yEw=='\n }\n}",
  4932. "type": "json"
  4933. }
  4934. ]
  4935. },
  4936. "error": {
  4937. "examples": [
  4938. {
  4939. "title": "Error-Response:",
  4940. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确\n 40029 获取openid失败",
  4941. "type": "json"
  4942. }
  4943. ]
  4944. },
  4945. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  4946. "groupTitle": "Furniture_Service",
  4947. "name": "PostApiFurnitureService_login"
  4948. },
  4949. {
  4950. "type": "post",
  4951. "url": "/api/furniture/updatestatus",
  4952. "title": "更新订单状态",
  4953. "description": "<p>更新订单状态</p>",
  4954. "group": "Furniture_Service",
  4955. "permission": [
  4956. {
  4957. "name": "Passport"
  4958. }
  4959. ],
  4960. "version": "0.1.0",
  4961. "parameter": {
  4962. "fields": {
  4963. "Parameter": [
  4964. {
  4965. "group": "Parameter",
  4966. "type": "string",
  4967. "optional": false,
  4968. "field": "store_id",
  4969. "description": ""
  4970. },
  4971. {
  4972. "group": "Parameter",
  4973. "type": "int",
  4974. "optional": false,
  4975. "field": "order_id",
  4976. "description": ""
  4977. },
  4978. {
  4979. "group": "Parameter",
  4980. "type": "int",
  4981. "optional": false,
  4982. "field": "status",
  4983. "description": "<p>2:开始生产 3:生产完毕并入库 4:发货 5:确认收货 7:取消订单</p>"
  4984. },
  4985. {
  4986. "group": "Parameter",
  4987. "type": "int",
  4988. "optional": true,
  4989. "field": "remark",
  4990. "description": "<p>备注,发货时可携带此参数</p>"
  4991. }
  4992. ]
  4993. }
  4994. },
  4995. "success": {
  4996. "examples": [
  4997. {
  4998. "title": "Success-Response:",
  4999. "content": "HTTP/1.1 200 OK 更新状态成功\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"ok\":1\n }\n}",
  5000. "type": "json"
  5001. }
  5002. ]
  5003. },
  5004. "error": {
  5005. "examples": [
  5006. {
  5007. "title": "Error-Response:",
  5008. "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
  5009. "type": "json"
  5010. }
  5011. ]
  5012. },
  5013. "filename": "app/Http/Controllers/Api/V1/FurnitureController.php",
  5014. "groupTitle": "Furniture_Service",
  5015. "name": "PostApiFurnitureUpdatestatus"
  5016. },
  5017. {
  5018. "type": "get",
  5019. "url": "/api/goods/addtocar",
  5020. "title": "添加至购物车",
  5021. "description": "<p>添加至购物车</p>",
  5022. "group": "Goods",
  5023. "parameter": {
  5024. "fields": {
  5025. "Parameter": [
  5026. {
  5027. "group": "Parameter",
  5028. "type": "string",
  5029. "optional": false,
  5030. "field": "appid",
  5031. "description": "<p>appid</p>"
  5032. },
  5033. {
  5034. "group": "Parameter",
  5035. "type": "int",
  5036. "optional": false,
  5037. "field": "id",
  5038. "description": "<p>商品id</p>"
  5039. },
  5040. {
  5041. "group": "Parameter",
  5042. "type": "int",
  5043. "optional": false,
  5044. "field": "number",
  5045. "description": "<p>商品数量</p>"
  5046. },
  5047. {
  5048. "group": "Parameter",
  5049. "type": "array",
  5050. "optional": false,
  5051. "field": "attr",
  5052. "description": "<p>商品属性</p>"
  5053. }
  5054. ]
  5055. }
  5056. },
  5057. "permission": [
  5058. {
  5059. "name": "none"
  5060. }
  5061. ],
  5062. "version": "0.1.0",
  5063. "success": {
  5064. "examples": [
  5065. {
  5066. "title": "Success-Response:",
  5067. "content": "HTTP/1.1 200 OK",
  5068. "type": "json"
  5069. }
  5070. ]
  5071. },
  5072. "error": {
  5073. "examples": [
  5074. {
  5075. "title": "Error-Response:",
  5076. "content": "HTTP/1.1 400 Bad Request",
  5077. "type": "json"
  5078. }
  5079. ]
  5080. },
  5081. "filename": "app/Http/Controllers/Api/V1/GoodsController.php",
  5082. "groupTitle": "Goods",
  5083. "name": "GetApiGoodsAddtocar"
  5084. },
  5085. {
  5086. "type": "get",
  5087. "url": "/api/goods/chose_attr",
  5088. "title": "选择属性",
  5089. "description": "<p>选择属性</p>",
  5090. "group": "Goods",
  5091. "parameter": {
  5092. "fields": {
  5093. "Parameter": [
  5094. {
  5095. "group": "Parameter",
  5096. "type": "int",
  5097. "optional": false,
  5098. "field": "id",
  5099. "description": "<p>商品id</p>"
  5100. },
  5101. {
  5102. "group": "Parameter",
  5103. "type": "array",
  5104. "optional": false,
  5105. "field": "attr",
  5106. "description": "<p>商品属性</p>"
  5107. }
  5108. ]
  5109. }
  5110. },
  5111. "permission": [
  5112. {
  5113. "name": "none"
  5114. }
  5115. ],
  5116. "version": "0.1.0",
  5117. "success": {
  5118. "examples": [
  5119. {
  5120. "title": "Success-Response:",
  5121. "content": "HTTP/1.1 200 OK",
  5122. "type": "json"
  5123. }
  5124. ]
  5125. },
  5126. "error": {
  5127. "examples": [
  5128. {
  5129. "title": "Error-Response:",
  5130. "content": "HTTP/1.1 400 Bad Request",
  5131. "type": "json"
  5132. }
  5133. ]
  5134. },
  5135. "filename": "app/Http/Controllers/Api/V1/GoodsController.php",
  5136. "groupTitle": "Goods",
  5137. "name": "GetApiGoodsChose_attr"
  5138. },
  5139. {
  5140. "type": "get",
  5141. "url": "/api/goods/collection",
  5142. "title": "收藏/取消",
  5143. "description": "<p>收藏/取消</p>",
  5144. "group": "Goods",
  5145. "parameter": {
  5146. "fields": {
  5147. "Parameter": [
  5148. {
  5149. "group": "Parameter",
  5150. "type": "int",
  5151. "optional": false,
  5152. "field": "id",
  5153. "description": "<p>商品id</p>"
  5154. },
  5155. {
  5156. "group": "Parameter",
  5157. "type": "int",
  5158. "optional": false,
  5159. "field": "value",
  5160. "description": "<p>0或1 0(取消收藏)</p>"
  5161. }
  5162. ]
  5163. }
  5164. },
  5165. "permission": [
  5166. {
  5167. "name": "none"
  5168. }
  5169. ],
  5170. "version": "0.1.0",
  5171. "success": {
  5172. "examples": [
  5173. {
  5174. "title": "Success-Response:",
  5175. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  5176. "type": "json"
  5177. }
  5178. ]
  5179. },
  5180. "error": {
  5181. "examples": [
  5182. {
  5183. "title": "Error-Response:",
  5184. "content": "HTTP/1.1 400 Bad Request",
  5185. "type": "json"
  5186. }
  5187. ]
  5188. },
  5189. "filename": "app/Http/Controllers/Api/V1/GoodsController.php",
  5190. "groupTitle": "Goods",
  5191. "name": "GetApiGoodsCollection"
  5192. },
  5193. {
  5194. "type": "get",
  5195. "url": "/api/goods/show",
  5196. "title": "商品详情",
  5197. "description": "<p>商品详情</p>",
  5198. "group": "Goods",
  5199. "parameter": {
  5200. "fields": {
  5201. "Parameter": [
  5202. {
  5203. "group": "Parameter",
  5204. "type": "string",
  5205. "optional": false,
  5206. "field": "appid",
  5207. "description": "<p>appid</p>"
  5208. },
  5209. {
  5210. "group": "Parameter",
  5211. "type": "int",
  5212. "optional": false,
  5213. "field": "id",
  5214. "description": "<p>商品id</p>"
  5215. }
  5216. ]
  5217. }
  5218. },
  5219. "permission": [
  5220. {
  5221. "name": "none"
  5222. }
  5223. ],
  5224. "version": "0.1.0",
  5225. "success": {
  5226. "examples": [
  5227. {
  5228. "title": "Success-Response:",
  5229. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"id\": 1,\n \"appid\": \"dsfbdffd32434dfvdf\",\n \"cate_id\": 4,\n \"is_home_cate\": 1,\n \"home_cate_id\": 3,\n \"attr_id\": 0,\n \"name\": \"商品1\",\n \"number\": \"0011\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n \"weight\": 1001,\n \"stock\": 10081,\n \"status\": 1,\n \"market_price\": 100100,\n \"price\": 101100,\n \"cost_price\": 99100,\n \"junior_price\": 0,\n \"middle_price\": 0,\n \"top_price\": 0,\n \"sale_number\": 91,\n \"info\": \"好东西1\",\n \"is_address\": 1,\n \"sort\": 11,\n \"is_favorite\": 1, 或 0 1已经收藏\n \"ground_time\": \"2017-10-13 10:29:19\",\n \"draw_time\": \"0000-00-00 00:00:00\",\n \"created_at\": \"2017-10-13 02:29:19\",\n \"updated_at\": \"2017-10-13 03:02:21\",\n \"deleted_at\": null,\n 'attr_info':null 已经选择的属性\n \"attr\": { 属性\n \"规格\": [\n \"ML\",\n \"L\",\n \"XL\",\n \"XXL\"\n ],\n \"颜色\": [\n \"黑色\",\n \"白色\"\n ]\n },\n \"images\": [ 图片\n {\n \"url\": \"/upload/s1/goods/shows/20171013/46072732d071540939acd5e875f383dd.jpg\",\n },\n ],\n \"comments\": [ 评论\n {\n \"id\": 1,\n \"wx_user_id\": 1,\n \"wx_user_avatar\": \"0\", 头像\n \"wx_user_nickname\": \"0\", 昵称\n \"comment\": \"dsgdsfdfsdfbf\",\n \"created_at\": null,\n \"updated_at\": null\n }\n ]\n }\n }",
  5230. "type": "json"
  5231. }
  5232. ]
  5233. },
  5234. "error": {
  5235. "examples": [
  5236. {
  5237. "title": "Error-Response:",
  5238. "content": "HTTP/1.1 400 Bad Request",
  5239. "type": "json"
  5240. }
  5241. ]
  5242. },
  5243. "filename": "app/Http/Controllers/Api/V1/GoodsController.php",
  5244. "groupTitle": "Goods",
  5245. "name": "GetApiGoodsShow"
  5246. },
  5247. {
  5248. "type": "post",
  5249. "url": "/api/goods/comment",
  5250. "title": "评价/回复评价",
  5251. "description": "<p>评价</p>",
  5252. "group": "Goods",
  5253. "parameter": {
  5254. "fields": {
  5255. "Parameter": [
  5256. {
  5257. "group": "Parameter",
  5258. "type": "int",
  5259. "optional": false,
  5260. "field": "goods_id",
  5261. "description": "<p>商品id</p>"
  5262. },
  5263. {
  5264. "group": "Parameter",
  5265. "type": "int",
  5266. "optional": false,
  5267. "field": "level",
  5268. "description": "<p>评论星级(321好中差)</p>"
  5269. },
  5270. {
  5271. "group": "Parameter",
  5272. "type": "string",
  5273. "optional": false,
  5274. "field": "comment",
  5275. "description": "<p>评论内容不能为空</p>"
  5276. },
  5277. {
  5278. "group": "Parameter",
  5279. "type": "int",
  5280. "optional": true,
  5281. "field": "comment_id",
  5282. "description": "<p>评论id</p>"
  5283. },
  5284. {
  5285. "group": "Parameter",
  5286. "type": "array",
  5287. "optional": true,
  5288. "field": "images",
  5289. "description": "<p>上传图片</p>"
  5290. }
  5291. ]
  5292. }
  5293. },
  5294. "permission": [
  5295. {
  5296. "name": "none"
  5297. }
  5298. ],
  5299. "version": "0.1.0",
  5300. "success": {
  5301. "examples": [
  5302. {
  5303. "title": "Success-Response:",
  5304. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  5305. "type": "json"
  5306. }
  5307. ]
  5308. },
  5309. "error": {
  5310. "examples": [
  5311. {
  5312. "title": "Error-Response:",
  5313. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  5314. "type": "json"
  5315. }
  5316. ]
  5317. },
  5318. "filename": "app/Http/Controllers/Api/V1/GoodsController.php",
  5319. "groupTitle": "Goods",
  5320. "name": "PostApiGoodsComment"
  5321. },
  5322. {
  5323. "type": "get",
  5324. "url": "/api/home/index",
  5325. "title": "首页",
  5326. "description": "<p>首页</p>",
  5327. "group": "Home",
  5328. "parameter": {
  5329. "fields": {
  5330. "Parameter": [
  5331. {
  5332. "group": "Parameter",
  5333. "type": "string",
  5334. "optional": false,
  5335. "field": "appid",
  5336. "description": "<p>appid</p>"
  5337. },
  5338. {
  5339. "group": "Parameter",
  5340. "type": "int",
  5341. "optional": true,
  5342. "field": "head_cate_id",
  5343. "description": "<p>头部分类id</p>"
  5344. }
  5345. ]
  5346. }
  5347. },
  5348. "permission": [
  5349. {
  5350. "name": "none"
  5351. }
  5352. ],
  5353. "version": "0.1.0",
  5354. "success": {
  5355. "examples": [
  5356. {
  5357. "title": "Success-Response:",
  5358. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"banner\": [ 轮播图\n {\n \"id\": 1002,\n \"value\": \"/upload/banner/20171015/cd985cb0aac48ca5ea7b34c366c711fa.jpg\",\n \"sort\": 1,\n }\n ],\n \"cates\": [ 分类\n {\n \"id\": 4,\n \"name\": \"商品分类2\",\n \"pic\": \"/upload/goods/cate/20171013/923996f99388fa90acfee1bf31a909fa.jpg\",\n \"status\": 1,\n \"sort\": 11,\n \"goods\": [\n {\n \"id\": 1,\n \"is_home_cate\": 1,\n \"home_cate_id\": 3,\n \"name\": \"商品1\",\n \"number\": \"0011\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n \"status\": 1,\n }\n ]\n }\n ],\n \"goods\": [ 商品\n {\n \"id\": 1,\n \"name\": \"首页分类1\",\n \"pic\": \"/upload/goods/cate/20171013/2454820f914e59dd4a90b575cd47e03c.jpg\",\n \"goods\": [\n {\n \"id\": 1,\n \"is_home_cate\": 1,\n \"home_cate_id\": 3,\n \"name\": \"商品1\",\n \"number\": \"0011\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n \"status\": 1,\n }\n ]\n },\n ]\n }\n }",
  5359. "type": "json"
  5360. }
  5361. ]
  5362. },
  5363. "error": {
  5364. "examples": [
  5365. {
  5366. "title": "Error-Response:",
  5367. "content": "HTTP/1.1 400 Bad Request",
  5368. "type": "json"
  5369. }
  5370. ]
  5371. },
  5372. "filename": "app/Http/Controllers/Api/V1/HomeController.php",
  5373. "groupTitle": "Home",
  5374. "name": "GetApiHomeIndex"
  5375. },
  5376. {
  5377. "type": "get",
  5378. "url": "/api/home/search",
  5379. "title": "搜索",
  5380. "description": "<p>搜索</p>",
  5381. "group": "Home",
  5382. "parameter": {
  5383. "fields": {
  5384. "Parameter": [
  5385. {
  5386. "group": "Parameter",
  5387. "type": "string",
  5388. "optional": false,
  5389. "field": "appid",
  5390. "description": "<p>appid</p>"
  5391. },
  5392. {
  5393. "group": "Parameter",
  5394. "type": "string",
  5395. "optional": false,
  5396. "field": "keyword",
  5397. "description": "<p>keyword</p>"
  5398. }
  5399. ]
  5400. }
  5401. },
  5402. "permission": [
  5403. {
  5404. "name": "none"
  5405. }
  5406. ],
  5407. "version": "0.1.0",
  5408. "success": {
  5409. "examples": [
  5410. {
  5411. "title": "Success-Response:",
  5412. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"banner\": [\n {\n \"value\": \"/upload/banner/20171012/71a9962b9b9de1876c4d76ed6d879afd.jpg\",\n },\n ],\n \"cates\": [\n {\n \"name\": \"商品分类2\",\n \"pic\": \"/upload/goods/cate/20171013/923996f99388fa90acfee1bf31a909fa.jpg\",\n \"goods\": []\n }\n ],\n \"goods\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"name\": \"商品1\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n }\n ],\n \"first_page_url\": \"http://www.s1.com/api/home/search?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://www.s1.com/api/home/search?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://www.s1.com/api/home/search\",\n \"per_page\": 10,\n \"prev_page_url\": null,\n \"to\": 1,\n \"total\": 1\n }\n }\n }\n }",
  5413. "type": "json"
  5414. }
  5415. ]
  5416. },
  5417. "error": {
  5418. "examples": [
  5419. {
  5420. "title": "Error-Response:",
  5421. "content": "HTTP/1.1 400 Bad Request",
  5422. "type": "json"
  5423. }
  5424. ]
  5425. },
  5426. "filename": "app/Http/Controllers/Api/V1/HomeController.php",
  5427. "groupTitle": "Home",
  5428. "name": "GetApiHomeSearch"
  5429. },
  5430. {
  5431. "type": "get",
  5432. "url": "/api/my/address/area",
  5433. "title": "返回省市区地址",
  5434. "description": "<p>返回省市区地址</p>",
  5435. "group": "My",
  5436. "permission": [
  5437. {
  5438. "name": "none"
  5439. }
  5440. ],
  5441. "version": "0.1.0",
  5442. "success": {
  5443. "examples": [
  5444. {
  5445. "title": "Success-Response:",
  5446. "content": "HTTP/1.1 200 OK",
  5447. "type": "json"
  5448. }
  5449. ]
  5450. },
  5451. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5452. "groupTitle": "My",
  5453. "name": "GetApiMyAddressArea"
  5454. },
  5455. {
  5456. "type": "get",
  5457. "url": "/api/my/address/delete",
  5458. "title": "地址删除",
  5459. "description": "<p>地址删除</p>",
  5460. "group": "My",
  5461. "parameter": {
  5462. "fields": {
  5463. "Parameter": [
  5464. {
  5465. "group": "Parameter",
  5466. "type": "int",
  5467. "optional": false,
  5468. "field": "id",
  5469. "description": "<p>主键id</p>"
  5470. }
  5471. ]
  5472. }
  5473. },
  5474. "permission": [
  5475. {
  5476. "name": "none"
  5477. }
  5478. ],
  5479. "version": "0.1.0",
  5480. "success": {
  5481. "examples": [
  5482. {
  5483. "title": "Success-Response:",
  5484. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  5485. "type": "json"
  5486. }
  5487. ]
  5488. },
  5489. "error": {
  5490. "examples": [
  5491. {
  5492. "title": "Error-Response:",
  5493. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  5494. "type": "json"
  5495. }
  5496. ]
  5497. },
  5498. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5499. "groupTitle": "My",
  5500. "name": "GetApiMyAddressDelete"
  5501. },
  5502. {
  5503. "type": "get",
  5504. "url": "/api/my/address/edit",
  5505. "title": "修改默认地址",
  5506. "description": "<p>修改默认地址</p>",
  5507. "group": "My",
  5508. "parameter": {
  5509. "fields": {
  5510. "Parameter": [
  5511. {
  5512. "group": "Parameter",
  5513. "type": "int",
  5514. "optional": false,
  5515. "field": "id",
  5516. "description": "<p>主键id</p>"
  5517. },
  5518. {
  5519. "group": "Parameter",
  5520. "type": "int",
  5521. "optional": false,
  5522. "field": "status",
  5523. "description": "<p>1</p>"
  5524. }
  5525. ]
  5526. }
  5527. },
  5528. "permission": [
  5529. {
  5530. "name": "none"
  5531. }
  5532. ],
  5533. "version": "0.1.0",
  5534. "success": {
  5535. "examples": [
  5536. {
  5537. "title": "Success-Response:",
  5538. "content": "HTTP/1.1 200 OK",
  5539. "type": "json"
  5540. }
  5541. ]
  5542. },
  5543. "error": {
  5544. "examples": [
  5545. {
  5546. "title": "Error-Response:",
  5547. "content": "HTTP/1.1 400 Bad Request",
  5548. "type": "json"
  5549. }
  5550. ]
  5551. },
  5552. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5553. "groupTitle": "My",
  5554. "name": "GetApiMyAddressEdit"
  5555. },
  5556. {
  5557. "type": "get",
  5558. "url": "/api/my/address/index",
  5559. "title": "地址列表",
  5560. "description": "<p>地址列表</p>",
  5561. "group": "My",
  5562. "permission": [
  5563. {
  5564. "name": "none"
  5565. }
  5566. ],
  5567. "version": "0.1.0",
  5568. "success": {
  5569. "examples": [
  5570. {
  5571. "title": "Success-Response:",
  5572. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 1,\n \"name\": \"name1\",\n \"tel\": \"13880642880\",\n \"area\": \"330104\", 区域代码\n \"address\": \"蜀西路\",\n \"status\": \"1\", 1默认地址\n \"addr\": {\n \"merger_name\": \"中国,浙江省,杭州市,江干区\",\n }\n }\n ]\n }",
  5573. "type": "json"
  5574. }
  5575. ]
  5576. },
  5577. "error": {
  5578. "examples": [
  5579. {
  5580. "title": "Error-Response:",
  5581. "content": "HTTP/1.1 400 Bad Request",
  5582. "type": "json"
  5583. }
  5584. ]
  5585. },
  5586. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5587. "groupTitle": "My",
  5588. "name": "GetApiMyAddressIndex"
  5589. },
  5590. {
  5591. "type": "get",
  5592. "url": "/api/my/address/show",
  5593. "title": "地址详情",
  5594. "description": "<p>地址详情</p>",
  5595. "group": "My",
  5596. "parameter": {
  5597. "fields": {
  5598. "Parameter": [
  5599. {
  5600. "group": "Parameter",
  5601. "type": "int",
  5602. "optional": false,
  5603. "field": "id",
  5604. "description": "<p>收货人地址id</p>"
  5605. }
  5606. ]
  5607. }
  5608. },
  5609. "permission": [
  5610. {
  5611. "name": "none"
  5612. }
  5613. ],
  5614. "version": "0.1.0",
  5615. "success": {
  5616. "examples": [
  5617. {
  5618. "title": "Success-Response:",
  5619. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"id\": 1,\n \"name\": \"hahahahaha\",\n \"tel\": \"13880634889\",\n \"area\": \"330104\",\n \"address\": \"三泰魔方123\",\n \"status\": \"0\",\n \"addr\": {\n \"merger_name\": \"中国,浙江省,杭州市,江干区\",\n }\n }\n }",
  5620. "type": "json"
  5621. }
  5622. ]
  5623. },
  5624. "error": {
  5625. "examples": [
  5626. {
  5627. "title": "Error-Response:",
  5628. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  5629. "type": "json"
  5630. }
  5631. ]
  5632. },
  5633. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5634. "groupTitle": "My",
  5635. "name": "GetApiMyAddressShow"
  5636. },
  5637. {
  5638. "type": "get",
  5639. "url": "/api/my/favorite",
  5640. "title": "收藏",
  5641. "description": "<p>收藏</p>",
  5642. "group": "My",
  5643. "parameter": {
  5644. "fields": {
  5645. "Parameter": [
  5646. {
  5647. "group": "Parameter",
  5648. "type": "int",
  5649. "optional": true,
  5650. "field": "page",
  5651. "defaultValue": "1",
  5652. "description": "<p>分页参数</p>"
  5653. }
  5654. ]
  5655. }
  5656. },
  5657. "permission": [
  5658. {
  5659. "name": "none"
  5660. }
  5661. ],
  5662. "version": "0.1.0",
  5663. "success": {
  5664. "examples": [
  5665. {
  5666. "title": "Success-Response:",
  5667. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 3,\n \"s1_goods_id\": 1,\n \"wx_user_id\": 1,\n \"created_at\": \"2017-10-19 16:36:16\",\n \"updated_at\": \"2017-10-19 16:36:16\",\n \"goods\": {\n \"id\": 1,\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n \"name\": \"商品1\"\n }\n }\n ],\n \"first_page_url\": \"http://www.s1.com/api/my/favorite?page=1\",\n \"from\": 1,\n \"last_page\": 1,\n \"last_page_url\": \"http://www.s1.com/api/my/favorite?page=1\",\n \"next_page_url\": null,\n \"path\": \"http://www.s1.com/api/my/favorite\",\n \"per_page\": 15,\n \"prev_page_url\": null,\n \"to\": 1,\n \"total\": 1\n }\n }",
  5668. "type": "json"
  5669. }
  5670. ]
  5671. },
  5672. "error": {
  5673. "examples": [
  5674. {
  5675. "title": "Error-Response:",
  5676. "content": "HTTP/1.1 400 Bad Request",
  5677. "type": "json"
  5678. }
  5679. ]
  5680. },
  5681. "filename": "app/Http/Controllers/Api/V1/MyController.php",
  5682. "groupTitle": "My",
  5683. "name": "GetApiMyFavorite"
  5684. },
  5685. {
  5686. "type": "get",
  5687. "url": "/api/my/index",
  5688. "title": "首页",
  5689. "description": "<p>首页</p>",
  5690. "group": "My",
  5691. "parameter": {
  5692. "fields": {
  5693. "Parameter": [
  5694. {
  5695. "group": "Parameter",
  5696. "type": "string",
  5697. "optional": false,
  5698. "field": "appid",
  5699. "description": "<p>appid</p>"
  5700. }
  5701. ]
  5702. }
  5703. },
  5704. "permission": [
  5705. {
  5706. "name": "none"
  5707. }
  5708. ],
  5709. "version": "0.1.0",
  5710. "success": {
  5711. "examples": [
  5712. {
  5713. "title": "Success-Response:",
  5714. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"user\": {\n \"id\": 1,\n \"appid\": \"dsfbdffd32434dfvdf\",\n \"nickname\": \"nickname1\",\n \"openid\": \"openid123\",\n \"avatar\": \"/upload/wx_user/20171012/8cea5bda71481b13edbe54ae2509e063.jpg\",\n \"password\": \"password123\",\n \"score\": 1000123,\n \"level_id\": 1,\n \"balance\": \"\",\n \"remark\": null,\n \"status\": 1,\n \"created_at\": \"2017-10-12 15:56:20\",\n \"updated_at\": \"2017-10-12 15:56:46\",\n \"deleted_at\": null,\n \"favorite\": [\n {\n \"id\": 1,\n \"name\": \"商品1\",\n \"number\": \"0011\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n }\n ]\n },\n \"order1\": [\n {\n \"id\": 13,\n \"amount\": \"1250100\",\n \"goods\": [\n {\n \"id\": 1,\n \"name\": \"商品1\",\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n },\n {\n \"id\": 2,\n \"name\": \"test\",\n \"pic\": \"/upload/s1/goods/face/20171013/cdfe1a254ac611d055cd9aacaa11c58a.png\",\n }\n ]\n },\n ],\n }\n }",
  5715. "type": "json"
  5716. }
  5717. ]
  5718. },
  5719. "error": {
  5720. "examples": [
  5721. {
  5722. "title": "Error-Response:",
  5723. "content": "HTTP/1.1 400 Bad Request",
  5724. "type": "json"
  5725. }
  5726. ]
  5727. },
  5728. "filename": "app/Http/Controllers/Api/V1/MyController.php",
  5729. "groupTitle": "My",
  5730. "name": "GetApiMyIndex"
  5731. },
  5732. {
  5733. "type": "post",
  5734. "url": "/api/my/address/update",
  5735. "title": "地址编辑",
  5736. "description": "<p>地址编辑</p>",
  5737. "group": "My",
  5738. "parameter": {
  5739. "fields": {
  5740. "Parameter": [
  5741. {
  5742. "group": "Parameter",
  5743. "type": "int",
  5744. "optional": true,
  5745. "field": "id",
  5746. "description": "<p>主键id 存在表示修改</p>"
  5747. },
  5748. {
  5749. "group": "Parameter",
  5750. "type": "string",
  5751. "optional": false,
  5752. "field": "name",
  5753. "description": "<p>收货人姓名</p>"
  5754. },
  5755. {
  5756. "group": "Parameter",
  5757. "type": "int",
  5758. "optional": false,
  5759. "field": "tel",
  5760. "description": "<p>收货人电话</p>"
  5761. },
  5762. {
  5763. "group": "Parameter",
  5764. "type": "int",
  5765. "optional": false,
  5766. "field": "area",
  5767. "description": "<p>省市区地址</p>"
  5768. },
  5769. {
  5770. "group": "Parameter",
  5771. "type": "string",
  5772. "optional": false,
  5773. "field": "address",
  5774. "description": "<p>详细地址</p>"
  5775. },
  5776. {
  5777. "group": "Parameter",
  5778. "type": "int",
  5779. "optional": false,
  5780. "field": "status",
  5781. "description": "<p>1或0 1为默认地址</p>"
  5782. }
  5783. ]
  5784. }
  5785. },
  5786. "permission": [
  5787. {
  5788. "name": "none"
  5789. }
  5790. ],
  5791. "version": "0.1.0",
  5792. "success": {
  5793. "examples": [
  5794. {
  5795. "title": "Success-Response:",
  5796. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  5797. "type": "json"
  5798. }
  5799. ]
  5800. },
  5801. "error": {
  5802. "examples": [
  5803. {
  5804. "title": "Error-Response:",
  5805. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  5806. "type": "json"
  5807. }
  5808. ]
  5809. },
  5810. "filename": "app/Http/Controllers/Api/V1/AddressController.php",
  5811. "groupTitle": "My",
  5812. "name": "PostApiMyAddressUpdate"
  5813. },
  5814. {
  5815. "type": "get",
  5816. "url": "/api/order/create",
  5817. "title": "创建订单",
  5818. "description": "<p>创建订单</p>",
  5819. "group": "Order",
  5820. "parameter": {
  5821. "fields": {
  5822. "Parameter": [
  5823. {
  5824. "group": "Parameter",
  5825. "type": "string",
  5826. "optional": false,
  5827. "field": "appid",
  5828. "description": "<p>appid</p>"
  5829. },
  5830. {
  5831. "group": "Parameter",
  5832. "type": "int",
  5833. "optional": false,
  5834. "field": "address_id",
  5835. "description": "<p>收货地址id</p>"
  5836. },
  5837. {
  5838. "group": "Parameter",
  5839. "type": "int",
  5840. "optional": true,
  5841. "field": "id",
  5842. "description": "<p>商品id</p>"
  5843. },
  5844. {
  5845. "group": "Parameter",
  5846. "type": "int",
  5847. "optional": true,
  5848. "field": "number",
  5849. "description": "<p>商品数量</p>"
  5850. },
  5851. {
  5852. "group": "Parameter",
  5853. "type": "array",
  5854. "optional": true,
  5855. "field": "attr",
  5856. "description": "<p>商品属性 //购物车id列表或是商品id</p>"
  5857. },
  5858. {
  5859. "group": "Parameter",
  5860. "type": "array",
  5861. "optional": true,
  5862. "field": "cart_id_list",
  5863. "description": "<p>购物车id</p>"
  5864. }
  5865. ]
  5866. }
  5867. },
  5868. "permission": [
  5869. {
  5870. "name": "none"
  5871. }
  5872. ],
  5873. "version": "0.1.0",
  5874. "success": {
  5875. "examples": [
  5876. {
  5877. "title": "Success-Response:",
  5878. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"s1_order_id\": 15\n }\n }",
  5879. "type": "json"
  5880. }
  5881. ]
  5882. },
  5883. "error": {
  5884. "examples": [
  5885. {
  5886. "title": "Error-Response:",
  5887. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2004,\n \"message\": \"数据异常\",\n \"data\": null\n }",
  5888. "type": "json"
  5889. }
  5890. ]
  5891. },
  5892. "filename": "app/Http/Controllers/Api/V1/OrderController.php",
  5893. "groupTitle": "Order",
  5894. "name": "GetApiOrderCreate"
  5895. },
  5896. {
  5897. "type": "get",
  5898. "url": "/api/order/show",
  5899. "title": "订单详情",
  5900. "description": "<p>订单详情</p>",
  5901. "group": "Order",
  5902. "parameter": {
  5903. "fields": {
  5904. "Parameter": [
  5905. {
  5906. "group": "Parameter",
  5907. "type": "int",
  5908. "optional": false,
  5909. "field": "id",
  5910. "description": "<p>订单id</p>"
  5911. }
  5912. ]
  5913. }
  5914. },
  5915. "permission": [
  5916. {
  5917. "name": "none"
  5918. }
  5919. ],
  5920. "version": "0.1.0",
  5921. "success": {
  5922. "examples": [
  5923. {
  5924. "title": "Success-Response:",
  5925. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"user_name\": \"hahahahaha\",\n \"address\": \"中国,浙江省,杭州市,江干区三泰魔方123\",\n \"trade_no\": \"123123\",\n \"order_time\": \"2017-10-13 09:55:00\",\n \"amount\": \"10000\",\n \"goods_number\": 2\n }\n }",
  5926. "type": "json"
  5927. }
  5928. ]
  5929. },
  5930. "error": {
  5931. "examples": [
  5932. {
  5933. "title": "Error-Response:",
  5934. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2009,\n \"message\": \"订单没有找到\",\n \"data\": null\n }",
  5935. "type": "json"
  5936. }
  5937. ]
  5938. },
  5939. "filename": "app/Http/Controllers/Api/V1/OrderController.php",
  5940. "groupTitle": "Order",
  5941. "name": "GetApiOrderShow"
  5942. },
  5943. {
  5944. "type": "get",
  5945. "url": "/api/order/sure",
  5946. "title": "立即购买(或是购物车结算)",
  5947. "description": "<p>立即购买(或是购物车结算)</p>",
  5948. "group": "Order",
  5949. "parameter": {
  5950. "fields": {
  5951. "Parameter": [
  5952. {
  5953. "group": "Parameter",
  5954. "type": "string",
  5955. "optional": false,
  5956. "field": "appid",
  5957. "description": "<p>appid</p>"
  5958. },
  5959. {
  5960. "group": "Parameter",
  5961. "type": "int",
  5962. "optional": true,
  5963. "field": "id",
  5964. "description": "<p>商品id</p>"
  5965. },
  5966. {
  5967. "group": "Parameter",
  5968. "type": "int",
  5969. "optional": true,
  5970. "field": "number",
  5971. "description": "<p>商品数量</p>"
  5972. },
  5973. {
  5974. "group": "Parameter",
  5975. "type": "array",
  5976. "optional": true,
  5977. "field": "cart_id",
  5978. "description": "<p>购物车id</p>"
  5979. }
  5980. ]
  5981. }
  5982. },
  5983. "permission": [
  5984. {
  5985. "name": "none"
  5986. }
  5987. ],
  5988. "version": "0.1.0",
  5989. "success": {
  5990. "examples": [
  5991. {
  5992. "title": "Success-Response:",
  5993. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n \"goods\": { 购买商品\n \"name\": \"商品1\",\n \"sure_number\": \"12\", 确认数量\n \"attr_info\": \"属性\", 已选属性\n \"pic\": \"/upload/s1/goods/face/20171013/effbecdc6d9de83d0128e3f08ec6d636.jpg\",\n },\n \"address\": { 默认地址\n \"name\": \"hahahahaha\",\n \"tel\": \"134324\",\n \"area\": \"23423423\",\n \"address\": \"address\",\n }\n }\n }",
  5994. "type": "json"
  5995. }
  5996. ]
  5997. },
  5998. "error": {
  5999. "examples": [
  6000. {
  6001. "title": "Error-Response:",
  6002. "content": "HTTP/1.1 400 Bad Request",
  6003. "type": "json"
  6004. }
  6005. ]
  6006. },
  6007. "filename": "app/Http/Controllers/Api/V1/OrderController.php",
  6008. "groupTitle": "Order",
  6009. "name": "GetApiOrderSure"
  6010. },
  6011. {
  6012. "type": "post",
  6013. "url": "/api/order/pay",
  6014. "title": "支付",
  6015. "description": "<p>支付</p>",
  6016. "group": "Order",
  6017. "parameter": {
  6018. "fields": {
  6019. "Parameter": [
  6020. {
  6021. "group": "Parameter",
  6022. "type": "int",
  6023. "optional": false,
  6024. "field": "id",
  6025. "description": "<p>订单id</p>"
  6026. }
  6027. ]
  6028. }
  6029. },
  6030. "permission": [
  6031. {
  6032. "name": "none"
  6033. }
  6034. ],
  6035. "version": "0.1.0",
  6036. "success": {
  6037. "examples": [
  6038. {
  6039. "title": "Success-Response:",
  6040. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  6041. "type": "json"
  6042. }
  6043. ]
  6044. },
  6045. "error": {
  6046. "examples": [
  6047. {
  6048. "title": "Error-Response:",
  6049. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  6050. "type": "json"
  6051. }
  6052. ]
  6053. },
  6054. "filename": "app/Http/Controllers/Api/V1/OrderController.php",
  6055. "groupTitle": "Order",
  6056. "name": "PostApiOrderPay"
  6057. },
  6058. {
  6059. "type": "post",
  6060. "url": "/api/order/refund",
  6061. "title": "申请售后",
  6062. "description": "<p>申请售后</p>",
  6063. "group": "Order",
  6064. "parameter": {
  6065. "fields": {
  6066. "Parameter": [
  6067. {
  6068. "group": "Parameter",
  6069. "type": "int",
  6070. "optional": false,
  6071. "field": "order_id",
  6072. "description": "<p>订单id</p>"
  6073. },
  6074. {
  6075. "group": "Parameter",
  6076. "type": "int",
  6077. "optional": false,
  6078. "field": "refund_type",
  6079. "description": "<p>售后类型</p>"
  6080. },
  6081. {
  6082. "group": "Parameter",
  6083. "type": "int",
  6084. "optional": true,
  6085. "field": "refund_price",
  6086. "description": "<p>价格</p>"
  6087. },
  6088. {
  6089. "group": "Parameter",
  6090. "type": "string",
  6091. "optional": false,
  6092. "field": "refund_desc",
  6093. "description": "<p>原因</p>"
  6094. },
  6095. {
  6096. "group": "Parameter",
  6097. "type": "array",
  6098. "optional": false,
  6099. "field": "pic_list",
  6100. "description": "<p>凭证</p>"
  6101. }
  6102. ]
  6103. }
  6104. },
  6105. "permission": [
  6106. {
  6107. "name": "none"
  6108. }
  6109. ],
  6110. "version": "0.1.0",
  6111. "success": {
  6112. "examples": [
  6113. {
  6114. "title": "Success-Response:",
  6115. "content": "HTTP/1.1 200 OK\n {\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": \"\"\n }",
  6116. "type": "json"
  6117. }
  6118. ]
  6119. },
  6120. "error": {
  6121. "examples": [
  6122. {
  6123. "title": "Error-Response:",
  6124. "content": "HTTP/1.1 400 Bad Request\n {\n \"status\": false,\n \"status_code\": 2006,\n \"message\": \"操作失败\",\n \"data\": null\n }",
  6125. "type": "json"
  6126. }
  6127. ]
  6128. },
  6129. "filename": "app/Http/Controllers/Api/V1/OrderController.php",
  6130. "groupTitle": "Order",
  6131. "name": "PostApiOrderRefund"
  6132. }
  6133. ]