api_data.js 128 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255
  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": "String",
  2309. "optional": false,
  2310. "field": "sign",
  2311. "description": "<p>签名(见微信支付签名https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=4_3)</p>"
  2312. }
  2313. ]
  2314. }
  2315. },
  2316. "group": "Login",
  2317. "name": "index",
  2318. "success": {
  2319. "fields": {
  2320. "Success 200": [
  2321. {
  2322. "group": "Success 200",
  2323. "type": "int",
  2324. "optional": false,
  2325. "field": "code",
  2326. "description": "<p>状态码</p>"
  2327. },
  2328. {
  2329. "group": "Success 200",
  2330. "type": "String",
  2331. "optional": false,
  2332. "field": "msg",
  2333. "description": "<p>信息</p>"
  2334. },
  2335. {
  2336. "group": "Success 200",
  2337. "type": "object",
  2338. "optional": false,
  2339. "field": "data",
  2340. "description": "<p>结果集</p>"
  2341. },
  2342. {
  2343. "group": "Success 200",
  2344. "type": "String",
  2345. "optional": false,
  2346. "field": "data.uid",
  2347. "description": "<p>用户uid</p>"
  2348. },
  2349. {
  2350. "group": "Success 200",
  2351. "type": "String",
  2352. "optional": false,
  2353. "field": "data.token",
  2354. "description": "<p>token</p>"
  2355. },
  2356. {
  2357. "group": "Success 200",
  2358. "type": "Int",
  2359. "optional": false,
  2360. "field": "data.time",
  2361. "description": "<p>过期时间</p>"
  2362. }
  2363. ]
  2364. },
  2365. "examples": [
  2366. {
  2367. "title": "Success-Response:",
  2368. "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 }",
  2369. "type": "json"
  2370. }
  2371. ]
  2372. },
  2373. "filename": "app/Http/Controllers/QuickApp/Oauth/UsersController.php",
  2374. "groupTitle": "登录"
  2375. },
  2376. {
  2377. "version": "1.0.0",
  2378. "description": "<p>单本消费记录</p>",
  2379. "type": "get",
  2380. "url": "order/bookOrderList",
  2381. "title": "单本消费记录",
  2382. "header": {
  2383. "fields": {
  2384. "Header": [
  2385. {
  2386. "group": "Header",
  2387. "type": "String",
  2388. "optional": true,
  2389. "field": "Authorization",
  2390. "description": "<p>token</p>"
  2391. }
  2392. ]
  2393. }
  2394. },
  2395. "group": "Order",
  2396. "name": "bookOrderList",
  2397. "parameter": {
  2398. "fields": {
  2399. "Parameter": [
  2400. {
  2401. "group": "Parameter",
  2402. "type": "String",
  2403. "optional": true,
  2404. "field": "page_size",
  2405. "description": "<p>分页大小</p>"
  2406. },
  2407. {
  2408. "group": "Parameter",
  2409. "type": "String",
  2410. "optional": true,
  2411. "field": "page",
  2412. "description": "<p>页码</p>"
  2413. }
  2414. ]
  2415. }
  2416. },
  2417. "success": {
  2418. "fields": {
  2419. "Success 200": [
  2420. {
  2421. "group": "Success 200",
  2422. "type": "int",
  2423. "optional": false,
  2424. "field": "code",
  2425. "description": "<p>状态码</p>"
  2426. },
  2427. {
  2428. "group": "Success 200",
  2429. "type": "String",
  2430. "optional": false,
  2431. "field": "msg",
  2432. "description": "<p>信息</p>"
  2433. },
  2434. {
  2435. "group": "Success 200",
  2436. "type": "object",
  2437. "optional": false,
  2438. "field": "data",
  2439. "description": "<p>结果集</p>"
  2440. },
  2441. {
  2442. "group": "Success 200",
  2443. "type": "Int",
  2444. "optional": false,
  2445. "field": "uid",
  2446. "description": "<p>uid</p>"
  2447. },
  2448. {
  2449. "group": "Success 200",
  2450. "type": "Int",
  2451. "optional": false,
  2452. "field": "bid",
  2453. "description": "<p>bid</p>"
  2454. },
  2455. {
  2456. "group": "Success 200",
  2457. "type": "Int",
  2458. "optional": false,
  2459. "field": "book_name",
  2460. "description": "<p>书名</p>"
  2461. },
  2462. {
  2463. "group": "Success 200",
  2464. "type": "Int",
  2465. "optional": false,
  2466. "field": "fee",
  2467. "description": "<p>钱</p>"
  2468. },
  2469. {
  2470. "group": "Success 200",
  2471. "type": "String",
  2472. "optional": false,
  2473. "field": "created_at",
  2474. "description": "<p>时间</p>"
  2475. }
  2476. ]
  2477. },
  2478. "examples": [
  2479. {
  2480. "title": "Success-Response:",
  2481. "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 }",
  2482. "type": "json"
  2483. }
  2484. ]
  2485. },
  2486. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2487. "groupTitle": "订单"
  2488. },
  2489. {
  2490. "version": "1.0.0",
  2491. "description": "<p>章节消费记录</p>",
  2492. "type": "get",
  2493. "url": "order/chapterOrderList",
  2494. "title": "章节消费记录",
  2495. "header": {
  2496. "fields": {
  2497. "Header": [
  2498. {
  2499. "group": "Header",
  2500. "type": "String",
  2501. "optional": true,
  2502. "field": "Authorization",
  2503. "description": "<p>token</p>"
  2504. }
  2505. ]
  2506. }
  2507. },
  2508. "group": "Order",
  2509. "name": "chapterOrderList",
  2510. "parameter": {
  2511. "fields": {
  2512. "Parameter": [
  2513. {
  2514. "group": "Parameter",
  2515. "type": "String",
  2516. "optional": true,
  2517. "field": "page_size",
  2518. "description": "<p>分页大小</p>"
  2519. },
  2520. {
  2521. "group": "Parameter",
  2522. "type": "String",
  2523. "optional": true,
  2524. "field": "page",
  2525. "description": "<p>页码</p>"
  2526. }
  2527. ]
  2528. }
  2529. },
  2530. "success": {
  2531. "fields": {
  2532. "Success 200": [
  2533. {
  2534. "group": "Success 200",
  2535. "type": "int",
  2536. "optional": false,
  2537. "field": "code",
  2538. "description": "<p>状态码</p>"
  2539. },
  2540. {
  2541. "group": "Success 200",
  2542. "type": "String",
  2543. "optional": false,
  2544. "field": "msg",
  2545. "description": "<p>信息</p>"
  2546. },
  2547. {
  2548. "group": "Success 200",
  2549. "type": "object",
  2550. "optional": false,
  2551. "field": "data",
  2552. "description": "<p>结果集</p>"
  2553. },
  2554. {
  2555. "group": "Success 200",
  2556. "type": "Int",
  2557. "optional": false,
  2558. "field": "uid",
  2559. "description": "<p>uid</p>"
  2560. },
  2561. {
  2562. "group": "Success 200",
  2563. "type": "Int",
  2564. "optional": false,
  2565. "field": "bid",
  2566. "description": "<p>bid</p>"
  2567. },
  2568. {
  2569. "group": "Success 200",
  2570. "type": "Int",
  2571. "optional": false,
  2572. "field": "cid",
  2573. "description": "<p>cid</p>"
  2574. },
  2575. {
  2576. "group": "Success 200",
  2577. "type": "Int",
  2578. "optional": false,
  2579. "field": "chapter_name",
  2580. "description": "<p>章节名</p>"
  2581. },
  2582. {
  2583. "group": "Success 200",
  2584. "type": "Int",
  2585. "optional": false,
  2586. "field": "book_name",
  2587. "description": "<p>书名</p>"
  2588. },
  2589. {
  2590. "group": "Success 200",
  2591. "type": "Int",
  2592. "optional": false,
  2593. "field": "fee",
  2594. "description": "<p>钱</p>"
  2595. },
  2596. {
  2597. "group": "Success 200",
  2598. "type": "String",
  2599. "optional": false,
  2600. "field": "created_at",
  2601. "description": "<p>时间</p>"
  2602. }
  2603. ]
  2604. },
  2605. "examples": [
  2606. {
  2607. "title": "Success-Response:",
  2608. "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 }",
  2609. "type": "json"
  2610. }
  2611. ]
  2612. },
  2613. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2614. "groupTitle": "订单"
  2615. },
  2616. {
  2617. "version": "1.0.0",
  2618. "description": "<p>充值列表</p>",
  2619. "type": "get",
  2620. "url": "order/chargeList",
  2621. "title": "充值列表",
  2622. "header": {
  2623. "fields": {
  2624. "Header": [
  2625. {
  2626. "group": "Header",
  2627. "type": "String",
  2628. "optional": true,
  2629. "field": "Authorization",
  2630. "description": "<p>token</p>"
  2631. }
  2632. ]
  2633. }
  2634. },
  2635. "group": "Order",
  2636. "name": "chargeList",
  2637. "success": {
  2638. "fields": {
  2639. "Success 200": [
  2640. {
  2641. "group": "Success 200",
  2642. "type": "int",
  2643. "optional": false,
  2644. "field": "code",
  2645. "description": "<p>状态码</p>"
  2646. },
  2647. {
  2648. "group": "Success 200",
  2649. "type": "String",
  2650. "optional": false,
  2651. "field": "msg",
  2652. "description": "<p>信息</p>"
  2653. },
  2654. {
  2655. "group": "Success 200",
  2656. "type": "object",
  2657. "optional": false,
  2658. "field": "data",
  2659. "description": "<p>结果集</p>"
  2660. }
  2661. ]
  2662. },
  2663. "examples": [
  2664. {
  2665. "title": "Success-Response:",
  2666. "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 }",
  2667. "type": "json"
  2668. }
  2669. ]
  2670. },
  2671. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2672. "groupTitle": "订单"
  2673. },
  2674. {
  2675. "version": "1.0.0",
  2676. "description": "<p>充值记录</p>",
  2677. "type": "get",
  2678. "url": "order/chargeRecordLists",
  2679. "title": "充值记录",
  2680. "parameter": {
  2681. "fields": {
  2682. "Parameter": [
  2683. {
  2684. "group": "Parameter",
  2685. "type": "String",
  2686. "optional": true,
  2687. "field": "token",
  2688. "description": "<p>token</p>"
  2689. },
  2690. {
  2691. "group": "Parameter",
  2692. "type": "String",
  2693. "optional": true,
  2694. "field": "page_size",
  2695. "description": "<p>分页大小</p>"
  2696. },
  2697. {
  2698. "group": "Parameter",
  2699. "type": "String",
  2700. "optional": true,
  2701. "field": "page",
  2702. "description": "<p>页码</p>"
  2703. }
  2704. ]
  2705. }
  2706. },
  2707. "header": {
  2708. "fields": {
  2709. "Header": [
  2710. {
  2711. "group": "Header",
  2712. "type": "String",
  2713. "optional": true,
  2714. "field": "Authorization",
  2715. "description": "<p>token 两个token任选其一</p>"
  2716. }
  2717. ]
  2718. }
  2719. },
  2720. "group": "Order",
  2721. "name": "chargeRecordLists",
  2722. "success": {
  2723. "fields": {
  2724. "Success 200": [
  2725. {
  2726. "group": "Success 200",
  2727. "type": "int",
  2728. "optional": false,
  2729. "field": "code",
  2730. "description": "<p>状态码</p>"
  2731. },
  2732. {
  2733. "group": "Success 200",
  2734. "type": "String",
  2735. "optional": false,
  2736. "field": "msg",
  2737. "description": "<p>信息</p>"
  2738. },
  2739. {
  2740. "group": "Success 200",
  2741. "type": "object",
  2742. "optional": false,
  2743. "field": "data",
  2744. "description": "<p>结果集</p>"
  2745. },
  2746. {
  2747. "group": "Success 200",
  2748. "type": "String",
  2749. "optional": false,
  2750. "field": "data.price",
  2751. "description": "<p>价格</p>"
  2752. },
  2753. {
  2754. "group": "Success 200",
  2755. "type": "String",
  2756. "optional": false,
  2757. "field": "data.status",
  2758. "description": "<p>状态</p>"
  2759. },
  2760. {
  2761. "group": "Success 200",
  2762. "type": "String",
  2763. "optional": false,
  2764. "field": "data.trade_no",
  2765. "description": "<p>订单号</p>"
  2766. },
  2767. {
  2768. "group": "Success 200",
  2769. "type": "String",
  2770. "optional": false,
  2771. "field": "data.created_at",
  2772. "description": "<p>时间</p>"
  2773. }
  2774. ]
  2775. },
  2776. "examples": [
  2777. {
  2778. "title": "Success-Response:",
  2779. "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}",
  2780. "type": "json"
  2781. }
  2782. ]
  2783. },
  2784. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2785. "groupTitle": "订单"
  2786. },
  2787. {
  2788. "version": "1.0.0",
  2789. "description": "<p>添加阅读记录</p>",
  2790. "type": "post",
  2791. "url": "readrecord",
  2792. "title": "添加阅读记录",
  2793. "group": "ReadRecord",
  2794. "name": "addReadRecord",
  2795. "header": {
  2796. "fields": {
  2797. "Header": [
  2798. {
  2799. "group": "Header",
  2800. "type": "String",
  2801. "optional": true,
  2802. "field": "Authorization",
  2803. "description": "<p>token</p>"
  2804. }
  2805. ]
  2806. }
  2807. },
  2808. "parameter": {
  2809. "fields": {
  2810. "Parameter": [
  2811. {
  2812. "group": "Parameter",
  2813. "type": "Int",
  2814. "optional": false,
  2815. "field": "book_name",
  2816. "description": "<p>书名</p>"
  2817. },
  2818. {
  2819. "group": "Parameter",
  2820. "type": "String",
  2821. "optional": false,
  2822. "field": "chapter_name",
  2823. "description": "<p>章节名</p>"
  2824. },
  2825. {
  2826. "group": "Parameter",
  2827. "type": "Int",
  2828. "optional": false,
  2829. "field": "bid",
  2830. "description": "<p>bid</p>"
  2831. },
  2832. {
  2833. "group": "Parameter",
  2834. "type": "Int",
  2835. "optional": false,
  2836. "field": "cid",
  2837. "description": "<p>章节id</p>"
  2838. }
  2839. ]
  2840. }
  2841. },
  2842. "success": {
  2843. "fields": {
  2844. "Success 200": [
  2845. {
  2846. "group": "Success 200",
  2847. "type": "int",
  2848. "optional": false,
  2849. "field": "code",
  2850. "description": "<p>状态码</p>"
  2851. },
  2852. {
  2853. "group": "Success 200",
  2854. "type": "String",
  2855. "optional": false,
  2856. "field": "msg",
  2857. "description": "<p>信息</p>"
  2858. },
  2859. {
  2860. "group": "Success 200",
  2861. "type": "object",
  2862. "optional": false,
  2863. "field": "data",
  2864. "description": "<p>结果集</p>"
  2865. }
  2866. ]
  2867. },
  2868. "examples": [
  2869. {
  2870. "title": "Success-Response:",
  2871. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2872. "type": "json"
  2873. }
  2874. ]
  2875. },
  2876. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2877. "groupTitle": "阅读记录"
  2878. },
  2879. {
  2880. "version": "1.0.0",
  2881. "description": "<p>删除阅读记录</p>",
  2882. "type": "get",
  2883. "url": "readrecord/delete",
  2884. "title": "删除阅读记录",
  2885. "group": "ReadRecord",
  2886. "header": {
  2887. "fields": {
  2888. "Header": [
  2889. {
  2890. "group": "Header",
  2891. "type": "String",
  2892. "optional": true,
  2893. "field": "Authorization",
  2894. "description": "<p>token</p>"
  2895. }
  2896. ]
  2897. }
  2898. },
  2899. "name": "delReadRecord",
  2900. "parameter": {
  2901. "fields": {
  2902. "Parameter": [
  2903. {
  2904. "group": "Parameter",
  2905. "type": "String",
  2906. "optional": false,
  2907. "field": "bid",
  2908. "description": "<p>多个bid以,分隔</p>"
  2909. }
  2910. ]
  2911. }
  2912. },
  2913. "success": {
  2914. "fields": {
  2915. "Success 200": [
  2916. {
  2917. "group": "Success 200",
  2918. "type": "int",
  2919. "optional": false,
  2920. "field": "code",
  2921. "description": "<p>状态码</p>"
  2922. },
  2923. {
  2924. "group": "Success 200",
  2925. "type": "String",
  2926. "optional": false,
  2927. "field": "msg",
  2928. "description": "<p>信息</p>"
  2929. },
  2930. {
  2931. "group": "Success 200",
  2932. "type": "object",
  2933. "optional": false,
  2934. "field": "data",
  2935. "description": "<p>结果集</p>"
  2936. }
  2937. ]
  2938. },
  2939. "examples": [
  2940. {
  2941. "title": "Success-Response:",
  2942. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2943. "type": "json"
  2944. }
  2945. ]
  2946. },
  2947. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2948. "groupTitle": "阅读记录"
  2949. },
  2950. {
  2951. "version": "1.0.0",
  2952. "description": "<p>获取阅读记录</p>",
  2953. "type": "get",
  2954. "url": "readrecord",
  2955. "title": "获取阅读记录",
  2956. "header": {
  2957. "fields": {
  2958. "Header": [
  2959. {
  2960. "group": "Header",
  2961. "type": "String",
  2962. "optional": true,
  2963. "field": "Authorization",
  2964. "description": "<p>token</p>"
  2965. }
  2966. ]
  2967. }
  2968. },
  2969. "group": "ReadRecord",
  2970. "name": "index",
  2971. "success": {
  2972. "fields": {
  2973. "Success 200": [
  2974. {
  2975. "group": "Success 200",
  2976. "type": "int",
  2977. "optional": false,
  2978. "field": "code",
  2979. "description": "<p>状态码</p>"
  2980. },
  2981. {
  2982. "group": "Success 200",
  2983. "type": "String",
  2984. "optional": false,
  2985. "field": "msg",
  2986. "description": "<p>信息</p>"
  2987. },
  2988. {
  2989. "group": "Success 200",
  2990. "type": "object",
  2991. "optional": false,
  2992. "field": "data",
  2993. "description": "<p>结果集</p>"
  2994. },
  2995. {
  2996. "group": "Success 200",
  2997. "type": "Int",
  2998. "optional": false,
  2999. "field": "data.book_name",
  3000. "description": "<p>书名</p>"
  3001. },
  3002. {
  3003. "group": "Success 200",
  3004. "type": "String",
  3005. "optional": false,
  3006. "field": "data.chapter_name",
  3007. "description": "<p>章节名</p>"
  3008. },
  3009. {
  3010. "group": "Success 200",
  3011. "type": "Int",
  3012. "optional": false,
  3013. "field": "data.bid",
  3014. "description": "<p>bid</p>"
  3015. },
  3016. {
  3017. "group": "Success 200",
  3018. "type": "Int",
  3019. "optional": false,
  3020. "field": "data.time",
  3021. "description": "<p>时间</p>"
  3022. },
  3023. {
  3024. "group": "Success 200",
  3025. "type": "Int",
  3026. "optional": false,
  3027. "field": "data.cid",
  3028. "description": "<p>章节id</p>"
  3029. },
  3030. {
  3031. "group": "Success 200",
  3032. "type": "Int",
  3033. "optional": false,
  3034. "field": "data.cover",
  3035. "description": "<p>封面</p>"
  3036. },
  3037. {
  3038. "group": "Success 200",
  3039. "type": "Int",
  3040. "optional": false,
  3041. "field": "data.last_chapter",
  3042. "description": "<p>最后一张</p>"
  3043. }
  3044. ]
  3045. },
  3046. "examples": [
  3047. {
  3048. "title": "Success-Response:",
  3049. "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 ]",
  3050. "type": "json"
  3051. }
  3052. ]
  3053. },
  3054. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  3055. "groupTitle": "阅读记录"
  3056. },
  3057. {
  3058. "version": "1.0.0",
  3059. "description": "<p>快捷方式</p>",
  3060. "type": "get",
  3061. "url": "shortcut/add",
  3062. "title": "添加快捷方式",
  3063. "parameter": {
  3064. "fields": {
  3065. "Parameter": [
  3066. {
  3067. "group": "Parameter",
  3068. "type": "String",
  3069. "optional": true,
  3070. "field": "token",
  3071. "description": "<p>token</p>"
  3072. }
  3073. ]
  3074. }
  3075. },
  3076. "header": {
  3077. "fields": {
  3078. "Header": [
  3079. {
  3080. "group": "Header",
  3081. "type": "String",
  3082. "optional": true,
  3083. "field": "Authorization",
  3084. "description": "<p>token 两个token任选其一</p>"
  3085. }
  3086. ]
  3087. }
  3088. },
  3089. "group": "Shortcut",
  3090. "name": "addShortCut",
  3091. "success": {
  3092. "fields": {
  3093. "Success 200": [
  3094. {
  3095. "group": "Success 200",
  3096. "type": "int",
  3097. "optional": false,
  3098. "field": "code",
  3099. "description": "<p>状态码</p>"
  3100. },
  3101. {
  3102. "group": "Success 200",
  3103. "type": "String",
  3104. "optional": false,
  3105. "field": "msg",
  3106. "description": "<p>信息</p>"
  3107. },
  3108. {
  3109. "group": "Success 200",
  3110. "type": "object",
  3111. "optional": false,
  3112. "field": "data",
  3113. "description": "<p>结果集</p>"
  3114. }
  3115. ]
  3116. },
  3117. "examples": [
  3118. {
  3119. "title": "Success-Response:",
  3120. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3121. "type": "json"
  3122. }
  3123. ]
  3124. },
  3125. "filename": "app/Http/Controllers/QuickApp/User/ShortcutController.php",
  3126. "groupTitle": "快捷方式"
  3127. },
  3128. {
  3129. "version": "1.0.0",
  3130. "description": "<p>删除快捷方式</p>",
  3131. "type": "get",
  3132. "url": "shortcut/delete",
  3133. "title": "删除快捷方式",
  3134. "parameter": {
  3135. "fields": {
  3136. "Parameter": [
  3137. {
  3138. "group": "Parameter",
  3139. "type": "String",
  3140. "optional": true,
  3141. "field": "token",
  3142. "description": "<p>token</p>"
  3143. }
  3144. ]
  3145. }
  3146. },
  3147. "header": {
  3148. "fields": {
  3149. "Header": [
  3150. {
  3151. "group": "Header",
  3152. "type": "String",
  3153. "optional": true,
  3154. "field": "Authorization",
  3155. "description": "<p>token 两个token任选其一</p>"
  3156. }
  3157. ]
  3158. }
  3159. },
  3160. "group": "Shortcut",
  3161. "name": "deleteShortCut",
  3162. "success": {
  3163. "fields": {
  3164. "Success 200": [
  3165. {
  3166. "group": "Success 200",
  3167. "type": "int",
  3168. "optional": false,
  3169. "field": "code",
  3170. "description": "<p>状态码</p>"
  3171. },
  3172. {
  3173. "group": "Success 200",
  3174. "type": "String",
  3175. "optional": false,
  3176. "field": "msg",
  3177. "description": "<p>信息</p>"
  3178. },
  3179. {
  3180. "group": "Success 200",
  3181. "type": "object",
  3182. "optional": false,
  3183. "field": "data",
  3184. "description": "<p>结果集</p>"
  3185. }
  3186. ]
  3187. },
  3188. "examples": [
  3189. {
  3190. "title": "Success-Response:",
  3191. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3192. "type": "json"
  3193. }
  3194. ]
  3195. },
  3196. "filename": "app/Http/Controllers/QuickApp/User/ShortcutController.php",
  3197. "groupTitle": "快捷方式"
  3198. },
  3199. {
  3200. "version": "1.0.0",
  3201. "description": "<p>添加书架</p>",
  3202. "type": "post",
  3203. "url": "userShelfBooks",
  3204. "title": "添加书架",
  3205. "parameter": {
  3206. "fields": {
  3207. "Parameter": [
  3208. {
  3209. "group": "Parameter",
  3210. "type": "String",
  3211. "optional": true,
  3212. "field": "token",
  3213. "description": "<p>token</p>"
  3214. },
  3215. {
  3216. "group": "Parameter",
  3217. "type": "int",
  3218. "optional": false,
  3219. "field": "bid",
  3220. "description": "<p>bid</p>"
  3221. }
  3222. ]
  3223. }
  3224. },
  3225. "header": {
  3226. "fields": {
  3227. "Header": [
  3228. {
  3229. "group": "Header",
  3230. "type": "String",
  3231. "optional": true,
  3232. "field": "Authorization",
  3233. "description": "<p>token 两个token任选其一</p>"
  3234. }
  3235. ]
  3236. }
  3237. },
  3238. "group": "UserShelfBooks",
  3239. "name": "addShelf",
  3240. "success": {
  3241. "fields": {
  3242. "Success 200": [
  3243. {
  3244. "group": "Success 200",
  3245. "type": "int",
  3246. "optional": false,
  3247. "field": "code",
  3248. "description": "<p>状态码</p>"
  3249. },
  3250. {
  3251. "group": "Success 200",
  3252. "type": "String",
  3253. "optional": false,
  3254. "field": "msg",
  3255. "description": "<p>信息</p>"
  3256. },
  3257. {
  3258. "group": "Success 200",
  3259. "type": "object",
  3260. "optional": false,
  3261. "field": "data",
  3262. "description": "<p>结果集</p>"
  3263. }
  3264. ]
  3265. },
  3266. "examples": [
  3267. {
  3268. "title": "Success-Response:",
  3269. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3270. "type": "json"
  3271. }
  3272. ]
  3273. },
  3274. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3275. "groupTitle": "书架"
  3276. },
  3277. {
  3278. "version": "1.0.0",
  3279. "description": "<p>删除书架</p>",
  3280. "type": "get",
  3281. "url": "userShelfBooks/delete",
  3282. "title": "删除书架",
  3283. "parameter": {
  3284. "fields": {
  3285. "Parameter": [
  3286. {
  3287. "group": "Parameter",
  3288. "type": "String",
  3289. "optional": true,
  3290. "field": "token",
  3291. "description": "<p>token</p>"
  3292. },
  3293. {
  3294. "group": "Parameter",
  3295. "type": "int",
  3296. "optional": false,
  3297. "field": "bid",
  3298. "description": "<p>bid</p>"
  3299. }
  3300. ]
  3301. }
  3302. },
  3303. "header": {
  3304. "fields": {
  3305. "Header": [
  3306. {
  3307. "group": "Header",
  3308. "type": "String",
  3309. "optional": true,
  3310. "field": "Authorization",
  3311. "description": "<p>token 两个token任选其一</p>"
  3312. }
  3313. ]
  3314. }
  3315. },
  3316. "group": "UserShelfBooks",
  3317. "name": "delShelf",
  3318. "success": {
  3319. "fields": {
  3320. "Success 200": [
  3321. {
  3322. "group": "Success 200",
  3323. "type": "int",
  3324. "optional": false,
  3325. "field": "code",
  3326. "description": "<p>状态码</p>"
  3327. },
  3328. {
  3329. "group": "Success 200",
  3330. "type": "String",
  3331. "optional": false,
  3332. "field": "msg",
  3333. "description": "<p>信息</p>"
  3334. },
  3335. {
  3336. "group": "Success 200",
  3337. "type": "object",
  3338. "optional": false,
  3339. "field": "data",
  3340. "description": "<p>结果集</p>"
  3341. }
  3342. ]
  3343. },
  3344. "examples": [
  3345. {
  3346. "title": "Success-Response:",
  3347. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3348. "type": "json"
  3349. }
  3350. ]
  3351. },
  3352. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3353. "groupTitle": "书架"
  3354. },
  3355. {
  3356. "version": "1.0.0",
  3357. "description": "<p>获取书架</p>",
  3358. "type": "get",
  3359. "url": "userShelfBooks",
  3360. "title": "获取书架",
  3361. "parameter": {
  3362. "fields": {
  3363. "Parameter": [
  3364. {
  3365. "group": "Parameter",
  3366. "type": "String",
  3367. "optional": true,
  3368. "field": "token",
  3369. "description": "<p>token</p>"
  3370. }
  3371. ]
  3372. }
  3373. },
  3374. "header": {
  3375. "fields": {
  3376. "Header": [
  3377. {
  3378. "group": "Header",
  3379. "type": "String",
  3380. "optional": true,
  3381. "field": "Authorization",
  3382. "description": "<p>token 两个token任选其一</p>"
  3383. }
  3384. ]
  3385. }
  3386. },
  3387. "group": "UserShelfBooks",
  3388. "name": "getChapter",
  3389. "success": {
  3390. "fields": {
  3391. "Success 200": [
  3392. {
  3393. "group": "Success 200",
  3394. "type": "int",
  3395. "optional": false,
  3396. "field": "code",
  3397. "description": "<p>状态码</p>"
  3398. },
  3399. {
  3400. "group": "Success 200",
  3401. "type": "String",
  3402. "optional": false,
  3403. "field": "msg",
  3404. "description": "<p>信息</p>"
  3405. },
  3406. {
  3407. "group": "Success 200",
  3408. "type": "object",
  3409. "optional": false,
  3410. "field": "data",
  3411. "description": "<p>结果集</p>"
  3412. },
  3413. {
  3414. "group": "Success 200",
  3415. "type": "Int",
  3416. "optional": false,
  3417. "field": "data.id",
  3418. "description": "<p>编号</p>"
  3419. },
  3420. {
  3421. "group": "Success 200",
  3422. "type": "String",
  3423. "optional": false,
  3424. "field": "data.distribution_channel_id",
  3425. "description": "<p>分销</p>"
  3426. },
  3427. {
  3428. "group": "Success 200",
  3429. "type": "Int",
  3430. "optional": false,
  3431. "field": "data.uid",
  3432. "description": "<p>uid</p>"
  3433. },
  3434. {
  3435. "group": "Success 200",
  3436. "type": "Int",
  3437. "optional": false,
  3438. "field": "data.bid",
  3439. "description": "<p>bid</p>"
  3440. },
  3441. {
  3442. "group": "Success 200",
  3443. "type": "Int",
  3444. "optional": false,
  3445. "field": "data.book_name",
  3446. "description": "<p>书名</p>"
  3447. },
  3448. {
  3449. "group": "Success 200",
  3450. "type": "Int",
  3451. "optional": false,
  3452. "field": "data.cover",
  3453. "description": "<p>封面</p>"
  3454. },
  3455. {
  3456. "group": "Success 200",
  3457. "type": "Int",
  3458. "optional": false,
  3459. "field": "data.last_cid",
  3460. "description": "<p>最后章节id</p>"
  3461. },
  3462. {
  3463. "group": "Success 200",
  3464. "type": "String",
  3465. "optional": false,
  3466. "field": "data.last_chapter",
  3467. "description": "<p>最新章节</p>"
  3468. }
  3469. ]
  3470. },
  3471. "examples": [
  3472. {
  3473. "title": "Success-Response:",
  3474. "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 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 last_chapter:\"最新 第2556章 又来了个张老三\",\n recent_reading_chapter:\"最近阅读:第2551章 又来了个猪八戒\"\n }\n ]\n }",
  3475. "type": "json"
  3476. }
  3477. ]
  3478. },
  3479. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3480. "groupTitle": "书架"
  3481. },
  3482. {
  3483. "version": "1.0.0",
  3484. "description": "<p>是否在书架上</p>",
  3485. "type": "get",
  3486. "url": "userShelfBooks/isonshelf",
  3487. "title": "是否在书架上",
  3488. "parameter": {
  3489. "fields": {
  3490. "Parameter": [
  3491. {
  3492. "group": "Parameter",
  3493. "type": "String",
  3494. "optional": true,
  3495. "field": "token",
  3496. "description": "<p>token</p>"
  3497. },
  3498. {
  3499. "group": "Parameter",
  3500. "type": "int",
  3501. "optional": false,
  3502. "field": "bid",
  3503. "description": "<p>bid</p>"
  3504. }
  3505. ]
  3506. }
  3507. },
  3508. "header": {
  3509. "fields": {
  3510. "Header": [
  3511. {
  3512. "group": "Header",
  3513. "type": "String",
  3514. "optional": true,
  3515. "field": "Authorization",
  3516. "description": "<p>token 两个token任选其一</p>"
  3517. }
  3518. ]
  3519. }
  3520. },
  3521. "group": "UserShelfBooks",
  3522. "name": "isOnshelf",
  3523. "success": {
  3524. "fields": {
  3525. "Success 200": [
  3526. {
  3527. "group": "Success 200",
  3528. "type": "int",
  3529. "optional": false,
  3530. "field": "code",
  3531. "description": "<p>状态码</p>"
  3532. },
  3533. {
  3534. "group": "Success 200",
  3535. "type": "String",
  3536. "optional": false,
  3537. "field": "msg",
  3538. "description": "<p>信息</p>"
  3539. },
  3540. {
  3541. "group": "Success 200",
  3542. "type": "object",
  3543. "optional": false,
  3544. "field": "data",
  3545. "description": "<p>结果集</p>"
  3546. },
  3547. {
  3548. "group": "Success 200",
  3549. "type": "Int",
  3550. "optional": false,
  3551. "field": "data.is_on",
  3552. "description": "<p>是否在书架上(0|1)</p>"
  3553. }
  3554. ]
  3555. },
  3556. "examples": [
  3557. {
  3558. "title": "Success-Response:",
  3559. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n is_on:0\n }",
  3560. "type": "json"
  3561. }
  3562. ]
  3563. },
  3564. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3565. "groupTitle": "书架"
  3566. },
  3567. {
  3568. "version": "1.0.0",
  3569. "description": "<p>绑定手机号</p>",
  3570. "type": "POST",
  3571. "url": "user/bindPhone",
  3572. "title": "绑定手机号",
  3573. "header": {
  3574. "fields": {
  3575. "Header": [
  3576. {
  3577. "group": "Header",
  3578. "type": "String",
  3579. "optional": true,
  3580. "field": "Authorization",
  3581. "description": "<p>token</p>"
  3582. }
  3583. ]
  3584. }
  3585. },
  3586. "group": "User",
  3587. "name": "bindPhone",
  3588. "parameter": {
  3589. "fields": {
  3590. "Parameter": [
  3591. {
  3592. "group": "Parameter",
  3593. "type": "String",
  3594. "optional": false,
  3595. "field": "phone",
  3596. "description": "<p>手机号</p>"
  3597. },
  3598. {
  3599. "group": "Parameter",
  3600. "type": "String",
  3601. "optional": false,
  3602. "field": "code",
  3603. "description": "<p>验证码</p>"
  3604. }
  3605. ]
  3606. }
  3607. },
  3608. "success": {
  3609. "examples": [
  3610. {
  3611. "title": "Success-Response:",
  3612. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3613. "type": "json"
  3614. }
  3615. ]
  3616. },
  3617. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3618. "groupTitle": "用户"
  3619. },
  3620. {
  3621. "version": "1.0.0",
  3622. "description": "<p>获取用户信息</p>",
  3623. "type": "GET",
  3624. "url": "userinfo",
  3625. "title": "获取用户信息",
  3626. "header": {
  3627. "fields": {
  3628. "Header": [
  3629. {
  3630. "group": "Header",
  3631. "type": "String",
  3632. "optional": true,
  3633. "field": "Authorization",
  3634. "description": "<p>token</p>"
  3635. }
  3636. ]
  3637. }
  3638. },
  3639. "group": "User",
  3640. "name": "index",
  3641. "success": {
  3642. "fields": {
  3643. "Success 200": [
  3644. {
  3645. "group": "Success 200",
  3646. "type": "Number",
  3647. "optional": false,
  3648. "field": "id",
  3649. "description": "<p>用户ID.</p>"
  3650. },
  3651. {
  3652. "group": "Success 200",
  3653. "type": "String",
  3654. "optional": false,
  3655. "field": "openid",
  3656. "description": "<p>微信openid.</p>"
  3657. },
  3658. {
  3659. "group": "Success 200",
  3660. "type": "String",
  3661. "optional": false,
  3662. "field": "unionid",
  3663. "description": "<p>微信unionid.</p>"
  3664. },
  3665. {
  3666. "group": "Success 200",
  3667. "type": "Number",
  3668. "optional": false,
  3669. "field": "distribution_channel_id",
  3670. "description": "<p>分销渠道ID.</p>"
  3671. },
  3672. {
  3673. "group": "Success 200",
  3674. "type": "String",
  3675. "optional": false,
  3676. "field": "province",
  3677. "description": "<p>省份.</p>"
  3678. },
  3679. {
  3680. "group": "Success 200",
  3681. "type": "String",
  3682. "optional": false,
  3683. "field": "city",
  3684. "description": "<p>城市.</p>"
  3685. },
  3686. {
  3687. "group": "Success 200",
  3688. "type": "String",
  3689. "optional": false,
  3690. "field": "country",
  3691. "description": "<p>国家.</p>"
  3692. },
  3693. {
  3694. "group": "Success 200",
  3695. "type": "String",
  3696. "optional": false,
  3697. "field": "headimgurl",
  3698. "description": "<p>头像地址.</p>"
  3699. },
  3700. {
  3701. "group": "Success 200",
  3702. "type": "Number",
  3703. "optional": false,
  3704. "field": "send_order_id",
  3705. "description": "<p>派单ID.</p>"
  3706. },
  3707. {
  3708. "group": "Success 200",
  3709. "type": "Number",
  3710. "allowedValues": [
  3711. "0",
  3712. "1"
  3713. ],
  3714. "optional": false,
  3715. "field": "sex",
  3716. "description": "<p>性别.</p>"
  3717. },
  3718. {
  3719. "group": "Success 200",
  3720. "type": "String",
  3721. "optional": false,
  3722. "field": "balance",
  3723. "description": "<p>书币余额.</p>"
  3724. },
  3725. {
  3726. "group": "Success 200",
  3727. "type": "Int",
  3728. "optional": false,
  3729. "field": "is_vip",
  3730. "description": "<p>是否vip</p>"
  3731. },
  3732. {
  3733. "group": "Success 200",
  3734. "type": "String",
  3735. "optional": false,
  3736. "field": "vip_days",
  3737. "description": "<p>364天.</p>"
  3738. },
  3739. {
  3740. "group": "Success 200",
  3741. "type": "String",
  3742. "optional": false,
  3743. "field": "phone",
  3744. "description": "<p>手机号.</p>"
  3745. }
  3746. ]
  3747. },
  3748. "examples": [
  3749. {
  3750. "title": "Success-Response:",
  3751. "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}",
  3752. "type": "json"
  3753. }
  3754. ]
  3755. },
  3756. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3757. "groupTitle": "用户"
  3758. },
  3759. {
  3760. "version": "1.0.0",
  3761. "description": "<p>发送验证码</p>",
  3762. "type": "POST",
  3763. "url": "user/sendCode",
  3764. "title": "发送验证码",
  3765. "header": {
  3766. "fields": {
  3767. "Header": [
  3768. {
  3769. "group": "Header",
  3770. "type": "String",
  3771. "optional": true,
  3772. "field": "Authorization",
  3773. "description": "<p>token</p>"
  3774. }
  3775. ]
  3776. }
  3777. },
  3778. "group": "User",
  3779. "name": "sendCode",
  3780. "parameter": {
  3781. "fields": {
  3782. "Parameter": [
  3783. {
  3784. "group": "Parameter",
  3785. "type": "String",
  3786. "optional": false,
  3787. "field": "phone",
  3788. "description": "<p>手机号</p>"
  3789. }
  3790. ]
  3791. }
  3792. },
  3793. "success": {
  3794. "examples": [
  3795. {
  3796. "title": "Success-Response:",
  3797. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3798. "type": "json"
  3799. }
  3800. ]
  3801. },
  3802. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3803. "groupTitle": "用户"
  3804. },
  3805. {
  3806. "version": "1.0.0",
  3807. "description": "<p>用户签到</p>",
  3808. "type": "GET",
  3809. "url": "sign",
  3810. "title": "用户签到",
  3811. "header": {
  3812. "fields": {
  3813. "Header": [
  3814. {
  3815. "group": "Header",
  3816. "type": "String",
  3817. "optional": true,
  3818. "field": "Authorization",
  3819. "description": "<p>token</p>"
  3820. }
  3821. ]
  3822. }
  3823. },
  3824. "group": "User",
  3825. "name": "sign",
  3826. "success": {
  3827. "fields": {
  3828. "Success 200": [
  3829. {
  3830. "group": "Success 200",
  3831. "type": "Double",
  3832. "optional": false,
  3833. "field": "fee",
  3834. "description": "<p>签到奖励</p>"
  3835. },
  3836. {
  3837. "group": "Success 200",
  3838. "type": "Number",
  3839. "optional": false,
  3840. "field": "days",
  3841. "description": "<p>签到天数</p>"
  3842. }
  3843. ]
  3844. },
  3845. "examples": [
  3846. {
  3847. "title": "Success-Response:",
  3848. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {\n \"fee\": 30,\n \"days\": 1\n }\n}",
  3849. "type": "json"
  3850. }
  3851. ]
  3852. },
  3853. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3854. "groupTitle": "用户"
  3855. },
  3856. {
  3857. "version": "1.0.0",
  3858. "description": "<p>支付宝APP支付</p>",
  3859. "type": "get",
  3860. "url": "goToAliPay",
  3861. "title": "支付宝APP支付",
  3862. "group": "pay",
  3863. "name": "aliIndex",
  3864. "parameter": {
  3865. "fields": {
  3866. "Parameter": [
  3867. {
  3868. "group": "Parameter",
  3869. "type": "Int",
  3870. "optional": false,
  3871. "field": "product_id",
  3872. "description": "<p>product_id</p>"
  3873. },
  3874. {
  3875. "group": "Parameter",
  3876. "type": "Int",
  3877. "optional": false,
  3878. "field": "send_order_id",
  3879. "description": "<p>send_order_id</p>"
  3880. },
  3881. {
  3882. "group": "Parameter",
  3883. "type": "String",
  3884. "optional": false,
  3885. "field": "bid",
  3886. "description": "<p>bid</p>"
  3887. }
  3888. ]
  3889. }
  3890. },
  3891. "header": {
  3892. "fields": {
  3893. "Header": [
  3894. {
  3895. "group": "Header",
  3896. "type": "String",
  3897. "optional": true,
  3898. "field": "Authorization",
  3899. "description": "<p>token</p>"
  3900. }
  3901. ]
  3902. }
  3903. },
  3904. "success": {
  3905. "examples": [
  3906. {
  3907. "title": "Success-Response:",
  3908. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\"\"",
  3909. "type": "json"
  3910. }
  3911. ]
  3912. },
  3913. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  3914. "groupTitle": "pay"
  3915. },
  3916. {
  3917. "version": "1.0.0",
  3918. "description": "<p>订单查询</p>",
  3919. "type": "get",
  3920. "url": "checkOrder",
  3921. "title": "订单查询",
  3922. "group": "pay",
  3923. "name": "checkOrder",
  3924. "parameter": {
  3925. "fields": {
  3926. "Parameter": [
  3927. {
  3928. "group": "Parameter",
  3929. "type": "String",
  3930. "optional": true,
  3931. "field": "token",
  3932. "description": "<p>token</p>"
  3933. },
  3934. {
  3935. "group": "Parameter",
  3936. "type": "String",
  3937. "optional": false,
  3938. "field": "order",
  3939. "description": "<p>order</p>"
  3940. }
  3941. ]
  3942. }
  3943. },
  3944. "header": {
  3945. "fields": {
  3946. "Header": [
  3947. {
  3948. "group": "Header",
  3949. "type": "String",
  3950. "optional": true,
  3951. "field": "Authorization",
  3952. "description": "<p>token 两个token任选其一</p>"
  3953. }
  3954. ]
  3955. }
  3956. },
  3957. "success": {
  3958. "fields": {
  3959. "Success 200": [
  3960. {
  3961. "group": "Success 200",
  3962. "type": "int",
  3963. "optional": false,
  3964. "field": "code",
  3965. "description": "<p>状态码</p>"
  3966. },
  3967. {
  3968. "group": "Success 200",
  3969. "type": "String",
  3970. "optional": false,
  3971. "field": "msg",
  3972. "description": "<p>信息</p>"
  3973. },
  3974. {
  3975. "group": "Success 200",
  3976. "type": "Object",
  3977. "optional": false,
  3978. "field": "data",
  3979. "description": "<p>信息</p>"
  3980. }
  3981. ]
  3982. },
  3983. "examples": [
  3984. {
  3985. "title": "Success-Response:",
  3986. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3987. "type": "json"
  3988. }
  3989. ]
  3990. },
  3991. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  3992. "groupTitle": "pay"
  3993. },
  3994. {
  3995. "version": "1.0.0",
  3996. "description": "<p>微信H5支付</p>",
  3997. "type": "get",
  3998. "url": "goToH5Pay",
  3999. "title": "微信H5支付",
  4000. "group": "pay",
  4001. "name": "wxindex",
  4002. "parameter": {
  4003. "fields": {
  4004. "Parameter": [
  4005. {
  4006. "group": "Parameter",
  4007. "type": "Int",
  4008. "optional": false,
  4009. "field": "product_id",
  4010. "description": "<p>product_id</p>"
  4011. },
  4012. {
  4013. "group": "Parameter",
  4014. "type": "Int",
  4015. "optional": false,
  4016. "field": "send_order_id",
  4017. "description": "<p>send_order_id</p>"
  4018. },
  4019. {
  4020. "group": "Parameter",
  4021. "type": "String",
  4022. "optional": false,
  4023. "field": "bid",
  4024. "description": "<p>bid</p>"
  4025. }
  4026. ]
  4027. }
  4028. },
  4029. "header": {
  4030. "fields": {
  4031. "Header": [
  4032. {
  4033. "group": "Header",
  4034. "type": "String",
  4035. "optional": true,
  4036. "field": "Authorization",
  4037. "description": "<p>token</p>"
  4038. }
  4039. ]
  4040. }
  4041. },
  4042. "success": {
  4043. "fields": {
  4044. "Success 200": [
  4045. {
  4046. "group": "Success 200",
  4047. "type": "int",
  4048. "optional": false,
  4049. "field": "code",
  4050. "description": "<p>状态码</p>"
  4051. },
  4052. {
  4053. "group": "Success 200",
  4054. "type": "String",
  4055. "optional": false,
  4056. "field": "msg",
  4057. "description": "<p>信息</p>"
  4058. },
  4059. {
  4060. "group": "Success 200",
  4061. "type": "Object",
  4062. "optional": false,
  4063. "field": "data",
  4064. "description": "<p>信息</p>"
  4065. },
  4066. {
  4067. "group": "Success 200",
  4068. "type": "Object",
  4069. "optional": false,
  4070. "field": "data.appId",
  4071. "description": "<p>唤起支付的appId</p>"
  4072. },
  4073. {
  4074. "group": "Success 200",
  4075. "type": "Object",
  4076. "optional": false,
  4077. "field": "data.mch_id",
  4078. "description": "<p>唤起支付的mch_id</p>"
  4079. },
  4080. {
  4081. "group": "Success 200",
  4082. "type": "Object",
  4083. "optional": false,
  4084. "field": "data.nonce_str",
  4085. "description": "<p>唤起支付的nonce_str</p>"
  4086. },
  4087. {
  4088. "group": "Success 200",
  4089. "type": "Object",
  4090. "optional": false,
  4091. "field": "data.prepay_id",
  4092. "description": "<p>唤起支付的prepay_id</p>"
  4093. },
  4094. {
  4095. "group": "Success 200",
  4096. "type": "Object",
  4097. "optional": false,
  4098. "field": "data.sign",
  4099. "description": "<p>唤起支付的sign</p>"
  4100. },
  4101. {
  4102. "group": "Success 200",
  4103. "type": "Object",
  4104. "optional": false,
  4105. "field": "data.trade_type",
  4106. "description": "<p>唤起支付trade_type</p>"
  4107. },
  4108. {
  4109. "group": "Success 200",
  4110. "type": "Object",
  4111. "optional": false,
  4112. "field": "data.mweb_url",
  4113. "description": "<p>唤起支付mweb_url</p>"
  4114. }
  4115. ]
  4116. },
  4117. "examples": [
  4118. {
  4119. "title": "Success-Response:",
  4120. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  4121. "type": "json"
  4122. }
  4123. ]
  4124. },
  4125. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4126. "groupTitle": "pay"
  4127. },
  4128. {
  4129. "version": "1.0.0",
  4130. "description": "<p>支付</p>",
  4131. "type": "get",
  4132. "url": "goToPay",
  4133. "title": "微信APP支付",
  4134. "group": "pay",
  4135. "name": "wxindex",
  4136. "parameter": {
  4137. "fields": {
  4138. "Parameter": [
  4139. {
  4140. "group": "Parameter",
  4141. "type": "Int",
  4142. "optional": false,
  4143. "field": "product_id",
  4144. "description": "<p>product_id</p>"
  4145. },
  4146. {
  4147. "group": "Parameter",
  4148. "type": "Int",
  4149. "optional": false,
  4150. "field": "send_order_id",
  4151. "description": "<p>send_order_id</p>"
  4152. },
  4153. {
  4154. "group": "Parameter",
  4155. "type": "String",
  4156. "optional": false,
  4157. "field": "bid",
  4158. "description": "<p>bid</p>"
  4159. }
  4160. ]
  4161. }
  4162. },
  4163. "header": {
  4164. "fields": {
  4165. "Header": [
  4166. {
  4167. "group": "Header",
  4168. "type": "String",
  4169. "optional": true,
  4170. "field": "Authorization",
  4171. "description": "<p>token</p>"
  4172. }
  4173. ]
  4174. }
  4175. },
  4176. "success": {
  4177. "fields": {
  4178. "Success 200": [
  4179. {
  4180. "group": "Success 200",
  4181. "type": "int",
  4182. "optional": false,
  4183. "field": "code",
  4184. "description": "<p>状态码</p>"
  4185. },
  4186. {
  4187. "group": "Success 200",
  4188. "type": "String",
  4189. "optional": false,
  4190. "field": "msg",
  4191. "description": "<p>信息</p>"
  4192. },
  4193. {
  4194. "group": "Success 200",
  4195. "type": "Object",
  4196. "optional": false,
  4197. "field": "data",
  4198. "description": "<p>信息</p>"
  4199. },
  4200. {
  4201. "group": "Success 200",
  4202. "type": "Object",
  4203. "optional": false,
  4204. "field": "data.appId",
  4205. "description": "<p>唤起支付的appId</p>"
  4206. },
  4207. {
  4208. "group": "Success 200",
  4209. "type": "Object",
  4210. "optional": false,
  4211. "field": "data.mch_id",
  4212. "description": "<p>唤起支付的mch_id</p>"
  4213. },
  4214. {
  4215. "group": "Success 200",
  4216. "type": "Object",
  4217. "optional": false,
  4218. "field": "data.nonce_str",
  4219. "description": "<p>唤起支付的nonce_str</p>"
  4220. },
  4221. {
  4222. "group": "Success 200",
  4223. "type": "Object",
  4224. "optional": false,
  4225. "field": "data.prepay_id",
  4226. "description": "<p>唤起支付的prepay_id</p>"
  4227. },
  4228. {
  4229. "group": "Success 200",
  4230. "type": "Object",
  4231. "optional": false,
  4232. "field": "data.sign",
  4233. "description": "<p>唤起支付的sign</p>"
  4234. },
  4235. {
  4236. "group": "Success 200",
  4237. "type": "Object",
  4238. "optional": false,
  4239. "field": "data.trade_type",
  4240. "description": "<p>唤起支付trade_type</p>"
  4241. }
  4242. ]
  4243. },
  4244. "examples": [
  4245. {
  4246. "title": "Success-Response:",
  4247. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  4248. "type": "json"
  4249. }
  4250. ]
  4251. },
  4252. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  4253. "groupTitle": "pay"
  4254. }
  4255. ] });