api_data.js 136 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524
  1. define({ "api": [
  2. {
  3. "version": "1.0.0",
  4. "description": "<p>首页(male|female)</p>",
  5. "type": "get",
  6. "url": "books/{sex}/index",
  7. "title": "首页(male|female)",
  8. "group": "Book",
  9. "parameter": {
  10. "fields": {
  11. "Parameter": [
  12. {
  13. "group": "Parameter",
  14. "type": "String",
  15. "optional": true,
  16. "field": "token",
  17. "description": "<p>token</p>"
  18. }
  19. ]
  20. }
  21. },
  22. "header": {
  23. "fields": {
  24. "Header": [
  25. {
  26. "group": "Header",
  27. "type": "String",
  28. "optional": true,
  29. "field": "Authorization",
  30. "description": "<p>token 两个token任选其一</p>"
  31. }
  32. ]
  33. }
  34. },
  35. "name": "getBookLists",
  36. "success": {
  37. "fields": {
  38. "Success 200": [
  39. {
  40. "group": "Success 200",
  41. "type": "int",
  42. "optional": false,
  43. "field": "code",
  44. "description": "<p>状态码</p>"
  45. },
  46. {
  47. "group": "Success 200",
  48. "type": "String",
  49. "optional": false,
  50. "field": "msg",
  51. "description": "<p>信息</p>"
  52. },
  53. {
  54. "group": "Success 200",
  55. "type": "object",
  56. "optional": false,
  57. "field": "data",
  58. "description": "<p>结果集</p>"
  59. }
  60. ]
  61. },
  62. "examples": [
  63. {
  64. "title": "Success-Response:",
  65. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n type: \"lunbo\",\n lable: \"男频\",\n books: [\n {},{}\n ]\n },\n {\n type: \"hot\",\n lable: \"热门推荐\",\n books: [\n {},{}\n ]\n }\n ]\n }",
  66. "type": "json"
  67. }
  68. ]
  69. },
  70. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  71. "groupTitle": "图书"
  72. },
  73. {
  74. "version": "1.0.0",
  75. "description": "<p>获取分类</p>",
  76. "type": "get",
  77. "url": "books/getCategory",
  78. "title": "获取分类",
  79. "parameter": {
  80. "fields": {
  81. "Parameter": [
  82. {
  83. "group": "Parameter",
  84. "type": "String",
  85. "optional": true,
  86. "field": "token",
  87. "description": "<p>token</p>"
  88. }
  89. ]
  90. }
  91. },
  92. "header": {
  93. "fields": {
  94. "Header": [
  95. {
  96. "group": "Header",
  97. "type": "String",
  98. "optional": true,
  99. "field": "Authorization",
  100. "description": "<p>token 两个token任选其一</p>"
  101. }
  102. ]
  103. }
  104. },
  105. "group": "Book",
  106. "name": "getCategory",
  107. "success": {
  108. "fields": {
  109. "Success 200": [
  110. {
  111. "group": "Success 200",
  112. "type": "int",
  113. "optional": false,
  114. "field": "code",
  115. "description": "<p>状态码</p>"
  116. },
  117. {
  118. "group": "Success 200",
  119. "type": "String",
  120. "optional": false,
  121. "field": "msg",
  122. "description": "<p>信息</p>"
  123. },
  124. {
  125. "group": "Success 200",
  126. "type": "object",
  127. "optional": false,
  128. "field": "data",
  129. "description": "<p>结果集</p>"
  130. }
  131. ]
  132. },
  133. "examples": [
  134. {
  135. "title": "Success-Response:",
  136. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n id: 1,\n name: \"男频\",\n children: [\n {\n id: 7,\n name: \"灵异鬼怪\"\n },\n {\n id: 8,\n name: \"历史穿越\"\n },\n {\n id: 30,\n name: \"青春爱情\"\n }\n ]\n },\n {\n id: 2,\n name: \"女频\",\n children: [\n {\n id: 26,\n name: \"豪门总裁\"\n },\n {\n id: 35,\n name: \"民国爱情\"\n }\n ]\n }\n ]\n }",
  137. "type": "json"
  138. }
  139. ]
  140. },
  141. "filename": "app/Http/Controllers/QuickApp/Book/BookCategoryController.php",
  142. "groupTitle": "图书"
  143. },
  144. {
  145. "version": "1.0.0",
  146. "description": "<p>获取图书详情</p>",
  147. "type": "get",
  148. "url": "book/{bid}",
  149. "title": "获取图书详情",
  150. "group": "Book",
  151. "name": "index",
  152. "parameter": {
  153. "fields": {
  154. "Parameter": [
  155. {
  156. "group": "Parameter",
  157. "type": "String",
  158. "optional": true,
  159. "field": "token",
  160. "description": "<p>token</p>"
  161. }
  162. ]
  163. }
  164. },
  165. "header": {
  166. "fields": {
  167. "Header": [
  168. {
  169. "group": "Header",
  170. "type": "String",
  171. "optional": true,
  172. "field": "Authorization",
  173. "description": "<p>token 两个token任选其一</p>"
  174. }
  175. ]
  176. }
  177. },
  178. "success": {
  179. "fields": {
  180. "Success 200": [
  181. {
  182. "group": "Success 200",
  183. "type": "int",
  184. "optional": false,
  185. "field": "code",
  186. "description": "<p>状态码</p>"
  187. },
  188. {
  189. "group": "Success 200",
  190. "type": "String",
  191. "optional": false,
  192. "field": "msg",
  193. "description": "<p>信息</p>"
  194. },
  195. {
  196. "group": "Success 200",
  197. "type": "object",
  198. "optional": false,
  199. "field": "data",
  200. "description": "<p>结果集</p>"
  201. },
  202. {
  203. "group": "Success 200",
  204. "type": "Int",
  205. "optional": false,
  206. "field": "data.book_id",
  207. "description": "<p>bid</p>"
  208. },
  209. {
  210. "group": "Success 200",
  211. "type": "String",
  212. "optional": false,
  213. "field": "data.book_name",
  214. "description": "<p>书名</p>"
  215. },
  216. {
  217. "group": "Success 200",
  218. "type": "String",
  219. "optional": false,
  220. "field": "data.book_summary",
  221. "description": "<p>简介</p>"
  222. },
  223. {
  224. "group": "Success 200",
  225. "type": "String",
  226. "optional": false,
  227. "field": "data.book_author",
  228. "description": "<p>作者</p>"
  229. },
  230. {
  231. "group": "Success 200",
  232. "type": "String",
  233. "optional": false,
  234. "field": "data.cover_url",
  235. "description": "<p>封面</p>"
  236. },
  237. {
  238. "group": "Success 200",
  239. "type": "Int",
  240. "optional": false,
  241. "field": "data.book_word_count",
  242. "description": "<p>字数</p>"
  243. },
  244. {
  245. "group": "Success 200",
  246. "type": "Int",
  247. "optional": false,
  248. "field": "data.book_chapter_total",
  249. "description": "<p>章节数</p>"
  250. },
  251. {
  252. "group": "Success 200",
  253. "type": "Int",
  254. "optional": false,
  255. "field": "data.book_category_id",
  256. "description": "<p>分类</p>"
  257. },
  258. {
  259. "group": "Success 200",
  260. "type": "String",
  261. "optional": false,
  262. "field": "data.book_category",
  263. "description": "<p>分类名</p>"
  264. },
  265. {
  266. "group": "Success 200",
  267. "type": "Int",
  268. "optional": false,
  269. "field": "data.book_end_status",
  270. "description": "<p>是否完结</p>"
  271. },
  272. {
  273. "group": "Success 200",
  274. "type": "String",
  275. "optional": false,
  276. "field": "data.book_published_time",
  277. "description": "<p>发布时间</p>"
  278. },
  279. {
  280. "group": "Success 200",
  281. "type": "String",
  282. "optional": false,
  283. "field": "data.copyright",
  284. "description": "<p>版权信息</p>"
  285. },
  286. {
  287. "group": "Success 200",
  288. "type": "Int",
  289. "optional": false,
  290. "field": "data.force_subscribe_chapter_id",
  291. "description": "<p>强制关注的章节数</p>"
  292. },
  293. {
  294. "group": "Success 200",
  295. "type": "String",
  296. "optional": false,
  297. "field": "data.update_time",
  298. "description": "<p>更新时间</p>"
  299. },
  300. {
  301. "group": "Success 200",
  302. "type": "Int",
  303. "optional": false,
  304. "field": "data.is_on_user_shelf",
  305. "description": "<p>是否加入架</p>"
  306. },
  307. {
  308. "group": "Success 200",
  309. "type": "Int",
  310. "optional": false,
  311. "field": "data.book_price",
  312. "description": "<p>是否上架</p>"
  313. },
  314. {
  315. "group": "Success 200",
  316. "type": "String",
  317. "optional": false,
  318. "field": "data.charge_type",
  319. "description": "<p>收费类型</p>"
  320. },
  321. {
  322. "group": "Success 200",
  323. "type": "String",
  324. "optional": false,
  325. "field": "data.keyword",
  326. "description": "<p>关键词</p>"
  327. },
  328. {
  329. "group": "Success 200",
  330. "type": "String",
  331. "optional": false,
  332. "field": "data.recommend_index",
  333. "description": "<p>推荐指数</p>"
  334. },
  335. {
  336. "group": "Success 200",
  337. "type": "String",
  338. "optional": false,
  339. "field": "data.is_show_index_content",
  340. "description": "<p>是否显示推荐指数文本</p>"
  341. },
  342. {
  343. "group": "Success 200",
  344. "type": "Int",
  345. "optional": false,
  346. "field": "data.click_count",
  347. "description": "<p>点击数</p>"
  348. },
  349. {
  350. "group": "Success 200",
  351. "type": "Int",
  352. "optional": false,
  353. "field": "data.product_id",
  354. "description": "<p>product_id</p>"
  355. },
  356. {
  357. "group": "Success 200",
  358. "type": "Int",
  359. "optional": false,
  360. "field": "data.last_cid",
  361. "description": "<p>最后一张cid</p>"
  362. },
  363. {
  364. "group": "Success 200",
  365. "type": "Int",
  366. "optional": false,
  367. "field": "data.last_chapter",
  368. "description": "<p>第254章 婚礼(大结局)</p>"
  369. },
  370. {
  371. "group": "Success 200",
  372. "type": "Int",
  373. "optional": false,
  374. "field": "data.last_chapter_is_vip",
  375. "description": "<p>第254章 婚礼(大结局)</p>"
  376. },
  377. {
  378. "group": "Success 200",
  379. "type": "Int",
  380. "optional": false,
  381. "field": "data.first_cid",
  382. "description": "<p>第一章cid</p>"
  383. }
  384. ]
  385. },
  386. "examples": [
  387. {
  388. "title": "Success-Response:",
  389. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_user_shelf: 0,\n book_price: null,\n keyword: 关键词,\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:0,\n last_chapter_is_vip:0,\n }\n }",
  390. "type": "json"
  391. }
  392. ]
  393. },
  394. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  395. "groupTitle": "图书"
  396. },
  397. {
  398. "version": "1.0.0",
  399. "description": "<p>书库</p>",
  400. "type": "get",
  401. "url": "books/library",
  402. "title": "书库",
  403. "parameter": {
  404. "fields": {
  405. "Parameter": [
  406. {
  407. "group": "Parameter",
  408. "type": "String",
  409. "optional": false,
  410. "field": "key",
  411. "description": ""
  412. },
  413. {
  414. "group": "Parameter",
  415. "type": "Int",
  416. "optional": false,
  417. "field": "category_id",
  418. "description": "<p>分类id</p>"
  419. },
  420. {
  421. "group": "Parameter",
  422. "type": "String",
  423. "optional": false,
  424. "field": "order_field",
  425. "description": "<p>排序字段(推荐指数:recommend_index|点击数:click_count|字数:size|update:时间)</p>"
  426. },
  427. {
  428. "group": "Parameter",
  429. "type": "String",
  430. "optional": false,
  431. "field": "order_seq",
  432. "description": "<p>排序顺序(顺序:asc|逆序:desc)</p>"
  433. },
  434. {
  435. "group": "Parameter",
  436. "type": "String",
  437. "optional": true,
  438. "field": "page_size",
  439. "description": "<p>分页大小</p>"
  440. },
  441. {
  442. "group": "Parameter",
  443. "type": "String",
  444. "optional": true,
  445. "field": "page",
  446. "description": "<p>页码</p>"
  447. },
  448. {
  449. "group": "Parameter",
  450. "type": "String",
  451. "optional": true,
  452. "field": "status",
  453. "description": "<p>完结与否(0|1)完结1 连载0</p>"
  454. },
  455. {
  456. "group": "Parameter",
  457. "type": "String",
  458. "optional": true,
  459. "field": "token",
  460. "description": "<p>token</p>"
  461. }
  462. ]
  463. }
  464. },
  465. "header": {
  466. "fields": {
  467. "Header": [
  468. {
  469. "group": "Header",
  470. "type": "String",
  471. "optional": true,
  472. "field": "Authorization",
  473. "description": "<p>token 两个token任选其一</p>"
  474. }
  475. ]
  476. }
  477. },
  478. "group": "Book",
  479. "name": "library",
  480. "success": {
  481. "fields": {
  482. "Success 200": [
  483. {
  484. "group": "Success 200",
  485. "type": "int",
  486. "optional": false,
  487. "field": "code",
  488. "description": "<p>状态码</p>"
  489. },
  490. {
  491. "group": "Success 200",
  492. "type": "String",
  493. "optional": false,
  494. "field": "msg",
  495. "description": "<p>信息</p>"
  496. },
  497. {
  498. "group": "Success 200",
  499. "type": "object",
  500. "optional": false,
  501. "field": "data",
  502. "description": "<p>结果集</p>"
  503. },
  504. {
  505. "group": "Success 200",
  506. "type": "Array",
  507. "optional": false,
  508. "field": "data.list",
  509. "description": "<p>结果数据集</p>"
  510. },
  511. {
  512. "group": "Success 200",
  513. "type": "Int",
  514. "optional": false,
  515. "field": "data.list.book_id",
  516. "description": "<p>bid</p>"
  517. },
  518. {
  519. "group": "Success 200",
  520. "type": "String",
  521. "optional": false,
  522. "field": "data.list.book_name",
  523. "description": "<p>书名</p>"
  524. },
  525. {
  526. "group": "Success 200",
  527. "type": "String",
  528. "optional": false,
  529. "field": "data.list.book_summary",
  530. "description": "<p>简介</p>"
  531. },
  532. {
  533. "group": "Success 200",
  534. "type": "String",
  535. "optional": false,
  536. "field": "data.list.book_author",
  537. "description": "<p>作者</p>"
  538. },
  539. {
  540. "group": "Success 200",
  541. "type": "String",
  542. "optional": false,
  543. "field": "data.list.cover_url",
  544. "description": "<p>封面</p>"
  545. },
  546. {
  547. "group": "Success 200",
  548. "type": "Int",
  549. "optional": false,
  550. "field": "data.list.book_word_count",
  551. "description": "<p>字数</p>"
  552. },
  553. {
  554. "group": "Success 200",
  555. "type": "Int",
  556. "optional": false,
  557. "field": "data.list.book_chapter_total",
  558. "description": "<p>章节数</p>"
  559. },
  560. {
  561. "group": "Success 200",
  562. "type": "Int",
  563. "optional": false,
  564. "field": "data.list.book_category_id",
  565. "description": "<p>分类</p>"
  566. },
  567. {
  568. "group": "Success 200",
  569. "type": "String",
  570. "optional": false,
  571. "field": "data.list.book_category",
  572. "description": "<p>分类名</p>"
  573. },
  574. {
  575. "group": "Success 200",
  576. "type": "String",
  577. "optional": false,
  578. "field": "data.list.book_end_status",
  579. "description": "<p>是否完结</p>"
  580. },
  581. {
  582. "group": "Success 200",
  583. "type": "String",
  584. "optional": false,
  585. "field": "data.list.book_published_time",
  586. "description": "<p>发布时间</p>"
  587. },
  588. {
  589. "group": "Success 200",
  590. "type": "String",
  591. "optional": false,
  592. "field": "data.list.copyright",
  593. "description": "<p>版权信息</p>"
  594. },
  595. {
  596. "group": "Success 200",
  597. "type": "Int",
  598. "optional": false,
  599. "field": "data.list.force_subscribe_chapter_id",
  600. "description": "<p>强制关注的章节数</p>"
  601. },
  602. {
  603. "group": "Success 200",
  604. "type": "String",
  605. "optional": false,
  606. "field": "data.list.update_time",
  607. "description": "<p>更新时间</p>"
  608. },
  609. {
  610. "group": "Success 200",
  611. "type": "Int",
  612. "optional": false,
  613. "field": "data.list.is_on_shelf",
  614. "description": "<p>是否上架</p>"
  615. },
  616. {
  617. "group": "Success 200",
  618. "type": "String",
  619. "optional": false,
  620. "field": "data.list.book_price",
  621. "description": "<p>是否上架</p>"
  622. },
  623. {
  624. "group": "Success 200",
  625. "type": "String",
  626. "optional": false,
  627. "field": "data.list.recommend_index",
  628. "description": "<p>推荐指数</p>"
  629. },
  630. {
  631. "group": "Success 200",
  632. "type": "Int",
  633. "optional": false,
  634. "field": "data.list.charge_type",
  635. "description": "<p>收费类型</p>"
  636. },
  637. {
  638. "group": "Success 200",
  639. "type": "Int",
  640. "optional": false,
  641. "field": "data.list.keyword",
  642. "description": "<p>关键词</p>"
  643. },
  644. {
  645. "group": "Success 200",
  646. "type": "Int",
  647. "optional": false,
  648. "field": "data.list.is_show_index_content",
  649. "description": "<p>是否显示推荐指数文本</p>"
  650. },
  651. {
  652. "group": "Success 200",
  653. "type": "Int",
  654. "optional": false,
  655. "field": "data.list.click_count",
  656. "description": "<p>点击数</p>"
  657. },
  658. {
  659. "group": "Success 200",
  660. "type": "Int",
  661. "optional": false,
  662. "field": "data.list.product_id",
  663. "description": "<p>product_id</p>"
  664. },
  665. {
  666. "group": "Success 200",
  667. "type": "Int",
  668. "optional": false,
  669. "field": "data.list.last_cid",
  670. "description": "<p>1224</p>"
  671. },
  672. {
  673. "group": "Success 200",
  674. "type": "Int",
  675. "optional": false,
  676. "field": "data.list.last_chapter",
  677. "description": "<p>第254章 婚礼(大结局)</p>"
  678. },
  679. {
  680. "group": "Success 200",
  681. "type": "object",
  682. "optional": false,
  683. "field": "data.meta",
  684. "description": "<p>分页信息</p>"
  685. },
  686. {
  687. "group": "Success 200",
  688. "type": "Int",
  689. "optional": false,
  690. "field": "data.meta.total",
  691. "description": "<p>总条数</p>"
  692. },
  693. {
  694. "group": "Success 200",
  695. "type": "Int",
  696. "optional": false,
  697. "field": "data.meta.per_page",
  698. "description": "<p>每页条数</p>"
  699. },
  700. {
  701. "group": "Success 200",
  702. "type": "Int",
  703. "optional": false,
  704. "field": "data.meta.current_page",
  705. "description": "<p>当前页</p>"
  706. },
  707. {
  708. "group": "Success 200",
  709. "type": "Int",
  710. "optional": false,
  711. "field": "data.meta.last_page",
  712. "description": "<p>最后页</p>"
  713. },
  714. {
  715. "group": "Success 200",
  716. "type": "String",
  717. "optional": false,
  718. "field": "data.meta.next_page_url",
  719. "description": "<p>下一页</p>"
  720. },
  721. {
  722. "group": "Success 200",
  723. "type": "String",
  724. "optional": false,
  725. "field": "data.meta.prev_page_url",
  726. "description": "<p>上一页</p>"
  727. }
  728. ]
  729. },
  730. "examples": [
  731. {
  732. "title": "Success-Response:",
  733. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n list: [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n meta: {\n total: 18,\n per_page: 15,\n current_page: 1,\n last_page: 2,\n next_page_url: \"http://myapi.cn/api/hotrank/books?page=2\",\n prev_page_url: \"\"\n }\n }\n }",
  734. "type": "json"
  735. }
  736. ]
  737. },
  738. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  739. "groupTitle": "图书"
  740. },
  741. {
  742. "version": "1.0.0",
  743. "description": "<p>排行帮</p>",
  744. "type": "get",
  745. "url": "books/rank",
  746. "title": "排行帮",
  747. "parameter": {
  748. "fields": {
  749. "Parameter": [
  750. {
  751. "group": "Parameter",
  752. "type": "Int",
  753. "optional": false,
  754. "field": "type",
  755. "description": "<p>(点击帮:1|字数帮:2|新书榜|3)</p>"
  756. },
  757. {
  758. "group": "Parameter",
  759. "type": "Int",
  760. "optional": false,
  761. "field": "time",
  762. "description": "<p>(周:1|月:2|总|3)</p>"
  763. },
  764. {
  765. "group": "Parameter",
  766. "type": "String",
  767. "optional": true,
  768. "field": "token",
  769. "description": "<p>token</p>"
  770. }
  771. ]
  772. }
  773. },
  774. "header": {
  775. "fields": {
  776. "Header": [
  777. {
  778. "group": "Header",
  779. "type": "String",
  780. "optional": true,
  781. "field": "Authorization",
  782. "description": "<p>token 两个token任选其一</p>"
  783. }
  784. ]
  785. }
  786. },
  787. "group": "Book",
  788. "name": "rank",
  789. "success": {
  790. "fields": {
  791. "Success 200": [
  792. {
  793. "group": "Success 200",
  794. "type": "int",
  795. "optional": false,
  796. "field": "code",
  797. "description": "<p>状态码</p>"
  798. },
  799. {
  800. "group": "Success 200",
  801. "type": "String",
  802. "optional": false,
  803. "field": "msg",
  804. "description": "<p>信息</p>"
  805. },
  806. {
  807. "group": "Success 200",
  808. "type": "object",
  809. "optional": false,
  810. "field": "data",
  811. "description": "<p>结果集</p>"
  812. },
  813. {
  814. "group": "Success 200",
  815. "type": "Int",
  816. "optional": false,
  817. "field": "data.book_id",
  818. "description": "<p>bid</p>"
  819. },
  820. {
  821. "group": "Success 200",
  822. "type": "String",
  823. "optional": false,
  824. "field": "data.book_name",
  825. "description": "<p>书名</p>"
  826. },
  827. {
  828. "group": "Success 200",
  829. "type": "String",
  830. "optional": false,
  831. "field": "data.book_summary",
  832. "description": "<p>简介</p>"
  833. },
  834. {
  835. "group": "Success 200",
  836. "type": "String",
  837. "optional": false,
  838. "field": "data.book_author",
  839. "description": "<p>作者</p>"
  840. },
  841. {
  842. "group": "Success 200",
  843. "type": "String",
  844. "optional": false,
  845. "field": "data.cover_url",
  846. "description": "<p>封面</p>"
  847. },
  848. {
  849. "group": "Success 200",
  850. "type": "Int",
  851. "optional": false,
  852. "field": "data.book_word_count",
  853. "description": "<p>字数</p>"
  854. },
  855. {
  856. "group": "Success 200",
  857. "type": "Int",
  858. "optional": false,
  859. "field": "data.book_chapter_total",
  860. "description": "<p>章节数</p>"
  861. },
  862. {
  863. "group": "Success 200",
  864. "type": "Int",
  865. "optional": false,
  866. "field": "data.book_category_id",
  867. "description": "<p>分类</p>"
  868. },
  869. {
  870. "group": "Success 200",
  871. "type": "String",
  872. "optional": false,
  873. "field": "data.book_category",
  874. "description": "<p>分类名</p>"
  875. },
  876. {
  877. "group": "Success 200",
  878. "type": "String",
  879. "optional": false,
  880. "field": "data.book_end_status",
  881. "description": "<p>是否完结</p>"
  882. },
  883. {
  884. "group": "Success 200",
  885. "type": "String",
  886. "optional": false,
  887. "field": "data.book_published_time",
  888. "description": "<p>发布时间</p>"
  889. },
  890. {
  891. "group": "Success 200",
  892. "type": "String",
  893. "optional": false,
  894. "field": "data.copyright",
  895. "description": "<p>版权信息</p>"
  896. },
  897. {
  898. "group": "Success 200",
  899. "type": "Int",
  900. "optional": false,
  901. "field": "data.force_subscribe_chapter_id",
  902. "description": "<p>强制关注的章节数</p>"
  903. },
  904. {
  905. "group": "Success 200",
  906. "type": "String",
  907. "optional": false,
  908. "field": "data.update_time",
  909. "description": "<p>更新时间</p>"
  910. },
  911. {
  912. "group": "Success 200",
  913. "type": "Int",
  914. "optional": false,
  915. "field": "data.is_on_shelf",
  916. "description": "<p>是否上架</p>"
  917. },
  918. {
  919. "group": "Success 200",
  920. "type": "String",
  921. "optional": false,
  922. "field": "data.book_price",
  923. "description": "<p>是否上架</p>"
  924. },
  925. {
  926. "group": "Success 200",
  927. "type": "String",
  928. "optional": false,
  929. "field": "data.recommend_index",
  930. "description": "<p>推荐指数</p>"
  931. },
  932. {
  933. "group": "Success 200",
  934. "type": "Int",
  935. "optional": false,
  936. "field": "data.charge_type",
  937. "description": "<p>收费类型</p>"
  938. },
  939. {
  940. "group": "Success 200",
  941. "type": "Int",
  942. "optional": false,
  943. "field": "data.keyword",
  944. "description": "<p>关键词</p>"
  945. },
  946. {
  947. "group": "Success 200",
  948. "type": "Int",
  949. "optional": false,
  950. "field": "data.is_show_index_content",
  951. "description": "<p>是否显示推荐指数文本</p>"
  952. },
  953. {
  954. "group": "Success 200",
  955. "type": "Int",
  956. "optional": false,
  957. "field": "data.click_count",
  958. "description": "<p>点击数</p>"
  959. },
  960. {
  961. "group": "Success 200",
  962. "type": "Int",
  963. "optional": false,
  964. "field": "data.product_id",
  965. "description": "<p>product_id</p>"
  966. },
  967. {
  968. "group": "Success 200",
  969. "type": "Int",
  970. "optional": false,
  971. "field": "data.last_cid",
  972. "description": "<p>123</p>"
  973. },
  974. {
  975. "group": "Success 200",
  976. "type": "Int",
  977. "optional": false,
  978. "field": "data.last_chapter",
  979. "description": "<p>第254章 婚礼(大结局)</p>"
  980. }
  981. ]
  982. },
  983. "examples": [
  984. {
  985. "title": "Success-Response:",
  986. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n male:[\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n female:[{},{}] \n }\n }",
  987. "type": "json"
  988. }
  989. ]
  990. },
  991. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  992. "groupTitle": "图书"
  993. },
  994. {
  995. "version": "1.0.0",
  996. "description": "<p>尾页推荐</p>",
  997. "type": "get",
  998. "url": "books/readOverRecommend",
  999. "title": "尾页推荐",
  1000. "parameter": {
  1001. "fields": {
  1002. "Parameter": [
  1003. {
  1004. "group": "Parameter",
  1005. "type": "Int",
  1006. "optional": false,
  1007. "field": "bid",
  1008. "description": ""
  1009. },
  1010. {
  1011. "group": "Parameter",
  1012. "type": "String",
  1013. "optional": true,
  1014. "field": "token",
  1015. "description": "<p>token</p>"
  1016. }
  1017. ]
  1018. }
  1019. },
  1020. "group": "Book",
  1021. "header": {
  1022. "fields": {
  1023. "Header": [
  1024. {
  1025. "group": "Header",
  1026. "type": "String",
  1027. "optional": true,
  1028. "field": "Authorization",
  1029. "description": "<p>token 两个token任选其一</p>"
  1030. }
  1031. ]
  1032. }
  1033. },
  1034. "name": "readOverRecommend",
  1035. "success": {
  1036. "fields": {
  1037. "Success 200": [
  1038. {
  1039. "group": "Success 200",
  1040. "type": "int",
  1041. "optional": false,
  1042. "field": "code",
  1043. "description": "<p>状态码</p>"
  1044. },
  1045. {
  1046. "group": "Success 200",
  1047. "type": "String",
  1048. "optional": false,
  1049. "field": "msg",
  1050. "description": "<p>信息</p>"
  1051. },
  1052. {
  1053. "group": "Success 200",
  1054. "type": "object",
  1055. "optional": false,
  1056. "field": "data",
  1057. "description": "<p>结果集</p>"
  1058. },
  1059. {
  1060. "group": "Success 200",
  1061. "type": "Int",
  1062. "optional": false,
  1063. "field": "data.book_id",
  1064. "description": "<p>bid</p>"
  1065. },
  1066. {
  1067. "group": "Success 200",
  1068. "type": "String",
  1069. "optional": false,
  1070. "field": "data.book_name",
  1071. "description": "<p>书名</p>"
  1072. },
  1073. {
  1074. "group": "Success 200",
  1075. "type": "String",
  1076. "optional": false,
  1077. "field": "data.book_summary",
  1078. "description": "<p>简介</p>"
  1079. },
  1080. {
  1081. "group": "Success 200",
  1082. "type": "String",
  1083. "optional": false,
  1084. "field": "data.book_author",
  1085. "description": "<p>作者</p>"
  1086. },
  1087. {
  1088. "group": "Success 200",
  1089. "type": "String",
  1090. "optional": false,
  1091. "field": "data.cover_url",
  1092. "description": "<p>封面</p>"
  1093. },
  1094. {
  1095. "group": "Success 200",
  1096. "type": "Int",
  1097. "optional": false,
  1098. "field": "data.book_word_count",
  1099. "description": "<p>字数</p>"
  1100. },
  1101. {
  1102. "group": "Success 200",
  1103. "type": "Int",
  1104. "optional": false,
  1105. "field": "data.book_chapter_total",
  1106. "description": "<p>章节数</p>"
  1107. },
  1108. {
  1109. "group": "Success 200",
  1110. "type": "Int",
  1111. "optional": false,
  1112. "field": "data.book_category_id",
  1113. "description": "<p>分类</p>"
  1114. },
  1115. {
  1116. "group": "Success 200",
  1117. "type": "String",
  1118. "optional": false,
  1119. "field": "data.book_category",
  1120. "description": "<p>分类名</p>"
  1121. },
  1122. {
  1123. "group": "Success 200",
  1124. "type": "String",
  1125. "optional": false,
  1126. "field": "data.book_end_status",
  1127. "description": "<p>是否完结</p>"
  1128. },
  1129. {
  1130. "group": "Success 200",
  1131. "type": "String",
  1132. "optional": false,
  1133. "field": "data.book_published_time",
  1134. "description": "<p>发布时间</p>"
  1135. },
  1136. {
  1137. "group": "Success 200",
  1138. "type": "String",
  1139. "optional": false,
  1140. "field": "data.copyright",
  1141. "description": "<p>版权信息</p>"
  1142. },
  1143. {
  1144. "group": "Success 200",
  1145. "type": "Int",
  1146. "optional": false,
  1147. "field": "data.force_subscribe_chapter_id",
  1148. "description": "<p>强制关注的章节数</p>"
  1149. },
  1150. {
  1151. "group": "Success 200",
  1152. "type": "String",
  1153. "optional": false,
  1154. "field": "data.update_time",
  1155. "description": "<p>更新时间</p>"
  1156. },
  1157. {
  1158. "group": "Success 200",
  1159. "type": "Int",
  1160. "optional": false,
  1161. "field": "data.is_on_shelf",
  1162. "description": "<p>是否上架</p>"
  1163. },
  1164. {
  1165. "group": "Success 200",
  1166. "type": "String",
  1167. "optional": false,
  1168. "field": "data.book_price",
  1169. "description": "<p>是否上架</p>"
  1170. },
  1171. {
  1172. "group": "Success 200",
  1173. "type": "String",
  1174. "optional": false,
  1175. "field": "data.recommend_index",
  1176. "description": "<p>推荐指数</p>"
  1177. },
  1178. {
  1179. "group": "Success 200",
  1180. "type": "Int",
  1181. "optional": false,
  1182. "field": "data.charge_type",
  1183. "description": "<p>收费类型</p>"
  1184. },
  1185. {
  1186. "group": "Success 200",
  1187. "type": "Int",
  1188. "optional": false,
  1189. "field": "data.keyword",
  1190. "description": "<p>关键词</p>"
  1191. },
  1192. {
  1193. "group": "Success 200",
  1194. "type": "Int",
  1195. "optional": false,
  1196. "field": "data.is_show_index_content",
  1197. "description": "<p>是否显示推荐指数文本</p>"
  1198. },
  1199. {
  1200. "group": "Success 200",
  1201. "type": "Int",
  1202. "optional": false,
  1203. "field": "data.click_count",
  1204. "description": "<p>点击数</p>"
  1205. },
  1206. {
  1207. "group": "Success 200",
  1208. "type": "Int",
  1209. "optional": false,
  1210. "field": "data.product_id",
  1211. "description": "<p>product_id</p>"
  1212. },
  1213. {
  1214. "group": "Success 200",
  1215. "type": "Int",
  1216. "optional": false,
  1217. "field": "data.last_cid",
  1218. "description": "<p>123</p>"
  1219. },
  1220. {
  1221. "group": "Success 200",
  1222. "type": "Int",
  1223. "optional": false,
  1224. "field": "data.last_chapter",
  1225. "description": "<p>第254章 婚礼(大结局)</p>"
  1226. }
  1227. ]
  1228. },
  1229. "examples": [
  1230. {
  1231. "title": "Success-Response:",
  1232. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n }\n }",
  1233. "type": "json"
  1234. }
  1235. ]
  1236. },
  1237. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  1238. "groupTitle": "图书"
  1239. },
  1240. {
  1241. "version": "1.0.0",
  1242. "description": "<p>相似推荐</p>",
  1243. "type": "get",
  1244. "url": "books/similar",
  1245. "title": "相似推荐",
  1246. "parameter": {
  1247. "fields": {
  1248. "Parameter": [
  1249. {
  1250. "group": "Parameter",
  1251. "type": "Int",
  1252. "optional": false,
  1253. "field": "category_id",
  1254. "description": ""
  1255. },
  1256. {
  1257. "group": "Parameter",
  1258. "type": "Int",
  1259. "optional": false,
  1260. "field": "bid",
  1261. "description": ""
  1262. },
  1263. {
  1264. "group": "Parameter",
  1265. "type": "String",
  1266. "optional": true,
  1267. "field": "token",
  1268. "description": "<p>token</p>"
  1269. }
  1270. ]
  1271. }
  1272. },
  1273. "group": "Book",
  1274. "name": "similarRecom",
  1275. "header": {
  1276. "fields": {
  1277. "Header": [
  1278. {
  1279. "group": "Header",
  1280. "type": "String",
  1281. "optional": true,
  1282. "field": "Authorization",
  1283. "description": "<p>token 两个token任选其一</p>"
  1284. }
  1285. ]
  1286. }
  1287. },
  1288. "success": {
  1289. "fields": {
  1290. "Success 200": [
  1291. {
  1292. "group": "Success 200",
  1293. "type": "int",
  1294. "optional": false,
  1295. "field": "code",
  1296. "description": "<p>状态码</p>"
  1297. },
  1298. {
  1299. "group": "Success 200",
  1300. "type": "String",
  1301. "optional": false,
  1302. "field": "msg",
  1303. "description": "<p>信息</p>"
  1304. },
  1305. {
  1306. "group": "Success 200",
  1307. "type": "object",
  1308. "optional": false,
  1309. "field": "data",
  1310. "description": "<p>结果集</p>"
  1311. },
  1312. {
  1313. "group": "Success 200",
  1314. "type": "Int",
  1315. "optional": false,
  1316. "field": "data.book_id",
  1317. "description": "<p>bid</p>"
  1318. },
  1319. {
  1320. "group": "Success 200",
  1321. "type": "String",
  1322. "optional": false,
  1323. "field": "data.book_name",
  1324. "description": "<p>书名</p>"
  1325. },
  1326. {
  1327. "group": "Success 200",
  1328. "type": "String",
  1329. "optional": false,
  1330. "field": "data.book_summary",
  1331. "description": "<p>简介</p>"
  1332. },
  1333. {
  1334. "group": "Success 200",
  1335. "type": "String",
  1336. "optional": false,
  1337. "field": "data.book_author",
  1338. "description": "<p>作者</p>"
  1339. },
  1340. {
  1341. "group": "Success 200",
  1342. "type": "String",
  1343. "optional": false,
  1344. "field": "data.cover_url",
  1345. "description": "<p>封面</p>"
  1346. },
  1347. {
  1348. "group": "Success 200",
  1349. "type": "Int",
  1350. "optional": false,
  1351. "field": "data.book_word_count",
  1352. "description": "<p>字数</p>"
  1353. },
  1354. {
  1355. "group": "Success 200",
  1356. "type": "Int",
  1357. "optional": false,
  1358. "field": "data.book_chapter_total",
  1359. "description": "<p>章节数</p>"
  1360. },
  1361. {
  1362. "group": "Success 200",
  1363. "type": "Int",
  1364. "optional": false,
  1365. "field": "data.book_category_id",
  1366. "description": "<p>分类</p>"
  1367. },
  1368. {
  1369. "group": "Success 200",
  1370. "type": "String",
  1371. "optional": false,
  1372. "field": "data.book_category",
  1373. "description": "<p>分类名</p>"
  1374. },
  1375. {
  1376. "group": "Success 200",
  1377. "type": "String",
  1378. "optional": false,
  1379. "field": "data.book_end_status",
  1380. "description": "<p>是否完结</p>"
  1381. },
  1382. {
  1383. "group": "Success 200",
  1384. "type": "String",
  1385. "optional": false,
  1386. "field": "data.book_published_time",
  1387. "description": "<p>发布时间</p>"
  1388. },
  1389. {
  1390. "group": "Success 200",
  1391. "type": "String",
  1392. "optional": false,
  1393. "field": "data.copyright",
  1394. "description": "<p>版权信息</p>"
  1395. },
  1396. {
  1397. "group": "Success 200",
  1398. "type": "Int",
  1399. "optional": false,
  1400. "field": "data.force_subscribe_chapter_id",
  1401. "description": "<p>强制关注的章节数</p>"
  1402. },
  1403. {
  1404. "group": "Success 200",
  1405. "type": "String",
  1406. "optional": false,
  1407. "field": "data.update_time",
  1408. "description": "<p>更新时间</p>"
  1409. },
  1410. {
  1411. "group": "Success 200",
  1412. "type": "Int",
  1413. "optional": false,
  1414. "field": "data.is_on_shelf",
  1415. "description": "<p>是否上架</p>"
  1416. },
  1417. {
  1418. "group": "Success 200",
  1419. "type": "String",
  1420. "optional": false,
  1421. "field": "data.book_price",
  1422. "description": "<p>是否上架</p>"
  1423. },
  1424. {
  1425. "group": "Success 200",
  1426. "type": "String",
  1427. "optional": false,
  1428. "field": "data.recommend_index",
  1429. "description": "<p>推荐指数</p>"
  1430. },
  1431. {
  1432. "group": "Success 200",
  1433. "type": "Int",
  1434. "optional": false,
  1435. "field": "data.charge_type",
  1436. "description": "<p>收费类型</p>"
  1437. },
  1438. {
  1439. "group": "Success 200",
  1440. "type": "Int",
  1441. "optional": false,
  1442. "field": "data.keyword",
  1443. "description": "<p>关键词</p>"
  1444. },
  1445. {
  1446. "group": "Success 200",
  1447. "type": "Int",
  1448. "optional": false,
  1449. "field": "data.is_show_index_content",
  1450. "description": "<p>是否显示推荐指数文本</p>"
  1451. },
  1452. {
  1453. "group": "Success 200",
  1454. "type": "Int",
  1455. "optional": false,
  1456. "field": "data.click_count",
  1457. "description": "<p>点击数</p>"
  1458. },
  1459. {
  1460. "group": "Success 200",
  1461. "type": "Int",
  1462. "optional": false,
  1463. "field": "data.product_id",
  1464. "description": "<p>product_id</p>"
  1465. },
  1466. {
  1467. "group": "Success 200",
  1468. "type": "Int",
  1469. "optional": false,
  1470. "field": "data.last_cid",
  1471. "description": "<p>123</p>"
  1472. },
  1473. {
  1474. "group": "Success 200",
  1475. "type": "Int",
  1476. "optional": false,
  1477. "field": "data.last_chapter",
  1478. "description": "<p>第254章 婚礼(大结局)</p>"
  1479. }
  1480. ]
  1481. },
  1482. "examples": [
  1483. {
  1484. "title": "Success-Response:",
  1485. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n }\n }",
  1486. "type": "json"
  1487. }
  1488. ]
  1489. },
  1490. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  1491. "groupTitle": "图书"
  1492. },
  1493. {
  1494. "version": "1.0.0",
  1495. "description": "<p>章节列表不分页</p>",
  1496. "type": "get",
  1497. "url": "books/{bid}/allcatalog",
  1498. "title": "章节列表不分页",
  1499. "parameter": {
  1500. "fields": {
  1501. "Parameter": [
  1502. {
  1503. "group": "Parameter",
  1504. "type": "String",
  1505. "optional": true,
  1506. "field": "token",
  1507. "description": "<p>token</p>"
  1508. }
  1509. ]
  1510. }
  1511. },
  1512. "header": {
  1513. "fields": {
  1514. "Header": [
  1515. {
  1516. "group": "Header",
  1517. "type": "String",
  1518. "optional": true,
  1519. "field": "Authorization",
  1520. "description": "<p>token 两个token任选其一</p>"
  1521. }
  1522. ]
  1523. }
  1524. },
  1525. "group": "Chapter",
  1526. "name": "getCatalog",
  1527. "success": {
  1528. "fields": {
  1529. "Success 200": [
  1530. {
  1531. "group": "Success 200",
  1532. "type": "int",
  1533. "optional": false,
  1534. "field": "code",
  1535. "description": "<p>状态码</p>"
  1536. },
  1537. {
  1538. "group": "Success 200",
  1539. "type": "String",
  1540. "optional": false,
  1541. "field": "msg",
  1542. "description": "<p>信息</p>"
  1543. },
  1544. {
  1545. "group": "Success 200",
  1546. "type": "object",
  1547. "optional": false,
  1548. "field": "data",
  1549. "description": "<p>结果集</p>"
  1550. },
  1551. {
  1552. "group": "Success 200",
  1553. "type": "Array",
  1554. "optional": false,
  1555. "field": "data.list",
  1556. "description": "<p>分页结果集</p>"
  1557. },
  1558. {
  1559. "group": "Success 200",
  1560. "type": "Int",
  1561. "optional": false,
  1562. "field": "data.list.bid",
  1563. "description": "<p>bid</p>"
  1564. },
  1565. {
  1566. "group": "Success 200",
  1567. "type": "Int",
  1568. "optional": false,
  1569. "field": "data.list.chapter_id",
  1570. "description": "<p>章节id</p>"
  1571. },
  1572. {
  1573. "group": "Success 200",
  1574. "type": "String",
  1575. "optional": false,
  1576. "field": "data.list.chapter_name",
  1577. "description": "<p>章节名称</p>"
  1578. },
  1579. {
  1580. "group": "Success 200",
  1581. "type": "Int",
  1582. "optional": false,
  1583. "field": "data.list.chapter_sequence",
  1584. "description": "<p>序号</p>"
  1585. },
  1586. {
  1587. "group": "Success 200",
  1588. "type": "Int",
  1589. "optional": false,
  1590. "field": "data.list.chapter_is_vip",
  1591. "description": "<p>是否vip</p>"
  1592. },
  1593. {
  1594. "group": "Success 200",
  1595. "type": "Int",
  1596. "optional": false,
  1597. "field": "data.list.chapter_size",
  1598. "description": "<p>章节大小</p>"
  1599. },
  1600. {
  1601. "group": "Success 200",
  1602. "type": "Int",
  1603. "optional": false,
  1604. "field": "data.list.prev_cid",
  1605. "description": "<p>上一章节id</p>"
  1606. },
  1607. {
  1608. "group": "Success 200",
  1609. "type": "Int",
  1610. "optional": false,
  1611. "field": "data.list.next_cid",
  1612. "description": "<p>下一章节</p>"
  1613. },
  1614. {
  1615. "group": "Success 200",
  1616. "type": "String",
  1617. "optional": false,
  1618. "field": "data.list.recent_update_at",
  1619. "description": "<p>更新时间</p>"
  1620. },
  1621. {
  1622. "group": "Success 200",
  1623. "type": "String",
  1624. "optional": false,
  1625. "field": "data.list.is_need_subscirbe",
  1626. "description": "<p>是否强制关注</p>"
  1627. },
  1628. {
  1629. "group": "Success 200",
  1630. "type": "object",
  1631. "optional": false,
  1632. "field": "data.meta",
  1633. "description": "<p>分页信息</p>"
  1634. },
  1635. {
  1636. "group": "Success 200",
  1637. "type": "Int",
  1638. "optional": false,
  1639. "field": "data.meta.total",
  1640. "description": "<p>总条数</p>"
  1641. },
  1642. {
  1643. "group": "Success 200",
  1644. "type": "Int",
  1645. "optional": false,
  1646. "field": "data.meta.per_page",
  1647. "description": "<p>每页条数</p>"
  1648. },
  1649. {
  1650. "group": "Success 200",
  1651. "type": "Int",
  1652. "optional": false,
  1653. "field": "data.meta.current_page",
  1654. "description": "<p>当前页</p>"
  1655. },
  1656. {
  1657. "group": "Success 200",
  1658. "type": "Int",
  1659. "optional": false,
  1660. "field": "data.meta.last_page",
  1661. "description": "<p>最后页</p>"
  1662. },
  1663. {
  1664. "group": "Success 200",
  1665. "type": "String",
  1666. "optional": false,
  1667. "field": "data.meta.next_page_url",
  1668. "description": "<p>下一页</p>"
  1669. },
  1670. {
  1671. "group": "Success 200",
  1672. "type": "String",
  1673. "optional": false,
  1674. "field": "data.meta.prev_page_url",
  1675. "description": "<p>上一页</p>"
  1676. }
  1677. ]
  1678. },
  1679. "examples": [
  1680. {
  1681. "title": "Success-Response:",
  1682. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\n [\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n ]\n }",
  1683. "type": "json"
  1684. }
  1685. ]
  1686. },
  1687. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  1688. "groupTitle": "章节"
  1689. },
  1690. {
  1691. "version": "1.0.0",
  1692. "description": "<p>章节列表分页</p>",
  1693. "type": "get",
  1694. "url": "books/{bid}/catalog",
  1695. "title": "章节列表分页",
  1696. "parameter": {
  1697. "fields": {
  1698. "Parameter": [
  1699. {
  1700. "group": "Parameter",
  1701. "type": "String",
  1702. "optional": true,
  1703. "field": "token",
  1704. "description": "<p>token</p>"
  1705. },
  1706. {
  1707. "group": "Parameter",
  1708. "type": "Int",
  1709. "optional": false,
  1710. "field": "page_size",
  1711. "description": "<p>分页大小(默认15)</p>"
  1712. },
  1713. {
  1714. "group": "Parameter",
  1715. "type": "Int",
  1716. "optional": false,
  1717. "field": "page",
  1718. "description": "<p>页码(默认1)</p>"
  1719. }
  1720. ]
  1721. }
  1722. },
  1723. "header": {
  1724. "fields": {
  1725. "Header": [
  1726. {
  1727. "group": "Header",
  1728. "type": "String",
  1729. "optional": true,
  1730. "field": "Authorization",
  1731. "description": "<p>token 两个token任选其一</p>"
  1732. }
  1733. ]
  1734. }
  1735. },
  1736. "group": "Chapter",
  1737. "name": "getCatalogPerPage",
  1738. "success": {
  1739. "fields": {
  1740. "Success 200": [
  1741. {
  1742. "group": "Success 200",
  1743. "type": "int",
  1744. "optional": false,
  1745. "field": "code",
  1746. "description": "<p>状态码</p>"
  1747. },
  1748. {
  1749. "group": "Success 200",
  1750. "type": "String",
  1751. "optional": false,
  1752. "field": "msg",
  1753. "description": "<p>信息</p>"
  1754. },
  1755. {
  1756. "group": "Success 200",
  1757. "type": "object",
  1758. "optional": false,
  1759. "field": "data",
  1760. "description": "<p>结果集</p>"
  1761. },
  1762. {
  1763. "group": "Success 200",
  1764. "type": "Array",
  1765. "optional": false,
  1766. "field": "data.list",
  1767. "description": "<p>分页结果集</p>"
  1768. },
  1769. {
  1770. "group": "Success 200",
  1771. "type": "Int",
  1772. "optional": false,
  1773. "field": "data.list.bid",
  1774. "description": "<p>bid</p>"
  1775. },
  1776. {
  1777. "group": "Success 200",
  1778. "type": "Int",
  1779. "optional": false,
  1780. "field": "data.list.chapter_id",
  1781. "description": "<p>章节id</p>"
  1782. },
  1783. {
  1784. "group": "Success 200",
  1785. "type": "String",
  1786. "optional": false,
  1787. "field": "data.list.chapter_name",
  1788. "description": "<p>章节名称</p>"
  1789. },
  1790. {
  1791. "group": "Success 200",
  1792. "type": "Int",
  1793. "optional": false,
  1794. "field": "data.list.chapter_sequence",
  1795. "description": "<p>序号</p>"
  1796. },
  1797. {
  1798. "group": "Success 200",
  1799. "type": "Int",
  1800. "optional": false,
  1801. "field": "data.list.chapter_is_vip",
  1802. "description": "<p>是否vip</p>"
  1803. },
  1804. {
  1805. "group": "Success 200",
  1806. "type": "Int",
  1807. "optional": false,
  1808. "field": "data.list.chapter_size",
  1809. "description": "<p>章节大小</p>"
  1810. },
  1811. {
  1812. "group": "Success 200",
  1813. "type": "Int",
  1814. "optional": false,
  1815. "field": "data.list.prev_cid",
  1816. "description": "<p>上一章节id</p>"
  1817. },
  1818. {
  1819. "group": "Success 200",
  1820. "type": "Int",
  1821. "optional": false,
  1822. "field": "data.list.next_cid",
  1823. "description": "<p>下一章节</p>"
  1824. },
  1825. {
  1826. "group": "Success 200",
  1827. "type": "String",
  1828. "optional": false,
  1829. "field": "data.list.recent_update_at",
  1830. "description": "<p>更新时间</p>"
  1831. },
  1832. {
  1833. "group": "Success 200",
  1834. "type": "String",
  1835. "optional": false,
  1836. "field": "data.list.is_need_subscirbe",
  1837. "description": "<p>是否强制关注</p>"
  1838. },
  1839. {
  1840. "group": "Success 200",
  1841. "type": "object",
  1842. "optional": false,
  1843. "field": "data.meta",
  1844. "description": "<p>分页信息</p>"
  1845. },
  1846. {
  1847. "group": "Success 200",
  1848. "type": "Int",
  1849. "optional": false,
  1850. "field": "data.meta.total",
  1851. "description": "<p>总条数</p>"
  1852. },
  1853. {
  1854. "group": "Success 200",
  1855. "type": "Int",
  1856. "optional": false,
  1857. "field": "data.meta.per_page",
  1858. "description": "<p>每页条数</p>"
  1859. },
  1860. {
  1861. "group": "Success 200",
  1862. "type": "Int",
  1863. "optional": false,
  1864. "field": "data.meta.current_page",
  1865. "description": "<p>当前页</p>"
  1866. },
  1867. {
  1868. "group": "Success 200",
  1869. "type": "Int",
  1870. "optional": false,
  1871. "field": "data.meta.last_page",
  1872. "description": "<p>最后页</p>"
  1873. },
  1874. {
  1875. "group": "Success 200",
  1876. "type": "String",
  1877. "optional": false,
  1878. "field": "data.meta.next_page_url",
  1879. "description": "<p>下一页</p>"
  1880. },
  1881. {
  1882. "group": "Success 200",
  1883. "type": "String",
  1884. "optional": false,
  1885. "field": "data.meta.prev_page_url",
  1886. "description": "<p>上一页</p>"
  1887. }
  1888. ]
  1889. },
  1890. "examples": [
  1891. {
  1892. "title": "Success-Response:",
  1893. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\n list:[\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n ]\n meta:{\n total: 1253,\n per_page: 15,\n current_page: 1,\n last_page: 84,\n next_page_url: \"http://myapi.cn/api/books/1/chapter?page=2\",\n prev_page_url: \"\"\n }\n }",
  1894. "type": "json"
  1895. }
  1896. ]
  1897. },
  1898. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  1899. "groupTitle": "章节"
  1900. },
  1901. {
  1902. "version": "1.0.0",
  1903. "description": "<p>章节内容</p>",
  1904. "type": "get",
  1905. "url": "books/{bid}/chapters/{chapter_id}",
  1906. "title": "章节内容",
  1907. "parameter": {
  1908. "fields": {
  1909. "Parameter": [
  1910. {
  1911. "group": "Parameter",
  1912. "type": "String",
  1913. "optional": true,
  1914. "field": "token",
  1915. "description": "<p>token</p>"
  1916. }
  1917. ]
  1918. }
  1919. },
  1920. "header": {
  1921. "fields": {
  1922. "Header": [
  1923. {
  1924. "group": "Header",
  1925. "type": "String",
  1926. "optional": true,
  1927. "field": "Authorization",
  1928. "description": "<p>token 两个token任选其一</p>"
  1929. }
  1930. ]
  1931. }
  1932. },
  1933. "group": "Chapter",
  1934. "name": "index",
  1935. "success": {
  1936. "fields": {
  1937. "Success 200": [
  1938. {
  1939. "group": "Success 200",
  1940. "type": "int",
  1941. "optional": false,
  1942. "field": "code",
  1943. "description": "<p>状态码</p>"
  1944. },
  1945. {
  1946. "group": "Success 200",
  1947. "type": "String",
  1948. "optional": false,
  1949. "field": "msg",
  1950. "description": "<p>信息</p>"
  1951. },
  1952. {
  1953. "group": "Success 200",
  1954. "type": "object",
  1955. "optional": false,
  1956. "field": "data",
  1957. "description": "<p>结果集</p>"
  1958. },
  1959. {
  1960. "group": "Success 200",
  1961. "type": "Int",
  1962. "optional": false,
  1963. "field": "data.chapter_id",
  1964. "description": "<p>章节id</p>"
  1965. },
  1966. {
  1967. "group": "Success 200",
  1968. "type": "String",
  1969. "optional": false,
  1970. "field": "data.chapter_name",
  1971. "description": "<p>章节名称</p>"
  1972. },
  1973. {
  1974. "group": "Success 200",
  1975. "type": "Int",
  1976. "optional": false,
  1977. "field": "data.chapter_sequence",
  1978. "description": "<p>序号</p>"
  1979. },
  1980. {
  1981. "group": "Success 200",
  1982. "type": "Int",
  1983. "optional": false,
  1984. "field": "data.chapter_is_vip",
  1985. "description": "<p>是否vip</p>"
  1986. },
  1987. {
  1988. "group": "Success 200",
  1989. "type": "Int",
  1990. "optional": false,
  1991. "field": "data.chapter_size",
  1992. "description": "<p>章节大小</p>"
  1993. },
  1994. {
  1995. "group": "Success 200",
  1996. "type": "Int",
  1997. "optional": false,
  1998. "field": "data.prev_cid",
  1999. "description": "<p>上一章节id</p>"
  2000. },
  2001. {
  2002. "group": "Success 200",
  2003. "type": "Int",
  2004. "optional": false,
  2005. "field": "data.next_cid",
  2006. "description": "<p>下一章节</p>"
  2007. },
  2008. {
  2009. "group": "Success 200",
  2010. "type": "String",
  2011. "optional": false,
  2012. "field": "data.recent_update_at",
  2013. "description": "<p>更新时间</p>"
  2014. },
  2015. {
  2016. "group": "Success 200",
  2017. "type": "String",
  2018. "optional": false,
  2019. "field": "data.chapter_content",
  2020. "description": "<p>章节内容</p>"
  2021. },
  2022. {
  2023. "group": "Success 200",
  2024. "type": "Int",
  2025. "optional": false,
  2026. "field": "data.is_need_subscirbe",
  2027. "description": "<p>是否强制关注(删除)</p>"
  2028. }
  2029. ]
  2030. },
  2031. "examples": [
  2032. {
  2033. "title": "Success-Response:",
  2034. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n chapter_content: \"叶妩被司行霈的阴阳怪气一吓,思路偏得太远了。 她张口结舌,忘记了自己要说什么。\",\n }\n }",
  2035. "type": "json"
  2036. }
  2037. ]
  2038. },
  2039. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  2040. "groupTitle": "章节"
  2041. },
  2042. {
  2043. "version": "1.0.0",
  2044. "description": "<p>余额支付</p>",
  2045. "type": "get",
  2046. "url": "books/{bid}/balance/chapterOrders/{cid}",
  2047. "title": "余额支付",
  2048. "parameter": {
  2049. "fields": {
  2050. "Parameter": [
  2051. {
  2052. "group": "Parameter",
  2053. "type": "String",
  2054. "optional": true,
  2055. "field": "token",
  2056. "description": "<p>token</p>"
  2057. }
  2058. ],
  2059. "Int": [
  2060. {
  2061. "group": "Int",
  2062. "optional": false,
  2063. "field": "remind",
  2064. "description": "<p>提醒</p>"
  2065. }
  2066. ]
  2067. }
  2068. },
  2069. "header": {
  2070. "fields": {
  2071. "Header": [
  2072. {
  2073. "group": "Header",
  2074. "type": "String",
  2075. "optional": true,
  2076. "field": "Authorization",
  2077. "description": "<p>token 两个token任选其一</p>"
  2078. }
  2079. ]
  2080. }
  2081. },
  2082. "group": "Chapter",
  2083. "name": "pay",
  2084. "success": {
  2085. "fields": {
  2086. "Success 200": [
  2087. {
  2088. "group": "Success 200",
  2089. "type": "int",
  2090. "optional": false,
  2091. "field": "code",
  2092. "description": "<p>状态码</p>"
  2093. },
  2094. {
  2095. "group": "Success 200",
  2096. "type": "String",
  2097. "optional": false,
  2098. "field": "msg",
  2099. "description": "<p>信息</p>"
  2100. },
  2101. {
  2102. "group": "Success 200",
  2103. "type": "object",
  2104. "optional": false,
  2105. "field": "data",
  2106. "description": "<p>结果集</p>"
  2107. },
  2108. {
  2109. "group": "Success 200",
  2110. "type": "Int",
  2111. "optional": false,
  2112. "field": "data.chapter_id",
  2113. "description": "<p>章节id</p>"
  2114. },
  2115. {
  2116. "group": "Success 200",
  2117. "type": "String",
  2118. "optional": false,
  2119. "field": "data.chapter_name",
  2120. "description": "<p>章节名称</p>"
  2121. },
  2122. {
  2123. "group": "Success 200",
  2124. "type": "Int",
  2125. "optional": false,
  2126. "field": "data.chapter_sequence",
  2127. "description": "<p>序号</p>"
  2128. },
  2129. {
  2130. "group": "Success 200",
  2131. "type": "Int",
  2132. "optional": false,
  2133. "field": "data.chapter_is_vip",
  2134. "description": "<p>是否vip</p>"
  2135. },
  2136. {
  2137. "group": "Success 200",
  2138. "type": "Int",
  2139. "optional": false,
  2140. "field": "data.chapter_size",
  2141. "description": "<p>章节大小</p>"
  2142. },
  2143. {
  2144. "group": "Success 200",
  2145. "type": "Int",
  2146. "optional": false,
  2147. "field": "data.prev_cid",
  2148. "description": "<p>上一章节id</p>"
  2149. },
  2150. {
  2151. "group": "Success 200",
  2152. "type": "Int",
  2153. "optional": false,
  2154. "field": "data.next_cid",
  2155. "description": "<p>下一章节</p>"
  2156. },
  2157. {
  2158. "group": "Success 200",
  2159. "type": "String",
  2160. "optional": false,
  2161. "field": "data.recent_update_at",
  2162. "description": "<p>更新时间</p>"
  2163. },
  2164. {
  2165. "group": "Success 200",
  2166. "type": "String",
  2167. "optional": false,
  2168. "field": "data.chapter_content",
  2169. "description": "<p>章节内容</p>"
  2170. },
  2171. {
  2172. "group": "Success 200",
  2173. "type": "Int",
  2174. "optional": false,
  2175. "field": "data.is_need_subscirbe",
  2176. "description": "<p>是否强制关注(删除)</p>"
  2177. }
  2178. ]
  2179. },
  2180. "examples": [
  2181. {
  2182. "title": "Success-Response:",
  2183. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n chapter_content: \"叶妩被司行霈的阴阳怪气一吓,思路偏得太远了。 她张口结舌,忘记了自己要说什么。\",\n }\n }",
  2184. "type": "json"
  2185. }
  2186. ]
  2187. },
  2188. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  2189. "groupTitle": "章节"
  2190. },
  2191. {
  2192. "version": "1.0.0",
  2193. "description": "<p>刷新token</p>",
  2194. "type": "get",
  2195. "url": "refreshToken",
  2196. "title": "刷新token",
  2197. "parameter": {
  2198. "fields": {
  2199. "Parameter": [
  2200. {
  2201. "group": "Parameter",
  2202. "type": "String",
  2203. "optional": true,
  2204. "field": "token",
  2205. "description": "<p>token</p>"
  2206. }
  2207. ]
  2208. }
  2209. },
  2210. "header": {
  2211. "fields": {
  2212. "Header": [
  2213. {
  2214. "group": "Header",
  2215. "type": "String",
  2216. "optional": true,
  2217. "field": "Authorization",
  2218. "description": "<p>token 两个token任选其一</p>"
  2219. }
  2220. ]
  2221. }
  2222. },
  2223. "group": "Login",
  2224. "name": "RefreshToken",
  2225. "success": {
  2226. "fields": {
  2227. "Success 200": [
  2228. {
  2229. "group": "Success 200",
  2230. "type": "int",
  2231. "optional": false,
  2232. "field": "code",
  2233. "description": "<p>状态码</p>"
  2234. },
  2235. {
  2236. "group": "Success 200",
  2237. "type": "String",
  2238. "optional": false,
  2239. "field": "msg",
  2240. "description": "<p>信息</p>"
  2241. },
  2242. {
  2243. "group": "Success 200",
  2244. "type": "object",
  2245. "optional": false,
  2246. "field": "data",
  2247. "description": "<p>结果集</p>"
  2248. },
  2249. {
  2250. "group": "Success 200",
  2251. "type": "String",
  2252. "optional": false,
  2253. "field": "data.token",
  2254. "description": "<p>token</p>"
  2255. },
  2256. {
  2257. "group": "Success 200",
  2258. "type": "Int",
  2259. "optional": false,
  2260. "field": "data.time",
  2261. "description": "<p>过期时间</p>"
  2262. }
  2263. ]
  2264. },
  2265. "examples": [
  2266. {
  2267. "title": "Success-Response:",
  2268. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n token:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,\n time:123455\n }\n }",
  2269. "type": "json"
  2270. }
  2271. ]
  2272. },
  2273. "filename": "app/Http/Controllers/QuickApp/Oauth/UsersController.php",
  2274. "groupTitle": "登录"
  2275. },
  2276. {
  2277. "version": "1.0.0",
  2278. "description": "<p>登录</p>",
  2279. "type": "post",
  2280. "url": "login",
  2281. "title": "登录",
  2282. "parameter": {
  2283. "fields": {
  2284. "Parameter": [
  2285. {
  2286. "group": "Parameter",
  2287. "type": "String",
  2288. "optional": false,
  2289. "field": "device_no",
  2290. "description": "<p>设备号</p>"
  2291. },
  2292. {
  2293. "group": "Parameter",
  2294. "type": "String",
  2295. "optional": false,
  2296. "field": "device_info",
  2297. "description": "<p>设备信息json字符串格式</p>"
  2298. },
  2299. {
  2300. "group": "Parameter",
  2301. "type": "Int",
  2302. "optional": false,
  2303. "field": "send_order_id",
  2304. "description": "<p>send_order_id</p>"
  2305. },
  2306. {
  2307. "group": "Parameter",
  2308. "type": "Int",
  2309. "optional": false,
  2310. "field": "timestamp",
  2311. "description": "<p>时间戳10分钟过期</p>"
  2312. },
  2313. {
  2314. "group": "Parameter",
  2315. "type": "String",
  2316. "optional": false,
  2317. "field": "sign",
  2318. "description": "<p>签名(见微信支付签名https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=4_3)</p>"
  2319. }
  2320. ]
  2321. }
  2322. },
  2323. "group": "Login",
  2324. "name": "index",
  2325. "success": {
  2326. "fields": {
  2327. "Success 200": [
  2328. {
  2329. "group": "Success 200",
  2330. "type": "int",
  2331. "optional": false,
  2332. "field": "code",
  2333. "description": "<p>状态码</p>"
  2334. },
  2335. {
  2336. "group": "Success 200",
  2337. "type": "String",
  2338. "optional": false,
  2339. "field": "msg",
  2340. "description": "<p>信息</p>"
  2341. },
  2342. {
  2343. "group": "Success 200",
  2344. "type": "object",
  2345. "optional": false,
  2346. "field": "data",
  2347. "description": "<p>结果集</p>"
  2348. },
  2349. {
  2350. "group": "Success 200",
  2351. "type": "String",
  2352. "optional": false,
  2353. "field": "data.uid",
  2354. "description": "<p>用户uid</p>"
  2355. },
  2356. {
  2357. "group": "Success 200",
  2358. "type": "String",
  2359. "optional": false,
  2360. "field": "data.token",
  2361. "description": "<p>token</p>"
  2362. },
  2363. {
  2364. "group": "Success 200",
  2365. "type": "Int",
  2366. "optional": false,
  2367. "field": "data.time",
  2368. "description": "<p>过期时间</p>"
  2369. }
  2370. ]
  2371. },
  2372. "examples": [
  2373. {
  2374. "title": "Success-Response:",
  2375. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n token:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,\n time:123455,\n uid:1\n }\n }",
  2376. "type": "json"
  2377. }
  2378. ]
  2379. },
  2380. "filename": "app/Http/Controllers/QuickApp/Oauth/UsersController.php",
  2381. "groupTitle": "登录"
  2382. },
  2383. {
  2384. "version": "1.0.0",
  2385. "description": "<p>单本消费记录</p>",
  2386. "type": "get",
  2387. "url": "order/bookOrderList",
  2388. "title": "单本消费记录",
  2389. "header": {
  2390. "fields": {
  2391. "Header": [
  2392. {
  2393. "group": "Header",
  2394. "type": "String",
  2395. "optional": true,
  2396. "field": "Authorization",
  2397. "description": "<p>token</p>"
  2398. }
  2399. ]
  2400. }
  2401. },
  2402. "group": "Order",
  2403. "name": "bookOrderList",
  2404. "parameter": {
  2405. "fields": {
  2406. "Parameter": [
  2407. {
  2408. "group": "Parameter",
  2409. "type": "String",
  2410. "optional": true,
  2411. "field": "page_size",
  2412. "description": "<p>分页大小</p>"
  2413. },
  2414. {
  2415. "group": "Parameter",
  2416. "type": "String",
  2417. "optional": true,
  2418. "field": "page",
  2419. "description": "<p>页码</p>"
  2420. }
  2421. ]
  2422. }
  2423. },
  2424. "success": {
  2425. "fields": {
  2426. "Success 200": [
  2427. {
  2428. "group": "Success 200",
  2429. "type": "int",
  2430. "optional": false,
  2431. "field": "code",
  2432. "description": "<p>状态码</p>"
  2433. },
  2434. {
  2435. "group": "Success 200",
  2436. "type": "String",
  2437. "optional": false,
  2438. "field": "msg",
  2439. "description": "<p>信息</p>"
  2440. },
  2441. {
  2442. "group": "Success 200",
  2443. "type": "object",
  2444. "optional": false,
  2445. "field": "data",
  2446. "description": "<p>结果集</p>"
  2447. },
  2448. {
  2449. "group": "Success 200",
  2450. "type": "Int",
  2451. "optional": false,
  2452. "field": "uid",
  2453. "description": "<p>uid</p>"
  2454. },
  2455. {
  2456. "group": "Success 200",
  2457. "type": "Int",
  2458. "optional": false,
  2459. "field": "bid",
  2460. "description": "<p>bid</p>"
  2461. },
  2462. {
  2463. "group": "Success 200",
  2464. "type": "Int",
  2465. "optional": false,
  2466. "field": "book_name",
  2467. "description": "<p>书名</p>"
  2468. },
  2469. {
  2470. "group": "Success 200",
  2471. "type": "Int",
  2472. "optional": false,
  2473. "field": "fee",
  2474. "description": "<p>钱</p>"
  2475. },
  2476. {
  2477. "group": "Success 200",
  2478. "type": "String",
  2479. "optional": false,
  2480. "field": "created_at",
  2481. "description": "<p>时间</p>"
  2482. }
  2483. ]
  2484. },
  2485. "examples": [
  2486. {
  2487. "title": "Success-Response:",
  2488. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: list:[\n {\n uid: 4,\n bid: 1,\n book_name: \"dfsedfertrwet\",\n fee: 100,\n created_at: \"2017-12-02 16:24:54\"\n }\n ]\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }\n }",
  2489. "type": "json"
  2490. }
  2491. ]
  2492. },
  2493. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2494. "groupTitle": "订单"
  2495. },
  2496. {
  2497. "version": "1.0.0",
  2498. "description": "<p>章节消费记录</p>",
  2499. "type": "get",
  2500. "url": "order/chapterOrderList",
  2501. "title": "章节消费记录",
  2502. "header": {
  2503. "fields": {
  2504. "Header": [
  2505. {
  2506. "group": "Header",
  2507. "type": "String",
  2508. "optional": true,
  2509. "field": "Authorization",
  2510. "description": "<p>token</p>"
  2511. }
  2512. ]
  2513. }
  2514. },
  2515. "group": "Order",
  2516. "name": "chapterOrderList",
  2517. "parameter": {
  2518. "fields": {
  2519. "Parameter": [
  2520. {
  2521. "group": "Parameter",
  2522. "type": "String",
  2523. "optional": true,
  2524. "field": "page_size",
  2525. "description": "<p>分页大小</p>"
  2526. },
  2527. {
  2528. "group": "Parameter",
  2529. "type": "String",
  2530. "optional": true,
  2531. "field": "page",
  2532. "description": "<p>页码</p>"
  2533. }
  2534. ]
  2535. }
  2536. },
  2537. "success": {
  2538. "fields": {
  2539. "Success 200": [
  2540. {
  2541. "group": "Success 200",
  2542. "type": "int",
  2543. "optional": false,
  2544. "field": "code",
  2545. "description": "<p>状态码</p>"
  2546. },
  2547. {
  2548. "group": "Success 200",
  2549. "type": "String",
  2550. "optional": false,
  2551. "field": "msg",
  2552. "description": "<p>信息</p>"
  2553. },
  2554. {
  2555. "group": "Success 200",
  2556. "type": "object",
  2557. "optional": false,
  2558. "field": "data",
  2559. "description": "<p>结果集</p>"
  2560. },
  2561. {
  2562. "group": "Success 200",
  2563. "type": "Int",
  2564. "optional": false,
  2565. "field": "uid",
  2566. "description": "<p>uid</p>"
  2567. },
  2568. {
  2569. "group": "Success 200",
  2570. "type": "Int",
  2571. "optional": false,
  2572. "field": "bid",
  2573. "description": "<p>bid</p>"
  2574. },
  2575. {
  2576. "group": "Success 200",
  2577. "type": "Int",
  2578. "optional": false,
  2579. "field": "cid",
  2580. "description": "<p>cid</p>"
  2581. },
  2582. {
  2583. "group": "Success 200",
  2584. "type": "Int",
  2585. "optional": false,
  2586. "field": "chapter_name",
  2587. "description": "<p>章节名</p>"
  2588. },
  2589. {
  2590. "group": "Success 200",
  2591. "type": "Int",
  2592. "optional": false,
  2593. "field": "book_name",
  2594. "description": "<p>书名</p>"
  2595. },
  2596. {
  2597. "group": "Success 200",
  2598. "type": "Int",
  2599. "optional": false,
  2600. "field": "fee",
  2601. "description": "<p>钱</p>"
  2602. },
  2603. {
  2604. "group": "Success 200",
  2605. "type": "String",
  2606. "optional": false,
  2607. "field": "created_at",
  2608. "description": "<p>时间</p>"
  2609. }
  2610. ]
  2611. },
  2612. "examples": [
  2613. {
  2614. "title": "Success-Response:",
  2615. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: list:[\n {\n uid: 4,\n bid: 1,\n cid: 1,\n chapter_name: \"sdfsd\",\n book_name: \"dfsedfertrwet\",\n fee: 100,\n created_at: \"2017-12-02 16:24:54\"\n }\n ]\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }",
  2616. "type": "json"
  2617. }
  2618. ]
  2619. },
  2620. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2621. "groupTitle": "订单"
  2622. },
  2623. {
  2624. "version": "1.0.0",
  2625. "description": "<p>充值列表</p>",
  2626. "type": "get",
  2627. "url": "order/chargeList",
  2628. "title": "充值列表",
  2629. "header": {
  2630. "fields": {
  2631. "Header": [
  2632. {
  2633. "group": "Header",
  2634. "type": "String",
  2635. "optional": true,
  2636. "field": "Authorization",
  2637. "description": "<p>token</p>"
  2638. }
  2639. ]
  2640. }
  2641. },
  2642. "group": "Order",
  2643. "name": "chargeList",
  2644. "success": {
  2645. "fields": {
  2646. "Success 200": [
  2647. {
  2648. "group": "Success 200",
  2649. "type": "int",
  2650. "optional": false,
  2651. "field": "code",
  2652. "description": "<p>状态码</p>"
  2653. },
  2654. {
  2655. "group": "Success 200",
  2656. "type": "String",
  2657. "optional": false,
  2658. "field": "msg",
  2659. "description": "<p>信息</p>"
  2660. },
  2661. {
  2662. "group": "Success 200",
  2663. "type": "object",
  2664. "optional": false,
  2665. "field": "data",
  2666. "description": "<p>结果集</p>"
  2667. }
  2668. ]
  2669. },
  2670. "examples": [
  2671. {
  2672. "title": "Success-Response:",
  2673. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n product_id: 1,\n price: \"30.00元\",\n vip: 0,\n intro: [\n {\n label: 3000,\n important: false\n },\n {\n label: \"书币\",\n important: true\n }\n ]\n },\n {\n product_id: 2,\n price: \"50.00元\",\n vip: 1,\n intro: [\n {\n label: 5000,\n important: false\n },\n {\n label: \"1000+\",\n important: true\n },\n {\n label: \"书币\",\n important: false\n }\n ]\n },\n {\n product_id: 5,\n price: \"365.00元\",\n vip: 0,\n intro: [\n {\n label: \"年费VIP会员\",\n important: true\n }\n ]\n }\n ]\n }",
  2674. "type": "json"
  2675. }
  2676. ]
  2677. },
  2678. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2679. "groupTitle": "订单"
  2680. },
  2681. {
  2682. "version": "1.0.0",
  2683. "description": "<p>充值记录</p>",
  2684. "type": "get",
  2685. "url": "order/chargeRecordLists",
  2686. "title": "充值记录",
  2687. "parameter": {
  2688. "fields": {
  2689. "Parameter": [
  2690. {
  2691. "group": "Parameter",
  2692. "type": "String",
  2693. "optional": true,
  2694. "field": "token",
  2695. "description": "<p>token</p>"
  2696. },
  2697. {
  2698. "group": "Parameter",
  2699. "type": "String",
  2700. "optional": true,
  2701. "field": "page_size",
  2702. "description": "<p>分页大小</p>"
  2703. },
  2704. {
  2705. "group": "Parameter",
  2706. "type": "String",
  2707. "optional": true,
  2708. "field": "page",
  2709. "description": "<p>页码</p>"
  2710. }
  2711. ]
  2712. }
  2713. },
  2714. "header": {
  2715. "fields": {
  2716. "Header": [
  2717. {
  2718. "group": "Header",
  2719. "type": "String",
  2720. "optional": true,
  2721. "field": "Authorization",
  2722. "description": "<p>token 两个token任选其一</p>"
  2723. }
  2724. ]
  2725. }
  2726. },
  2727. "group": "Order",
  2728. "name": "chargeRecordLists",
  2729. "success": {
  2730. "fields": {
  2731. "Success 200": [
  2732. {
  2733. "group": "Success 200",
  2734. "type": "int",
  2735. "optional": false,
  2736. "field": "code",
  2737. "description": "<p>状态码</p>"
  2738. },
  2739. {
  2740. "group": "Success 200",
  2741. "type": "String",
  2742. "optional": false,
  2743. "field": "msg",
  2744. "description": "<p>信息</p>"
  2745. },
  2746. {
  2747. "group": "Success 200",
  2748. "type": "object",
  2749. "optional": false,
  2750. "field": "data",
  2751. "description": "<p>结果集</p>"
  2752. },
  2753. {
  2754. "group": "Success 200",
  2755. "type": "String",
  2756. "optional": false,
  2757. "field": "data.price",
  2758. "description": "<p>价格</p>"
  2759. },
  2760. {
  2761. "group": "Success 200",
  2762. "type": "String",
  2763. "optional": false,
  2764. "field": "data.status",
  2765. "description": "<p>状态</p>"
  2766. },
  2767. {
  2768. "group": "Success 200",
  2769. "type": "String",
  2770. "optional": false,
  2771. "field": "data.trade_no",
  2772. "description": "<p>订单号</p>"
  2773. },
  2774. {
  2775. "group": "Success 200",
  2776. "type": "String",
  2777. "optional": false,
  2778. "field": "data.created_at",
  2779. "description": "<p>时间</p>"
  2780. }
  2781. ]
  2782. },
  2783. "examples": [
  2784. {
  2785. "title": "Success-Response:",
  2786. "content": " HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n list: [\n {\n id: 134,\n price: \"1.00\",\n status: \"PAID\",\n trade_no: \"201712021915481585670623626232\",\n created_at: \"2017-12-02 19:15:56\"\n }\n ],\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }\n}",
  2787. "type": "json"
  2788. }
  2789. ]
  2790. },
  2791. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2792. "groupTitle": "订单"
  2793. },
  2794. {
  2795. "version": "1.0.0",
  2796. "description": "<p>添加阅读记录</p>",
  2797. "type": "post",
  2798. "url": "readrecord",
  2799. "title": "添加阅读记录",
  2800. "group": "ReadRecord",
  2801. "name": "addReadRecord",
  2802. "header": {
  2803. "fields": {
  2804. "Header": [
  2805. {
  2806. "group": "Header",
  2807. "type": "String",
  2808. "optional": true,
  2809. "field": "Authorization",
  2810. "description": "<p>token</p>"
  2811. }
  2812. ]
  2813. }
  2814. },
  2815. "parameter": {
  2816. "fields": {
  2817. "Parameter": [
  2818. {
  2819. "group": "Parameter",
  2820. "type": "Int",
  2821. "optional": false,
  2822. "field": "book_name",
  2823. "description": "<p>书名</p>"
  2824. },
  2825. {
  2826. "group": "Parameter",
  2827. "type": "String",
  2828. "optional": false,
  2829. "field": "chapter_name",
  2830. "description": "<p>章节名</p>"
  2831. },
  2832. {
  2833. "group": "Parameter",
  2834. "type": "Int",
  2835. "optional": false,
  2836. "field": "bid",
  2837. "description": "<p>bid</p>"
  2838. },
  2839. {
  2840. "group": "Parameter",
  2841. "type": "Int",
  2842. "optional": false,
  2843. "field": "cid",
  2844. "description": "<p>章节id</p>"
  2845. }
  2846. ]
  2847. }
  2848. },
  2849. "success": {
  2850. "fields": {
  2851. "Success 200": [
  2852. {
  2853. "group": "Success 200",
  2854. "type": "int",
  2855. "optional": false,
  2856. "field": "code",
  2857. "description": "<p>状态码</p>"
  2858. },
  2859. {
  2860. "group": "Success 200",
  2861. "type": "String",
  2862. "optional": false,
  2863. "field": "msg",
  2864. "description": "<p>信息</p>"
  2865. },
  2866. {
  2867. "group": "Success 200",
  2868. "type": "object",
  2869. "optional": false,
  2870. "field": "data",
  2871. "description": "<p>结果集</p>"
  2872. }
  2873. ]
  2874. },
  2875. "examples": [
  2876. {
  2877. "title": "Success-Response:",
  2878. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2879. "type": "json"
  2880. }
  2881. ]
  2882. },
  2883. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2884. "groupTitle": "阅读记录"
  2885. },
  2886. {
  2887. "version": "1.0.0",
  2888. "description": "<p>删除阅读记录</p>",
  2889. "type": "get",
  2890. "url": "readrecord/delete",
  2891. "title": "删除阅读记录",
  2892. "group": "ReadRecord",
  2893. "header": {
  2894. "fields": {
  2895. "Header": [
  2896. {
  2897. "group": "Header",
  2898. "type": "String",
  2899. "optional": true,
  2900. "field": "Authorization",
  2901. "description": "<p>token</p>"
  2902. }
  2903. ]
  2904. }
  2905. },
  2906. "name": "delReadRecord",
  2907. "parameter": {
  2908. "fields": {
  2909. "Parameter": [
  2910. {
  2911. "group": "Parameter",
  2912. "type": "String",
  2913. "optional": false,
  2914. "field": "bid",
  2915. "description": "<p>多个bid以,分隔</p>"
  2916. }
  2917. ]
  2918. }
  2919. },
  2920. "success": {
  2921. "fields": {
  2922. "Success 200": [
  2923. {
  2924. "group": "Success 200",
  2925. "type": "int",
  2926. "optional": false,
  2927. "field": "code",
  2928. "description": "<p>状态码</p>"
  2929. },
  2930. {
  2931. "group": "Success 200",
  2932. "type": "String",
  2933. "optional": false,
  2934. "field": "msg",
  2935. "description": "<p>信息</p>"
  2936. },
  2937. {
  2938. "group": "Success 200",
  2939. "type": "object",
  2940. "optional": false,
  2941. "field": "data",
  2942. "description": "<p>结果集</p>"
  2943. }
  2944. ]
  2945. },
  2946. "examples": [
  2947. {
  2948. "title": "Success-Response:",
  2949. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2950. "type": "json"
  2951. }
  2952. ]
  2953. },
  2954. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2955. "groupTitle": "阅读记录"
  2956. },
  2957. {
  2958. "version": "1.0.0",
  2959. "description": "<p>获取阅读记录</p>",
  2960. "type": "get",
  2961. "url": "readrecord",
  2962. "title": "获取阅读记录",
  2963. "header": {
  2964. "fields": {
  2965. "Header": [
  2966. {
  2967. "group": "Header",
  2968. "type": "String",
  2969. "optional": true,
  2970. "field": "Authorization",
  2971. "description": "<p>token</p>"
  2972. }
  2973. ]
  2974. }
  2975. },
  2976. "group": "ReadRecord",
  2977. "name": "index",
  2978. "success": {
  2979. "fields": {
  2980. "Success 200": [
  2981. {
  2982. "group": "Success 200",
  2983. "type": "int",
  2984. "optional": false,
  2985. "field": "code",
  2986. "description": "<p>状态码</p>"
  2987. },
  2988. {
  2989. "group": "Success 200",
  2990. "type": "String",
  2991. "optional": false,
  2992. "field": "msg",
  2993. "description": "<p>信息</p>"
  2994. },
  2995. {
  2996. "group": "Success 200",
  2997. "type": "object",
  2998. "optional": false,
  2999. "field": "data",
  3000. "description": "<p>结果集</p>"
  3001. },
  3002. {
  3003. "group": "Success 200",
  3004. "type": "Int",
  3005. "optional": false,
  3006. "field": "data.book_name",
  3007. "description": "<p>书名</p>"
  3008. },
  3009. {
  3010. "group": "Success 200",
  3011. "type": "String",
  3012. "optional": false,
  3013. "field": "data.chapter_name",
  3014. "description": "<p>章节名</p>"
  3015. },
  3016. {
  3017. "group": "Success 200",
  3018. "type": "Int",
  3019. "optional": false,
  3020. "field": "data.bid",
  3021. "description": "<p>bid</p>"
  3022. },
  3023. {
  3024. "group": "Success 200",
  3025. "type": "Int",
  3026. "optional": false,
  3027. "field": "data.time",
  3028. "description": "<p>时间</p>"
  3029. },
  3030. {
  3031. "group": "Success 200",
  3032. "type": "Int",
  3033. "optional": false,
  3034. "field": "data.cid",
  3035. "description": "<p>章节id</p>"
  3036. },
  3037. {
  3038. "group": "Success 200",
  3039. "type": "Int",
  3040. "optional": false,
  3041. "field": "data.cover",
  3042. "description": "<p>封面</p>"
  3043. },
  3044. {
  3045. "group": "Success 200",
  3046. "type": "Int",
  3047. "optional": false,
  3048. "field": "data.last_chapter",
  3049. "description": "<p>最后一张</p>"
  3050. }
  3051. ]
  3052. },
  3053. "examples": [
  3054. {
  3055. "title": "Success-Response:",
  3056. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:[\n {\n book_name: \"我来好好爱你\",\n bid: 2,\n cid: 10402,\n time: 1511783120,\n chapter_name: \"你言重了\"\n },\n {\n book_name: \"京华烟云\",\n bid: 1,\n cid: 4,\n time: 1511783068,\n chapter_name: \"背水一战\"\n }\n ]",
  3057. "type": "json"
  3058. }
  3059. ]
  3060. },
  3061. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  3062. "groupTitle": "阅读记录"
  3063. },
  3064. {
  3065. "version": "1.0.0",
  3066. "description": "<p>快捷方式</p>",
  3067. "type": "get",
  3068. "url": "shortcut/add",
  3069. "title": "添加快捷方式",
  3070. "parameter": {
  3071. "fields": {
  3072. "Parameter": [
  3073. {
  3074. "group": "Parameter",
  3075. "type": "String",
  3076. "optional": true,
  3077. "field": "token",
  3078. "description": "<p>token</p>"
  3079. }
  3080. ]
  3081. }
  3082. },
  3083. "header": {
  3084. "fields": {
  3085. "Header": [
  3086. {
  3087. "group": "Header",
  3088. "type": "String",
  3089. "optional": true,
  3090. "field": "Authorization",
  3091. "description": "<p>token 两个token任选其一</p>"
  3092. }
  3093. ]
  3094. }
  3095. },
  3096. "group": "Shortcut",
  3097. "name": "addShortCut",
  3098. "success": {
  3099. "fields": {
  3100. "Success 200": [
  3101. {
  3102. "group": "Success 200",
  3103. "type": "int",
  3104. "optional": false,
  3105. "field": "code",
  3106. "description": "<p>状态码</p>"
  3107. },
  3108. {
  3109. "group": "Success 200",
  3110. "type": "String",
  3111. "optional": false,
  3112. "field": "msg",
  3113. "description": "<p>信息</p>"
  3114. },
  3115. {
  3116. "group": "Success 200",
  3117. "type": "object",
  3118. "optional": false,
  3119. "field": "data",
  3120. "description": "<p>结果集</p>"
  3121. }
  3122. ]
  3123. },
  3124. "examples": [
  3125. {
  3126. "title": "Success-Response:",
  3127. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3128. "type": "json"
  3129. }
  3130. ]
  3131. },
  3132. "filename": "app/Http/Controllers/QuickApp/User/ShortcutController.php",
  3133. "groupTitle": "快捷方式"
  3134. },
  3135. {
  3136. "version": "1.0.0",
  3137. "description": "<p>删除快捷方式</p>",
  3138. "type": "get",
  3139. "url": "shortcut/delete",
  3140. "title": "删除快捷方式",
  3141. "parameter": {
  3142. "fields": {
  3143. "Parameter": [
  3144. {
  3145. "group": "Parameter",
  3146. "type": "String",
  3147. "optional": true,
  3148. "field": "token",
  3149. "description": "<p>token</p>"
  3150. }
  3151. ]
  3152. }
  3153. },
  3154. "header": {
  3155. "fields": {
  3156. "Header": [
  3157. {
  3158. "group": "Header",
  3159. "type": "String",
  3160. "optional": true,
  3161. "field": "Authorization",
  3162. "description": "<p>token 两个token任选其一</p>"
  3163. }
  3164. ]
  3165. }
  3166. },
  3167. "group": "Shortcut",
  3168. "name": "deleteShortCut",
  3169. "success": {
  3170. "fields": {
  3171. "Success 200": [
  3172. {
  3173. "group": "Success 200",
  3174. "type": "int",
  3175. "optional": false,
  3176. "field": "code",
  3177. "description": "<p>状态码</p>"
  3178. },
  3179. {
  3180. "group": "Success 200",
  3181. "type": "String",
  3182. "optional": false,
  3183. "field": "msg",
  3184. "description": "<p>信息</p>"
  3185. },
  3186. {
  3187. "group": "Success 200",
  3188. "type": "object",
  3189. "optional": false,
  3190. "field": "data",
  3191. "description": "<p>结果集</p>"
  3192. }
  3193. ]
  3194. },
  3195. "examples": [
  3196. {
  3197. "title": "Success-Response:",
  3198. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3199. "type": "json"
  3200. }
  3201. ]
  3202. },
  3203. "filename": "app/Http/Controllers/QuickApp/User/ShortcutController.php",
  3204. "groupTitle": "快捷方式"
  3205. },
  3206. {
  3207. "version": "1.0.0",
  3208. "description": "<p>添加书架</p>",
  3209. "type": "post",
  3210. "url": "userShelfBooks",
  3211. "title": "添加书架",
  3212. "parameter": {
  3213. "fields": {
  3214. "Parameter": [
  3215. {
  3216. "group": "Parameter",
  3217. "type": "String",
  3218. "optional": true,
  3219. "field": "token",
  3220. "description": "<p>token</p>"
  3221. },
  3222. {
  3223. "group": "Parameter",
  3224. "type": "int",
  3225. "optional": false,
  3226. "field": "bid",
  3227. "description": "<p>bid</p>"
  3228. }
  3229. ]
  3230. }
  3231. },
  3232. "header": {
  3233. "fields": {
  3234. "Header": [
  3235. {
  3236. "group": "Header",
  3237. "type": "String",
  3238. "optional": true,
  3239. "field": "Authorization",
  3240. "description": "<p>token 两个token任选其一</p>"
  3241. }
  3242. ]
  3243. }
  3244. },
  3245. "group": "UserShelfBooks",
  3246. "name": "addShelf",
  3247. "success": {
  3248. "fields": {
  3249. "Success 200": [
  3250. {
  3251. "group": "Success 200",
  3252. "type": "int",
  3253. "optional": false,
  3254. "field": "code",
  3255. "description": "<p>状态码</p>"
  3256. },
  3257. {
  3258. "group": "Success 200",
  3259. "type": "String",
  3260. "optional": false,
  3261. "field": "msg",
  3262. "description": "<p>信息</p>"
  3263. },
  3264. {
  3265. "group": "Success 200",
  3266. "type": "object",
  3267. "optional": false,
  3268. "field": "data",
  3269. "description": "<p>结果集</p>"
  3270. }
  3271. ]
  3272. },
  3273. "examples": [
  3274. {
  3275. "title": "Success-Response:",
  3276. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3277. "type": "json"
  3278. }
  3279. ]
  3280. },
  3281. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3282. "groupTitle": "书架"
  3283. },
  3284. {
  3285. "version": "1.0.0",
  3286. "description": "<p>删除书架</p>",
  3287. "type": "get",
  3288. "url": "userShelfBooks/delete",
  3289. "title": "删除书架",
  3290. "parameter": {
  3291. "fields": {
  3292. "Parameter": [
  3293. {
  3294. "group": "Parameter",
  3295. "type": "String",
  3296. "optional": true,
  3297. "field": "token",
  3298. "description": "<p>token</p>"
  3299. },
  3300. {
  3301. "group": "Parameter",
  3302. "type": "int",
  3303. "optional": false,
  3304. "field": "bid",
  3305. "description": "<p>bid</p>"
  3306. }
  3307. ]
  3308. }
  3309. },
  3310. "header": {
  3311. "fields": {
  3312. "Header": [
  3313. {
  3314. "group": "Header",
  3315. "type": "String",
  3316. "optional": true,
  3317. "field": "Authorization",
  3318. "description": "<p>token 两个token任选其一</p>"
  3319. }
  3320. ]
  3321. }
  3322. },
  3323. "group": "UserShelfBooks",
  3324. "name": "delShelf",
  3325. "success": {
  3326. "fields": {
  3327. "Success 200": [
  3328. {
  3329. "group": "Success 200",
  3330. "type": "int",
  3331. "optional": false,
  3332. "field": "code",
  3333. "description": "<p>状态码</p>"
  3334. },
  3335. {
  3336. "group": "Success 200",
  3337. "type": "String",
  3338. "optional": false,
  3339. "field": "msg",
  3340. "description": "<p>信息</p>"
  3341. },
  3342. {
  3343. "group": "Success 200",
  3344. "type": "object",
  3345. "optional": false,
  3346. "field": "data",
  3347. "description": "<p>结果集</p>"
  3348. }
  3349. ]
  3350. },
  3351. "examples": [
  3352. {
  3353. "title": "Success-Response:",
  3354. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3355. "type": "json"
  3356. }
  3357. ]
  3358. },
  3359. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3360. "groupTitle": "书架"
  3361. },
  3362. {
  3363. "version": "1.0.0",
  3364. "description": "<p>获取书架</p>",
  3365. "type": "get",
  3366. "url": "userShelfBooks",
  3367. "title": "获取书架",
  3368. "parameter": {
  3369. "fields": {
  3370. "Parameter": [
  3371. {
  3372. "group": "Parameter",
  3373. "type": "String",
  3374. "optional": true,
  3375. "field": "token",
  3376. "description": "<p>token</p>"
  3377. }
  3378. ]
  3379. }
  3380. },
  3381. "header": {
  3382. "fields": {
  3383. "Header": [
  3384. {
  3385. "group": "Header",
  3386. "type": "String",
  3387. "optional": true,
  3388. "field": "Authorization",
  3389. "description": "<p>token 两个token任选其一</p>"
  3390. }
  3391. ]
  3392. }
  3393. },
  3394. "group": "UserShelfBooks",
  3395. "name": "getChapter",
  3396. "success": {
  3397. "fields": {
  3398. "Success 200": [
  3399. {
  3400. "group": "Success 200",
  3401. "type": "int",
  3402. "optional": false,
  3403. "field": "code",
  3404. "description": "<p>状态码</p>"
  3405. },
  3406. {
  3407. "group": "Success 200",
  3408. "type": "String",
  3409. "optional": false,
  3410. "field": "msg",
  3411. "description": "<p>信息</p>"
  3412. },
  3413. {
  3414. "group": "Success 200",
  3415. "type": "object",
  3416. "optional": false,
  3417. "field": "data",
  3418. "description": "<p>结果集</p>"
  3419. },
  3420. {
  3421. "group": "Success 200",
  3422. "type": "Int",
  3423. "optional": false,
  3424. "field": "data.id",
  3425. "description": "<p>编号</p>"
  3426. },
  3427. {
  3428. "group": "Success 200",
  3429. "type": "String",
  3430. "optional": false,
  3431. "field": "data.distribution_channel_id",
  3432. "description": "<p>分销</p>"
  3433. },
  3434. {
  3435. "group": "Success 200",
  3436. "type": "Int",
  3437. "optional": false,
  3438. "field": "data.uid",
  3439. "description": "<p>uid</p>"
  3440. },
  3441. {
  3442. "group": "Success 200",
  3443. "type": "Int",
  3444. "optional": false,
  3445. "field": "data.bid",
  3446. "description": "<p>bid</p>"
  3447. },
  3448. {
  3449. "group": "Success 200",
  3450. "type": "Int",
  3451. "optional": false,
  3452. "field": "data.book_name",
  3453. "description": "<p>书名</p>"
  3454. },
  3455. {
  3456. "group": "Success 200",
  3457. "type": "Int",
  3458. "optional": false,
  3459. "field": "data.cover",
  3460. "description": "<p>封面</p>"
  3461. },
  3462. {
  3463. "group": "Success 200",
  3464. "type": "Int",
  3465. "optional": false,
  3466. "field": "data.last_cid",
  3467. "description": "<p>最后章节id</p>"
  3468. },
  3469. {
  3470. "group": "Success 200",
  3471. "type": "String",
  3472. "optional": false,
  3473. "field": "data.last_chapter",
  3474. "description": "<p>最新章节</p>"
  3475. },
  3476. {
  3477. "group": "Success 200",
  3478. "type": "String",
  3479. "optional": false,
  3480. "field": "data.recent_cid",
  3481. "description": "<p>最近阅读章节id</p>"
  3482. }
  3483. ]
  3484. },
  3485. "examples": [
  3486. {
  3487. "title": "Success-Response:",
  3488. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n id: 6,\n uid: 4,\n distribution_channel_id: 1,\n bid: 1,\n book_name: \"京华烟云\",\n cover: \"https://leyue-bucket.oss-cn-hangzhou.aliyuncs.com/ycsd_cover/covermiddle/0/1.jpg\",\n updated_at: 1511783068,\n last_cid: 4,\n recent_cid:5,\n last_chapter:\"最新 第122章 大事不妙\",\n recent_reading_chapter:\"最近阅读:第5章 又来?\"\n\n },\n {\n id: 7,\n uid: 4,\n distribution_channel_id: 1,\n bid: 1,\n book_name: \"我来好好爱你\",\n cover: \"https://leyue-bucket.oss-cn-hangzhou.aliyuncs.com/ycsd_cover/covermiddle/0/11.jpg\",\n updated_at: 1511783068,\n last_cid: 4,\n recent_cid:5,\n last_chapter:\"最新 第2556章 又来了个张老三\",\n recent_reading_chapter:\"最近阅读:第2551章 又来了个猪八戒\"\n }\n ]\n }",
  3489. "type": "json"
  3490. }
  3491. ]
  3492. },
  3493. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3494. "groupTitle": "书架"
  3495. },
  3496. {
  3497. "version": "1.0.0",
  3498. "description": "<p>是否在书架上</p>",
  3499. "type": "get",
  3500. "url": "userShelfBooks/isonshelf",
  3501. "title": "是否在书架上",
  3502. "parameter": {
  3503. "fields": {
  3504. "Parameter": [
  3505. {
  3506. "group": "Parameter",
  3507. "type": "String",
  3508. "optional": true,
  3509. "field": "token",
  3510. "description": "<p>token</p>"
  3511. },
  3512. {
  3513. "group": "Parameter",
  3514. "type": "int",
  3515. "optional": false,
  3516. "field": "bid",
  3517. "description": "<p>bid</p>"
  3518. }
  3519. ]
  3520. }
  3521. },
  3522. "header": {
  3523. "fields": {
  3524. "Header": [
  3525. {
  3526. "group": "Header",
  3527. "type": "String",
  3528. "optional": true,
  3529. "field": "Authorization",
  3530. "description": "<p>token 两个token任选其一</p>"
  3531. }
  3532. ]
  3533. }
  3534. },
  3535. "group": "UserShelfBooks",
  3536. "name": "isOnshelf",
  3537. "success": {
  3538. "fields": {
  3539. "Success 200": [
  3540. {
  3541. "group": "Success 200",
  3542. "type": "int",
  3543. "optional": false,
  3544. "field": "code",
  3545. "description": "<p>状态码</p>"
  3546. },
  3547. {
  3548. "group": "Success 200",
  3549. "type": "String",
  3550. "optional": false,
  3551. "field": "msg",
  3552. "description": "<p>信息</p>"
  3553. },
  3554. {
  3555. "group": "Success 200",
  3556. "type": "object",
  3557. "optional": false,
  3558. "field": "data",
  3559. "description": "<p>结果集</p>"
  3560. },
  3561. {
  3562. "group": "Success 200",
  3563. "type": "Int",
  3564. "optional": false,
  3565. "field": "data.is_on",
  3566. "description": "<p>是否在书架上(0|1)</p>"
  3567. }
  3568. ]
  3569. },
  3570. "examples": [
  3571. {
  3572. "title": "Success-Response:",
  3573. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n is_on:0\n }",
  3574. "type": "json"
  3575. }
  3576. ]
  3577. },
  3578. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3579. "groupTitle": "书架"
  3580. },
  3581. {
  3582. "version": "1.0.0",
  3583. "description": "<p>绑定手机号</p>",
  3584. "type": "POST",
  3585. "url": "user/bindPhone",
  3586. "title": "绑定手机号",
  3587. "header": {
  3588. "fields": {
  3589. "Header": [
  3590. {
  3591. "group": "Header",
  3592. "type": "String",
  3593. "optional": true,
  3594. "field": "Authorization",
  3595. "description": "<p>token</p>"
  3596. }
  3597. ]
  3598. }
  3599. },
  3600. "group": "User",
  3601. "name": "bindPhone",
  3602. "parameter": {
  3603. "fields": {
  3604. "Parameter": [
  3605. {
  3606. "group": "Parameter",
  3607. "type": "String",
  3608. "optional": false,
  3609. "field": "phone",
  3610. "description": "<p>手机号</p>"
  3611. },
  3612. {
  3613. "group": "Parameter",
  3614. "type": "String",
  3615. "optional": false,
  3616. "field": "code",
  3617. "description": "<p>验证码</p>"
  3618. }
  3619. ]
  3620. }
  3621. },
  3622. "success": {
  3623. "examples": [
  3624. {
  3625. "title": "Success-Response:",
  3626. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3627. "type": "json"
  3628. }
  3629. ]
  3630. },
  3631. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3632. "groupTitle": "用户"
  3633. },
  3634. {
  3635. "version": "1.0.0",
  3636. "description": "<p>获取客服二维码</p>",
  3637. "type": "GET",
  3638. "url": "customer_img",
  3639. "title": "获取客服二维码",
  3640. "header": {
  3641. "fields": {
  3642. "Header": [
  3643. {
  3644. "group": "Header",
  3645. "type": "String",
  3646. "optional": true,
  3647. "field": "Authorization",
  3648. "description": "<p>token</p>"
  3649. }
  3650. ]
  3651. }
  3652. },
  3653. "group": "User",
  3654. "name": "customer_img",
  3655. "success": {
  3656. "fields": {
  3657. "Success 200": [
  3658. {
  3659. "group": "Success 200",
  3660. "type": "String",
  3661. "optional": false,
  3662. "field": "data.name",
  3663. "description": "<p>名称.</p>"
  3664. },
  3665. {
  3666. "group": "Success 200",
  3667. "type": "String",
  3668. "optional": false,
  3669. "field": "data.url",
  3670. "description": "<p>图片地址.</p>"
  3671. }
  3672. ]
  3673. },
  3674. "examples": [
  3675. {
  3676. "title": "Success-Response:",
  3677. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}",
  3678. "type": "json"
  3679. }
  3680. ]
  3681. },
  3682. "filename": "app/Http/Controllers/QuickApp/WelcomeController.php",
  3683. "groupTitle": "用户"
  3684. },
  3685. {
  3686. "version": "1.0.0",
  3687. "description": "<p>获取用户信息</p>",
  3688. "type": "GET",
  3689. "url": "userinfo",
  3690. "title": "获取用户信息",
  3691. "header": {
  3692. "fields": {
  3693. "Header": [
  3694. {
  3695. "group": "Header",
  3696. "type": "String",
  3697. "optional": true,
  3698. "field": "Authorization",
  3699. "description": "<p>token</p>"
  3700. }
  3701. ]
  3702. }
  3703. },
  3704. "group": "User",
  3705. "name": "index",
  3706. "success": {
  3707. "fields": {
  3708. "Success 200": [
  3709. {
  3710. "group": "Success 200",
  3711. "type": "Number",
  3712. "optional": false,
  3713. "field": "id",
  3714. "description": "<p>用户ID.</p>"
  3715. },
  3716. {
  3717. "group": "Success 200",
  3718. "type": "String",
  3719. "optional": false,
  3720. "field": "openid",
  3721. "description": "<p>微信openid.</p>"
  3722. },
  3723. {
  3724. "group": "Success 200",
  3725. "type": "String",
  3726. "optional": false,
  3727. "field": "unionid",
  3728. "description": "<p>微信unionid.</p>"
  3729. },
  3730. {
  3731. "group": "Success 200",
  3732. "type": "Number",
  3733. "optional": false,
  3734. "field": "distribution_channel_id",
  3735. "description": "<p>分销渠道ID.</p>"
  3736. },
  3737. {
  3738. "group": "Success 200",
  3739. "type": "String",
  3740. "optional": false,
  3741. "field": "province",
  3742. "description": "<p>省份.</p>"
  3743. },
  3744. {
  3745. "group": "Success 200",
  3746. "type": "String",
  3747. "optional": false,
  3748. "field": "city",
  3749. "description": "<p>城市.</p>"
  3750. },
  3751. {
  3752. "group": "Success 200",
  3753. "type": "String",
  3754. "optional": false,
  3755. "field": "country",
  3756. "description": "<p>国家.</p>"
  3757. },
  3758. {
  3759. "group": "Success 200",
  3760. "type": "String",
  3761. "optional": false,
  3762. "field": "headimgurl",
  3763. "description": "<p>头像地址.</p>"
  3764. },
  3765. {
  3766. "group": "Success 200",
  3767. "type": "Number",
  3768. "optional": false,
  3769. "field": "send_order_id",
  3770. "description": "<p>派单ID.</p>"
  3771. },
  3772. {
  3773. "group": "Success 200",
  3774. "type": "Number",
  3775. "allowedValues": [
  3776. "0",
  3777. "1"
  3778. ],
  3779. "optional": false,
  3780. "field": "sex",
  3781. "description": "<p>性别.</p>"
  3782. },
  3783. {
  3784. "group": "Success 200",
  3785. "type": "String",
  3786. "optional": false,
  3787. "field": "balance",
  3788. "description": "<p>书币余额.</p>"
  3789. },
  3790. {
  3791. "group": "Success 200",
  3792. "type": "Int",
  3793. "optional": false,
  3794. "field": "is_vip",
  3795. "description": "<p>是否vip</p>"
  3796. },
  3797. {
  3798. "group": "Success 200",
  3799. "type": "String",
  3800. "optional": false,
  3801. "field": "vip_days",
  3802. "description": "<p>364天.</p>"
  3803. },
  3804. {
  3805. "group": "Success 200",
  3806. "type": "String",
  3807. "optional": false,
  3808. "field": "phone",
  3809. "description": "<p>手机号.</p>"
  3810. }
  3811. ]
  3812. },
  3813. "examples": [
  3814. {
  3815. "title": "Success-Response:",
  3816. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {\n \"id\": 56,\n \"openid\": \"sdfs34ssdfdsf\",\n \"unionid\": \"SDFSD3343S\",\n \"distribution_channel_id\": 1212,\n \"province\": \"浙江省\",\n \"city\": \"杭州\",\n \"country\": \"中国\",\n \"headimgurl\": \"http://..\",\n \"send_order_id\": 323,\n \"balance\": 8956,\n \"register_time\": \"2017-12-12 12:12:12\",\n \"phone\": \"12312435\",\n }\n}",
  3817. "type": "json"
  3818. }
  3819. ]
  3820. },
  3821. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3822. "groupTitle": "用户"
  3823. },
  3824. {
  3825. "version": "1.0.0",
  3826. "description": "<p>发送验证码</p>",
  3827. "type": "POST",
  3828. "url": "user/sendCode",
  3829. "title": "发送验证码",
  3830. "header": {
  3831. "fields": {
  3832. "Header": [
  3833. {
  3834. "group": "Header",
  3835. "type": "String",
  3836. "optional": true,
  3837. "field": "Authorization",
  3838. "description": "<p>token</p>"
  3839. }
  3840. ]
  3841. }
  3842. },
  3843. "group": "User",
  3844. "name": "sendCode",
  3845. "parameter": {
  3846. "fields": {
  3847. "Parameter": [
  3848. {
  3849. "group": "Parameter",
  3850. "type": "String",
  3851. "optional": false,
  3852. "field": "phone",
  3853. "description": "<p>手机号</p>"
  3854. }
  3855. ]
  3856. }
  3857. },
  3858. "success": {
  3859. "examples": [
  3860. {
  3861. "title": "Success-Response:",
  3862. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3863. "type": "json"
  3864. }
  3865. ]
  3866. },
  3867. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3868. "groupTitle": "用户"
  3869. },
  3870. {
  3871. "version": "1.0.0",
  3872. "description": "<p>更新派单ID</p>",
  3873. "type": "GET",
  3874. "url": "user/setSendOrder",
  3875. "title": "更新派单ID",
  3876. "header": {
  3877. "fields": {
  3878. "Header": [
  3879. {
  3880. "group": "Header",
  3881. "type": "String",
  3882. "optional": true,
  3883. "field": "Authorization",
  3884. "description": "<p>token</p>"
  3885. }
  3886. ]
  3887. }
  3888. },
  3889. "group": "User",
  3890. "name": "setSendOrder",
  3891. "success": {
  3892. "examples": [
  3893. {
  3894. "title": "Success-Response:",
  3895. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}",
  3896. "type": "json"
  3897. }
  3898. ]
  3899. },
  3900. "filename": "app/Http/Controllers/QuickApp/WelcomeController.php",
  3901. "groupTitle": "用户"
  3902. },
  3903. {
  3904. "version": "1.0.0",
  3905. "description": "<p>用户签到</p>",
  3906. "type": "GET",
  3907. "url": "sign",
  3908. "title": "用户签到",
  3909. "header": {
  3910. "fields": {
  3911. "Header": [
  3912. {
  3913. "group": "Header",
  3914. "type": "String",
  3915. "optional": true,
  3916. "field": "Authorization",
  3917. "description": "<p>token</p>"
  3918. }
  3919. ]
  3920. }
  3921. },
  3922. "group": "User",
  3923. "name": "sign",
  3924. "success": {
  3925. "fields": {
  3926. "Success 200": [
  3927. {
  3928. "group": "Success 200",
  3929. "type": "Double",
  3930. "optional": false,
  3931. "field": "fee",
  3932. "description": "<p>签到奖励</p>"
  3933. },
  3934. {
  3935. "group": "Success 200",
  3936. "type": "Number",
  3937. "optional": false,
  3938. "field": "days",
  3939. "description": "<p>签到天数</p>"
  3940. },
  3941. {
  3942. "group": "Success 200",
  3943. "type": "Array",
  3944. "optional": false,
  3945. "field": "day_list",
  3946. "description": "<p>签到列表</p>"
  3947. }
  3948. ]
  3949. },
  3950. "examples": [
  3951. {
  3952. "title": "Success-Response:",
  3953. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {\n \"fee\": 30,\n \"days\": 1\n \"day_list\": []\n }\n}",
  3954. "type": "json"
  3955. }
  3956. ]
  3957. },
  3958. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3959. "groupTitle": "用户"
  3960. },
  3961. {
  3962. "version": "1.0.0",
  3963. "description": "<p>用户签到记录</p>",
  3964. "type": "GET",
  3965. "url": "user/sign_record",
  3966. "title": "用户签到记录",
  3967. "group": "User",
  3968. "name": "signRecord",
  3969. "parameter": {
  3970. "fields": {
  3971. "Parameter": [
  3972. {
  3973. "group": "Parameter",
  3974. "type": "String",
  3975. "optional": false,
  3976. "field": "date",
  3977. "description": "<p>查询日期每个月一号</p>"
  3978. },
  3979. {
  3980. "group": "Parameter",
  3981. "type": "page",
  3982. "optional": false,
  3983. "field": "page",
  3984. "description": ""
  3985. }
  3986. ]
  3987. }
  3988. },
  3989. "success": {
  3990. "fields": {
  3991. "Success 200": [
  3992. {
  3993. "group": "Success 200",
  3994. "type": "int",
  3995. "optional": false,
  3996. "field": "code",
  3997. "description": "<p>状态码</p>"
  3998. },
  3999. {
  4000. "group": "Success 200",
  4001. "type": "String",
  4002. "optional": false,
  4003. "field": "msg",
  4004. "description": "<p>信息</p>"
  4005. },
  4006. {
  4007. "group": "Success 200",
  4008. "type": "object",
  4009. "optional": false,
  4010. "field": "data",
  4011. "description": "<p>结果集</p>"
  4012. },
  4013. {
  4014. "group": "Success 200",
  4015. "type": "sign_status",
  4016. "optional": false,
  4017. "field": "data.sign_status",
  4018. "description": "<p>.</p>"
  4019. },
  4020. {
  4021. "group": "Success 200",
  4022. "type": "sign_result",
  4023. "optional": false,
  4024. "field": "data.sign_result",
  4025. "description": "<p>.</p>"
  4026. },
  4027. {
  4028. "group": "Success 200",
  4029. "type": "sign_today",
  4030. "optional": false,
  4031. "field": "data.sign_today",
  4032. "description": "<p>.</p>"
  4033. }
  4034. ]
  4035. },
  4036. "examples": [
  4037. {
  4038. "title": "Success-Response:",
  4039. "content": "\n {\n code: 0,\n msg: \"\",\n data: {\n \"sign_status\": true,\n \"sign_result\": {\n \"list\": [\n {\n \"reward\": 30,\n \"sign_time\": \"2019-11-01 14:20:30\"\n }\n ],\n \"meta\": {\n \"total\": 1,\n \"per_page\": 15,\n \"current_page\": 1,\n \"last_page\": 1,\n \"next_page_url\": \"\",\n \"prev_page_url\": \"\"\n }\n},\n \"sign_today\": {\n \"uid\": 162261523,\n \"price\": 50,\n \"day\": \"2019-11-01\",\n \"sign_time\": \"2019-11-01 09:04:43\",\n \"created_at\": \"2019-11-01 09:04:43\",\n \"updated_at\": \"2019-11-01 09:04:43\",\n \"reward\": 50\n}\n}",
  4040. "type": "json"
  4041. }
  4042. ]
  4043. },
  4044. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  4045. "groupTitle": "用户"
  4046. },
  4047. {
  4048. "version": "1.0.0",
  4049. "description": "<p>催更</p>",
  4050. "type": "POST",
  4051. "url": "user/urgeUpdate",
  4052. "title": "催更",
  4053. "header": {
  4054. "fields": {
  4055. "Header": [
  4056. {
  4057. "group": "Header",
  4058. "type": "String",
  4059. "optional": true,
  4060. "field": "Authorization",
  4061. "description": "<p>token</p>"
  4062. }
  4063. ]
  4064. }
  4065. },
  4066. "group": "User",
  4067. "name": "urgeUpdate",
  4068. "parameter": {
  4069. "fields": {
  4070. "Parameter": [
  4071. {
  4072. "group": "Parameter",
  4073. "type": "String",
  4074. "optional": false,
  4075. "field": "bid",
  4076. "description": "<p>书号</p>"
  4077. }
  4078. ]
  4079. }
  4080. },
  4081. "success": {
  4082. "examples": [
  4083. {
  4084. "title": "Success-Response:",
  4085. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  4086. "type": "json"
  4087. }
  4088. ]
  4089. },
  4090. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  4091. "groupTitle": "用户"
  4092. },
  4093. {
  4094. "version": "1.0.0",
  4095. "description": "<p>支付宝APP支付</p>",
  4096. "type": "get",
  4097. "url": "goToAliPay",
  4098. "title": "支付宝APP支付",
  4099. "group": "pay",
  4100. "name": "aliIndex",
  4101. "parameter": {
  4102. "fields": {
  4103. "Parameter": [
  4104. {
  4105. "group": "Parameter",
  4106. "type": "Int",
  4107. "optional": false,
  4108. "field": "product_id",
  4109. "description": "<p>product_id</p>"
  4110. },
  4111. {
  4112. "group": "Parameter",
  4113. "type": "Int",
  4114. "optional": false,
  4115. "field": "send_order_id",
  4116. "description": "<p>send_order_id</p>"
  4117. },
  4118. {
  4119. "group": "Parameter",
  4120. "type": "String",
  4121. "optional": false,
  4122. "field": "bid",
  4123. "description": "<p>bid</p>"
  4124. }
  4125. ]
  4126. }
  4127. },
  4128. "header": {
  4129. "fields": {
  4130. "Header": [
  4131. {
  4132. "group": "Header",
  4133. "type": "String",
  4134. "optional": true,
  4135. "field": "Authorization",
  4136. "description": "<p>token</p>"
  4137. }
  4138. ]
  4139. }
  4140. },
  4141. "success": {
  4142. "fields": {
  4143. "Success 200": [
  4144. {
  4145. "group": "Success 200",
  4146. "type": "Object",
  4147. "optional": false,
  4148. "field": "data.order_info",
  4149. "description": "<p>唤起支付信息str</p>"
  4150. },
  4151. {
  4152. "group": "Success 200",
  4153. "type": "Object",
  4154. "optional": false,
  4155. "field": "data.trade_no",
  4156. "description": "<p>订单号</p>"
  4157. }
  4158. ]
  4159. },
  4160. "examples": [
  4161. {
  4162. "title": "Success-Response:",
  4163. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\"\"",
  4164. "type": "json"
  4165. }
  4166. ]
  4167. },
  4168. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4169. "groupTitle": "pay"
  4170. },
  4171. {
  4172. "version": "1.0.0",
  4173. "description": "<p>订单查询</p>",
  4174. "type": "get",
  4175. "url": "checkOrder",
  4176. "title": "订单查询",
  4177. "group": "pay",
  4178. "name": "checkOrder",
  4179. "parameter": {
  4180. "fields": {
  4181. "Parameter": [
  4182. {
  4183. "group": "Parameter",
  4184. "type": "String",
  4185. "optional": true,
  4186. "field": "token",
  4187. "description": "<p>token</p>"
  4188. },
  4189. {
  4190. "group": "Parameter",
  4191. "type": "String",
  4192. "optional": false,
  4193. "field": "order",
  4194. "description": "<p>order</p>"
  4195. }
  4196. ]
  4197. }
  4198. },
  4199. "header": {
  4200. "fields": {
  4201. "Header": [
  4202. {
  4203. "group": "Header",
  4204. "type": "String",
  4205. "optional": true,
  4206. "field": "Authorization",
  4207. "description": "<p>token 两个token任选其一</p>"
  4208. }
  4209. ]
  4210. }
  4211. },
  4212. "success": {
  4213. "fields": {
  4214. "Success 200": [
  4215. {
  4216. "group": "Success 200",
  4217. "type": "int",
  4218. "optional": false,
  4219. "field": "code",
  4220. "description": "<p>状态码</p>"
  4221. },
  4222. {
  4223. "group": "Success 200",
  4224. "type": "String",
  4225. "optional": false,
  4226. "field": "msg",
  4227. "description": "<p>信息</p>"
  4228. },
  4229. {
  4230. "group": "Success 200",
  4231. "type": "Object",
  4232. "optional": false,
  4233. "field": "data",
  4234. "description": "<p>信息</p>"
  4235. }
  4236. ]
  4237. },
  4238. "examples": [
  4239. {
  4240. "title": "Success-Response:",
  4241. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  4242. "type": "json"
  4243. }
  4244. ]
  4245. },
  4246. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4247. "groupTitle": "pay"
  4248. },
  4249. {
  4250. "version": "1.0.0",
  4251. "description": "<p>微信H5支付</p>",
  4252. "type": "get",
  4253. "url": "goToH5Pay",
  4254. "title": "微信H5支付",
  4255. "group": "pay",
  4256. "name": "wxH5Index",
  4257. "parameter": {
  4258. "fields": {
  4259. "Parameter": [
  4260. {
  4261. "group": "Parameter",
  4262. "type": "Int",
  4263. "optional": false,
  4264. "field": "product_id",
  4265. "description": "<p>product_id</p>"
  4266. },
  4267. {
  4268. "group": "Parameter",
  4269. "type": "Int",
  4270. "optional": false,
  4271. "field": "send_order_id",
  4272. "description": "<p>send_order_id</p>"
  4273. },
  4274. {
  4275. "group": "Parameter",
  4276. "type": "String",
  4277. "optional": false,
  4278. "field": "bid",
  4279. "description": "<p>bid</p>"
  4280. }
  4281. ]
  4282. }
  4283. },
  4284. "header": {
  4285. "fields": {
  4286. "Header": [
  4287. {
  4288. "group": "Header",
  4289. "type": "String",
  4290. "optional": true,
  4291. "field": "Authorization",
  4292. "description": "<p>token</p>"
  4293. }
  4294. ]
  4295. }
  4296. },
  4297. "success": {
  4298. "fields": {
  4299. "Success 200": [
  4300. {
  4301. "group": "Success 200",
  4302. "type": "int",
  4303. "optional": false,
  4304. "field": "code",
  4305. "description": "<p>状态码</p>"
  4306. },
  4307. {
  4308. "group": "Success 200",
  4309. "type": "String",
  4310. "optional": false,
  4311. "field": "msg",
  4312. "description": "<p>信息</p>"
  4313. },
  4314. {
  4315. "group": "Success 200",
  4316. "type": "Object",
  4317. "optional": false,
  4318. "field": "data",
  4319. "description": "<p>信息</p>"
  4320. },
  4321. {
  4322. "group": "Success 200",
  4323. "type": "Object",
  4324. "optional": false,
  4325. "field": "data.trade_no",
  4326. "description": "<p>订单号</p>"
  4327. },
  4328. {
  4329. "group": "Success 200",
  4330. "type": "Object",
  4331. "optional": false,
  4332. "field": "data.appId",
  4333. "description": "<p>唤起支付的appId</p>"
  4334. },
  4335. {
  4336. "group": "Success 200",
  4337. "type": "Object",
  4338. "optional": false,
  4339. "field": "data.mch_id",
  4340. "description": "<p>唤起支付的mch_id</p>"
  4341. },
  4342. {
  4343. "group": "Success 200",
  4344. "type": "Object",
  4345. "optional": false,
  4346. "field": "data.nonce_str",
  4347. "description": "<p>唤起支付的nonce_str</p>"
  4348. },
  4349. {
  4350. "group": "Success 200",
  4351. "type": "Object",
  4352. "optional": false,
  4353. "field": "data.prepay_id",
  4354. "description": "<p>唤起支付的prepay_id</p>"
  4355. },
  4356. {
  4357. "group": "Success 200",
  4358. "type": "Object",
  4359. "optional": false,
  4360. "field": "data.sign",
  4361. "description": "<p>唤起支付的sign</p>"
  4362. },
  4363. {
  4364. "group": "Success 200",
  4365. "type": "Object",
  4366. "optional": false,
  4367. "field": "data.trade_type",
  4368. "description": "<p>唤起支付trade_type</p>"
  4369. },
  4370. {
  4371. "group": "Success 200",
  4372. "type": "Object",
  4373. "optional": false,
  4374. "field": "data.mweb_url",
  4375. "description": "<p>唤起支付mweb_url</p>"
  4376. }
  4377. ]
  4378. },
  4379. "examples": [
  4380. {
  4381. "title": "Success-Response:",
  4382. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  4383. "type": "json"
  4384. }
  4385. ]
  4386. },
  4387. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4388. "groupTitle": "pay"
  4389. },
  4390. {
  4391. "version": "1.0.0",
  4392. "description": "<p>支付</p>",
  4393. "type": "get",
  4394. "url": "goToPay",
  4395. "title": "微信APP支付",
  4396. "group": "pay",
  4397. "name": "wxindex",
  4398. "parameter": {
  4399. "fields": {
  4400. "Parameter": [
  4401. {
  4402. "group": "Parameter",
  4403. "type": "Int",
  4404. "optional": false,
  4405. "field": "product_id",
  4406. "description": "<p>product_id</p>"
  4407. },
  4408. {
  4409. "group": "Parameter",
  4410. "type": "Int",
  4411. "optional": false,
  4412. "field": "send_order_id",
  4413. "description": "<p>send_order_id</p>"
  4414. },
  4415. {
  4416. "group": "Parameter",
  4417. "type": "String",
  4418. "optional": false,
  4419. "field": "bid",
  4420. "description": "<p>bid</p>"
  4421. }
  4422. ]
  4423. }
  4424. },
  4425. "header": {
  4426. "fields": {
  4427. "Header": [
  4428. {
  4429. "group": "Header",
  4430. "type": "String",
  4431. "optional": true,
  4432. "field": "Authorization",
  4433. "description": "<p>token</p>"
  4434. }
  4435. ]
  4436. }
  4437. },
  4438. "success": {
  4439. "fields": {
  4440. "Success 200": [
  4441. {
  4442. "group": "Success 200",
  4443. "type": "int",
  4444. "optional": false,
  4445. "field": "code",
  4446. "description": "<p>状态码</p>"
  4447. },
  4448. {
  4449. "group": "Success 200",
  4450. "type": "String",
  4451. "optional": false,
  4452. "field": "msg",
  4453. "description": "<p>信息</p>"
  4454. },
  4455. {
  4456. "group": "Success 200",
  4457. "type": "Object",
  4458. "optional": false,
  4459. "field": "data",
  4460. "description": "<p>信息</p>"
  4461. },
  4462. {
  4463. "group": "Success 200",
  4464. "type": "Object",
  4465. "optional": false,
  4466. "field": "data.trade_no",
  4467. "description": "<p>订单号</p>"
  4468. },
  4469. {
  4470. "group": "Success 200",
  4471. "type": "Object",
  4472. "optional": false,
  4473. "field": "data.appId",
  4474. "description": "<p>唤起支付的appId</p>"
  4475. },
  4476. {
  4477. "group": "Success 200",
  4478. "type": "Object",
  4479. "optional": false,
  4480. "field": "data.mch_id",
  4481. "description": "<p>唤起支付的mch_id</p>"
  4482. },
  4483. {
  4484. "group": "Success 200",
  4485. "type": "Object",
  4486. "optional": false,
  4487. "field": "data.nonce_str",
  4488. "description": "<p>唤起支付的nonce_str</p>"
  4489. },
  4490. {
  4491. "group": "Success 200",
  4492. "type": "Object",
  4493. "optional": false,
  4494. "field": "data.prepay_id",
  4495. "description": "<p>唤起支付的prepay_id</p>"
  4496. },
  4497. {
  4498. "group": "Success 200",
  4499. "type": "Object",
  4500. "optional": false,
  4501. "field": "data.sign",
  4502. "description": "<p>唤起支付的sign</p>"
  4503. },
  4504. {
  4505. "group": "Success 200",
  4506. "type": "Object",
  4507. "optional": false,
  4508. "field": "data.trade_type",
  4509. "description": "<p>唤起支付trade_type</p>"
  4510. }
  4511. ]
  4512. },
  4513. "examples": [
  4514. {
  4515. "title": "Success-Response:",
  4516. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  4517. "type": "json"
  4518. }
  4519. ]
  4520. },
  4521. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4522. "groupTitle": "pay"
  4523. }
  4524. ] });